cregit-Linux how code gets into the kernel

Release 4.7 include/linux/of_pci.h

Directory: include/linux
#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;

#ifdef CONFIG_OF_PCI
int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *out_irq);
struct device_node *of_pci_find_child_device(struct device_node *parent,
					     unsigned int devfn);
int of_pci_get_devfn(struct device_node *np);
int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin);
int of_pci_parse_bus_range(struct device_node *node, struct resource *res);
int of_get_pci_domain_nr(struct device_node *node);
void of_pci_check_probe_only(void);
#else

static inline int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *out_irq) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
arnd bergmannarnd bergmann21100.00%1100.00%
Total21100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
benjamin herrenschmidtbenjamin herrenschmidt1466.67%150.00%
arnd bergmannarnd bergmann733.33%150.00%
Total21100.00%2100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
arnd bergmannarnd bergmann850.00%150.00%
thierry redingthierry reding850.00%150.00%
Total16100.00%2100.00%


static inline int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
arnd bergmannarnd bergmann22100.00%1100.00%
Total22100.00%1100.00%


static inline int of_pci_parse_bus_range(struct device_node *node, struct resource *res) { return -EINVAL; }

Contributors

PersonTokensPropCommitsCommitProp
thierry redingthierry reding1361.90%150.00%
arnd bergmannarnd bergmann838.10%150.00%
Total21100.00%2100.00%


static inline int of_get_pci_domain_nr(struct device_node *node) { return -1; }

Contributors

PersonTokensPropCommitsCommitProp
liviu dudauliviu dudau16100.00%1100.00%
Total16100.00%1100.00%


static inline void of_pci_check_probe_only(void) { }

Contributors

PersonTokensPropCommitsCommitProp
marc zyngiermarc zyngier8100.00%1100.00%
Total8100.00%1100.00%

#endif #if defined(CONFIG_OF_ADDRESS) int of_pci_get_host_bridge_resources(struct device_node *dev, unsigned char busno, unsigned char bus_max, struct list_head *resources, resource_size_t *io_base); #else
static inline int of_pci_get_host_bridge_resources(struct device_node *dev, unsigned char busno, unsigned char bus_max, struct list_head *resources, resource_size_t *io_base) { return -EINVAL; }

Contributors

PersonTokensPropCommitsCommitProp
arnd bergmannarnd bergmann33100.00%1100.00%
Total33100.00%1100.00%

#endif #if defined(CONFIG_OF) && defined(CONFIG_PCI_MSI) int of_pci_msi_chip_add(struct msi_controller *chip); void of_pci_msi_chip_remove(struct msi_controller *chip); struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node); #else
static inline int of_pci_msi_chip_add(struct msi_controller *chip) { return -EINVAL; }

Contributors

PersonTokensPropCommitsCommitProp
thomas petazzonithomas petazzoni1593.75%150.00%
wang yijingwang yijing16.25%150.00%
Total16100.00%2100.00%


static inline void of_pci_msi_chip_remove(struct msi_controller *chip) { }

Contributors

PersonTokensPropCommitsCommitProp
thomas petazzonithomas petazzoni1090.91%150.00%
wang yijingwang yijing19.09%150.00%
Total11100.00%2100.00%


static inline struct msi_controller * of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
thomas petazzonithomas petazzoni1694.12%150.00%
wang yijingwang yijing15.88%150.00%
Total17100.00%2100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
arnd bergmannarnd bergmann14837.37%211.76%
thomas petazzonithomas petazzoni8521.46%15.88%
liviu dudauliviu dudau5914.90%211.76%
sebastian andrzej siewiorsebastian andrzej siewior287.07%15.88%
thierry redingthierry reding215.30%211.76%
grant likelygrant likely194.80%317.65%
benjamin herrenschmidtbenjamin herrenschmidt143.54%15.88%
marc zyngiermarc zyngier133.28%15.88%
wang yijingwang yijing61.52%15.88%
robin murphyrobin murphy10.25%15.88%
john crispinjohn crispin10.25%15.88%
murali karicherimurali karicheri10.25%15.88%
Total396100.00%17100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}