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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top