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
163 u32 busdev; in rockchip_pcie_rd_other_conf() local165 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() local199 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 …]
531 u32 busdev, cfg_size; in dw_pcie_access_other_conf() local536 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_access_other_conf()553 busdev, cfg_size); in dw_pcie_access_other_conf()
2903 struct pci_dev *busdev = pdev->bus->self; in is_quattro_p() local2907 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()