STRUCT DVB_USB_ADAPTER_PROPERTIES(9)
π struct dvb_usb_adapter_properties(9) β aka the Kernel API Manual glow-up π
okay bestie, welcome to the Kernel API Manual entry for struct dvb_usb_adapter_properties, and no cap this thing is literally just "properties of dvb usb device adapter" β¨ like that's the whole vibe. it's the little struct that tells the kernel everything it needs to know about one adapter on a dvb usb device. lowkey iconic.
β¨ NAME β¨
struct dvb_usb_adapter_properties β properties of dvb usb device adapter π¦
πΈ SYNOPSIS πΈ
okay so here's the whole struct, copy it exactly, do not freestyle:
struct dvb_usb_adapter_properties {
#define MAX_NO_OF_FE_PER_ADAP 3;
#define DVB_USB_ADAP_HAS_PID_FILTER 0x01;
#define DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF 0x02;
#define DVB_USB_ADAP_NEED_PID_FILTERING 0x04;
u8 caps;
u8 pid_filter_count;
int (*pid_filter_ctrl) (struct dvb_usb_adapter *, int);
int (*pid_filter) (struct dvb_usb_adapter *, int, u16, int);
struct usb_data_stream_properties stream;
};
those #defines go hard honestly β MAX_NO_OF_FE_PER_ADAP is 3;, and the three cap flags are 0x01, 0x02, 0x04 π«Ά
π Members π
capsβ the adapter's capabilities. it's au8and it's giving "i contain flags" energy πpid_filter_countβ the pid count of the adapter's pid-filter. yes, how many pids. that's the whole thing π₯pid_filter_ctrlβ a function pointer,int (*pid_filter_ctrl) (struct dvb_usb_adapter *, int), and it gets called to enable/disable the pid-filter. she's the on/off switch bestie βpid_filterβ a function pointer,int (*pid_filter) (struct dvb_usb_adapter *, int, u16, int), called to set/unset a pid for filtering. the actual filter gremlin πstreamβ the adapter's usb stream configuration, typedstruct usb_data_stream_properties. main character energy fr fr π
π¦ SEE ALSO π¦
iykyk, go read these next:
- Kernel file
./drivers/media/usb/dvb-usb-v2/dvb_usb.hstructdvb_usb_driver_info(9) struct dvb_usb_rc(9)struct usb_data_stream_properties(9)struct dvb_usb_device_properties(9)struct usb_data_stream(9)struct dvb_usb_adapter(9)struct dvb_usb_device(9)
mwah π that's the whole page, every flag and every member accounted for, no skips, no cap.
okay that's a wrap bestie β this one came from ./drivers/media/usb/dvb-usb-v2, dated October 2026, and it's page struct dvb_...r_properties(9) π slay, go forth and filter your pids πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms