Lines Matching defs:sd
169 #define SD3_TUNING_REQD(sd, sd_uhsimode) ((sd_uhsimode != SD3CLKMODE_DISABLED) && \ argument
252 sdstd_rreg16(sdioh_info_t *sd, uint reg) in sdstd_rreg16()
262 sdstd_wreg16(sdioh_info_t *sd, uint reg, uint16 data) in sdstd_wreg16()
269 sdstd_or_reg16(sdioh_info_t *sd, uint reg, uint16 val) in sdstd_or_reg16()
278 sdstd_mod_reg16(sdioh_info_t *sd, uint reg, int16 mask, uint16 val) in sdstd_mod_reg16()
290 sdstd_rreg(sdioh_info_t *sd, uint reg) in sdstd_rreg()
297 sdstd_wreg(sdioh_info_t *sd, uint reg, uint32 data) in sdstd_wreg()
306 sdstd_wreg8(sdioh_info_t *sd, uint reg, uint8 data) in sdstd_wreg8()
312 sdstd_rreg8(sdioh_info_t *sd, uint reg) in sdstd_rreg8()
331 sdioh_info_t *sd; in sdioh_attach() local
410 sdioh_detach(osl_t *osh, sdioh_info_t *sd) in sdioh_detach()
438 sdioh_interrupt_register(sdioh_info_t *sd, sdioh_cb_fn_t fn, void *argh) in sdioh_interrupt_register()
448 sdioh_interrupt_deregister(sdioh_info_t *sd) in sdioh_interrupt_deregister()
458 sdioh_interrupt_query(sdioh_info_t *sd, bool *onoff) in sdioh_interrupt_query()
467 sdioh_interrupt_pending(sdioh_info_t *sd) in sdioh_interrupt_pending()
476 sdioh_query_iofnum(sdioh_info_t *sd) in sdioh_query_iofnum()
534 uint8 sdstd_turn_on_clock(sdioh_info_t *sd) in sdstd_turn_on_clock()
540 uint8 sdstd_turn_off_clock(sdioh_info_t *sd) in sdstd_turn_off_clock()
944 sdioh_cfg_read(sdioh_info_t *sd, uint fnc_num, uint32 addr, uint8 *data) in sdioh_cfg_read()
953 sdioh_cfg_write(sdioh_info_t *sd, uint fnc_num, uint32 addr, uint8 *data) in sdioh_cfg_write()
962 sdioh_cis_read(sdioh_info_t *sd, uint func, uint8 *cisd, uint32 length) in sdioh_cis_read()
993 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, uint8 *byte) in sdioh_request_byte()
1054 sdioh_request_word(sdioh_info_t *sd, uint cmd_type, uint rw, uint func, uint addr, in sdioh_request_word()
1084 sdioh_glom_post(sdioh_info_t *sd, uint8 *frame, void *pkt, uint len) in sdioh_glom_post()
1100 sdioh_glom_clear(sdioh_info_t *sd) in sdioh_glom_clear()
1116 sdioh_set_mode(sdioh_info_t *sd, uint mode) in sdioh_set_mode()
1134 sdioh_request_buffer(sdioh_info_t *sd, uint pio_dma, uint fix_inc, uint rw, uint func, in sdioh_request_buffer()
1256 sdioh_gpioouten(sdioh_info_t *sd, uint32 gpio) in sdioh_gpioouten()
1275 sdioh_gpioout(sdioh_info_t *sd, uint32 gpio, bool enab) in sdioh_gpioout()
1297 sdioh_gpioin(sdioh_info_t *sd, uint32 gpio) in sdioh_gpioin()
1315 sdioh_gpio_init(sdioh_info_t *sd) in sdioh_gpio_init()
1338 sdioh_sleep(sdioh_info_t *sd, bool enab) in sdioh_sleep()
1397 sdstd_abort(sdioh_info_t *sd, uint func) in sdstd_abort()
1615 sdioh_abort(sdioh_info_t *sd, uint fnum) in sdioh_abort()
1627 sdioh_start(sdioh_info_t *sd, int stage) in sdioh_start()
1633 sdioh_stop(sdioh_info_t *sd) in sdioh_stop()
1639 sdioh_waitlockfree(sdioh_info_t *sd) in sdioh_waitlockfree()
1737 sdstd_reset(sdioh_info_t *sd, bool host_reset, bool client_reset) in sdstd_reset()
1784 sdstd_devintr_off(sdioh_info_t *sd) in sdstd_devintr_off()
1796 sdstd_devintr_on(sdioh_info_t *sd) in sdstd_devintr_on()
1816 sdstd_intrs_on(sdioh_info_t *sd, uint16 norm, uint16 err) in sdstd_intrs_on()
1830 sdstd_intrs_off(sdioh_info_t *sd, uint16 norm, uint16 err) in sdstd_intrs_off()
1845 sdstd_host_init(sdioh_info_t *sd) in sdstd_host_init()
2081 get_ocr(sdioh_info_t *sd, uint32 *cmd_arg, uint32 *cmd_rsp) in get_ocr()
2112 sdstd_client_init(sdioh_info_t *sd) in sdstd_client_init()
2280 sdstd_clock_wrapper(sdioh_info_t *sd) in sdstd_clock_wrapper()
2294 sdstd_3_clock_wrapper(sdioh_info_t *sd) in sdstd_3_clock_wrapper()
2352 sdstd_3_clk_tuning(sdioh_info_t *sd, uint32 sd3ClkMode) in sdstd_3_clk_tuning()
2484 sdstd_3_enable_retuning_int(sdioh_info_t *sd) in sdstd_3_enable_retuning_int()
2499 sdstd_3_disable_retuning_int(sdioh_info_t *sd) in sdstd_3_disable_retuning_int()
2515 sdstd_3_is_retuning_int_set(sdioh_info_t *sd) in sdstd_3_is_retuning_int_set()
2535 sdstd_3_set_highspeed_uhsi_mode(sdioh_info_t *sd, int sd3ClkMode) in sdstd_3_set_highspeed_uhsi_mode()
2652 void sdstd_3_check_and_do_tuning(sdioh_info_t *sd, int tuning_param) in sdstd_3_check_and_do_tuning()
2690 bool sdstd_3_check_and_set_retuning(sdioh_info_t *sd) in sdstd_3_check_and_set_retuning()
2712 int sdstd_3_get_data_state(sdioh_info_t *sd) in sdstd_3_get_data_state()
2717 void sdstd_3_set_data_state(sdioh_info_t *sd, int state) in sdstd_3_set_data_state()
2722 int sdstd_3_get_tune_state(sdioh_info_t *sd) in sdstd_3_get_tune_state()
2727 void sdstd_3_set_tune_state(sdioh_info_t *sd, int state) in sdstd_3_set_tune_state()
2732 uint8 sdstd_3_get_tuning_exp(sdioh_info_t *sd) in sdstd_3_get_tuning_exp()
2741 uint32 sdstd_3_get_uhsi_clkmode(sdioh_info_t *sd) in sdstd_3_get_uhsi_clkmode()
2759 sdstd_3_get_matching_drvstrn(sdioh_info_t *sd, int sd3_requested_clkmode, in sdstd_3_get_matching_drvstrn()
2842 sdstd_3_get_matching_uhsi_clkmode(sdioh_info_t *sd, int sd3_requested_clkmode) in sdstd_3_get_matching_uhsi_clkmode()
2911 sdstd_3_sigvoltswitch_proc(sdioh_info_t *sd) in sdstd_3_sigvoltswitch_proc()
2991 sdstd_set_highspeed_mode(sdioh_info_t *sd, bool HSMode) in sdstd_set_highspeed_mode()
3093 sdstd_set_dma_mode(sdioh_info_t *sd, int8 dma_mode) in sdstd_set_dma_mode()
3168 sdstd_start_clock(sdioh_info_t *sd, uint16 new_sd_divisor) in sdstd_start_clock()
3301 sdstd_start_power(sdioh_info_t *sd, int volts_req) in sdstd_start_power()
3511 sdstd_bus_width(sdioh_info_t *sd, int new_mode) in sdstd_bus_width()
3585 sdstd_driver_init(sdioh_info_t *sd) in sdstd_driver_init()
3630 sdstd_get_cisaddr(sdioh_info_t *sd, uint32 regaddr) in sdstd_get_cisaddr()
3650 sdstd_card_enablefuncs(sdioh_info_t *sd) in sdstd_card_enablefuncs()
3682 sdstd_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data) in sdstd_card_regread()
3814 check_client_intr(sdioh_info_t *sd) in check_client_intr()
3860 sdstd_spinbits(sdioh_info_t *sd, uint16 norm, uint16 err) in sdstd_spinbits()
3883 sdstd_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 data) in sdstd_card_regwrite()
3996 sdstd_cmd_getrsp(sdioh_info_t *sd, uint32 *rsp_buffer, int count /* num 32 bit words */) in sdstd_cmd_getrsp()
4437 sdstd_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo, uint32 addr, int nbytes, uint32 *data) in sdstd_card_buf()
4760 set_client_block_size(sdioh_info_t *sd, int func, int block_size) in set_client_block_size()
4812 sd_map_dma(sdioh_info_t * sd) in sd_map_dma()
4868 sd_unmap_dma(sdioh_info_t * sd) in sd_unmap_dma()
4882 sd_clear_adma_dscr_buf(sdioh_info_t *sd) in sd_clear_adma_dscr_buf()
4889 sd_fill_dma_data_buf(sdioh_info_t *sd, uint8 data) in sd_fill_dma_data_buf()
4895 sd_create_adma_descriptor(sdioh_info_t *sd, uint32 index, in sd_create_adma_descriptor()
4936 sd_dump_adma_dscr(sdioh_info_t *sd) in sd_dump_adma_dscr()
5022 sdstd_dumpregs(sdioh_info_t *sd) in sdstd_dumpregs()