Lines Matching full:option
178 struct rtsx_cr_option *option = &pcr->option; in rts5260_card_power_on() local
180 if (option->ocp_en) in rts5260_card_power_on()
274 if (pcr->option.ocp_en) in rts5260_card_power_off()
282 struct rtsx_cr_option *option = &pcr->option; in rts5260_init_ocp() local
284 if (option->ocp_en) { in rts5260_init_ocp()
290 option->sd_800mA_ocp_thd); in rts5260_init_ocp()
362 if (!pcr->option.ocp_en) in rts5260_process_ocp()
462 /*Option cut APHY*/ in rts5260_pwr_saving_setting()
483 struct rtsx_cr_option *option = &pcr->option; in rts5260_init_from_cfg() local
487 if (option->ltr_en) { in rts5260_init_from_cfg()
488 if (option->ltr_enabled) in rts5260_init_from_cfg()
489 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5260_init_from_cfg()
495 struct rtsx_cr_option *option = &pcr->option; in rts5260_extra_init_hw() local
518 if (option->force_clkreq_0) in rts5260_extra_init_hw()
532 struct rtsx_cr_option *option = &pcr->option; in rts5260_set_l1off_cfg_sub_d0() local
544 val = option->ltr_l1off_snooze_sspwrgate; in rts5260_set_l1off_cfg_sub_d0()
548 val = option->ltr_l1off_sspwrgate; in rts5260_set_l1off_cfg_sub_d0()
585 struct rtsx_cr_option *option = &pcr->option; in rts5260_init_params() local
610 option->dev_flags = (LTR_L1SS_PWR_GATE_CHECK_CARD_EN in rts5260_init_params()
612 option->ltr_en = true; in rts5260_init_params()
615 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts5260_init_params()
616 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts5260_init_params()
617 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts5260_init_params()
618 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts5260_init_params()
619 option->ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF; in rts5260_init_params()
620 option->ltr_l1off_snooze_sspwrgate = in rts5260_init_params()
623 option->ocp_en = 1; in rts5260_init_params()
624 if (option->ocp_en) in rts5260_init_params()
627 option->sd_400mA_ocp_thd = RTS5260_DVCC_OCP_THD_550; in rts5260_init_params()
628 option->sd_800mA_ocp_thd = RTS5260_DVCC_OCP_THD_970; in rts5260_init_params()