Home
last modified time | relevance | path

Searched defs:devfn (Results 26 – 50 of 294) sorted by relevance

12345678910>>...12

/openbmc/linux/arch/mips/pci/
H A Dops-gt64xxx_pci0.c31 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()
H A Dops-msc.c34 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()
H A Dops-bonito64.c26 unsigned int devfn, int where, in bonito64_pcibios_config_access()
89 static int bonito64_pcibios_read(struct pci_bus *bus, unsigned int devfn, in bonito64_pcibios_read()
113 static int bonito64_pcibios_write(struct pci_bus *bus, unsigned int devfn, in bonito64_pcibios_write()
/openbmc/linux/arch/sh/drivers/pci/
H A Dops-sh7786.c20 struct pci_bus *bus, unsigned int devfn, int where, u32 *data) in sh7786_pcie_config_access()
89 static int sh7786_pcie_read(struct pci_bus *bus, unsigned int devfn, in sh7786_pcie_read()
125 static int sh7786_pcie_write(struct pci_bus *bus, unsigned int devfn, in sh7786_pcie_write()
/openbmc/linux/drivers/pci/pcie/
H A Daer_inject.c51 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
/openbmc/linux/arch/m68k/coldfire/
H A Dpci.c53 static unsigned long mcf_mk_pcicar(int bus, unsigned int devfn, int where) in mcf_mk_pcicar()
58 static int mcf_pci_readconfig(struct pci_bus *bus, unsigned int devfn, in mcf_pci_readconfig()
92 static int mcf_pci_writeconfig(struct pci_bus *bus, unsigned int devfn, in mcf_pci_writeconfig()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-altera.c58 #define TLP_REQ_ID(bus, devfn) (((bus) << 8) | (devfn)) argument
64 #define TLP_CFG_DW2(bus, devfn, offset) \ argument
320 static void get_tlp_header(struct altera_pcie *pcie, u8 bus, u32 devfn, in get_tlp_header()
338 static int tlp_cfg_dword_read(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_read()
351 static int tlp_cfg_dword_write(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_write()
430 unsigned int devfn, int where, int size, in _altera_pcie_cfg_read()
474 unsigned int devfn, int where, int size, in _altera_pcie_cfg_write()
504 static int altera_pcie_cfg_read(struct pci_bus *bus, unsigned int devfn, in altera_pcie_cfg_read()
519 static int altera_pcie_cfg_write(struct pci_bus *bus, unsigned int devfn, in altera_pcie_cfg_write()
540 unsigned int devfn, int offset, u16 *value) in altera_read_cap_word()
[all …]
H A Dpci-host-generic.c26 static bool pci_dw_valid_device(struct pci_bus *bus, unsigned int devfn) in pci_dw_valid_device()
43 unsigned int devfn, int where) in pci_dw_ecam_map_bus()
H A Dpci-thunder-pem.c37 static int thunder_pem_bridge_read(struct pci_bus *bus, unsigned int devfn, in thunder_pem_bridge_read()
137 static int thunder_pem_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_pem_config_read()
213 static int thunder_pem_bridge_write(struct pci_bus *bus, unsigned int devfn, in thunder_pem_bridge_write()
286 static int thunder_pem_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_pem_config_write()
/openbmc/linux/arch/powerpc/sysdev/
H A Dindirect_pci.c19 unsigned char bus_number, unsigned int devfn, in __indirect_read_config()
75 int indirect_read_config(struct pci_bus *bus, unsigned int devfn, in indirect_read_config()
84 int indirect_write_config(struct pci_bus *bus, unsigned int devfn, in indirect_write_config()
/openbmc/linux/arch/x86/pci/
H A Dmmconfig_64.c19 static 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()
63 unsigned int devfn, int reg, int len, u32 value) in pci_mmcfg_write()
H A Dolpc.c173 static int is_simulated(unsigned int bus, unsigned int devfn) in is_simulated()
201 unsigned int devfn, int reg, int len, uint32_t *value) in pci_olpc_read()
263 unsigned int devfn, int reg, int len, uint32_t value) in pci_olpc_write()
H A Dce4100.c175 static int bridge_read(unsigned int devfn, int reg, int len, u32 *value) in bridge_read()
243 static int ce4100_bus1_read(unsigned int devfn, int reg, int len, u32 *value) in ce4100_bus1_read()
264 unsigned int devfn, int reg, int len, u32 *value) in ce4100_conf_read()
278 static int ce4100_bus1_write(unsigned int devfn, int reg, int len, u32 value) in ce4100_bus1_write()
298 unsigned int devfn, int reg, int len, u32 value) in ce4100_conf_write()
/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_pci.c93 unsigned int devfn = PCI_DEVFN(device, function); in ibmphp_configure_card() local
348 unsigned int devfn; in configure_device() local
573 unsigned int devfn; in configure_bridge() local
1052 unsigned int devfn; in scan_behind_bridge() local
1203 unsigned int devfn; in unconfigure_boot_device() local
1318 unsigned int devfn; in unconfigure_boot_bridge() local
1424 unsigned int devfn; in unconfigure_boot_card() local
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-hisi.c25 static int hisi_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in hisi_pcie_rd_conf()
43 static int hisi_pcie_wr_conf(struct pci_bus *bus, u32 devfn, in hisi_pcie_wr_conf()
61 static void __iomem *hisi_pcie_map_bus(struct pci_bus *bus, unsigned int devfn, in hisi_pcie_map_bus()
/openbmc/linux/include/uapi/linux/
H A Dpci.h32 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument
33 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
/openbmc/linux/drivers/misc/cxl/
H A Dvphb.c75 static int cxl_pcie_cfg_record(u8 bus, u8 devfn) in cxl_pcie_cfg_record()
97 static inline int cxl_pcie_config_info(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_config_info()
110 static int cxl_pcie_read_config(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_read_config()
150 static int cxl_pcie_write_config(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_write_config()
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dpci.c34 static int gg2_read_config(struct pci_bus *bus, unsigned int devfn, int off, in gg2_read_config()
61 static int gg2_write_config(struct pci_bus *bus, unsigned int devfn, int off, in gg2_write_config()
97 static int rtas_read_config(struct pci_bus *bus, unsigned int devfn, int offset, in rtas_read_config()
112 static int rtas_write_config(struct pci_bus *bus, unsigned int devfn, int offset, in rtas_write_config()
/openbmc/linux/include/xen/interface/
H A Dphysdev.h130 int devfn; member
154 uint8_t devfn; member
161 uint8_t devfn; member
168 uint8_t devfn; member
173 uint8_t devfn; member
238 uint8_t devfn; member
242 uint8_t devfn; member
263 uint8_t devfn; member
/openbmc/linux/arch/sparc/kernel/
H A Dleon_pci_grpci1.c119 unsigned int devfn, int where, u32 *val) in grpci1_cfg_r32()
156 unsigned int devfn, int where, u32 *val) in grpci1_cfg_r16()
169 unsigned int devfn, int where, u32 *val) in grpci1_cfg_r8()
181 unsigned int devfn, int where, u32 val) in grpci1_cfg_w32()
208 unsigned int devfn, int where, u32 val) in grpci1_cfg_w16()
224 unsigned int devfn, int where, u32 val) in grpci1_cfg_w8()
240 static int grpci1_read_config(struct pci_bus *bus, unsigned int devfn, in grpci1_read_config()
279 static int grpci1_write_config(struct pci_bus *bus, unsigned int devfn, in grpci1_write_config()
H A Dpcic.c60 unsigned char devfn; /* Configuration address */ member
176 static int pcic_read_config_dword(unsigned int busno, unsigned int devfn, in pcic_read_config_dword()
213 static int pcic_read_config(struct pci_bus *bus, unsigned int devfn, in pcic_read_config()
237 static int pcic_write_config_dword(unsigned int busno, unsigned int devfn, in pcic_write_config_dword()
252 static int pcic_write_config(struct pci_bus *bus, unsigned int devfn, in pcic_write_config()
457 unsigned long devfn = (regs[0].which_io >> 8) & 0xff; in pdev_to_pnode() local
/openbmc/u-boot/drivers/pci/
H A Dpci_sandbox.c24 static int sandbox_pci_write_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_write_config()
42 static int sandbox_pci_read_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_read_config()
83 u8 pdev, pfn, devfn; in sandbox_pci_probe() local
/openbmc/linux/arch/ia64/pci/
H A 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()
/openbmc/qemu/include/hw/xen/interface/
H A Dphysdev.h153 int devfn; member
177 uint8_t devfn; member
187 uint8_t devfn; member
196 uint8_t devfn; member
201 uint8_t devfn; member
275 uint8_t devfn; member
279 uint8_t devfn; member
303 uint8_t devfn; member
/openbmc/linux/arch/arm/mach-orion5x/
H A Dpci.c73 static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in pcie_rd_conf()
91 static int pcie_rd_conf_wa(struct pci_bus *bus, u32 devfn, in pcie_rd_conf_wa()
117 static int pcie_wr_conf(struct pci_bus *bus, u32 devfn, in pcie_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()

12345678910>>...12