Release 4.12 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);
int of_pci_get_max_link_speed(struct device_node *node);
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 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 | 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 | 14 | 66.67% | 1 | 50.00% |
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 |
Thierry Reding | 8 | 50.00% | 1 | 50.00% |
Arnd Bergmann | 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 | 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 | 13 | 61.90% | 1 | 50.00% |
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 | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.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
Person | Tokens | Prop | Commits | CommitProp |
Robin Murphy | 39 | 100.00% | 1 | 100.00% |
Total | 39 | 100.00% | 1 | 100.00% |
static inline int
of_pci_get_max_link_speed(struct device_node *node)
{
return -EINVAL;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Shawn Lin | 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 | 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 | 33 | 100.00% | 1 | 100.00% |
Total | 33 | 100.00% | 1 | 100.00% |
#endif
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Arnd Bergmann | 147 | 36.39% | 2 | 11.11% |
Robin Murphy | 72 | 17.82% | 2 | 11.11% |
Liviu Dudau | 55 | 13.61% | 2 | 11.11% |
Sebastian Andrzej Siewior | 28 | 6.93% | 1 | 5.56% |
Shawn Lin | 25 | 6.19% | 1 | 5.56% |
Thierry Reding | 21 | 5.20% | 2 | 11.11% |
Grant C. Likely | 19 | 4.70% | 3 | 16.67% |
Benjamin Herrenschmidt | 15 | 3.71% | 1 | 5.56% |
Marc Zyngier | 13 | 3.22% | 1 | 5.56% |
Thomas Petazzoni | 7 | 1.73% | 1 | 5.56% |
John Crispin | 1 | 0.25% | 1 | 5.56% |
Murali Karicheri | 1 | 0.25% | 1 | 5.56% |
Total | 404 | 100.00% | 18 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.