Lines Matching full:option

195 	struct rtsx_cr_option *option = &pcr->option;  in rts5260_card_power_on()  local
197 if (option->ocp_en) in rts5260_card_power_on()
291 if (pcr->option.ocp_en) in rts5260_card_power_off()
299 struct rtsx_cr_option *option = &pcr->option; in rts5260_init_ocp() local
301 if (option->ocp_en) { in rts5260_init_ocp()
307 option->sd_800mA_ocp_thd); in rts5260_init_ocp()
379 if (!pcr->option.ocp_en) in rts5260_process_ocp()
479 /*Option cut APHY*/ in rts5260_pwr_saving_setting()
500 struct rtsx_cr_option *option = &pcr->option; in rts5260_init_from_cfg() local
519 if (option->ltr_en) { in rts5260_init_from_cfg()
524 option->ltr_enabled = true; in rts5260_init_from_cfg()
525 option->ltr_active = true; in rts5260_init_from_cfg()
526 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5260_init_from_cfg()
528 option->ltr_enabled = false; in rts5260_init_from_cfg()
534 option->force_clkreq_0 = false; in rts5260_init_from_cfg()
536 option->force_clkreq_0 = true; in rts5260_init_from_cfg()
541 struct rtsx_cr_option *option = &pcr->option; in rts5260_extra_init_hw() local
564 if (option->force_clkreq_0) in rts5260_extra_init_hw()
576 struct rtsx_cr_option *option = &pcr->option; in rts5260_set_aspm() local
582 if (option->dev_aspm_mode == DEV_ASPM_DYNAMIC) { in rts5260_set_aspm()
587 } else if (option->dev_aspm_mode == DEV_ASPM_BACKDOOR) { in rts5260_set_aspm()
600 struct rtsx_cr_option *option = &pcr->option; in rts5260_set_l1off_cfg_sub_d0() local
612 val = option->ltr_l1off_snooze_sspwrgate; in rts5260_set_l1off_cfg_sub_d0()
616 val = option->ltr_l1off_sspwrgate; in rts5260_set_l1off_cfg_sub_d0()
655 struct rtsx_cr_option *option = &pcr->option; in rts5260_init_params() local
679 option->dev_flags = (LTR_L1SS_PWR_GATE_CHECK_CARD_EN in rts5260_init_params()
681 option->ltr_en = true; in rts5260_init_params()
684 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts5260_init_params()
685 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts5260_init_params()
686 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts5260_init_params()
687 option->dev_aspm_mode = DEV_ASPM_DYNAMIC; in rts5260_init_params()
688 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts5260_init_params()
689 option->ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF; in rts5260_init_params()
690 option->ltr_l1off_snooze_sspwrgate = in rts5260_init_params()
693 option->ocp_en = 1; in rts5260_init_params()
694 if (option->ocp_en) in rts5260_init_params()
697 option->sd_400mA_ocp_thd = RTS5260_DVCC_OCP_THD_550; in rts5260_init_params()
698 option->sd_800mA_ocp_thd = RTS5260_DVCC_OCP_THD_970; in rts5260_init_params()