Question

Where can I find the complete implementation/body of the following functions, defined as a function prototype in "include/linux/pci.h" in the Linux Kernel.

int pci_bus_read_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 *val);
int pci_bus_write_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 val);

I usually use free-electron's cross reference to find definitions of functions in the kernel. I've also used cscope to find the definitions of these functions but with no luck in both cases.

Was it helpful?

Solution

You can't find them using a "dumb" indexer/tagger because they are generated by macros here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top