| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pcie_dw_mvebu.c | 154 if (PCI_BUS(d) == (pcie->first_busno + 1)) in set_cfg_address() 161 if (PCI_BUS(d) == pcie->first_busno) { in set_cfg_address() 186 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 188 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 218 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_read_config() 260 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_write_config()
|
| H A D | pci_gt64120.c | 48 unsigned int bus = PCI_BUS(bdf); in gt_config_access() 62 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access() 111 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access()
|
| H A D | pci_mvebu.c | 48 (PCIE_CONF_BUS(PCI_BUS(dev)) | PCIE_CONF_DEV(PCI_DEV(dev)) | \ 219 int local_bus = PCI_BUS(pcie->dev); in mvebu_pcie_read_config_dword() 224 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_read_config_dword() 254 int local_bus = PCI_BUS(pcie->dev); in mvebu_pcie_write_config_dword() 258 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_write_config_dword()
|
| H A D | pcie_layerscape.c | 232 if (PCI_BUS(bdf) < bus->seq) in ls_pcie_addr_valid() 235 if ((PCI_BUS(bdf) > bus->seq) && (!ls_pcie_link_up(pcie))) in ls_pcie_addr_valid() 238 if (PCI_BUS(bdf) <= (bus->seq + 1) && (PCI_DEV(bdf) > 0)) in ls_pcie_addr_valid() 250 if (PCI_BUS(bdf) == bus->seq) in ls_pcie_conf_address() 253 busdev = PCIE_ATU_BUS(PCI_BUS(bdf)) | in ls_pcie_conf_address() 257 if (PCI_BUS(bdf) == bus->seq + 1) { in ls_pcie_conf_address()
|
| H A D | pci_indirect.c | 27 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \ 42 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
|
| H A D | pcie_imx.c | 321 if (PCI_BUS(d) < 2) in get_bus_address() 326 if (PCI_BUS(d) == 0) { in get_bus_address() 340 if ((PCI_BUS(d) == 0) && (PCI_DEV(d) > 1)) in imx_pcie_addr_valid() 342 if ((PCI_BUS(d) == 1) && (PCI_DEV(d) > 0)) in imx_pcie_addr_valid()
|
| H A D | pci.c | 46 struct pci_controller *hose = pci_bus_to_hose(PCI_BUS(dev)); \ 376 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus() 393 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus() 403 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
|
| H A D | pcie_dw_rockchip.c | 377 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in rk_pcie_addr_valid() 379 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in rk_pcie_addr_valid() 388 int bus = PCI_BUS(d) - pcie->first_busno; in set_cfg_address() 437 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in rockchip_pcie_rd_conf() 468 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in rockchip_pcie_wr_conf()
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/ |
| H A D | irq.c | 165 rt->rtr_bus = PCI_BUS(priv->bdf); in create_pirq_routing_table() 182 i, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table() 187 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table() 190 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table() 211 fill_irq_info(priv, slot, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table()
|
| /OK3568_Linux_fs/u-boot/drivers/bios_emulator/ |
| H A D | atibios.c | 251 regs.x.ax = (int)PCI_BUS(bdf) << 8 | in PCI_doBIOSPOST() 254 regs.x.ax = ((int)PCI_BUS(pcidev) << 8) | in PCI_doBIOSPOST() 523 vga_info->bus = PCI_BUS(bdf); in PCI_postController() 527 vga_info->bus = PCI_BUS(pcidev); in PCI_postController() 557 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup() 560 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmsdspi_linux.c | 179 if (!(osh = osl_attach(pdev, PCI_BUS, FALSE))) { 216 if (!(osh = osl_attach(pdev, PCI_BUS, FALSE))) { 235 bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 238 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1);
|
| H A D | aiutils.c | 164 case PCI_BUS: in ai_scan() 531 case PCI_BUS: in _ai_setcoreidx() 903 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg() 997 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly() 1084 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr() 1359 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1381 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1434 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1473 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() 1509 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() [all …]
|
| H A D | siutils_priv.h | 189 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 192 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 195 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmsdspi_linux.c | 179 if (!(osh = osl_attach(pdev, PCI_BUS, FALSE))) { 216 if (!(osh = osl_attach(pdev, PCI_BUS, FALSE))) { 235 bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 238 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1);
|
| H A D | aiutils.c | 164 case PCI_BUS: in ai_scan() 531 case PCI_BUS: in _ai_setcoreidx() 903 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg() 997 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly() 1084 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr() 1359 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1381 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1434 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1473 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() 1509 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() [all …]
|
| H A D | siutils_priv.h | 189 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 192 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 195 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmsdspi_linux.c | 179 if (!(osh = osl_attach(pdev, PCI_BUS, FALSE))) { 216 if (!(osh = osl_attach(pdev, PCI_BUS, FALSE))) { 235 bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 238 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1);
|
| H A D | aiutils.c | 164 case PCI_BUS: in ai_scan() 531 case PCI_BUS: in _ai_setcoreidx() 903 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg() 997 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly() 1084 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr() 1359 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1381 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1434 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1473 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() 1509 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() [all …]
|
| H A D | siutils_priv.h | 189 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 192 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 195 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | nciutils.c | 468 case PCI_BUS: in BCMATTACHFN() 708 if (nci->bustype == PCI_BUS) { in BCMATTACHFN() 763 if (nci->bustype == PCI_BUS) { in BCMATTACHFN() 796 case PCI_BUS: in BCMATTACHFN() 819 if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMATTACHFN() 1070 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN() 1161 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in nci_corereg_writeonly() 1256 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in nci_corereg_addr() 1481 case PCI_BUS: in BCMPOSTTRAPFN() 1681 case PCI_BUS: in BCMPOSTTRAPFN() [all …]
|
| H A D | aiutils.c | 189 case PCI_BUS: in BCMATTACHFN() 298 if (BUSTYPE(sih->bustype) == PCI_BUS && in BCMATTACHFN() 547 case PCI_BUS: in BCMPOSTTRAPFN() 963 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN() 1057 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly() 1144 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN() 1442 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1464 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1510 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1670 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | aiutils.c | 153 case PCI_BUS: in ai_scan() 472 case PCI_BUS: in _ai_setcoreidx() 835 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg() 926 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr() 1196 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1218 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1317 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_enable_backplane_timeouts() 1349 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_enable_backplane_timeouts() 1729 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_clear_backplane_to() 1771 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_clear_backplane_to()
|
| H A D | siutils_priv.h | 173 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 176 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \ 179 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | aiutils.c | 189 case PCI_BUS: in BCMATTACHFN() 298 if (BUSTYPE(sih->bustype) == PCI_BUS && in BCMATTACHFN() 547 case PCI_BUS: in BCMPOSTTRAPFN() 963 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN() 1057 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly() 1144 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN() 1442 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1464 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1510 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs() 1670 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_update_backplane_timeouts() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/include/ |
| H A D | defs.h | 12 #define PCI_BUS 1 macro
|