Lines Matching refs:option
89 struct rtsx_cr_option *option = &(pcr->option); in rts5249_init_from_cfg() local
99 if (option->ltr_en) { in rts5249_init_from_cfg()
100 if (option->ltr_enabled) in rts5249_init_from_cfg()
101 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5249_init_from_cfg()
234 struct rtsx_cr_option *option = &(pcr->option); in rts5249_extra_init_hw() local
292 if (option->force_clkreq_0) in rts5249_extra_init_hw()
398 struct rtsx_cr_option *option = &pcr->option; in rtsx_base_card_power_on() local
400 if (option->ocp_en) in rtsx_base_card_power_on()
424 struct rtsx_cr_option *option = &pcr->option; in rtsx_base_card_power_off() local
426 if (option->ocp_en) in rtsx_base_card_power_off()
540 struct rtsx_cr_option *option = &(pcr->option); in rts5249_init_params() local
563 option->dev_flags = (LTR_L1SS_PWR_GATE_CHECK_CARD_EN in rts5249_init_params()
565 option->ltr_en = true; in rts5249_init_params()
568 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts5249_init_params()
569 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts5249_init_params()
570 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts5249_init_params()
571 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts5249_init_params()
572 option->ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5249_DEF; in rts5249_init_params()
573 option->ltr_l1off_snooze_sspwrgate = in rts5249_init_params()
664 struct rtsx_cr_option *option = &(pcr->option); in rts5250_set_l1off_cfg_sub_d0() local
677 val = option->ltr_l1off_snooze_sspwrgate; in rts5250_set_l1off_cfg_sub_d0()
681 val = option->ltr_l1off_sspwrgate; in rts5250_set_l1off_cfg_sub_d0()
718 pcr->option.ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF; in rts524a_init_params()
719 pcr->option.ltr_l1off_snooze_sspwrgate = in rts524a_init_params()
725 pcr->option.ocp_en = 1; in rts524a_init_params()
726 if (pcr->option.ocp_en) in rts524a_init_params()
729 pcr->option.sd_800mA_ocp_thd = RTS524A_OCP_THD_800; in rts524a_init_params()
836 pcr->option.ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF; in rts525a_init_params()
837 pcr->option.ltr_l1off_snooze_sspwrgate = in rts525a_init_params()
843 pcr->option.ocp_en = 1; in rts525a_init_params()
844 if (pcr->option.ocp_en) in rts525a_init_params()
847 pcr->option.sd_800mA_ocp_thd = RTS525A_OCP_THD_800; in rts525a_init_params()