STRUCT DVB_USB_ADAPTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dvb_usb_adapter(9)

okay so bestie, welcome to the Kernel API Manual page for struct dvb_usb_adapter β€” literally the main character of DVB-over-USB setups ✨


πŸ¦‹ NAME

struct dvb_usb_adapter β€” a DVB adapter on a USB device. that's it, that's the vibe πŸŽ€


🌸 SYNOPSIS

struct dvb_usb_adapter {
    struct dvb_usb_device *dev;
    struct dvb_usb_adapter_properties props;
  #define DVB_USB_ADAP_STATE_INIT 0x000;
  #define DVB_USB_ADAP_STATE_DVB  0x001;
    int state;
    u8 id;
    int feedcount;
    struct dvb_adapter   dvb_adap;
    struct dmxdev        dmxdev;
    struct dvb_demux     demux;
    struct dvb_net       dvb_net;
    struct dvb_usb_fe_adapter fe_adap[MAX_NO_OF_FE_PER_ADAP];
    int active_fe;
    int num_frontends_initialized;
    void *priv;
 };

no cap, those two #defines are literally inside the struct body up there β€” DVB_USB_ADAP_STATE_INIT is 0x000; and DVB_USB_ADAP_STATE_DVB is 0x001;. copying exactly, periodt πŸ’…


πŸ‘‘ Members

  • dev β€” the DVB USB device pointer. your whole device-crushing situation 🫢
  • props β€” properties. it's giving configuration energy.
  • state β€” status. where the adapter is at, emotionally and technically ✨
  • id β€” index of this adapter, and it starts with 0 (classic zero-indexing slay).
  • feedcount β€” number of requested feeds (used for streaming-activation). count those feeds bestie πŸ”₯
  • dvb_adap β€” the device's dvb_adapter.
  • dmxdev β€” the device's dmxdev.
  • demux β€” the device's software demuxer.
  • dvb_net β€” the device's dvb_net interfaces.
  • fe_adap β€” frontend adapters.
  • active_fe β€” active frontend. only one gets the crown at a time πŸ‘‘
  • num_frontends_initialized β€” number of initialized frontends.
  • priv β€” private pointer. mysterious. iconic. we love a private king πŸ’œ

πŸ” SEE ALSO

  • Kernel file ./drivers/media/usb/dvb-usb/dvb-usb.h struct
  • dvb_usb_device_description(9)
  • struct dvb_usb_adapter_fe_properties(9)
  • struct dvb_rc_legacy(9)
  • struct dvb_rc(9)
  • enum dvb_usb_mode(9)
  • struct dvb_usb_device_properties(9)
  • struct usb_data_stream(9)
  • struct dvb_usb_fe_adapter(9)
  • struct dvb_usb_device(9)

ok that's the whole page, go read the header file bestie, iykyk πŸ’–

and that's a wrap!! this page lives at ./drivers/media/usb/dvb-usb and it's stamped October 2026 β€” see you in the group chat, mwah πŸŒˆπŸŽ€

πŸ“¦ where this page comes from