/drivers/net/wireless/bcmdhd/include/ |
H A D | bcmsdh.h | 67 extern int bcmsdh_detach(osl_t *osh, void *sdh); 70 extern bool bcmsdh_intr_query(void *sdh); 73 extern int bcmsdh_intr_enable(void *sdh); 74 extern int bcmsdh_intr_disable(void *sdh); 77 extern int bcmsdh_intr_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh); 78 extern int bcmsdh_intr_dereg(void *sdh); 80 extern void bcmsdh_intr_forward(void *sdh, bool pass); 84 extern bool bcmsdh_intr_pending(void *sdh); 90 extern int bcmsdh_devremove_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh); 98 extern uint8 bcmsdh_cfg_read(void *sdh, uin [all...] |
H A D | bcmsdbus.h | 137 void *bcmsdh_get_sdioh(bcmsdh_info_t *sdh);
|
H A D | siutils.h | 144 void *sdh, char **vars, uint *varsz);
|
/drivers/net/wireless/bcmdhd/ |
H A D | bcmsdh.c | 71 bcmsdh_enable_hw_oob_intr(bcmsdh_info_t *sdh, bool enable) argument 73 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); 116 bcmsdh_detach(osl_t *osh, void *sdh) argument 118 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; 133 bcmsdh_iovar_op(void *sdh, const char *name, argument 136 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; 141 bcmsdh_intr_query(void *sdh) argument 143 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; 156 bcmsdh_intr_enable(void *sdh) argument 158 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; 167 bcmsdh_intr_disable(void *sdh) argument 178 bcmsdh_intr_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh) argument 189 bcmsdh_intr_dereg(void *sdh) argument 201 bcmsdh_intr_pending(void *sdh) argument 212 bcmsdh_devremove_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh) argument 229 bcmsdh_cfg_read(void *sdh, uint fnc_num, uint32 addr, int *err) argument 262 bcmsdh_cfg_write(void *sdh, uint fnc_num, uint32 addr, uint8 data, int *err) argument 292 bcmsdh_cfg_read_word(void *sdh, uint fnc_num, uint32 addr, int *err) argument 316 bcmsdh_cfg_write_word(void *sdh, uint fnc_num, uint32 addr, uint32 data, int *err) argument 338 bcmsdh_cis_read(void *sdh, uint func, uint8 *cis, uint length) argument 378 bcmsdhsdio_set_sbaddr_window(void *sdh, uint32 address, bool force_set) argument 406 bcmsdh_reg_read(void *sdh, uint32 addr, uint size) argument 454 bcmsdh_reg_write(void *sdh, uint32 addr, uint size, uint32 data) argument 487 bcmsdh_regfail(void *sdh) argument 493 bcmsdh_recv_buf(void *sdh, uint32 addr, uint fn, uint flags, uint8 *buf, uint nbytes, void *pkt, bcmsdh_cmplt_fn_t complete_fn, void *handle) argument 531 bcmsdh_send_buf(void *sdh, uint32 addr, uint fn, uint flags, uint8 *buf, uint nbytes, void *pkt, bcmsdh_cmplt_fn_t complete_fn, void *handle) argument 569 bcmsdh_rwdata(void *sdh, uint rw, uint32 addr, uint8 *buf, uint nbytes) argument 589 bcmsdh_abort(void *sdh, uint fn) argument 597 bcmsdh_start(void *sdh, int stage) argument 605 bcmsdh_stop(void *sdh) argument 613 bcmsdh_waitlockfree(void *sdh) argument 624 bcmsdh_query_device(void *sdh) argument 632 bcmsdh_query_iofnum(void *sdh) argument 643 bcmsdh_reset(bcmsdh_info_t *sdh) argument 650 bcmsdh_get_sdioh(bcmsdh_info_t *sdh) argument 658 bcmsdh_get_dstatus(void *sdh) argument 663 bcmsdh_cur_sbwad(void *sdh) argument 674 bcmsdh_chipinfo(void *sdh, uint32 chip, uint32 chiprev) argument 681 bcmsdh_sleep(void *sdh, bool enab) argument 694 bcmsdh_gpio_init(void *sdh) argument 703 bcmsdh_gpioin(void *sdh, uint32 gpio) argument 712 bcmsdh_gpioouten(void *sdh, uint32 gpio) argument 721 bcmsdh_gpioout(void *sdh, uint32 gpio, bool enab) argument 731 bcmsdh_glom_post(void *sdh, uint8 *frame, uint len) argument 738 bcmsdh_glom_clear(void *sdh) argument 745 bcmsdh_set_mode(void *sdh, uint mode) argument [all...] |
H A D | dhd_sdio.c | 197 bcmsdh_info_t *sdh; /* Handle for BCMSDH calls */ member in struct:dhd_bus 409 extern void bcmsdh_enable_hw_oob_intr(void *sdh, bool enable); 455 } while (bcmsdh_regfail(bus->sdh) && (++retryvar <= retry_limit)); \ 471 } while (bcmsdh_regfail(bus->sdh) && (++retryvar <= retry_limit)); \ 537 static bool dhdsdio_probe_attach(dhd_bus_t *bus, osl_t *osh, void *sdh, 539 static bool dhdsdio_probe_malloc(dhd_bus_t *bus, osl_t *osh, void *sdh); 540 static bool dhdsdio_probe_init(dhd_bus_t *bus, osl_t *osh, void *sdh); 556 static bool dhdsdio_download_firmware(dhd_bus_t *bus, osl_t *osh, void *sdh); 589 bcmsdh_cfg_write(bus->sdh, SDIO_FUNC_1, SBSDIO_FUNC1_SBADDRLOW, 592 bcmsdh_cfg_write(bus->sdh, SDIO_FUNC_ 1011 bcmsdh_info_t *sdh; local 1314 bcmsdh_info_t *sdh = bus->sdh; local 1451 bcmsdh_info_t *sdh; local 2014 bcmsdh_info_t *sdh = bus->sdh; local 4169 bcmsdh_info_t *sdh = bus->sdh; local 4233 bcmsdh_info_t *sdh = bus->sdh; local 4764 bcmsdh_info_t *sdh = bus->sdh; local 5477 bcmsdh_info_t *sdh = bus->sdh; local 5784 bcmsdh_info_t *sdh; local 6357 dhdsdio_probe(uint16 venid, uint16 devid, uint16 bus_no, uint16 slot, uint16 func, uint bustype, void *regsva, osl_t * osh, void *sdh) argument 6556 dhdsdio_probe_attach(struct dhd_bus *bus, osl_t *osh, void *sdh, void *regsva, uint16 devid) argument 6750 dhdsdio_probe_malloc(dhd_bus_t *bus, osl_t *osh, void *sdh) argument 6785 dhdsdio_probe_init(dhd_bus_t *bus, osl_t *osh, void *sdh) argument 6871 dhdsdio_download_firmware(struct dhd_bus *bus, osl_t *osh, void *sdh) argument [all...] |
H A D | bcmsdh_linux.c | 67 bcmsdh_info_t *sdh; /* SDIO Host Controller handle */ member in struct:bcmsdh_hc 158 bcmsdh_info_t *sdh = NULL; local 207 if (!(sdh = bcmsdh_attach(osh, (void *)0, 213 if (!(sdh = bcmsdh_attach(osh, (void *)r->start, 219 sdhc->sdh = sdh; 233 vendevid = bcmsdh_query_device(sdh); 237 (void *)regs, NULL, sdh))) { 247 if (sdhc->sdh) 248 bcmsdh_detach(sdhc->osh, sdhc->sdh); 360 bcmsdh_info_t *sdh = NULL; local [all...] |
H A D | siutils_priv.h | 59 void *sdh; /* bcmsdh handle */ member in struct:si_info 201 void *sdh, char **vars, uint *varsz);
|
H A D | siutils.c | 52 uint bustype, void *sdh, char **vars, uint *varsz); 53 static bool si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh); 77 uint bustype, void *sdh, char **vars, uint *varsz) 87 if (si_doattach(sii, devid, osh, regs, bustype, sdh, vars, varsz) == NULL) { 140 si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh) argument 153 bcmsdh_cfg_write(sdh, SDIO_FUNC_1, SBSDIO_FUNC1_CHIPCLKCSR, clkset, &err); 158 clkval = bcmsdh_cfg_read(sdh, SDIO_FUNC_1, SBSDIO_FUNC1_CHIPCLKCSR, NULL); 160 SPINWAIT(((clkval = bcmsdh_cfg_read(sdh, SDIO_FUNC_1, 169 bcmsdh_cfg_write(sdh, SDIO_FUNC_1, SBSDIO_FUNC1_CHIPCLKCSR, 176 bcmsdh_cfg_write(sdh, SDIO_FUNC_ 76 si_attach(uint devid, osl_t *osh, void *regs, uint bustype, void *sdh, char **vars, uint *varsz) argument 311 si_doattach(si_info_t *sii, uint devid, osl_t *osh, void *regs, uint bustype, void *sdh, char **vars, uint *varsz) argument [all...] |
/drivers/atm/ |
H A D | uPD98402.c | 61 static const unsigned char sdh[] = { 1,0,0,2 }; local 70 set = sdh;
|
H A D | he.c | 120 static bool sdh = 0; variable 1500 if (sdh) { 2869 module_param(sdh, bool, 0); 2870 MODULE_PARM_DESC(sdh, "use SDH framing (default 0)");
|