count_parisc_driver(9)
π count_parisc_driver(9) β NAME π
okay so bestie, welcome to the Kernel API Manual β¨ this little icon is count_parisc_driver, and it does exactly what it says on the tin: it counts the # of devices this driver would match. no cap, that's the whole assignment π
πΈ SYNOPSIS πΈ
int count_parisc_driver (struct parisc_driver *driver );
π ARGUMENTS π
driverβ the PA-RISC driver to try π«Ά that's the argument, bestie, and it's giving exactly what it needs to give.
π¦ DESCRIPTION π¦
okay so picture this: IOMMU support uses this to "guess" the right size IOPdir π the formula is something like:
memsize/(num_iommu * entry_size)
lowkey just math with main character energy, fr fr π
π SEE ALSO π
Kernel file ./arch/parisc/kernel/drivers.c is the spot, and here's the full squad of refs β no skipping, iykyk:
for_each_padev(9)match_device(9)register_parisc_driver(9)unregister_parisc_driver(9)find_pa_parent_type(9)print_pa_hwpath(9)get_pci_node_path(9)print_pci_hwpath(9)alloc_tree_node(9)register_parisc_device(9)match_pci_device(9)match_parisc_device(9)parse_tree_node(9)hwpath_to_device(9)device_to_hwpath(9)walk_native_bus(9)walk_central_bus(9)init_parisc_bus(9)print_parisc_devices(9)
mwah π signing off from ./arch/parisc/kernel with October 2026 energy β source/version vibes and date noted, stay iconic bestie π«Άβ¨
π¦ 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