Lines Matching refs:sdh

74 bcmsdh_enable_hw_oob_intr(bcmsdh_info_t *sdh, bool enable)  in bcmsdh_enable_hw_oob_intr()  argument
76 sdioh_enable_hw_oob_intr(sdh->sdioh, enable); in bcmsdh_enable_hw_oob_intr()
192 bcmsdh_detach(osl_t *osh, void *sdh) in bcmsdh_detach() argument
194 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_detach()
206 bcmsdh_iovar_op(void *sdh, const char *name, in bcmsdh_iovar_op() argument
209 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_iovar_op()
214 bcmsdh_intr_query(void *sdh) in bcmsdh_intr_query() argument
216 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_intr_query()
229 bcmsdh_intr_enable(void *sdh) in bcmsdh_intr_enable() argument
231 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_intr_enable()
240 data = bcmsdh_cfg_read_word(sdh, 0, 4, NULL); in bcmsdh_intr_enable()
242 bcmsdh_cfg_write_word(sdh, 0, 4, data, NULL); in bcmsdh_intr_enable()
248 bcmsdh_intr_disable(void *sdh) in bcmsdh_intr_disable() argument
250 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_intr_disable()
259 data = bcmsdh_cfg_read_word(sdh, 0, 4, NULL); in bcmsdh_intr_disable()
261 bcmsdh_cfg_write_word(sdh, 0, 4, data, NULL); in bcmsdh_intr_disable()
267 bcmsdh_intr_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh) in bcmsdh_intr_reg() argument
269 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_intr_reg()
282 bcmsdh_intr_dereg(void *sdh) in bcmsdh_intr_dereg() argument
284 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_intr_dereg()
298 bcmsdh_intr_pending(void *sdh) in bcmsdh_intr_pending() argument
300 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_intr_pending()
302 ASSERT(sdh); in bcmsdh_intr_pending()
308 bcmsdh_devremove_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh) in bcmsdh_devremove_reg() argument
310 ASSERT(sdh); in bcmsdh_devremove_reg()
325 bcmsdh_cfg_read(void *sdh, uint fnc_num, uint32 addr, int *err) in bcmsdh_cfg_read() argument
327 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_cfg_read()
358 bcmsdh_cfg_write(void *sdh, uint fnc_num, uint32 addr, uint8 data, int *err) in bcmsdh_cfg_write() argument
360 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_cfg_write()
388 bcmsdh_cfg_read_word(void *sdh, uint fnc_num, uint32 addr, int *err) in bcmsdh_cfg_read_word() argument
390 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_cfg_read_word()
412 bcmsdh_cfg_write_word(void *sdh, uint fnc_num, uint32 addr, uint32 data, int *err) in bcmsdh_cfg_write_word() argument
414 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_cfg_write_word()
433 bcmsdh_cis_read(void *sdh, uint func, uint8 *cis, uint length) in bcmsdh_cis_read() argument
435 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_cis_read()
472 bcmsdhsdio_set_sbaddr_window(void *sdh, uint32 address, bool force_set) in bcmsdhsdio_set_sbaddr_window() argument
476 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdhsdio_set_sbaddr_window()
500 bcmsdh_reg_read(void *sdh, uintptr addr, uint size) in bcmsdh_reg_read() argument
502 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_reg_read()
550 bcmsdh_reg_write(void *sdh, uintptr addr, uint size, uint32 data) in bcmsdh_reg_write() argument
552 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_reg_write()
583 bcmsdh_regfail(void *sdh) in bcmsdh_regfail() argument
585 return ((bcmsdh_info_t *)sdh)->regfail; in bcmsdh_regfail()
589 bcmsdh_recv_buf(void *sdh, uint32 addr, uint fn, uint flags, in bcmsdh_recv_buf() argument
593 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_recv_buf()
627 bcmsdh_send_buf(void *sdh, uint32 addr, uint fn, uint flags, in bcmsdh_send_buf() argument
631 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_send_buf()
665 bcmsdh_rwdata(void *sdh, uint rw, uint32 addr, uint8 *buf, uint nbytes) in bcmsdh_rwdata() argument
667 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_rwdata()
685 bcmsdh_abort(void *sdh, uint fn) in bcmsdh_abort() argument
687 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_abort()
693 bcmsdh_start(void *sdh, int stage) in bcmsdh_start() argument
695 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_start()
701 bcmsdh_stop(void *sdh) in bcmsdh_stop() argument
703 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_stop()
709 bcmsdh_waitlockfree(void *sdh) in bcmsdh_waitlockfree() argument
711 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_waitlockfree()
717 bcmsdh_query_device(void *sdh) in bcmsdh_query_device() argument
719 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_query_device()
725 bcmsdh_query_iofnum(void *sdh) in bcmsdh_query_iofnum() argument
727 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_query_iofnum()
736 bcmsdh_reset(bcmsdh_info_t *sdh) in bcmsdh_reset() argument
738 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_reset()
743 void *bcmsdh_get_sdioh(bcmsdh_info_t *sdh) in bcmsdh_get_sdioh() argument
745 ASSERT(sdh); in bcmsdh_get_sdioh()
746 return sdh->sdioh; in bcmsdh_get_sdioh()
751 bcmsdh_get_dstatus(void *sdh) in bcmsdh_get_dstatus() argument
754 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_get_dstatus()
762 bcmsdh_cur_sbwad(void *sdh) in bcmsdh_cur_sbwad() argument
764 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_cur_sbwad()
776 bcmsdh_force_sbwad_calc(void *sdh, bool force) in bcmsdh_force_sbwad_calc() argument
778 bcmsdh_info_t *bcmsdh = (bcmsdh_info_t *)sdh; in bcmsdh_force_sbwad_calc()
786 bcmsdh_chipinfo(void *sdh, uint32 chip, uint32 chiprev) in bcmsdh_chipinfo() argument
789 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_chipinfo()
799 bcmsdh_dwordmode(void *sdh, bool set) in bcmsdh_dwordmode() argument
801 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_dwordmode()
809 bcmsdh_sleep(void *sdh, bool enab) in bcmsdh_sleep() argument
812 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_sleep()
822 bcmsdh_gpio_init(void *sdh) in bcmsdh_gpio_init() argument
824 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_gpio_init()
831 bcmsdh_gpioin(void *sdh, uint32 gpio) in bcmsdh_gpioin() argument
833 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_gpioin()
840 bcmsdh_gpioouten(void *sdh, uint32 gpio) in bcmsdh_gpioouten() argument
842 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_gpioouten()
849 bcmsdh_gpioout(void *sdh, uint32 gpio, bool enab) in bcmsdh_gpioout() argument
851 bcmsdh_info_t *p = (bcmsdh_info_t *)sdh; in bcmsdh_gpioout()