Lines Matching full:option
96 struct rtsx_cr_option *option = &(pcr->option); in rts5249_init_from_cfg() local
118 if (option->ltr_en) { in rts5249_init_from_cfg()
123 option->ltr_enabled = true; in rts5249_init_from_cfg()
124 option->ltr_active = true; in rts5249_init_from_cfg()
125 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5249_init_from_cfg()
127 option->ltr_enabled = false; in rts5249_init_from_cfg()
134 struct rtsx_cr_option *option = &(pcr->option); in rts5249_init_from_hw() local
138 option->force_clkreq_0 = false; in rts5249_init_from_hw()
140 option->force_clkreq_0 = true; in rts5249_init_from_hw()
147 struct rtsx_cr_option *option = &(pcr->option); in rts5249_extra_init_hw() local
176 if (option->force_clkreq_0) in rts5249_extra_init_hw()
275 struct rtsx_cr_option *option = &pcr->option; in rtsx_base_card_power_on() local
277 if (option->ocp_en) in rtsx_base_card_power_on()
301 struct rtsx_cr_option *option = &pcr->option; in rtsx_base_card_power_off() local
303 if (option->ocp_en) in rtsx_base_card_power_off()
352 struct rtsx_cr_option *option = &pcr->option; in rts5249_set_aspm() local
358 if (option->dev_aspm_mode == DEV_ASPM_DYNAMIC) { in rts5249_set_aspm()
364 } else if (option->dev_aspm_mode == DEV_ASPM_BACKDOOR) { in rts5249_set_aspm()
444 struct rtsx_cr_option *option = &(pcr->option); in rts5249_init_params() local
466 option->dev_flags = (LTR_L1SS_PWR_GATE_CHECK_CARD_EN in rts5249_init_params()
468 option->ltr_en = true; in rts5249_init_params()
471 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts5249_init_params()
472 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts5249_init_params()
473 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts5249_init_params()
474 option->dev_aspm_mode = DEV_ASPM_DYNAMIC; in rts5249_init_params()
475 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts5249_init_params()
476 option->ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5249_DEF; in rts5249_init_params()
477 option->ltr_l1off_snooze_sspwrgate = in rts5249_init_params()
568 struct rtsx_cr_option *option = &(pcr->option); in rts5250_set_l1off_cfg_sub_d0() local
581 val = option->ltr_l1off_snooze_sspwrgate; in rts5250_set_l1off_cfg_sub_d0()
585 val = option->ltr_l1off_sspwrgate; in rts5250_set_l1off_cfg_sub_d0()
621 pcr->option.ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF; in rts524a_init_params()
622 pcr->option.ltr_l1off_snooze_sspwrgate = in rts524a_init_params()
628 pcr->option.ocp_en = 1; in rts524a_init_params()
629 if (pcr->option.ocp_en) in rts524a_init_params()
632 pcr->option.sd_800mA_ocp_thd = RTS524A_OCP_THD_800; in rts524a_init_params()
736 pcr->option.ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF; in rts525a_init_params()
737 pcr->option.ltr_l1off_snooze_sspwrgate = in rts525a_init_params()
743 pcr->option.ocp_en = 1; in rts525a_init_params()
744 if (pcr->option.ocp_en) in rts525a_init_params()
747 pcr->option.sd_800mA_ocp_thd = RTS525A_OCP_THD_800; in rts525a_init_params()