Lines Matching refs:option
86 struct rtsx_cr_option *option = &pcr->option; in rts5227_init_from_cfg() local
96 if (option->ltr_en) { in rts5227_init_from_cfg()
97 if (option->ltr_enabled) in rts5227_init_from_cfg()
98 rtsx_set_ltr_latency(pcr, option->ltr_active_latency); in rts5227_init_from_cfg()
105 struct rtsx_cr_option *option = &pcr->option; in rts5227_extra_init_hw() local
155 if (option->force_clkreq_0) in rts5227_extra_init_hw()
203 if (pcr->option.ocp_en) in rts5227_card_power_on()
235 if (pcr->option.ocp_en) in rts5227_card_power_off()
446 struct rtsx_cr_option *option = &pcr->option; in rts522a_set_l1off_cfg_sub_d0() local
456 val = option->ltr_l1off_snooze_sspwrgate; in rts522a_set_l1off_cfg_sub_d0()
460 val = option->ltr_l1off_sspwrgate; in rts522a_set_l1off_cfg_sub_d0()
487 struct rtsx_cr_option *option = &pcr->option; in rts522a_init_params() local
495 option->dev_flags = LTR_L1SS_PWR_GATE_EN; in rts522a_init_params()
496 option->ltr_en = true; in rts522a_init_params()
499 option->ltr_active_latency = LTR_ACTIVE_LATENCY_DEF; in rts522a_init_params()
500 option->ltr_idle_latency = LTR_IDLE_LATENCY_DEF; in rts522a_init_params()
501 option->ltr_l1off_latency = LTR_L1OFF_LATENCY_DEF; in rts522a_init_params()
502 option->l1_snooze_delay = L1_SNOOZE_DELAY_DEF; in rts522a_init_params()
503 option->ltr_l1off_sspwrgate = 0x7F; in rts522a_init_params()
504 option->ltr_l1off_snooze_sspwrgate = 0x78; in rts522a_init_params()
506 pcr->option.ocp_en = 1; in rts522a_init_params()
507 if (pcr->option.ocp_en) in rts522a_init_params()
510 pcr->option.sd_800mA_ocp_thd = RTS522A_OCP_THD_800; in rts522a_init_params()