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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top