Home
last modified time | relevance | path

Searched refs:busdev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/arch/ia64/include/asm/
Dpci.h56 #define PCI_CONTROLLER(busdev) ((struct pci_controller *) busdev->sysdata) argument
57 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment) argument
/Linux-v5.4/drivers/pci/controller/
Dpcie-rockchip-host.c163 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-v5.4/drivers/pci/controller/dwc/
Dpcie-designware-host.c531 u32 busdev, cfg_size; in dw_pcie_access_other_conf() local
536 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()
/Linux-v5.4/drivers/net/ethernet/sun/
Dsunhme.c2903 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()