media_device_pci_init(9)
πΈ NAME πΈ
okay so bestie, welcome to media_device_pci_init(9) from the Kernel API Manual β¨ this one is literally about creating and initializing a struct &media_device from a PCI device, and it's giving very specific kernel energy π
media_device_pci_initβ create and initialize astruct &media_devicefrom a PCI device.
π SYNOPSIS π
the whole signature, untouched and iconic:
void media_device_pci_init (struct media_device *mdev , struct pci_dev
*pci_dev , const char *name );
β¨ ARGUMENTS β¨
mdevβ pointer tostruct media_deviceπ«Άpci_devβ pointer tostruct pci_devπnameβ media device name. IfNULL, the routine will use the default name for the pci device, given by thepci_namemacro. no cap, that's the fallback π
π¦ SEE ALSO π¦
the whole friend group, fr fr:
- Kernel file
./include/media/media-device.h struct media_entity_notify(9)struct media_device_ops(9)struct media_device(9)media_device_init(9)media_device_cleanup(9)__media_device_register(9)media_device_register(9)media_device_unregister(9)media_device_register_entity(9)media_device_unregister_entity(9)media_device_register_entity_notify(9)media_device_unregister_entity_notify(9)__media_device_usb_init(9)media_device_usb_init(9)media_set_bus_info(9)
byeee π«Ά this page's footer tea is: source ./include/media, dated October 2026. mwah πβ¨
π¦ 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