Lines Matching refs:option
158 struct rtsx_cr_option *option = &pcr->option; in rts5261_card_power_on() local
160 if (option->ocp_en) in rts5261_card_power_on()
294 if (pcr->option.ocp_en) in rts5261_card_power_off()
302 struct rtsx_cr_option *option = &pcr->option; in rts5261_init_ocp() local
304 if (option->ocp_en) { in rts5261_init_ocp()
312 RTS5261_LDO1_OCP_THD_MASK, option->sd_800mA_ocp_thd); in rts5261_init_ocp()
346 if (!pcr->option.ocp_en) in rts5261_process_ocp()
457 struct rtsx_cr_option *option = &pcr->option; in rts5261_init_from_cfg() local
459 if (option->ltr_en) { in rts5261_init_from_cfg()
460 if (option->ltr_enabled) in rts5261_init_from_cfg()
461 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5261_init_from_cfg()
467 struct rtsx_cr_option *option = &pcr->option; in rts5261_extra_init_hw() local
517 if (option->force_clkreq_0) in rts5261_extra_init_hw()
586 struct rtsx_cr_option *option = &pcr->option; in rts5261_set_l1off_cfg_sub_d0() local
596 val = option->ltr_l1off_snooze_sspwrgate; in rts5261_set_l1off_cfg_sub_d0()
600 val = option->ltr_l1off_sspwrgate; in rts5261_set_l1off_cfg_sub_d0()
764 struct rtsx_cr_option *option = &pcr->option; in rts5261_init_params() local
790 option->dev_flags = (LTR_L1SS_PWR_GATE_CHECK_CARD_EN in rts5261_init_params()
792 option->ltr_en = true; in rts5261_init_params()
795 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts5261_init_params()
796 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts5261_init_params()
797 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts5261_init_params()
798 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts5261_init_params()
799 option->ltr_l1off_sspwrgate = 0x7F; in rts5261_init_params()
800 option->ltr_l1off_snooze_sspwrgate = 0x78; in rts5261_init_params()
802 option->ocp_en = 1; in rts5261_init_params()
805 option->sd_800mA_ocp_thd = RTS5261_LDO1_OCP_THD_1040; in rts5261_init_params()