cxd2820r_attach(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the cxd2820r_attach(9) page from the Kernel API Manual πŸ’– and it's literally about attaching a cxd2820r demod. iconic little helper behavior, no cap.


🌸 SYNOPSIS 🌸

struct dvb_frontend * cxd2820r_attach (const struct cxd2820r_config
*config , struct i2c_adapter *i2c , int *gpio_chip_base );

πŸŽ€ ARGUMENTS πŸŽ€

  • config β€” pointer to struct cxd2820r_config with demod configuration, aka the lil setup info πŸ’…
  • i2c β€” the i2c adapter to use πŸ¦‹
  • gpio_chip_base β€” if it's zero, GPIO setting gets disabled πŸ™ˆ Otherwise: if CONFIG_GPIOLIB is set, it dynamically allocates the gpio base; if CONFIG_GPIOLIB is not set, it uses its value to set up the GPIO pins ✨

πŸ’– RETURN πŸ’–

On success you get the FE pointer, and on failure you get NULL 😭 periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/media/dvb-frontends/cxd2820r.h
  • struct cxd2820r_platform_data(9)
  • struct cxd2820r_config(9)

mwah πŸ’– this was the cxd2820r_attach(9) page from ./drivers/media/dvb-frontends, dated October 2026 β€” slay, go read the header bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from