Home
last modified time | relevance | path

Searched defs:bus (Results 1 – 25 of 237) sorted by relevance

12345678910

/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c34 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument
35 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) argument
37 static inline void mdio_lo(struct mii_bus *bus) in mdio_lo()
42 static inline void mdio_hi(struct mii_bus *bus) in mdio_hi()
47 static inline void mdc_lo(struct mii_bus *bus) in mdc_lo()
52 static inline void mdc_hi(struct mii_bus *bus) in mdc_hi()
57 static inline void mdio_active(struct mii_bus *bus) in mdio_active()
62 static inline void mdio_tristate(struct mii_bus *bus) in mdio_tristate()
67 static inline int mdio_read(struct mii_bus *bus) in mdio_read()
72 static void clock_out(struct mii_bus *bus, int bit) in clock_out()
[all …]
Dpci.c25 #define PA_PXP_CFA(bus, devfn, off) (((bus) << 20) | ((devfn) << 12) | (off)) argument
27 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) in pa_pxp_offset_valid()
40 u8 bus, u8 devfn, int offset) in pa_pxp_cfg_addr()
57 static int workaround_5945(struct pci_bus *bus, unsigned int devfn, in workaround_5945()
105 static void sb600_set_flag(int bus) in sb600_set_flag()
150 static void sb600_set_flag(int bus) in sb600_set_flag()
155 static int pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn, in pa_pxp_read_config()
194 static int pa_pxp_write_config(struct pci_bus *bus, unsigned int devfn, in pa_pxp_write_config()
/arch/mips/pci/
Dops-rc32434.c41 #define PCI_CFG_SET(bus, slot, func, off) \ argument
47 struct pci_bus *bus, unsigned int devfn, in config_access()
72 static int read_config_byte(struct pci_bus *bus, unsigned int devfn, in read_config_byte()
83 static int read_config_word(struct pci_bus *bus, unsigned int devfn, in read_config_word()
94 static int read_config_dword(struct pci_bus *bus, unsigned int devfn, in read_config_dword()
129 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, in write_config_byte()
148 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, in write_config_word()
168 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, in write_config_dword()
177 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, in pci_config_read()
190 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, in pci_config_write()
Dops-mace.c30 static inline int mkaddr(struct pci_bus *bus, unsigned int devfn, in mkaddr()
40 mace_pci_read_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_read_config()
76 mace_pci_write_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_write_config()
Dops-pmcmsp.c332 struct pci_bus *bus, in msp_pcibios_config_access()
461 msp_pcibios_read_config_byte(struct pci_bus *bus, in msp_pcibios_read_config_byte()
509 msp_pcibios_read_config_word(struct pci_bus *bus, in msp_pcibios_read_config_word()
566 msp_pcibios_read_config_dword(struct pci_bus *bus, in msp_pcibios_read_config_dword()
619 msp_pcibios_write_config_byte(struct pci_bus *bus, in msp_pcibios_write_config_byte()
668 msp_pcibios_write_config_word(struct pci_bus *bus, in msp_pcibios_write_config_word()
720 msp_pcibios_write_config_dword(struct pci_bus *bus, in msp_pcibios_write_config_dword()
762 msp_pcibios_read_config(struct pci_bus *bus, in msp_pcibios_read_config()
813 msp_pcibios_write_config(struct pci_bus *bus, in msp_pcibios_write_config()
Dpci-bcm1480ht.c38 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) argument
39 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument
75 static int bcm1480ht_can_access(struct pci_bus *bus, int devfn) in bcm1480ht_can_access()
96 static int bcm1480ht_pcibios_read(struct pci_bus *bus, unsigned int devfn, in bcm1480ht_pcibios_read()
121 static int bcm1480ht_pcibios_write(struct pci_bus *bus, unsigned int devfn, in bcm1480ht_pcibios_write()
Dops-loongson2.c33 struct pci_bus *bus, in loongson_pcibios_config_access()
118 static int loongson_pcibios_read(struct pci_bus *bus, unsigned int devfn, in loongson_pcibios_read()
142 static int loongson_pcibios_write(struct pci_bus *bus, unsigned int devfn, in loongson_pcibios_write()
184 struct pci_bus bus = { in _rdmsr() local
200 struct pci_bus bus = { in _wrmsr() local
Dpci-bcm1480.c40 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) argument
41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument
84 static int bcm1480_pci_can_access(struct pci_bus *bus, int devfn) in bcm1480_pci_can_access()
107 static int bcm1480_pcibios_read(struct pci_bus *bus, unsigned int devfn, in bcm1480_pcibios_read()
132 static int bcm1480_pcibios_write(struct pci_bus *bus, unsigned int devfn, in bcm1480_pcibios_write()
Dpci-xlp.c60 #define pci_cfg_addr(bus, devfn, off) (((bus) << 20) | ((devfn) << 12) | (off)) argument
63 static inline u32 pci_cfg_read_32bit(struct pci_bus *bus, unsigned int devfn, in pci_cfg_read_32bit()
92 static inline void pci_cfg_write_32bit(struct pci_bus *bus, unsigned int devfn, in pci_cfg_write_32bit()
102 static int nlm_pcibios_read(struct pci_bus *bus, unsigned int devfn, in nlm_pcibios_read()
125 static int nlm_pcibios_write(struct pci_bus *bus, unsigned int devfn, in nlm_pcibios_write()
181 struct pci_bus *bus, *p; in xlp_get_pcie_link() local
Dops-sni.c40 static int pcimt_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_read()
63 static int pcimt_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_write()
100 static int pcit_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_read()
137 static int pcit_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_write()
Dpci-sb1250.c40 #define CFGOFFSET(bus, devfn, where) (((bus)<<16) + ((devfn)<<8) + (where)) argument
41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument
91 static int sb1250_pci_can_access(struct pci_bus *bus, int devfn) in sb1250_pci_can_access()
116 static int sb1250_pcibios_read(struct pci_bus *bus, unsigned int devfn, in sb1250_pcibios_read()
141 static int sb1250_pcibios_write(struct pci_bus *bus, unsigned int devfn, in sb1250_pcibios_write()
/arch/x86/pci/
Dearly.c11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config()
19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte()
27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16()
35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config()
42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte()
48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
/arch/x86/include/asm/
Dpci.h41 static inline int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr()
48 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain()
55 static inline void *_pci_root_bus_fwnode(struct pci_bus *bus) in _pci_root_bus_fwnode()
65 static inline bool is_vmd(struct pci_bus *bus) in is_vmd()
132 static inline int __pcibus_to_node(const struct pci_bus *bus) in __pcibus_to_node()
140 cpumask_of_pcibus(const struct pci_bus *bus) in cpumask_of_pcibus()
156 unsigned long bus; member
Dpci_64.h8 static inline void *pci_iommu(struct pci_bus *bus) in pci_iommu()
14 static inline void set_pci_iommu(struct pci_bus *bus, void *val) in set_pci_iommu()
/arch/sh/drivers/pci/
Dops-dreamcast.c36 static int gapspci_config_access(unsigned char bus, unsigned int devfn) in gapspci_config_access()
46 static int gapspci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) in gapspci_read()
62 static int gapspci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) in gapspci_write()
Dops-sh4.c16 #define CONFIG_CMD(bus, devfn, where) \ argument
22 static int sh4_pci_read(struct pci_bus *bus, unsigned int devfn, in sh4_pci_read()
60 static int sh4_pci_write(struct pci_bus *bus, unsigned int devfn, in sh4_pci_write()
/arch/arm64/kernel/
Dpci.c37 int raw_pci_read(unsigned int domain, unsigned int bus, in raw_pci_read()
47 int raw_pci_write(unsigned int domain, unsigned int bus, in raw_pci_write()
59 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node()
74 int acpi_pci_bus_find_domain_nr(struct pci_bus *bus) in acpi_pci_bus_find_domain_nr()
165 struct pci_bus *bus, *child; in pci_acpi_scan_root() local
210 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus()
215 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus()
/arch/sparc/kernel/
Dpci_common.c20 unsigned long bus, in config_out_of_range()
31 unsigned long bus, in sun4u_config_mkaddr()
53 unsigned char bus, unsigned int devfn, in sun4u_read_pci_cfg_host()
112 unsigned char bus = bus_dev->number; in sun4u_read_pci_cfg() local
166 unsigned char bus, unsigned int devfn, in sun4u_write_pci_cfg_host()
216 unsigned char bus = bus_dev->number; in sun4u_write_pci_cfg() local
262 unsigned int bus = bus_dev->number; in sun4v_read_pci_cfg() local
295 unsigned int bus = bus_dev->number; in sun4v_write_pci_cfg() local
481 struct pci_bus *bus; in pci_scan_for_target_abort() local
505 struct pci_bus *bus; in pci_scan_for_master_abort() local
[all …]
/arch/arm/mach-orion5x/
Dpci.c49 static int pcie_valid_config(int bus, int dev) in pcie_valid_config()
76 static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in pcie_rd_conf()
94 static int pcie_rd_conf_wa(struct pci_bus *bus, u32 devfn, in pcie_rd_conf_wa()
120 static int pcie_wr_conf(struct pci_bus *bus, u32 devfn, in pcie_wr_conf()
225 #define PCI_CONF_BUS(bus) (((bus) & 0xff) << 16) argument
273 static int orion5x_pci_hw_rd_conf(int bus, int dev, u32 func, in orion5x_pci_hw_rd_conf()
295 static int orion5x_pci_hw_wr_conf(int bus, int dev, u32 func, in orion5x_pci_hw_wr_conf()
322 static int orion5x_pci_valid_config(int bus, u32 devfn) in orion5x_pci_valid_config()
342 static int orion5x_pci_rd_conf(struct pci_bus *bus, u32 devfn, in orion5x_pci_rd_conf()
354 static int orion5x_pci_wr_conf(struct pci_bus *bus, u32 devfn, in orion5x_pci_wr_conf()
[all …]
/arch/ia64/pci/
Dpci.c40 #define PCI_SAL_ADDRESS(seg, bus, devfn, reg) \ argument
45 #define PCI_SAL_EXT_ADDRESS(seg, bus, devfn, reg) \ argument
48 int raw_pci_read(unsigned int seg, unsigned int bus, unsigned int devfn, in raw_pci_read()
75 int raw_pci_write(unsigned int seg, unsigned int bus, unsigned int devfn, in raw_pci_write()
99 static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_read()
106 static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_write()
376 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus()
381 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus()
425 char *pci_get_legacy_mem(struct pci_bus *bus) in pci_get_legacy_mem()
439 pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma, in pci_mmap_legacy_page_range()
[all …]
/arch/powerpc/kernel/
Dpci-common.c210 resource_size_t pcibios_window_alignment(struct pci_bus *bus, in pcibios_window_alignment()
226 void pcibios_setup_bridge(struct pci_bus *bus, unsigned long type) in pcibios_setup_bridge()
341 int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr()
499 int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, size_t size) in pci_legacy_read()
539 int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, size_t size) in pci_legacy_write()
584 int pci_mmap_legacy_page_range(struct pci_bus *bus, in pci_mmap_legacy_page_range()
788 int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain()
862 static int pcibios_uninitialized_bridge_resource(struct pci_bus *bus, in pcibios_uninitialized_bridge_resource()
928 static void pcibios_fixup_bridge(struct pci_bus *bus) in pcibios_fixup_bridge()
964 void pcibios_setup_bus_self(struct pci_bus *bus) in pcibios_setup_bus_self()
[all …]
Dpci-hotplug.c20 static struct pci_bus *find_bus_among_children(struct pci_bus *bus, in find_bus_among_children()
79 void pci_hp_remove_devices(struct pci_bus *bus) in pci_hp_remove_devices()
108 void pci_hp_add_devices(struct pci_bus *bus) in pci_hp_add_devices()
Dpci_64.c78 int pcibios_unmap_io_space(struct pci_bus *bus) in pcibios_unmap_io_space()
177 int pcibios_map_io_space(struct pci_bus *bus) in pcibios_map_io_space()
212 struct pci_bus *tmp_bus, *bus = NULL; in SYSCALL_DEFINE3() local
263 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node()
/arch/powerpc/platforms/maple/
Dpci.c88 static unsigned long u3_agp_cfa1(u8 bus, u8 devfn, u8 off) in u3_agp_cfa1()
97 u8 bus, u8 dev_fn, u8 offset) in u3_agp_cfg_access()
117 static int u3_agp_read_config(struct pci_bus *bus, unsigned int devfn, in u3_agp_read_config()
148 static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn, in u3_agp_write_config()
190 static unsigned long u3_ht_cfa1(u8 bus, u8 devfn, u8 off) in u3_ht_cfa1()
196 u8 bus, u8 devfn, u8 offset) in u3_ht_cfg_access()
254 static int u3_ht_read_config(struct pci_bus *bus, unsigned int devfn, in u3_ht_read_config()
292 static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn, in u3_ht_write_config()
343 static unsigned int u4_pcie_cfa1(unsigned int bus, unsigned int devfn, in u4_pcie_cfa1()
353 u8 bus, u8 dev_fn, int offset) in u4_pcie_cfg_access()
[all …]
/arch/sh/include/asm/
Dtopology.h11 #define pcibus_to_node(bus) ((void)(bus), -1) argument
12 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ argument

12345678910