Lines Matching defs:pcr_ops
1085 struct pcr_ops { struct
1086 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
1087 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
1088 int (*extra_init_hw)(struct rtsx_pcr *pcr);
1089 int (*optimize_phy)(struct rtsx_pcr *pcr);
1090 int (*turn_on_led)(struct rtsx_pcr *pcr);
1091 int (*turn_off_led)(struct rtsx_pcr *pcr);
1092 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
1093 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
1094 int (*card_power_on)(struct rtsx_pcr *pcr, int card);
1095 int (*card_power_off)(struct rtsx_pcr *pcr, int card);
1096 int (*switch_output_voltage)(struct rtsx_pcr *pcr,
1098 unsigned int (*cd_deglitch)(struct rtsx_pcr *pcr);
1099 int (*conv_clk_and_div_n)(int clk, int dir);
1100 void (*fetch_vendor_settings)(struct rtsx_pcr *pcr);
1101 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state, bool runtime);
1102 void (*stop_cmd)(struct rtsx_pcr *pcr);
1104 void (*set_aspm)(struct rtsx_pcr *pcr, bool enable);
1105 void (*set_l1off_cfg_sub_d0)(struct rtsx_pcr *pcr, int active);
1106 void (*enable_ocp)(struct rtsx_pcr *pcr);
1107 void (*disable_ocp)(struct rtsx_pcr *pcr);
1108 void (*init_ocp)(struct rtsx_pcr *pcr);
1109 void (*process_ocp)(struct rtsx_pcr *pcr);
1110 int (*get_ocpstat)(struct rtsx_pcr *pcr, u8 *val);
1111 void (*clear_ocpstat)(struct rtsx_pcr *pcr);