Home
last modified time | relevance | path

Searched defs:devfn (Results 1 – 25 of 72) sorted by relevance

123

/drivers/pci/host/
Dpcie-altera.c59 #define TLP_REQ_ID(bus, devfn) (((bus) << 8) | (devfn)) argument
70 #define TLP_CFG_DW2(bus, devfn, offset) \ argument
124 static bool altera_pcie_hide_rc_bar(struct pci_bus *bus, unsigned int devfn, in altera_pcie_hide_rc_bar()
224 static int tlp_cfg_dword_read(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_read()
238 static int tlp_cfg_dword_write(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_write()
269 unsigned int devfn, int where, int size, in _altera_pcie_cfg_read()
309 unsigned int devfn, int where, int size, in _altera_pcie_cfg_write()
335 static int altera_pcie_cfg_read(struct pci_bus *bus, unsigned int devfn, in altera_pcie_cfg_read()
352 static int altera_pcie_cfg_write(struct pci_bus *bus, unsigned int devfn, in altera_pcie_cfg_write()
373 unsigned int devfn, int offset, u16 *value) in altera_read_cap_word()
[all …]
Dpci-thunder-ecam.c31 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar()
87 static int thunder_ecam_p2_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_p2_config_read()
128 static int thunder_ecam_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_read()
334 static int thunder_ecam_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_write()
Dpci-thunder-pem.c32 static int thunder_pem_bridge_read(struct pci_bus *bus, unsigned int devfn, in thunder_pem_bridge_read()
119 static int thunder_pem_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_pem_config_read()
195 static int thunder_pem_bridge_write(struct pci_bus *bus, unsigned int devfn, in thunder_pem_bridge_write()
268 static int thunder_pem_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_pem_config_write()
Dpci-mvebu.c50 #define PCIE_CONF_ADDR(bus, devfn, where) \ argument
148 int devfn; member
284 u32 devfn, int where, int size, u32 *val) in mvebu_pcie_hw_rd_conf()
308 u32 devfn, int where, int size, u32 val) in mvebu_pcie_hw_wr_conf()
781 int devfn) in mvebu_pcie_find_port()
800 static int mvebu_pcie_wr_conf(struct pci_bus *bus, u32 devfn, in mvebu_pcie_wr_conf()
826 static int mvebu_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in mvebu_pcie_rd_conf()
965 static int mvebu_get_tgt_attr(struct device_node *np, int devfn, in mvebu_get_tgt_attr()
Dpcie-designware.c680 u32 devfn, int where, int size, u32 *val) in dw_pcie_rd_other_conf()
718 u32 devfn, int where, int size, u32 val) in dw_pcie_wr_other_conf()
771 static int dw_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in dw_pcie_rd_conf()
787 static int dw_pcie_wr_conf(struct pci_bus *bus, u32 devfn, in dw_pcie_wr_conf()
Dpci-keystone-dw.c415 unsigned int devfn) in ks_pcie_cfg_setup()
439 unsigned int devfn, int where, int size, u32 *val) in ks_dw_pcie_rd_other_conf()
451 unsigned int devfn, int where, int size, u32 val) in ks_dw_pcie_wr_other_conf()
Dpci-xgene.c112 static void xgene_pcie_set_rtdid_reg(struct pci_bus *bus, uint devfn) in xgene_pcie_set_rtdid_reg()
147 static void __iomem *xgene_pcie_map_bus(struct pci_bus *bus, unsigned int devfn, in xgene_pcie_map_bus()
158 static int xgene_pcie_config_read32(struct pci_bus *bus, unsigned int devfn, in xgene_pcie_config_read32()
/drivers/pci/hotplug/
Dibmphp_pci.c107 unsigned int devfn = PCI_DEVFN(device, function); in ibmphp_configure_card() local
367 unsigned int devfn; in configure_device() local
596 unsigned int devfn; in configure_bridge() local
1084 unsigned int devfn; in scan_behind_bridge() local
1235 unsigned int devfn; in unconfigure_boot_device() local
1347 unsigned int devfn; in unconfigure_boot_bridge() local
1453 unsigned int devfn; in unconfigure_boot_card() local
Dcpqphp_pci.c142 static int PCI_RefinedAccessConfig(struct pci_bus *bus, unsigned int devfn, u8 offset, u32 *value) in PCI_RefinedAccessConfig()
565 unsigned int devfn; in cpqhp_save_base_addr_length() local
710 unsigned int devfn; in cpqhp_save_used_resources() local
963 unsigned int devfn; in cpqhp_configure_board() local
1042 unsigned int devfn; in cpqhp_valid_replace() local
Dcpqphp_core.c448 u8 devfn; in set_attention_status() local
475 u8 devfn; in process_SI() local
507 u8 devfn; in process_SS() local
/drivers/misc/cxl/
Dvphb.c74 static int cxl_pcie_cfg_record(u8 bus, u8 devfn) in cxl_pcie_cfg_record()
96 static inline int cxl_pcie_config_info(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_config_info()
109 static int cxl_pcie_read_config(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_read_config()
149 static int cxl_pcie_write_config(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_write_config()
/drivers/pci/pcie/aer/
Daer_inject.c52 unsigned int devfn; member
79 unsigned int bus, unsigned int devfn, in aer_error_init()
91 unsigned int devfn) in __find_aer_error()
182 static int aer_inj_read_config(struct pci_bus *bus, unsigned int devfn, in aer_inj_read_config()
226 static int aer_inj_write_config(struct pci_bus *bus, unsigned int devfn, in aer_inj_write_config()
337 unsigned int devfn = PCI_DEVFN(einj->dev, einj->fn); in aer_inject() local
/drivers/xen/xen-pciback/
Dpassthrough.c22 unsigned int devfn) in __xen_pcibk_get_pci_dev()
50 unsigned int domain, bus, devfn; in __xen_pcibk_add_pci_dev() local
179 unsigned int *devfn) in __xen_pcibk_get_pcifront_dev()
Dvpci.c32 unsigned int devfn) in __xen_pcibk_get_pci_dev()
232 unsigned int *devfn) in __xen_pcibk_get_pcifront_dev()
Dpciback.h134 unsigned int bus, unsigned int devfn) in xen_pcibk_get_pci_dev()
151 unsigned int *devfn) in xen_pcibk_get_pcifront_dev()
/drivers/pci/
Dsearch.c44 u8 devfn; in pci_for_each_dma_alias() local
189 struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn) in pci_get_slot()
225 unsigned int devfn) in pci_get_domain_bus_and_slot()
Daccess.c70 int pci_generic_config_read(struct pci_bus *bus, unsigned int devfn, in pci_generic_config_read()
92 int pci_generic_config_write(struct pci_bus *bus, unsigned int devfn, in pci_generic_config_write()
112 int pci_generic_config_read32(struct pci_bus *bus, unsigned int devfn, in pci_generic_config_read32()
132 int pci_generic_config_write32(struct pci_bus *bus, unsigned int devfn, in pci_generic_config_write32()
Dxen-pcifront.c177 static int pcifront_bus_read(struct pci_bus *bus, unsigned int devfn, in pcifront_bus_read()
216 static int pcifront_bus_write(struct pci_bus *bus, unsigned int devfn, in pcifront_bus_write()
421 unsigned int devfn; in pcifront_scan_bus() local
597 int devfn = pdev->sh_info->aer_op.devfn; in pcifront_common_process() local
/drivers/of/
Dof_pci.c14 int devfn; in __of_pci_pci_compare() local
24 unsigned int devfn) in of_pci_find_child_device()
/drivers/iommu/
Dintel-iommu.c423 u8 devfn; /* PCI devfn number */ member
844 u8 bus, u8 devfn, int alloc) in iommu_context_addr()
882 static struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn) in device_to_iommu()
957 static int device_context_mapped(struct intel_iommu *iommu, u8 bus, u8 devfn) in device_context_mapped()
971 static void clear_context_table(struct intel_iommu *iommu, u8 bus, u8 devfn) in clear_context_table()
1461 u8 bus, u8 devfn) in iommu_support_dev_iotlb()
2008 u8 bus, u8 devfn) in domain_context_mapping_one()
2145 u8 bus, devfn; in domain_context_mapping() local
2173 u8 bus, devfn; in domain_context_mapped() local
2348 static void domain_context_clear_one(struct intel_iommu *iommu, u8 bus, u8 devfn) in domain_context_clear_one()
[all …]
/drivers/acpi/
Dreboot.c11 unsigned int devfn; in acpi_reboot() local
/drivers/pci/pcie/
Dpme.c109 static bool pcie_pme_from_pci_bridge(struct pci_bus *bus, u8 devfn) in pcie_pme_from_pci_bridge()
139 u8 busnr = req_id >> 8, devfn = req_id & 0xff; in pcie_pme_handle_request() local
/drivers/ssb/
Ddriver_gige.c110 static int ssb_gige_pci_read_config(struct pci_bus *bus, unsigned int devfn, in ssb_gige_pci_read_config()
140 static int ssb_gige_pci_write_config(struct pci_bus *bus, unsigned int devfn, in ssb_gige_pci_write_config()
/drivers/parisc/
Dlba_pci.c366 static int elroy_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 *data) in elroy_cfg_read()
433 static int elroy_cfg_write(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 data) in elroy_cfg_write()
483 static int mercury_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 *data) in mercury_cfg_read()
515 static int mercury_cfg_write(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 data) in mercury_cfg_write()
/drivers/bcma/
Ddriver_pci_host.c231 unsigned int devfn, in bcma_core_pci_hostmode_read_config()
251 unsigned int devfn, in bcma_core_pci_hostmode_write_config()

123