Home
last modified time | relevance | path

Searched refs:sdioh (Results 1 – 25 of 35) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmsdh_sdmmc_linux.c59 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
86 sdioh_info_t *sdioh = NULL; in sdioh_probe() local
106 sdioh = sdioh_attach(osh, func); in sdioh_probe()
107 if (sdioh == NULL) { in sdioh_probe()
111 sdioh->bcmsdh = bcmsdh_probe(osh, &func->dev, sdioh, adapter, SDIO_BUS, host_idx, rca); in sdioh_probe()
112 if (sdioh->bcmsdh == NULL) { in sdioh_probe()
117 sdio_set_drvdata(func, sdioh); in sdioh_probe()
121 if (sdioh != NULL) in sdioh_probe()
122 sdioh_detach(osh, sdioh); in sdioh_probe()
130 sdioh_info_t *sdioh; in sdioh_remove() local
[all …]
H A Dbcmsdh.c71 sdioh_enable_hw_oob_intr(void *sdioh, bool enable);
76 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init()
170 bcmsdh_attach(osl_t *osh, void *sdioh, ulong *regsva) in bcmsdh_attach() argument
179 bcmsdh->sdioh = sdioh; in bcmsdh_attach()
214 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set); in bcmsdh_iovar_op()
225 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query()
242 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable()
261 status = sdioh_interrupt_set(bcmsdh->sdioh, FALSE); in bcmsdh_intr_disable()
281 status = sdioh_interrupt_register(bcmsdh->sdioh, fn, argh); in bcmsdh_intr_reg()
[all …]
H A Dbcmsdspi_linux.c82 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info,
149 sdioh_info_t *sdioh = NULL; local
229 if (!(sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq))) {
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);
239 if (sdioh->bcmsdh == NULL) {
245 pci_set_drvdata(pdev, sdioh);
250 if (sdioh != NULL)
251 sdioh_detach(osh, sdioh);
265 sdioh_info_t *sdioh = NULL; local
[all …]
H A Dbcmsdstd_linux.c43 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
562 sdioh_info_t *sdioh = NULL; in bcmsdh_pci_probe() local
641 sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq); in bcmsdh_pci_probe()
642 if (sdioh == NULL) { in bcmsdh_pci_probe()
646 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); in bcmsdh_pci_probe()
647 if (sdioh->bcmsdh == NULL) { in bcmsdh_pci_probe()
652 pci_set_drvdata(pdev, sdioh); in bcmsdh_pci_probe()
656 if (sdioh != NULL) in bcmsdh_pci_probe()
657 sdioh_detach(osh, sdioh); in bcmsdh_pci_probe()
669 sdioh_info_t *sdioh; in bcmsdh_pci_remove() local
[all …]
H A Dbcmsdh_linux.c80 void *sdioh; /* handle to lower layer (sdioh) */ member
141 void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type, in bcmsdh_probe() argument
149 bcmsdh = bcmsdh_attach(osh, sdioh, &regs); in bcmsdh_probe()
161 bcmsdh_osinfo->sdioh = sdioh; in bcmsdh_probe()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmsdh_sdmmc_linux.c62 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
89 sdioh_info_t *sdioh = NULL; in sdioh_probe() local
109 sdioh = sdioh_attach(osh, func); in sdioh_probe()
110 if (sdioh == NULL) { in sdioh_probe()
114 sdioh->bcmsdh = bcmsdh_probe(osh, &func->dev, sdioh, adapter, SDIO_BUS, host_idx, rca); in sdioh_probe()
115 if (sdioh->bcmsdh == NULL) { in sdioh_probe()
120 sdio_set_drvdata(func, sdioh); in sdioh_probe()
124 if (sdioh != NULL) in sdioh_probe()
125 sdioh_detach(osh, sdioh); in sdioh_probe()
133 sdioh_info_t *sdioh; in sdioh_remove() local
[all …]
H A Dbcmsdh.c71 sdioh_enable_hw_oob_intr(void *sdioh, bool enable);
76 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
150 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init()
166 bcmsdh_attach(osl_t *osh, void *sdioh, ulong *regsva) in bcmsdh_attach() argument
175 bcmsdh->sdioh = sdioh; in bcmsdh_attach()
210 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set); in bcmsdh_iovar_op()
221 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query()
238 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable()
257 status = sdioh_interrupt_set(bcmsdh->sdioh, FALSE); in bcmsdh_intr_disable()
277 status = sdioh_interrupt_register(bcmsdh->sdioh, fn, argh); in bcmsdh_intr_reg()
[all …]
H A Dbcmsdspi_linux.c82 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info,
149 sdioh_info_t *sdioh = NULL; local
229 if (!(sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq))) {
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);
239 if (sdioh->bcmsdh == NULL) {
245 pci_set_drvdata(pdev, sdioh);
250 if (sdioh != NULL)
251 sdioh_detach(osh, sdioh);
265 sdioh_info_t *sdioh = NULL; local
[all …]
H A Dbcmsdstd_linux.c43 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
562 sdioh_info_t *sdioh = NULL; in bcmsdh_pci_probe() local
641 sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq); in bcmsdh_pci_probe()
642 if (sdioh == NULL) { in bcmsdh_pci_probe()
646 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); in bcmsdh_pci_probe()
647 if (sdioh->bcmsdh == NULL) { in bcmsdh_pci_probe()
652 pci_set_drvdata(pdev, sdioh); in bcmsdh_pci_probe()
656 if (sdioh != NULL) in bcmsdh_pci_probe()
657 sdioh_detach(osh, sdioh); in bcmsdh_pci_probe()
669 sdioh_info_t *sdioh; in bcmsdh_pci_remove() local
[all …]
H A Dbcmsdh_linux.c80 void *sdioh; /* handle to lower layer (sdioh) */ member
145 void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type, in bcmsdh_probe() argument
153 bcmsdh = bcmsdh_attach(osh, sdioh, &regs); in bcmsdh_probe()
165 bcmsdh_osinfo->sdioh = sdioh; in bcmsdh_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmsdh_sdmmc_linux.c59 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
86 sdioh_info_t *sdioh = NULL; in sdioh_probe() local
106 sdioh = sdioh_attach(osh, func); in sdioh_probe()
107 if (sdioh == NULL) { in sdioh_probe()
111 sdioh->bcmsdh = bcmsdh_probe(osh, &func->dev, sdioh, adapter, SDIO_BUS, host_idx, rca); in sdioh_probe()
112 if (sdioh->bcmsdh == NULL) { in sdioh_probe()
117 sdio_set_drvdata(func, sdioh); in sdioh_probe()
121 if (sdioh != NULL) in sdioh_probe()
122 sdioh_detach(osh, sdioh); in sdioh_probe()
130 sdioh_info_t *sdioh; in sdioh_remove() local
[all …]
H A Dbcmsdh.c71 sdioh_enable_hw_oob_intr(void *sdioh, bool enable);
76 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init()
170 bcmsdh_attach(osl_t *osh, void *sdioh, ulong *regsva) in bcmsdh_attach() argument
179 bcmsdh->sdioh = sdioh; in bcmsdh_attach()
214 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set); in bcmsdh_iovar_op()
225 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query()
242 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable()
261 status = sdioh_interrupt_set(bcmsdh->sdioh, FALSE); in bcmsdh_intr_disable()
281 status = sdioh_interrupt_register(bcmsdh->sdioh, fn, argh); in bcmsdh_intr_reg()
[all …]
H A Dbcmsdspi_linux.c82 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info,
149 sdioh_info_t *sdioh = NULL; local
229 if (!(sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq))) {
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);
239 if (sdioh->bcmsdh == NULL) {
245 pci_set_drvdata(pdev, sdioh);
250 if (sdioh != NULL)
251 sdioh_detach(osh, sdioh);
265 sdioh_info_t *sdioh = NULL; local
[all …]
H A Dbcmsdstd_linux.c43 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
562 sdioh_info_t *sdioh = NULL; in bcmsdh_pci_probe() local
641 sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq); in bcmsdh_pci_probe()
642 if (sdioh == NULL) { in bcmsdh_pci_probe()
646 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); in bcmsdh_pci_probe()
647 if (sdioh->bcmsdh == NULL) { in bcmsdh_pci_probe()
652 pci_set_drvdata(pdev, sdioh); in bcmsdh_pci_probe()
656 if (sdioh != NULL) in bcmsdh_pci_probe()
657 sdioh_detach(osh, sdioh); in bcmsdh_pci_probe()
669 sdioh_info_t *sdioh; in bcmsdh_pci_remove() local
[all …]
H A Dbcmsdh_linux.c80 void *sdioh; /* handle to lower layer (sdioh) */ member
141 void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type, in bcmsdh_probe() argument
149 bcmsdh = bcmsdh_attach(osh, sdioh, &regs); in bcmsdh_probe()
161 bcmsdh_osinfo->sdioh = sdioh; in bcmsdh_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcmsdh_sdmmc_linux.c82 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
113 sdioh_info_t *sdioh = NULL; in sdioh_probe() local
136 sdioh = sdioh_attach(osh, func); in sdioh_probe()
137 if (sdioh == NULL) { in sdioh_probe()
141 sdioh->bcmsdh = bcmsdh_probe(osh, &func->dev, sdioh, adapter, SDIO_BUS, host_idx, rca); in sdioh_probe()
142 if (sdioh->bcmsdh == NULL) { in sdioh_probe()
147 sdio_set_drvdata(func, sdioh); in sdioh_probe()
151 if (sdioh != NULL) in sdioh_probe()
152 sdioh_detach(osh, sdioh); in sdioh_probe()
160 sdioh_info_t *sdioh; in sdioh_remove() local
[all …]
H A Dbcmsdh.c71 sdioh_enable_hw_oob_intr(void *sdioh, bool enable);
76 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
149 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init()
165 bcmsdh_attach(osl_t *osh, void *sdioh, ulong *regsva) in bcmsdh_attach() argument
174 bcmsdh->sdioh = sdioh; in bcmsdh_attach()
209 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set); in bcmsdh_iovar_op()
220 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query()
234 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable()
245 status = sdioh_interrupt_set(bcmsdh->sdioh, FALSE); in bcmsdh_intr_disable()
260 status = sdioh_interrupt_register(bcmsdh->sdioh, fn, argh); in bcmsdh_intr_reg()
[all …]
H A Dbcmsdh_linux.c83 void *sdioh; /* handle to lower layer (sdioh) */ member
142 void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type, in bcmsdh_probe() argument
150 bcmsdh = bcmsdh_attach(osh, sdioh, &regs); in bcmsdh_probe()
162 bcmsdh_osinfo->sdioh = sdioh; in bcmsdh_probe()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmsdh_sdmmc_linux.c53 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
84 sdioh_info_t *sdioh = NULL; in sdioh_probe() local
112 sdioh = sdioh_attach(osh, func); in sdioh_probe()
113 if (sdioh == NULL) { in sdioh_probe()
117 sdioh->bcmsdh = bcmsdh_probe(osh, &func->dev, sdioh, adapter, SDIO_BUS, host_idx, rca); in sdioh_probe()
118 if (sdioh->bcmsdh == NULL) { in sdioh_probe()
123 sdio_set_drvdata(func, sdioh); in sdioh_probe()
127 if (sdioh != NULL) in sdioh_probe()
128 sdioh_detach(osh, sdioh); in sdioh_probe()
136 sdioh_info_t *sdioh; in sdioh_remove() local
[all …]
H A Dbcmsdh.c72 sdioh_enable_hw_oob_intr(void *sdioh, bool enable);
77 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init()
167 bcmsdh_attach(osl_t *osh, void *sdioh, ulong *regsva) in bcmsdh_attach() argument
176 bcmsdh->sdioh = sdioh; in bcmsdh_attach()
199 if (bcmsdh->sdioh) in bcmsdh_detach()
200 sdioh_detach(osh, bcmsdh->sdioh); in bcmsdh_detach()
215 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set); in bcmsdh_iovar_op()
226 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query()
243 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable()
[all …]
H A Dbcmsdstd_linux.c37 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
560 sdioh_info_t *sdioh = NULL; in bcmsdh_pci_probe() local
639 sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq); in bcmsdh_pci_probe()
640 if (sdioh == NULL) { in bcmsdh_pci_probe()
644 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); in bcmsdh_pci_probe()
645 if (sdioh->bcmsdh == NULL) { in bcmsdh_pci_probe()
650 pci_set_drvdata(pdev, sdioh); in bcmsdh_pci_probe()
654 if (sdioh != NULL) in bcmsdh_pci_probe()
655 sdioh_detach(osh, sdioh); in bcmsdh_pci_probe()
667 sdioh_info_t *sdioh; in bcmsdh_pci_remove() local
[all …]
H A Dbcmsdh_linux.c77 void *sdioh; /* handle to lower layer (sdioh) */ member
184 void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type, in bcmsdh_probe() argument
192 bcmsdh = bcmsdh_attach(osh, sdioh, &regs); in bcmsdh_probe()
204 bcmsdh_osinfo->sdioh = sdioh; in bcmsdh_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmsdh_sdmmc_linux.c53 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
84 sdioh_info_t *sdioh = NULL; in sdioh_probe() local
108 sdioh = sdioh_attach(osh, func); in sdioh_probe()
109 if (sdioh == NULL) { in sdioh_probe()
113 sdioh->bcmsdh = bcmsdh_probe(osh, &func->dev, sdioh, adapter, SDIO_BUS, host_idx, rca); in sdioh_probe()
114 if (sdioh->bcmsdh == NULL) { in sdioh_probe()
119 sdio_set_drvdata(func, sdioh); in sdioh_probe()
123 if (sdioh != NULL) in sdioh_probe()
124 sdioh_detach(osh, sdioh); in sdioh_probe()
132 sdioh_info_t *sdioh; in sdioh_remove() local
[all …]
H A Dbcmsdh.c72 sdioh_enable_hw_oob_intr(void *sdioh, bool enable);
77 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init()
167 bcmsdh_attach(osl_t *osh, void *sdioh, ulong *regsva) in bcmsdh_attach() argument
176 bcmsdh->sdioh = sdioh; in bcmsdh_attach()
199 if (bcmsdh->sdioh) in bcmsdh_detach()
200 sdioh_detach(osh, bcmsdh->sdioh); in bcmsdh_detach()
215 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set); in bcmsdh_iovar_op()
226 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query()
243 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable()
[all …]
H A Dbcmsdstd_linux.c37 extern void* bcmsdh_probe(osl_t *osh, void *dev, void *sdioh, void *adapter_info, uint bus_type,
560 sdioh_info_t *sdioh = NULL; in bcmsdh_pci_probe() local
639 sdioh = sdioh_attach(osh, (void *)(ulong)pci_resource_start(pdev, 0), pdev->irq); in bcmsdh_pci_probe()
640 if (sdioh == NULL) { in bcmsdh_pci_probe()
644 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); in bcmsdh_pci_probe()
645 if (sdioh->bcmsdh == NULL) { in bcmsdh_pci_probe()
650 pci_set_drvdata(pdev, sdioh); in bcmsdh_pci_probe()
654 if (sdioh != NULL) in bcmsdh_pci_probe()
655 sdioh_detach(osh, sdioh); in bcmsdh_pci_probe()
667 sdioh_info_t *sdioh; in bcmsdh_pci_remove() local
[all …]

12