Lines Matching defs:sd
171 #define SD3_TUNING_REQD(sd, sd_uhsimode) ((sd_uhsimode != SD3CLKMODE_DISABLED) && \ argument
272 sdstd_rreg16(sdioh_info_t *sd, uint reg) in sdstd_rreg16()
283 sdstd_wreg16(sdioh_info_t *sd, uint reg, uint16 data) in sdstd_wreg16()
290 sdstd_or_reg16(sdioh_info_t *sd, uint reg, uint16 val) in sdstd_or_reg16()
299 sdstd_mod_reg16(sdioh_info_t *sd, uint reg, int16 mask, uint16 val) in sdstd_mod_reg16()
311 sdstd_rreg(sdioh_info_t *sd, uint reg) in sdstd_rreg()
318 sdstd_wreg(sdioh_info_t *sd, uint reg, uint32 data) in sdstd_wreg()
327 sdstd_or_reg(sdioh_info_t *sd, uint reg, uint32 val) in sdstd_or_reg()
334 sdstd_mod_reg(sdioh_info_t *sd, uint reg, uint32 mask, uint32 val) in sdstd_mod_reg()
346 sdstd_wreg8(sdioh_info_t *sd, uint reg, uint8 data) in sdstd_wreg8()
352 sdstd_rreg8(sdioh_info_t *sd, uint reg) in sdstd_rreg8()
371 sdioh_info_t *sd; in sdioh_attach() local
454 sdioh_detach(osl_t *osh, sdioh_info_t *sd) in sdioh_detach()
482 sdioh_interrupt_register(sdioh_info_t *sd, sdioh_cb_fn_t fn, void *argh) in sdioh_interrupt_register()
492 sdioh_interrupt_deregister(sdioh_info_t *sd) in sdioh_interrupt_deregister()
502 sdioh_interrupt_query(sdioh_info_t *sd, bool *onoff) in sdioh_interrupt_query()
511 sdioh_interrupt_pending(sdioh_info_t *sd) in sdioh_interrupt_pending()
520 sdioh_query_iofnum(sdioh_info_t *sd) in sdioh_query_iofnum()
581 uint8 sdstd_turn_on_clock(sdioh_info_t *sd) in sdstd_turn_on_clock()
587 uint8 sdstd_turn_off_clock(sdioh_info_t *sd) in sdstd_turn_off_clock()
1038 sdioh_cfg_read(sdioh_info_t *sd, uint fnc_num, uint32 addr, uint8 *data) in sdioh_cfg_read()
1047 sdioh_cfg_write(sdioh_info_t *sd, uint fnc_num, uint32 addr, uint8 *data) in sdioh_cfg_write()
1056 sdioh_cis_read(sdioh_info_t *sd, uint func, uint8 *cisd, uint32 length) in sdioh_cis_read()
1087 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, uint8 *byte) in sdioh_request_byte()
1160 sdioh_request_word(sdioh_info_t *sd, uint cmd_type, uint rw, uint func, uint addr, in sdioh_request_word()
1190 sdioh_glom_post(sdioh_info_t *sd, uint8 *frame, void *pkt, uint len) in sdioh_glom_post()
1206 sdioh_glom_clear(sdioh_info_t *sd) in sdioh_glom_clear()
1222 sdioh_set_mode(sdioh_info_t *sd, uint mode) in sdioh_set_mode()
1240 sdioh_request_buffer(sdioh_info_t *sd, uint pio_dma, uint fix_inc, uint rw, uint func, in sdioh_request_buffer()
1368 sdioh_gpioouten(sdioh_info_t *sd, uint32 gpio) in sdioh_gpioouten()
1387 sdioh_gpioout(sdioh_info_t *sd, uint32 gpio, bool enab) in sdioh_gpioout()
1409 sdioh_gpioin(sdioh_info_t *sd, uint32 gpio) in sdioh_gpioin()
1427 sdioh_gpio_init(sdioh_info_t *sd) in sdioh_gpio_init()
1450 sdioh_sleep(sdioh_info_t *sd, bool enab) in sdioh_sleep()
1514 sdstd_abort(sdioh_info_t *sd, uint func) in sdstd_abort()
1720 sdioh_abort(sdioh_info_t *sd, uint fnum) in sdioh_abort()
1732 sdioh_start(sdioh_info_t *sd, int stage) in sdioh_start()
1738 sdioh_stop(sdioh_info_t *sd) in sdioh_stop()
1744 sdioh_waitlockfree(sdioh_info_t *sd) in sdioh_waitlockfree()
1839 sdioh_test_diag(sdioh_info_t *sd) in sdioh_test_diag()
1850 sdstd_reset(sdioh_info_t *sd, bool host_reset, bool client_reset) in sdstd_reset()
1892 sdstd_devintr_off(sdioh_info_t *sd) in sdstd_devintr_off()
1904 sdstd_devintr_on(sdioh_info_t *sd) in sdstd_devintr_on()
1924 sdstd_intrs_on(sdioh_info_t *sd, uint16 norm, uint16 err) in sdstd_intrs_on()
1938 sdstd_intrs_off(sdioh_info_t *sd, uint16 norm, uint16 err) in sdstd_intrs_off()
1953 sdstd_host_init(sdioh_info_t *sd) in sdstd_host_init()
2226 get_ocr(sdioh_info_t *sd, uint32 *cmd_arg, uint32 *cmd_rsp) in get_ocr()
2252 sdstd_client_init(sdioh_info_t *sd) in sdstd_client_init()
2434 sdstd_clock_wrapper(sdioh_info_t *sd) in sdstd_clock_wrapper()
2448 sdstd_3_clock_wrapper(sdioh_info_t *sd) in sdstd_3_clock_wrapper()
2506 sdstd_3_clk_tuning(sdioh_info_t *sd, uint32 sd3ClkMode) in sdstd_3_clk_tuning()
2638 sdstd_3_enable_retuning_int(sdioh_info_t *sd) in sdstd_3_enable_retuning_int()
2653 sdstd_3_disable_retuning_int(sdioh_info_t *sd) in sdstd_3_disable_retuning_int()
2669 sdstd_3_is_retuning_int_set(sdioh_info_t *sd) in sdstd_3_is_retuning_int_set()
2689 sdstd_3_set_highspeed_uhsi_mode(sdioh_info_t *sd, int sd3ClkMode) in sdstd_3_set_highspeed_uhsi_mode()
2806 void sdstd_3_check_and_do_tuning(sdioh_info_t *sd, int tuning_param) in sdstd_3_check_and_do_tuning()
2844 bool sdstd_3_check_and_set_retuning(sdioh_info_t *sd) in sdstd_3_check_and_set_retuning()
2866 int sdstd_3_get_data_state(sdioh_info_t *sd) in sdstd_3_get_data_state()
2871 void sdstd_3_set_data_state(sdioh_info_t *sd, int state) in sdstd_3_set_data_state()
2876 int sdstd_3_get_tune_state(sdioh_info_t *sd) in sdstd_3_get_tune_state()
2881 void sdstd_3_set_tune_state(sdioh_info_t *sd, int state) in sdstd_3_set_tune_state()
2886 uint8 sdstd_3_get_tuning_exp(sdioh_info_t *sd) in sdstd_3_get_tuning_exp()
2895 uint32 sdstd_3_get_uhsi_clkmode(sdioh_info_t *sd) in sdstd_3_get_uhsi_clkmode()
2913 sdstd_3_get_matching_drvstrn(sdioh_info_t *sd, int sd3_requested_clkmode, in sdstd_3_get_matching_drvstrn()
2996 sdstd_3_get_matching_uhsi_clkmode(sdioh_info_t *sd, int sd3_requested_clkmode) in sdstd_3_get_matching_uhsi_clkmode()
3065 sdstd_3_sigvoltswitch_proc(sdioh_info_t *sd) in sdstd_3_sigvoltswitch_proc()
3136 sdstd_set_highspeed_mode(sdioh_info_t *sd, bool HSMode) in sdstd_set_highspeed_mode()
3248 sdstd_set_dma_mode(sdioh_info_t *sd, int8 dma_mode) in sdstd_set_dma_mode()
3324 print_regs(sdioh_info_t *sd) in print_regs()
3472 sdstd_start_clock(sdioh_info_t *sd, uint16 new_sd_divisor) in sdstd_start_clock()
3639 sdstd_start_power(sdioh_info_t *sd, int volts_req) in sdstd_start_power()
3862 sdstd_bus_width(sdioh_info_t *sd, int new_mode) in sdstd_bus_width()
3936 sdstd_driver_init(sdioh_info_t *sd) in sdstd_driver_init()
3981 sdstd_get_cisaddr(sdioh_info_t *sd, uint32 regaddr) in sdstd_get_cisaddr()
4001 sdstd_card_enablefuncs(sdioh_info_t *sd) in sdstd_card_enablefuncs()
4033 sdstd_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data) in sdstd_card_regread()
4163 check_client_intr(sdioh_info_t *sd) in check_client_intr()
4209 sdstd_spinbits(sdioh_info_t *sd, uint16 norm, uint16 err) in sdstd_spinbits()
4227 sdstd_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 data) in sdstd_card_regwrite()
4331 sdstd_cmd_getrsp(sdioh_info_t *sd, uint32 *rsp_buffer, int count /* num 32 bit words */) in sdstd_cmd_getrsp()
4770 sdstd_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo, uint32 addr, int nbytes, uint32 *data) in sdstd_card_buf()
5098 set_client_block_size(sdioh_info_t *sd, int func, int block_size) in set_client_block_size()
5149 cis_fetch(sdioh_info_t *sd, int func, char *data, int len) in cis_fetch()
5171 sd_map_dma(sdioh_info_t * sd) in sd_map_dma()
5229 sd_unmap_dma(sdioh_info_t * sd) in sd_unmap_dma()
5243 sd_clear_adma_dscr_buf(sdioh_info_t *sd) in sd_clear_adma_dscr_buf()
5250 sd_fill_dma_data_buf(sdioh_info_t *sd, uint8 data) in sd_fill_dma_data_buf()
5256 sd_create_adma_descriptor(sdioh_info_t *sd, uint32 index, in sd_create_adma_descriptor()
5297 sd_dump_adma_dscr(sdioh_info_t *sd) in sd_dump_adma_dscr()
5395 sdstd_dumpregs(sdioh_info_t *sd) in sdstd_dumpregs()