Release 4.7 include/linux/of_pci.h
#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
| Person | Tokens | Prop | Commits | CommitProp |
arnd bergmann | arnd bergmann | 21 | 100.00% | 1 | 100.00% |
| Total | 21 | 100.00% | 1 | 100.00% |
static inline struct device_node *of_pci_find_child_device(struct device_node *parent,
unsigned int devfn)
{
return NULL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
benjamin herrenschmidt | benjamin herrenschmidt | 14 | 66.67% | 1 | 50.00% |
arnd bergmann | arnd bergmann | 7 | 33.33% | 1 | 50.00% |
| Total | 21 | 100.00% | 2 | 100.00% |
static inline int of_pci_get_devfn(struct device_node *np)
{
return -EINVAL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
arnd bergmann | arnd bergmann | 8 | 50.00% | 1 | 50.00% |
thierry reding | thierry reding | 8 | 50.00% | 1 | 50.00% |
| Total | 16 | 100.00% | 2 | 100.00% |
static inline int
of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
arnd bergmann | arnd bergmann | 22 | 100.00% | 1 | 100.00% |
| Total | 22 | 100.00% | 1 | 100.00% |
static inline int
of_pci_parse_bus_range(struct device_node *node, struct resource *res)
{
return -EINVAL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
thierry reding | thierry reding | 13 | 61.90% | 1 | 50.00% |
arnd bergmann | arnd bergmann | 8 | 38.10% | 1 | 50.00% |
| Total | 21 | 100.00% | 2 | 100.00% |
static inline int
of_get_pci_domain_nr(struct device_node *node)
{
return -1;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
liviu dudau | liviu dudau | 16 | 100.00% | 1 | 100.00% |
| Total | 16 | 100.00% | 1 | 100.00% |
static inline void of_pci_check_probe_only(void) { }
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
marc zyngier | marc zyngier | 8 | 100.00% | 1 | 100.00% |
| Total | 8 | 100.00% | 1 | 100.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
| Person | Tokens | Prop | Commits | CommitProp |
arnd bergmann | arnd bergmann | 33 | 100.00% | 1 | 100.00% |
| Total | 33 | 100.00% | 1 | 100.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
| Person | Tokens | Prop | Commits | CommitProp |
thomas petazzoni | thomas petazzoni | 15 | 93.75% | 1 | 50.00% |
wang yijing | wang yijing | 1 | 6.25% | 1 | 50.00% |
| Total | 16 | 100.00% | 2 | 100.00% |
static inline void of_pci_msi_chip_remove(struct msi_controller *chip) { }
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
thomas petazzoni | thomas petazzoni | 10 | 90.91% | 1 | 50.00% |
wang yijing | wang yijing | 1 | 9.09% | 1 | 50.00% |
| Total | 11 | 100.00% | 2 | 100.00% |
static inline struct msi_controller *
of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
thomas petazzoni | thomas petazzoni | 16 | 94.12% | 1 | 50.00% |
wang yijing | wang yijing | 1 | 5.88% | 1 | 50.00% |
| Total | 17 | 100.00% | 2 | 100.00% |
#endif
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
arnd bergmann | arnd bergmann | 148 | 37.37% | 2 | 11.76% |
thomas petazzoni | thomas petazzoni | 85 | 21.46% | 1 | 5.88% |
liviu dudau | liviu dudau | 59 | 14.90% | 2 | 11.76% |
sebastian andrzej siewior | sebastian andrzej siewior | 28 | 7.07% | 1 | 5.88% |
thierry reding | thierry reding | 21 | 5.30% | 2 | 11.76% |
grant likely | grant likely | 19 | 4.80% | 3 | 17.65% |
benjamin herrenschmidt | benjamin herrenschmidt | 14 | 3.54% | 1 | 5.88% |
marc zyngier | marc zyngier | 13 | 3.28% | 1 | 5.88% |
wang yijing | wang yijing | 6 | 1.52% | 1 | 5.88% |
robin murphy | robin murphy | 1 | 0.25% | 1 | 5.88% |
john crispin | john crispin | 1 | 0.25% | 1 | 5.88% |
murali karicheri | murali karicheri | 1 | 0.25% | 1 | 5.88% |
| Total | 396 | 100.00% | 17 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.