/arch/mips/pci/ |
D | ops-rc32434.c | 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()
|
D | ops-sni.c | 24 static int set_config_address(unsigned int busno, unsigned int devfn, int reg) in set_config_address() 40 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() 91 static int pcit_set_config_address(unsigned int busno, unsigned int devfn, int reg) in pcit_set_config_address() 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()
|
D | pci-bcm1480ht.c | 51 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) argument 52 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument 88 static int bcm1480ht_can_access(struct pci_bus *bus, int devfn) in bcm1480ht_can_access() 109 static int bcm1480ht_pcibios_read(struct pci_bus *bus, unsigned int devfn, in bcm1480ht_pcibios_read() 134 static int bcm1480ht_pcibios_write(struct pci_bus *bus, unsigned int devfn, in bcm1480ht_pcibios_write()
|
D | ops-mace.c | 31 static inline int mkaddr(struct pci_bus *bus, unsigned int devfn, in mkaddr() 41 mace_pci_read_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_read_config() 77 mace_pci_write_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_write_config()
|
D | ops-emma2rh.c | 40 static int check_args(struct pci_bus *bus, u32 devfn, u32 * bus_num) in check_args() 62 unsigned int devfn, int where) in set_pci_configuration_address() 84 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_read() 129 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_write()
|
D | ops-loongson2.c | 37 unsigned int devfn, int where, in loongson_pcibios_config_access() 121 static int loongson_pcibios_read(struct pci_bus *bus, unsigned int devfn, in loongson_pcibios_read() 145 static int loongson_pcibios_write(struct pci_bus *bus, unsigned int devfn, in loongson_pcibios_write() 190 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _rdmsr() local 206 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _wrmsr() local
|
D | ops-pmcmsp.c | 362 unsigned int devfn, in msp_pcibios_config_access() 491 unsigned int devfn, in msp_pcibios_read_config_byte() 539 unsigned int devfn, in msp_pcibios_read_config_word() 596 unsigned int devfn, in msp_pcibios_read_config_dword() 649 unsigned int devfn, in msp_pcibios_write_config_byte() 698 unsigned int devfn, in msp_pcibios_write_config_word() 750 unsigned int devfn, in msp_pcibios_write_config_dword() 792 unsigned int devfn, in msp_pcibios_read_config() 843 unsigned int devfn, in msp_pcibios_write_config()
|
D | pci-bcm1480.c | 53 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) argument 54 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument 97 static int bcm1480_pci_can_access(struct pci_bus *bus, int devfn) in bcm1480_pci_can_access() 120 static int bcm1480_pcibios_read(struct pci_bus *bus, unsigned int devfn, in bcm1480_pcibios_read() 145 static int bcm1480_pcibios_write(struct pci_bus *bus, unsigned int devfn, in bcm1480_pcibios_write()
|
D | ops-vr41xx.c | 36 unsigned int devfn, int where) in set_pci_configuration_address() 61 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_read() 89 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_write()
|
D | pci-sb1250.c | 53 #define CFGOFFSET(bus, devfn, where) (((bus)<<16) + ((devfn)<<8) + (where)) argument 54 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument 104 static int sb1250_pci_can_access(struct pci_bus *bus, int devfn) in sb1250_pci_can_access() 129 static int sb1250_pcibios_read(struct pci_bus *bus, unsigned int devfn, in sb1250_pcibios_read() 154 static int sb1250_pcibios_write(struct pci_bus *bus, unsigned int devfn, in sb1250_pcibios_write()
|
D | ops-bcm63xx.c | 65 unsigned int devfn, int where) in bcm63xx_setup_cfg_access() 101 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_read() 122 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_write() 147 static int bcm63xx_pci_read(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pci_read() 161 static int bcm63xx_pci_write(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pci_write() 362 static int bcm63xx_cb_read(struct pci_bus *bus, unsigned int devfn, in bcm63xx_cb_read() 386 static int bcm63xx_cb_write(struct pci_bus *bus, unsigned int devfn, in bcm63xx_cb_write() 468 static int bcm63xx_pcie_can_access(struct pci_bus *bus, int devfn) in bcm63xx_pcie_can_access() 482 static int bcm63xx_pcie_read(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pcie_read() 502 static int bcm63xx_pcie_write(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pcie_write()
|
D | ops-lantiq.c | 29 unsigned int devfn, unsigned int where, u32 *data) in ltq_pci_config_access() 73 int ltq_pci_read_config_dword(struct pci_bus *bus, unsigned int devfn, in ltq_pci_read_config_dword() 91 int ltq_pci_write_config_dword(struct pci_bus *bus, unsigned int devfn, in ltq_pci_write_config_dword()
|
D | ops-bridge.c | 43 static int pci_conf0_read_config(struct pci_bus *bus, unsigned int devfn, in pci_conf0_read_config() 103 static int pci_conf1_read_config(struct pci_bus *bus, unsigned int devfn, in pci_conf1_read_config() 167 static int pci_read_config(struct pci_bus *bus, unsigned int devfn, in pci_read_config() 176 static int pci_conf0_write_config(struct pci_bus *bus, unsigned int devfn, in pci_conf0_write_config() 242 static int pci_conf1_write_config(struct pci_bus *bus, unsigned int devfn, in pci_conf1_write_config() 310 static int pci_write_config(struct pci_bus *bus, unsigned int devfn, in pci_write_config()
|
D | pci-xlp.c | 60 #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()
|
/arch/powerpc/platforms/pasemi/ |
D | pci.c | 34 #define PA_PXP_CFA(bus, devfn, off) (((bus) << 20) | ((devfn) << 12) | (off)) argument 36 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) in pa_pxp_offset_valid() 49 u8 bus, u8 devfn, int offset) in pa_pxp_cfg_addr() 54 static inline int is_root_port(int busno, int devfn) in is_root_port() 66 static int workaround_5945(struct pci_bus *bus, unsigned int devfn, in workaround_5945() 109 static int pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn, in pa_pxp_read_config() 146 static int pa_pxp_write_config(struct pci_bus *bus, unsigned int devfn, in pa_pxp_write_config()
|
/arch/sh/drivers/pci/ |
D | ops-dreamcast.c | 39 static int gapspci_config_access(unsigned char bus, unsigned int devfn) in gapspci_config_access() 49 static int gapspci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) in gapspci_read() 65 static int gapspci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) in gapspci_write()
|
D | ops-sh4.c | 19 #define CONFIG_CMD(bus, devfn, where) \ argument 25 static int sh4_pci_read(struct pci_bus *bus, unsigned int devfn, in sh4_pci_read() 63 static int sh4_pci_write(struct pci_bus *bus, unsigned int devfn, in sh4_pci_write()
|
D | ops-sh5.c | 25 static int sh5pci_read(struct pci_bus *bus, unsigned int devfn, int where, in sh5pci_read() 45 static int sh5pci_write(struct pci_bus *bus, unsigned int devfn, int where, in sh5pci_write()
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 85 static unsigned long u3_agp_cfa0(u8 devfn, u8 off) in u3_agp_cfa0() 92 static unsigned long u3_agp_cfa1(u8 bus, u8 devfn, u8 off) in u3_agp_cfa1() 121 static int u3_agp_read_config(struct pci_bus *bus, unsigned int devfn, in u3_agp_read_config() 152 static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn, in u3_agp_write_config() 189 static unsigned long u3_ht_cfa0(u8 devfn, u8 off) in u3_ht_cfa0() 194 static unsigned long u3_ht_cfa1(u8 bus, u8 devfn, u8 off) in u3_ht_cfa1() 200 u8 bus, u8 devfn, u8 offset) in u3_ht_cfg_access() 258 static int u3_ht_read_config(struct pci_bus *bus, unsigned int devfn, in u3_ht_read_config() 296 static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn, in u3_ht_write_config() 339 static unsigned int u4_pcie_cfa0(unsigned int devfn, unsigned int off) in u4_pcie_cfa0() [all …]
|
/arch/x86/pci/ |
D | direct.c | 16 #define PCI_CONF1_ADDRESS(bus, devfn, reg) \ argument 21 unsigned int devfn, int reg, int len, u32 *value) in pci_conf1_read() 52 unsigned int devfn, int reg, int len, u32 value) in pci_conf1_write() 95 unsigned int devfn, int reg, int len, u32 *value) in pci_conf2_read() 137 unsigned int devfn, int reg, int len, u32 value) in pci_conf2_write() 197 int year, devfn; in pci_sanity_check() local
|
D | mmconfig_32.c | 28 static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn) in get_base_addr() 40 static void pci_exp_set_dev_base(unsigned int base, int bus, int devfn) in pci_exp_set_dev_base() 53 unsigned int devfn, int reg, int len, u32 *value) in pci_mmcfg_read() 92 unsigned int devfn, int reg, int len, u32 value) in pci_mmcfg_write()
|
D | numachip.c | 21 static inline char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base() 31 unsigned int devfn, int reg, int len, u32 *value) in pci_mmcfg_read_numachip() 71 unsigned int devfn, int reg, int len, u32 value) in pci_mmcfg_write_numachip()
|
D | intel_mid_pci.c | 57 static int fixed_bar_cap(struct pci_bus *bus, unsigned int devfn) in fixed_bar_cap() 89 static int pci_device_update_fixed(struct pci_bus *bus, unsigned int devfn, in pci_device_update_fixed() 143 static bool type1_access_ok(unsigned int bus, unsigned int devfn, int reg) in type1_access_ok() 162 static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_read() 172 static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_write()
|
/arch/powerpc/platforms/powermac/ |
D | pci.c | 126 #define MACRISC_CFA0(devfn, off) \ argument 131 #define MACRISC_CFA1(bus, devfn, off) \ argument 158 static int macrisc_read_config(struct pci_bus *bus, unsigned int devfn, in macrisc_read_config() 190 static int macrisc_write_config(struct pci_bus *bus, unsigned int devfn, in macrisc_write_config() 232 static int chaos_validate_dev(struct pci_bus *bus, int devfn, int offset) in chaos_validate_dev() 256 chaos_read_config(struct pci_bus *bus, unsigned int devfn, int offset, in chaos_read_config() 268 chaos_write_config(struct pci_bus *bus, unsigned int devfn, int offset, in chaos_write_config() 309 struct pci_bus *bus, unsigned int devfn) in u3_ht_skip_device() 342 #define U3_HT_CFA0(devfn, off) \ argument 344 #define U3_HT_CFA1(bus, devfn, off) \ argument [all …]
|
/arch/mn10300/unit-asb2305/ |
D | pci.c | 55 #define CONFIG_CMD(bus, devfn, where) \ argument 68 static inline int __query(const struct pci_bus *bus, unsigned int devfn) in __query() 82 static int pci_ampci_read_config_byte(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config_byte() 102 static int pci_ampci_read_config_word(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config_word() 122 static int pci_ampci_read_config_dword(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config_dword() 142 static int pci_ampci_write_config_byte(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config_byte() 162 static int pci_ampci_write_config_word(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config_word() 180 static int pci_ampci_write_config_dword(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config_dword() 198 static int pci_ampci_read_config(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config() 214 static int pci_ampci_write_config(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config()
|