cregit-Linux how code gets into the kernel

Release 4.18 include/linux/of_pci.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __OF_PCI_H

#define __OF_PCI_H

#include <linux/pci.h>
#include <linux/msi.h>

struct pci_dev;
struct of_phandle_args;
struct device_node;

#if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_PCI)
struct device_node *of_pci_find_child_device(struct device_node *parent,
					     unsigned int devfn);
int of_pci_get_devfn(struct device_node *np);
void of_pci_check_probe_only(void);
int of_pci_map_rid(struct device_node *np, u32 rid,
		   const char *map_name, const char *map_mask_name,
		   struct device_node **target, u32 *id_out);
#else

static inline struct device_node *of_pci_find_child_device(struct device_node *parent, unsigned int devfn) { return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
Benjamin Herrenschmidt1466.67%150.00%
Arnd Bergmann733.33%150.00%
Total21100.00%2100.00%


static inline int of_pci_get_devfn(struct device_node *np) { return -EINVAL; }

Contributors

PersonTokensPropCommitsCommitProp
Arnd Bergmann850.00%150.00%
Thierry Reding850.00%150.00%
Total16100.00%2100.00%


static inline int of_pci_map_rid(struct device_node *np, u32 rid, const char *map_name, const char *map_mask_name, struct device_node **target, u32 *id_out) { return -EINVAL; }

Contributors

PersonTokensPropCommitsCommitProp
Robin Murphy39100.00%1100.00%
Total39100.00%1100.00%


static inline void of_pci_check_probe_only(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Marc Zyngier8100.00%1100.00%
Total8100.00%1100.00%

#endif #if IS_ENABLED(CONFIG_OF_IRQ) int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin); #else
static inline int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Guenter Roeck22100.00%1100.00%
Total22100.00%1100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Robin Murphy7130.47%18.33%
Guenter Roeck4619.74%18.33%
Arnd Bergmann4619.74%18.33%
Sebastian Andrzej Siewior166.87%18.33%
Benjamin Herrenschmidt146.01%18.33%
Marc Zyngier135.58%18.33%
Rob Herring114.72%18.33%
Thierry Reding83.43%18.33%
Thomas Petazzoni52.15%18.33%
Greg Kroah-Hartman10.43%18.33%
Murali Karicheri10.43%18.33%
Grant C. Likely10.43%18.33%
Total233100.00%12100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.