Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/drivers/pci/controller/
Dpcie-rockchip-host.c160 u32 busdev; in rockchip_pcie_rd_other_conf() local
162 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() local
196 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 …]
/Linux-v5.10/drivers/pci/controller/dwc/
Dpcie-designware-host.c443 u32 busdev; in dw_pcie_other_conf_map_bus() local
458 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()
/Linux-v5.10/drivers/net/ethernet/sun/
Dsunhme.c2902 struct pci_dev *busdev = pdev->bus->self; in is_quattro_p() local
2906 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()