Searched refs:busdev (Results 1 – 4 of 4) sorted by relevance
56 #define PCI_CONTROLLER(busdev) ((struct pci_controller *) busdev->sysdata) argument57 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment) argument
160 u32 busdev; in rockchip_pcie_rd_other_conf() local162 busdev = PCIE_ECAM_ADDR(bus->number, PCI_SLOT(devfn), in rockchip_pcie_rd_other_conf()165 if (!IS_ALIGNED(busdev, size)) { in rockchip_pcie_rd_other_conf()178 *val = readl(rockchip->reg_base + busdev); in rockchip_pcie_rd_other_conf()180 *val = readw(rockchip->reg_base + busdev); in rockchip_pcie_rd_other_conf()182 *val = readb(rockchip->reg_base + busdev); in rockchip_pcie_rd_other_conf()194 u32 busdev; in rockchip_pcie_wr_other_conf() local196 busdev = PCIE_ECAM_ADDR(bus->number, PCI_SLOT(devfn), in rockchip_pcie_wr_other_conf()198 if (!IS_ALIGNED(busdev, size)) in rockchip_pcie_wr_other_conf()209 writel(val, rockchip->reg_base + busdev); in rockchip_pcie_wr_other_conf()[all …]
443 u32 busdev; in dw_pcie_other_conf_map_bus() local458 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_other_conf_map_bus()469 busdev, pp->cfg0_size); in dw_pcie_other_conf_map_bus()
2902 struct pci_dev *busdev = pdev->bus->self; in is_quattro_p() local2906 if (busdev == NULL || in is_quattro_p()2907 busdev->vendor != PCI_VENDOR_ID_DEC || in is_quattro_p()2908 busdev->device != PCI_DEVICE_ID_DEC_21153) in is_quattro_p()