Home
last modified time | relevance | path

Searched refs:host_pci (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/drivers/ssb/
Dscan.c211 pci_iounmap(bus->host_pci, bus->mmio); in ssb_iounmap()
237 mmio = pci_iomap(bus->host_pci, 0, ~0UL); in ssb_ioremap()
260 if (bus->host_pci->vendor == PCI_VENDOR_ID_BROADCOM && in we_support_multiple_80211_cores()
261 ((bus->host_pci->device == 0x4313) || in we_support_multiple_80211_cores()
262 (bus->host_pci->device == 0x431A) || in we_support_multiple_80211_cores()
263 (bus->host_pci->device == 0x4321) || in we_support_multiple_80211_cores()
264 (bus->host_pci->device == 0x4324))) in we_support_multiple_80211_cores()
312 bus->chip_id = pcidev_to_chipid(bus->host_pci); in ssb_bus_scan()
313 bus->chip_rev = bus->host_pci->revision; in ssb_bus_scan()
407 if (pci_is_pcie(bus->host_pci)) in ssb_bus_scan()
[all …]
Dpci.c39 err = pci_write_config_dword(bus->host_pci, SSB_BAR0_WIN, in ssb_pci_switch_coreidx()
44 err = pci_read_config_dword(bus->host_pci, SSB_BAR0_WIN, in ssb_pci_switch_coreidx()
93 err = pci_read_config_dword(bus->host_pci, SSB_GPIO_IN, &in); in ssb_pci_xtal()
96 err = pci_read_config_dword(bus->host_pci, SSB_GPIO_OUT, &out); in ssb_pci_xtal()
99 err = pci_read_config_dword(bus->host_pci, SSB_GPIO_OUT_ENABLE, &outenable); in ssb_pci_xtal()
116 err = pci_write_config_dword(bus->host_pci, SSB_GPIO_OUT, out); in ssb_pci_xtal()
119 err = pci_write_config_dword(bus->host_pci, SSB_GPIO_OUT_ENABLE, in ssb_pci_xtal()
128 err = pci_write_config_dword(bus->host_pci, SSB_GPIO_OUT, out); in ssb_pci_xtal()
135 err = pci_read_config_word(bus->host_pci, PCI_STATUS, &pci_status); in ssb_pci_xtal()
139 err = pci_write_config_word(bus->host_pci, PCI_STATUS, pci_status); in ssb_pci_xtal()
[all …]
Dmain.c65 bus->host_pci == pdev) in ssb_pci_dev_to_bus()
497 sdev->irq = bus->host_pci->irq; in ssb_devices_register()
498 dev->parent = &bus->host_pci->dev; in ssb_devices_register()
703 int ssb_bus_pcibus_register(struct ssb_bus *bus, struct pci_dev *host_pci) in ssb_bus_pcibus_register() argument
708 bus->host_pci = host_pci; in ssb_bus_pcibus_register()
713 dev_info(&host_pci->dev, in ssb_bus_pcibus_register()
715 dev_name(&host_pci->dev)); in ssb_bus_pcibus_register()
717 dev_err(&host_pci->dev, in ssb_bus_pcibus_register()
1137 if (pci_is_pcie(dev->bus->host_pci) && in ssb_dma_translation()
Ddriver_pcicore.c712 err = pci_read_config_dword(bus->host_pci, SSB_PCI_IRQMASK, &tmp); in ssb_pcicore_dev_irqvecs_enable()
716 err = pci_write_config_dword(bus->host_pci, SSB_PCI_IRQMASK, tmp); in ssb_pcicore_dev_irqvecs_enable()
Ddriver_chipcommon.c129 pci_read_config_dword(bus->host_pci, SSB_GPIO_OUT, &tmp); in chipco_pctl_get_slowclksrc()
/Linux-v5.15/drivers/bcma/
Dhost_pci.c19 pci_write_config_dword(core->bus->host_pci, BCMA_PCI_BAR0_WIN, in bcma_host_pci_switch_core()
21 pci_write_config_dword(core->bus->host_pci, win2, core->wrap); in bcma_host_pci_switch_core()
208 bus->host_pci = dev; in bcma_host_pci_probe()
212 bus->boardinfo.vendor = bus->host_pci->subsystem_vendor; in bcma_host_pci_probe()
213 bus->boardinfo.type = bus->host_pci->subsystem_device; in bcma_host_pci_probe()
373 pdev = bus->host_pci; in bcma_host_pci_irq_ctl()
DMakefile14 bcma-$(CONFIG_BCMA_HOST_PCI) += host_pci.o
Ddriver_pcie2.c195 struct pci_dev *dev = bus->host_pci; in bcma_core_pcie2_up()
Dmain.c220 return bus->host_pci->irq; in bcma_core_irq()
250 core->irq = bus->host_pci->irq; in bcma_prepare_core()
Dscan.c152 pci_write_config_dword(bus->host_pci, BCMA_PCI_BAR0_WIN, in bcma_scan_switch_core()
/Linux-v5.15/drivers/firmware/broadcom/
Dbcm47xx_sprom.c605 bus->host_pci->bus->number + 1, in bcm47xx_get_sprom_ssb()
606 PCI_SLOT(bus->host_pci->devfn)); in bcm47xx_get_sprom_ssb()
663 bus->host_pci->bus->number + 1, in bcm47xx_get_sprom_bcma()
664 PCI_SLOT(bus->host_pci->devfn)); in bcm47xx_get_sprom_bcma()
667 pci_domain_nr(bus->host_pci->bus) + 1, in bcm47xx_get_sprom_bcma()
668 bus->host_pci->bus->number); in bcm47xx_get_sprom_bcma()
/Linux-v5.15/include/linux/ssb/
Dssb.h440 struct pci_dev *host_pci; member
531 struct pci_dev *host_pci);
644 pci_set_power_state(sdev->bus->host_pci, state); in ssb_pcihost_set_power_state()
/Linux-v5.15/include/linux/bcma/
Dbcma.h344 struct pci_dev *host_pci; /* PCI bus pointer (BCMA_HOSTTYPE_PCI only) */ member
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c476 sii->pcibus = pbus->host_pci; in ai_doattach()
Dmain.c4392 struct pci_dev *pcidev = core->bus->host_pci; in brcms_b_attach()
5591 struct pci_dev *pcidev = core->bus->host_pci; in brcms_c_chipmatch_pci()
/Linux-v5.15/drivers/net/ethernet/broadcom/
Db44.c1603 pci_read_config_word(bp->sdev->bus->host_pci, SSB_PMCSR, &val); in b44_setup_wol_pci()
1604 pci_write_config_word(bp->sdev->bus->host_pci, SSB_PMCSR, val | SSB_PE); in b44_setup_wol_pci()
1794 strlcpy(info->bus_info, pci_name(bus->host_pci), sizeof(info->bus_info)); in b44_get_drvinfo()
/Linux-v5.15/drivers/net/wireless/broadcom/b43/
Ddma.c1045 !(pci_is_pcie(dev->dev->sdev->bus->host_pci) && in b43_dma_translation_in_low_word()
Dmain.c5299 dev_id = dev->dev->bdev->bus->host_pci->device; in b43_supported_bands()
5304 dev_id = dev->dev->sdev->bus->host_pci->device; in b43_supported_bands()
5534 pdev = bus->host_pci; in b43_sprom_fixup()
Dphy_n.c6469 dev->dev->sdev->bus->host_pci; in b43_nphy_op_prepare_structs()
/Linux-v5.15/drivers/net/wireless/broadcom/b43legacy/
Dmain.c3625 struct pci_dev *pdev = (bus->bustype == SSB_BUSTYPE_PCI) ? bus->host_pci : NULL; in b43legacy_wireless_core_attach()