Searched refs:busdev (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/arch/ia64/include/asm/ |
D | pci.h | 56 #define PCI_CONTROLLER(busdev) ((struct pci_controller *) busdev->sysdata) argument 57 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment) argument
|
/Linux-v4.19/arch/ia64/include/asm/sn/ |
D | pcidev.h | 23 #define SN_PLATFORM_DATA(busdev) \ argument 24 ((struct sn_platform_data *)(PCI_CONTROLLER(busdev)->platform_data))
|
/Linux-v4.19/drivers/pci/controller/ |
D | pcie-rockchip-host.c | 163 u32 busdev; in rockchip_pcie_rd_other_conf() local 165 busdev = PCIE_ECAM_ADDR(bus->number, PCI_SLOT(devfn), in rockchip_pcie_rd_other_conf() 168 if (!IS_ALIGNED(busdev, size)) { in rockchip_pcie_rd_other_conf() 181 *val = readl(rockchip->reg_base + busdev); in rockchip_pcie_rd_other_conf() 183 *val = readw(rockchip->reg_base + busdev); in rockchip_pcie_rd_other_conf() 185 *val = readb(rockchip->reg_base + busdev); in rockchip_pcie_rd_other_conf() 197 u32 busdev; in rockchip_pcie_wr_other_conf() local 199 busdev = PCIE_ECAM_ADDR(bus->number, PCI_SLOT(devfn), in rockchip_pcie_wr_other_conf() 201 if (!IS_ALIGNED(busdev, size)) in rockchip_pcie_wr_other_conf() 212 writel(val, rockchip->reg_base + busdev); in rockchip_pcie_wr_other_conf() [all …]
|
/Linux-v4.19/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 513 u32 busdev, cfg_size; in dw_pcie_rd_other_conf() local 521 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_rd_other_conf() 538 busdev, cfg_size); in dw_pcie_rd_other_conf() 552 u32 busdev, cfg_size; in dw_pcie_wr_other_conf() local 560 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_wr_other_conf() 577 busdev, cfg_size); in dw_pcie_wr_other_conf()
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | sunhme.c | 2903 struct pci_dev *busdev = pdev->bus->self; in is_quattro_p() local 2907 if (busdev == NULL || in is_quattro_p() 2908 busdev->vendor != PCI_VENDOR_ID_DEC || in is_quattro_p() 2909 busdev->device != PCI_DEVICE_ID_DEC_21153) in is_quattro_p()
|