| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | bcmsdh.c | 145 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)l_bcmsdh; in bcmsdh_btsdio_interface_init() local 149 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init() 167 bcmsdh_info_t *bcmsdh; in bcmsdh_attach() local 169 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach() 173 bzero((char *)bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_attach() 174 bcmsdh->sdioh = sdioh; in bcmsdh_attach() 175 bcmsdh->osh = osh; in bcmsdh_attach() 176 bcmsdh->init_success = TRUE; in bcmsdh_attach() 179 bcmsdh_force_sbwad_calc(bcmsdh, FALSE); in bcmsdh_attach() 182 bcmsdh->sbwad = SI_ENUM_BASE; in bcmsdh_attach() [all …]
|
| H A D | bcmsdh_linux.c | 146 bcmsdh_info_t *bcmsdh; in bcmsdh_probe() local 150 bcmsdh = bcmsdh_attach(osh, sdioh, ®s); in bcmsdh_probe() 151 if (bcmsdh == NULL) { in bcmsdh_probe() 161 bcmsdh->os_cxt = bcmsdh_osinfo; in bcmsdh_probe() 164 osl_set_bus_handle(osh, bcmsdh); in bcmsdh_probe() 183 vendevid = bcmsdh_query_device(bcmsdh); in bcmsdh_probe() 186 slot_num, 0, bus_type, (void *)regs, osh, bcmsdh); in bcmsdh_probe() 192 return bcmsdh; in bcmsdh_probe() 196 if (bcmsdh != NULL) in bcmsdh_probe() 197 bcmsdh_detach(osh, bcmsdh); in bcmsdh_probe() [all …]
|
| H A D | bcmsdh_sdmmc_linux.c | 84 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 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() 171 bcmsdh_remove(sdioh->bcmsdh); in sdioh_remove() 260 err = bcmsdh_suspend(sdioh->bcmsdh); in bcmsdh_sdmmc_suspend() 306 bcmsdh_resume(sdioh->bcmsdh); in bcmsdh_sdmmc_resume()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmsdh.c | 147 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)l_bcmsdh; in bcmsdh_btsdio_interface_init() local 151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init() 169 bcmsdh_info_t *bcmsdh; in bcmsdh_attach() local 171 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach() 175 bzero((char *)bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_attach() 176 bcmsdh->sdioh = sdioh; in bcmsdh_attach() 177 bcmsdh->osh = osh; in bcmsdh_attach() 178 bcmsdh->init_success = TRUE; in bcmsdh_attach() 181 bcmsdh_force_sbwad_calc(bcmsdh, FALSE); in bcmsdh_attach() 184 bcmsdh->sbwad = si_enum_base(0); in bcmsdh_attach() [all …]
|
| H A D | bcmsdh_linux.c | 188 bcmsdh_info_t *bcmsdh; in bcmsdh_probe() local 192 bcmsdh = bcmsdh_attach(osh, sdioh, ®s); in bcmsdh_probe() 193 if (bcmsdh == NULL) { in bcmsdh_probe() 203 bcmsdh->os_cxt = bcmsdh_osinfo; in bcmsdh_probe() 206 osl_set_bus_handle(osh, bcmsdh); in bcmsdh_probe() 225 vendevid = bcmsdh_query_device(bcmsdh); in bcmsdh_probe() 228 slot_num, 0, bus_type, (void *)regs, osh, bcmsdh); in bcmsdh_probe() 234 return bcmsdh; in bcmsdh_probe() 238 if (bcmsdh != NULL) in bcmsdh_probe() 239 bcmsdh_detach(osh, bcmsdh); in bcmsdh_probe() [all …]
|
| H A D | bcmsdh_sdmmc_linux.c | 55 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 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() 147 bcmsdh_remove(sdioh->bcmsdh); in sdioh_remove() 235 err = bcmsdh_suspend(sdioh->bcmsdh); in bcmsdh_sdmmc_suspend() 273 bcmsdh_resume(sdioh->bcmsdh); in bcmsdh_sdmmc_resume()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmsdh.c | 147 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)l_bcmsdh; in bcmsdh_btsdio_interface_init() local 151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init() 169 bcmsdh_info_t *bcmsdh; in bcmsdh_attach() local 171 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach() 175 bzero((char *)bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_attach() 176 bcmsdh->sdioh = sdioh; in bcmsdh_attach() 177 bcmsdh->osh = osh; in bcmsdh_attach() 178 bcmsdh->init_success = TRUE; in bcmsdh_attach() 181 bcmsdh_force_sbwad_calc(bcmsdh, FALSE); in bcmsdh_attach() 184 bcmsdh->sbwad = si_enum_base(0); in bcmsdh_attach() [all …]
|
| H A D | bcmsdh_linux.c | 188 bcmsdh_info_t *bcmsdh; in bcmsdh_probe() local 192 bcmsdh = bcmsdh_attach(osh, sdioh, ®s); in bcmsdh_probe() 193 if (bcmsdh == NULL) { in bcmsdh_probe() 203 bcmsdh->os_cxt = bcmsdh_osinfo; in bcmsdh_probe() 206 osl_set_bus_handle(osh, bcmsdh); in bcmsdh_probe() 225 vendevid = bcmsdh_query_device(bcmsdh); in bcmsdh_probe() 228 slot_num, 0, bus_type, (void *)regs, osh, bcmsdh); in bcmsdh_probe() 234 return bcmsdh; in bcmsdh_probe() 238 if (bcmsdh != NULL) in bcmsdh_probe() 239 bcmsdh_detach(osh, bcmsdh); in bcmsdh_probe() [all …]
|
| H A D | bcmsdh_sdmmc_linux.c | 55 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 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() 143 bcmsdh_remove(sdioh->bcmsdh); in sdioh_remove() 231 err = bcmsdh_suspend(sdioh->bcmsdh); in bcmsdh_sdmmc_suspend() 269 bcmsdh_resume(sdioh->bcmsdh); in bcmsdh_sdmmc_resume()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmsdh.c | 146 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)l_bcmsdh; in bcmsdh_btsdio_interface_init() local 150 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init() 168 bcmsdh_info_t *bcmsdh; in bcmsdh_attach() local 170 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach() 174 bzero((char *)bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_attach() 175 bcmsdh->sdioh = sdioh; in bcmsdh_attach() 176 bcmsdh->osh = osh; in bcmsdh_attach() 177 bcmsdh->init_success = TRUE; in bcmsdh_attach() 180 bcmsdh_force_sbwad_calc(bcmsdh, FALSE); in bcmsdh_attach() 183 bcmsdh->sbwad = si_enum_base(0); in bcmsdh_attach() [all …]
|
| H A D | bcmsdh_linux.c | 149 bcmsdh_info_t *bcmsdh; in bcmsdh_probe() local 153 bcmsdh = bcmsdh_attach(osh, sdioh, ®s); in bcmsdh_probe() 154 if (bcmsdh == NULL) { in bcmsdh_probe() 164 bcmsdh->os_cxt = bcmsdh_osinfo; in bcmsdh_probe() 167 osl_set_bus_handle(osh, bcmsdh); in bcmsdh_probe() 189 vendevid = bcmsdh_query_device(bcmsdh); in bcmsdh_probe() 194 slot_num, 0, bus_type, (void *)regs, NULL, bcmsdh); in bcmsdh_probe() 197 slot_num, 0, bus_type, (void *)regs, osh, bcmsdh); in bcmsdh_probe() 204 return bcmsdh; in bcmsdh_probe() 208 if (bcmsdh != NULL) in bcmsdh_probe() [all …]
|
| H A D | bcmsdh_sdmmc_linux.c | 64 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 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() 143 bcmsdh_remove(sdioh->bcmsdh); in sdioh_remove() 218 err = bcmsdh_suspend(sdioh->bcmsdh); in bcmsdh_sdmmc_suspend() 254 bcmsdh_resume(sdioh->bcmsdh); in bcmsdh_sdmmc_resume()
|
| H A D | bcmsdspi_linux.c | 84 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 150 void *bcmsdh; local 235 bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 236 if (bcmsdh == NULL) { 238 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 239 if (sdioh->bcmsdh == NULL) { 275 bcmsdh_remove(sdioh->bcmsdh);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmsdh.c | 146 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)l_bcmsdh; in bcmsdh_btsdio_interface_init() local 151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init() 172 bcmsdh_info_t *bcmsdh; in bcmsdh_attach() local 174 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach() 178 bzero((char *)bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_attach() 179 bcmsdh->sdioh = sdioh; in bcmsdh_attach() 180 bcmsdh->osh = osh; in bcmsdh_attach() 181 bcmsdh->init_success = TRUE; in bcmsdh_attach() 184 bcmsdh_force_sbwad_calc(bcmsdh, FALSE); in bcmsdh_attach() 187 bcmsdh->sbwad = si_enum_base(0); in bcmsdh_attach() [all …]
|
| H A D | bcmsdh_linux.c | 145 bcmsdh_info_t *bcmsdh; in bcmsdh_probe() local 149 bcmsdh = bcmsdh_attach(osh, sdioh, ®s); in bcmsdh_probe() 150 if (bcmsdh == NULL) { in bcmsdh_probe() 160 bcmsdh->os_cxt = bcmsdh_osinfo; in bcmsdh_probe() 163 osl_set_bus_handle(osh, bcmsdh); in bcmsdh_probe() 185 vendevid = bcmsdh_query_device(bcmsdh); in bcmsdh_probe() 190 slot_num, 0, bus_type, (void *)regs, NULL, bcmsdh); in bcmsdh_probe() 193 slot_num, 0, bus_type, (void *)regs, osh, bcmsdh); in bcmsdh_probe() 200 return bcmsdh; in bcmsdh_probe() 204 if (bcmsdh != NULL) in bcmsdh_probe() [all …]
|
| H A D | bcmsdh_sdmmc_linux.c | 61 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 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() 140 bcmsdh_remove(sdioh->bcmsdh); in sdioh_remove() 215 err = bcmsdh_suspend(sdioh->bcmsdh); in bcmsdh_sdmmc_suspend() 251 bcmsdh_resume(sdioh->bcmsdh); in bcmsdh_sdmmc_resume()
|
| H A D | bcmsdspi_linux.c | 84 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 150 void *bcmsdh; local 235 bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 236 if (bcmsdh == NULL) { 238 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 239 if (sdioh->bcmsdh == NULL) { 275 bcmsdh_remove(sdioh->bcmsdh);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmsdh.c | 146 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)l_bcmsdh; in bcmsdh_btsdio_interface_init() local 151 sdioh_sdmmc_card_enable_func_f3(bcmsdh->sdioh, func); in bcmsdh_btsdio_interface_init() 172 bcmsdh_info_t *bcmsdh; in bcmsdh_attach() local 174 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach() 178 bzero((char *)bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_attach() 179 bcmsdh->sdioh = sdioh; in bcmsdh_attach() 180 bcmsdh->osh = osh; in bcmsdh_attach() 181 bcmsdh->init_success = TRUE; in bcmsdh_attach() 184 bcmsdh_force_sbwad_calc(bcmsdh, FALSE); in bcmsdh_attach() 187 bcmsdh->sbwad = si_enum_base(0); in bcmsdh_attach() [all …]
|
| H A D | bcmsdh_linux.c | 145 bcmsdh_info_t *bcmsdh; in bcmsdh_probe() local 149 bcmsdh = bcmsdh_attach(osh, sdioh, ®s); in bcmsdh_probe() 150 if (bcmsdh == NULL) { in bcmsdh_probe() 160 bcmsdh->os_cxt = bcmsdh_osinfo; in bcmsdh_probe() 163 osl_set_bus_handle(osh, bcmsdh); in bcmsdh_probe() 185 vendevid = bcmsdh_query_device(bcmsdh); in bcmsdh_probe() 190 slot_num, 0, bus_type, (void *)regs, NULL, bcmsdh); in bcmsdh_probe() 193 slot_num, 0, bus_type, (void *)regs, osh, bcmsdh); in bcmsdh_probe() 200 return bcmsdh; in bcmsdh_probe() 204 if (bcmsdh != NULL) in bcmsdh_probe() [all …]
|
| H A D | bcmsdh_sdmmc_linux.c | 61 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 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() 140 bcmsdh_remove(sdioh->bcmsdh); in sdioh_remove() 235 err = bcmsdh_suspend(sdioh->bcmsdh); in bcmsdh_sdmmc_suspend() 271 bcmsdh_resume(sdioh->bcmsdh); in bcmsdh_sdmmc_resume()
|
| H A D | bcmsdspi_linux.c | 84 extern int bcmsdh_remove(bcmsdh_info_t *bcmsdh); 150 void *bcmsdh; local 235 bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 236 if (bcmsdh == NULL) { 238 sdioh->bcmsdh = bcmsdh_probe(osh, &pdev->dev, sdioh, NULL, PCI_BUS, -1, -1); 239 if (sdioh->bcmsdh == NULL) { 275 bcmsdh_remove(sdioh->bcmsdh);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | bcmsdh.h | 240 extern int bcmsdh_oob_intr_register(bcmsdh_info_t *bcmsdh, bcmsdh_cb_fn_t oob_irq_handler, 249 int bcmsdh_suspend(bcmsdh_info_t *bcmsdh); 250 int bcmsdh_resume(bcmsdh_info_t *bcmsdh); 277 extern int bcmsdh_get_total_wake(bcmsdh_info_t *bcmsdh); 278 extern int bcmsdh_set_get_wake(bcmsdh_info_t *bcmsdh, int flag);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcmsdh.h | 253 extern int bcmsdh_oob_intr_register(bcmsdh_info_t *bcmsdh, bcmsdh_cb_fn_t oob_irq_handler, 257 extern int bcmsdh_get_oob_intr_num(bcmsdh_info_t *bcmsdh); 264 int bcmsdh_suspend(bcmsdh_info_t *bcmsdh); 265 int bcmsdh_resume(bcmsdh_info_t *bcmsdh);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmsdh.h | 253 extern int bcmsdh_oob_intr_register(bcmsdh_info_t *bcmsdh, bcmsdh_cb_fn_t oob_irq_handler, 257 extern int bcmsdh_get_oob_intr_num(bcmsdh_info_t *bcmsdh); 264 int bcmsdh_suspend(bcmsdh_info_t *bcmsdh); 265 int bcmsdh_resume(bcmsdh_info_t *bcmsdh);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | bcmsdh.h | 236 extern int bcmsdh_oob_intr_register(bcmsdh_info_t *bcmsdh, bcmsdh_cb_fn_t oob_irq_handler, 245 int bcmsdh_suspend(bcmsdh_info_t *bcmsdh); 246 int bcmsdh_resume(bcmsdh_info_t *bcmsdh);
|