Lines Matching refs:option

181 	struct rtsx_cr_option *option = &pcr->option;  in rts5228_card_power_on()  local
183 if (option->ocp_en) in rts5228_card_power_on()
318 if (pcr->option.ocp_en) in rts5228_card_power_off()
326 struct rtsx_cr_option *option = &pcr->option; in rts5228_init_ocp() local
328 if (option->ocp_en) { in rts5228_init_ocp()
336 RTS5228_LDO1_OCP_THD_MASK, option->sd_800mA_ocp_thd); in rts5228_init_ocp()
373 if (!pcr->option.ocp_en) in rts5228_process_ocp()
389 struct rtsx_cr_option *option = &pcr->option; in rts5228_init_from_cfg() local
399 if (option->ltr_en) { in rts5228_init_from_cfg()
400 if (option->ltr_enabled) in rts5228_init_from_cfg()
401 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5228_init_from_cfg()
407 struct rtsx_cr_option *option = &pcr->option; in rts5228_extra_init_hw() local
442 if (option->force_clkreq_0) in rts5228_extra_init_hw()
509 struct rtsx_cr_option *option = &pcr->option; in rts5228_set_l1off_cfg_sub_d0() local
519 val = option->ltr_l1off_snooze_sspwrgate; in rts5228_set_l1off_cfg_sub_d0()
523 val = option->ltr_l1off_sspwrgate; in rts5228_set_l1off_cfg_sub_d0()
685 struct rtsx_cr_option *option = &pcr->option; in rts5228_init_params() local
707 option->dev_flags = (LTR_L1SS_PWR_GATE_CHECK_CARD_EN in rts5228_init_params()
709 option->ltr_en = true; in rts5228_init_params()
712 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts5228_init_params()
713 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts5228_init_params()
714 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts5228_init_params()
715 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts5228_init_params()
716 option->ltr_l1off_sspwrgate = 0x7F; in rts5228_init_params()
717 option->ltr_l1off_snooze_sspwrgate = 0x78; in rts5228_init_params()
719 option->ocp_en = 1; in rts5228_init_params()
722 option->sd_800mA_ocp_thd = RTS5228_LDO1_OCP_THD_930; in rts5228_init_params()