/linux/arch/mips/pci/ |
A 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()
|
A 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()
|
A 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() 483 static int bcm63xx_pcie_read(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pcie_read() 503 static int bcm63xx_pcie_write(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pcie_write()
|
A D | pci-bcm1480ht.c | 38 #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()
|
A D | ops-loongson2.c | 34 unsigned int devfn, int where, 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() 187 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _rdmsr() local 203 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _wrmsr() local
|
A D | pci-bcm1480.c | 40 #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()
|
A D | pci-sb1250.c | 40 #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()
|
A D | ops-mace.c | 30 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()
|
A D | pci-alchemy.c | 188 static int read_config_byte(struct pci_bus *bus, unsigned int devfn, in read_config_byte() 202 static int read_config_word(struct pci_bus *bus, unsigned int devfn, in read_config_word() 214 static int read_config_dword(struct pci_bus *bus, unsigned int devfn, in read_config_dword() 220 static int write_config_byte(struct pci_bus *bus, unsigned int devfn, in write_config_byte() 237 static int write_config_word(struct pci_bus *bus, unsigned int devfn, in write_config_word() 254 static int write_config_dword(struct pci_bus *bus, unsigned int devfn, in write_config_dword() 260 static int alchemy_pci_read(struct pci_bus *bus, unsigned int devfn, in alchemy_pci_read() 283 static int alchemy_pci_write(struct pci_bus *bus, unsigned int devfn, in alchemy_pci_write()
|
A D | ops-vr41xx.c | 23 unsigned int devfn, int where) in set_pci_configuration_address() 48 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_read() 76 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_write()
|
A D | ops-lantiq.c | 27 unsigned int devfn, unsigned int where, u32 *data) in ltq_pci_config_access() 71 int ltq_pci_read_config_dword(struct pci_bus *bus, unsigned int devfn, in ltq_pci_read_config_dword() 89 int ltq_pci_write_config_dword(struct pci_bus *bus, unsigned int devfn, in ltq_pci_write_config_dword()
|
A D | ops-gt64xxx_pci0.c | 31 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) in gt64xxx_pci0_pcibios_config_access() 91 static int gt64xxx_pci0_pcibios_read(struct pci_bus *bus, unsigned int devfn, in gt64xxx_pci0_pcibios_read() 110 static int gt64xxx_pci0_pcibios_write(struct pci_bus *bus, unsigned int devfn, in gt64xxx_pci0_pcibios_write()
|
A D | ops-msc.c | 34 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) in msc_pcibios_config_access() 75 static int msc_pcibios_read(struct pci_bus *bus, unsigned int devfn, in msc_pcibios_read() 99 static int msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, in msc_pcibios_write()
|
/linux/arch/powerpc/platforms/maple/ |
A D | pci.c | 81 static unsigned long u3_agp_cfa0(u8 devfn, u8 off) in u3_agp_cfa0() 88 static unsigned long u3_agp_cfa1(u8 bus, u8 devfn, u8 off) in u3_agp_cfa1() 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() 185 static unsigned long u3_ht_cfa0(u8 devfn, u8 off) in u3_ht_cfa0() 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() 335 static unsigned int u4_pcie_cfa0(unsigned int devfn, unsigned int off) in u4_pcie_cfa0() [all …]
|
/linux/arch/powerpc/platforms/pasemi/ |
A D | pci.c | 25 #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() 45 static inline int is_root_port(int busno, int devfn) in is_root_port() 57 static int workaround_5945(struct pci_bus *bus, unsigned int devfn, in workaround_5945() 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()
|
/linux/arch/powerpc/platforms/powermac/ |
A D | pci.c | 123 #define MACRISC_CFA0(devfn, off) \ argument 128 #define MACRISC_CFA1(bus, devfn, off) \ argument 229 struct pci_bus *bus, unsigned int devfn) in u3_ht_skip_device() 262 #define U3_HT_CFA0(devfn, off) \ argument 264 #define U3_HT_CFA1(bus, devfn, off) \ argument 270 u8 devfn, u8 offset, int *swap) in u3_ht_cfg_access() 382 #define U4_PCIE_CFA0(devfn, off) \ argument 388 #define U4_PCIE_CFA1(bus, devfn, off) \ argument 494 u8 bus, devfn; in init_p2pbridge() local 529 unsigned char bus, devfn; in init_second_ohare() local [all …]
|
/linux/arch/x86/pci/ |
A D | direct.c | 17 #define PCI_CONF1_ADDRESS(bus, devfn, reg) \ argument 22 unsigned int devfn, int reg, int len, u32 *value) in pci_conf1_read() 53 unsigned int devfn, int reg, int len, u32 value) in pci_conf1_write() 96 unsigned int devfn, int reg, int len, u32 *value) in pci_conf2_read() 138 unsigned int devfn, int reg, int len, u32 value) in pci_conf2_write() 198 int devfn; in pci_sanity_check() local
|
A D | mmconfig_32.c | 27 static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn) in get_base_addr() 39 static void pci_exp_set_dev_base(unsigned int base, int bus, int devfn) in pci_exp_set_dev_base() 52 unsigned int devfn, int reg, int len, u32 *value) in pci_mmcfg_read() 91 unsigned int devfn, int reg, int len, u32 value) in pci_mmcfg_write()
|
A D | intel_mid_pci.c | 65 static int fixed_bar_cap(struct pci_bus *bus, unsigned int devfn) in fixed_bar_cap() 97 static int pci_device_update_fixed(struct pci_bus *bus, unsigned int devfn, in pci_device_update_fixed() 152 static bool type1_access_ok(unsigned int bus, unsigned int devfn, int reg) in type1_access_ok() 171 static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_read() 181 static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_write()
|
A D | numachip.c | 19 static inline char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base() 29 unsigned int devfn, int reg, int len, u32 *value) in pci_mmcfg_read_numachip() 69 unsigned int devfn, int reg, int len, u32 value) in pci_mmcfg_write_numachip()
|
/linux/arch/sparc/kernel/ |
A D | pci_common.c | 21 unsigned long devfn, in config_out_of_range() 32 unsigned long devfn, in sun4u_config_mkaddr() 53 unsigned char bus, unsigned int devfn, in sun4u_read_pci_cfg_host() 108 static int sun4u_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_read_pci_cfg() 166 unsigned char bus, unsigned int devfn, in sun4u_write_pci_cfg_host() 212 static int sun4u_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_write_pci_cfg() 257 static int sun4v_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_read_pci_cfg() 290 static int sun4v_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_write_pci_cfg()
|
/linux/arch/sh/drivers/pci/ |
A D | ops-dreamcast.c | 36 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()
|
A D | ops-sh4.c | 16 #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()
|
/linux/drivers/pci/controller/ |
A D | pci-thunder-ecam.c | 30 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar() 86 static int thunder_ecam_p2_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_p2_config_read() 127 static int thunder_ecam_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_read() 333 static int thunder_ecam_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_write()
|
/linux/drivers/pci/pcie/ |
A D | aer_inject.c | 51 unsigned int devfn; member 78 unsigned int bus, unsigned int devfn, in aer_error_init() 90 unsigned int devfn) in __find_aer_error() 181 static int aer_inj_read(struct pci_bus *bus, unsigned int devfn, int where, in aer_inj_read() 199 static int aer_inj_write(struct pci_bus *bus, unsigned int devfn, int where, in aer_inj_write() 217 static int aer_inj_read_config(struct pci_bus *bus, unsigned int devfn, in aer_inj_read_config() 248 static int aer_inj_write_config(struct pci_bus *bus, unsigned int devfn, in aer_inj_write_config() 327 unsigned int devfn = PCI_DEVFN(einj->dev, einj->fn); in aer_inject() local
|