Lines Matching refs:presetval
240 int sd3_requested_clkmode, uint32 *drvstrn, uint16 *presetval);
2540 uint16 val1 = 0, presetval = 0; in sdstd_3_set_highspeed_uhsi_mode() local
2555 if (!sdstd_3_get_matching_drvstrn(sd, sd3ClkMode, &drvstrn, &presetval)) { in sdstd_3_set_highspeed_uhsi_mode()
2557 "val:0x%x\n", __FUNCTION__, drvstrn, presetval)); in sdstd_3_set_highspeed_uhsi_mode()
2621 GFIELD(presetval, PRESET_DRIVR_SELECT)); in sdstd_3_set_highspeed_uhsi_mode()
2631 if (FALSE == sdstd_start_clock(sd, GFIELD(presetval, PRESET_CLK_DIV))) { in sdstd_3_set_highspeed_uhsi_mode()
2760 uint32 *drvstrn, uint16 *presetval) in sdstd_3_get_matching_drvstrn() argument
2780 *presetval = sdstd_rreg16(sd, presetreg); in sdstd_3_get_matching_drvstrn()
2783 *presetval = presetval_sw_table[sd3_requested_clkmode + 3]; in sdstd_3_get_matching_drvstrn()
2786 __FUNCTION__, sd3_requested_clkmode, *presetval)); in sdstd_3_get_matching_drvstrn()
2788 cccr_reqd_dtype_mask <<= GFIELD(*presetval, PRESET_DRIVR_SELECT); in sdstd_3_get_matching_drvstrn()
2803 *drvstrn = GFIELD(*presetval, PRESET_DRIVR_SELECT); in sdstd_3_get_matching_drvstrn()
2847 uint16 presetval; in sdstd_3_get_matching_uhsi_clkmode() local
2894 &drvstrn, &presetval)) { in sdstd_3_get_matching_uhsi_clkmode()
2896 "val:0x%x\n", __FUNCTION__, drvstrn, presetval)); in sdstd_3_get_matching_uhsi_clkmode()