Home
last modified time | relevance | path

Searched refs:first_bar (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-pci-core.c2102 struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar, in sdhci_pci_probe_slot() argument
2107 int ret, bar = first_bar + slotno; in sdhci_pci_probe_slot()
2300 u8 slots, first_bar; in sdhci_pci_probe() local
2318 ret = pci_read_config_byte(pdev, PCI_SLOT_INFO, &first_bar); in sdhci_pci_probe()
2322 first_bar &= PCI_SLOT_INFO_FIRST_BAR_MASK; in sdhci_pci_probe()
2324 if (first_bar > 5) { in sdhci_pci_probe()
2359 slot = sdhci_pci_probe_slot(pdev, chip, first_bar, i); in sdhci_pci_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmsdstd.c1850 int slot, first_bar = 0; in sdstd_host_init() local
1892 first_bar = OSL_PCI_READ_CONFIG(sd->osh, SD_SlotInfo, 4) & 0x7; in sdstd_host_init()
1906 first_bar = 0; in sdstd_host_init()
1919 first_bar = 0; in sdstd_host_init()
1936 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(slot + first_bar)), 4); in sdstd_host_init()
1971 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
1981 (full_slot + first_bar), in sdstd_host_init()
1982 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4) & in sdstd_host_init()
1988 (full_slot + first_bar), in sdstd_host_init()
1989 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4), in sdstd_host_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmsdstd.c1850 int slot, first_bar = 0; in sdstd_host_init() local
1892 first_bar = OSL_PCI_READ_CONFIG(sd->osh, SD_SlotInfo, 4) & 0x7; in sdstd_host_init()
1906 first_bar = 0; in sdstd_host_init()
1919 first_bar = 0; in sdstd_host_init()
1936 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(slot + first_bar)), 4); in sdstd_host_init()
1971 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
1981 (full_slot + first_bar), in sdstd_host_init()
1982 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4) & in sdstd_host_init()
1988 (full_slot + first_bar), in sdstd_host_init()
1989 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4), in sdstd_host_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmsdstd.c1850 int slot, first_bar = 0; in sdstd_host_init() local
1892 first_bar = OSL_PCI_READ_CONFIG(sd->osh, SD_SlotInfo, 4) & 0x7; in sdstd_host_init()
1906 first_bar = 0; in sdstd_host_init()
1919 first_bar = 0; in sdstd_host_init()
1936 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(slot + first_bar)), 4); in sdstd_host_init()
1971 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
1981 (full_slot + first_bar), in sdstd_host_init()
1982 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4) & in sdstd_host_init()
1988 (full_slot + first_bar), in sdstd_host_init()
1989 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4), in sdstd_host_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmsdstd.c1958 int slot, first_bar = 0; in sdstd_host_init() local
2006 first_bar = OSL_PCI_READ_CONFIG(sd->osh, SD_SlotInfo, 4) & 0x7; in sdstd_host_init()
2024 first_bar = 0; in sdstd_host_init()
2045 + (4*(slot + first_bar)), 4); in sdstd_host_init()
2049 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(slot + first_bar)), 4); in sdstd_host_init()
2084 bar.LowPart = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
2087 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
2093 (full_slot + first_bar), in sdstd_host_init()
2094 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4), in sdstd_host_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmsdstd.c1958 int slot, first_bar = 0; in sdstd_host_init() local
2006 first_bar = OSL_PCI_READ_CONFIG(sd->osh, SD_SlotInfo, 4) & 0x7; in sdstd_host_init()
2024 first_bar = 0; in sdstd_host_init()
2045 + (4*(slot + first_bar)), 4); in sdstd_host_init()
2049 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(slot + first_bar)), 4); in sdstd_host_init()
2084 bar.LowPart = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
2087 bar = OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4); in sdstd_host_init()
2093 (full_slot + first_bar), in sdstd_host_init()
2094 OSL_PCI_READ_CONFIG(sd->osh, PCI_CFG_BAR0 + (4*(full_slot + first_bar)), 4), in sdstd_host_init()