Lines Matching defs:pcr_ops
1063 struct pcr_ops { struct
1064 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
1065 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
1066 int (*extra_init_hw)(struct rtsx_pcr *pcr);
1067 int (*optimize_phy)(struct rtsx_pcr *pcr);
1068 int (*turn_on_led)(struct rtsx_pcr *pcr);
1069 int (*turn_off_led)(struct rtsx_pcr *pcr);
1070 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
1071 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
1072 int (*card_power_on)(struct rtsx_pcr *pcr, int card);
1073 int (*card_power_off)(struct rtsx_pcr *pcr, int card);
1074 int (*switch_output_voltage)(struct rtsx_pcr *pcr,
1076 unsigned int (*cd_deglitch)(struct rtsx_pcr *pcr);
1077 int (*conv_clk_and_div_n)(int clk, int dir);
1078 void (*fetch_vendor_settings)(struct rtsx_pcr *pcr);
1079 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state);
1080 void (*stop_cmd)(struct rtsx_pcr *pcr);
1082 void (*set_aspm)(struct rtsx_pcr *pcr, bool enable);
1083 int (*set_ltr_latency)(struct rtsx_pcr *pcr, u32 latency);
1084 int (*set_l1off_sub)(struct rtsx_pcr *pcr, u8 val);
1085 void (*set_l1off_cfg_sub_d0)(struct rtsx_pcr *pcr, int active);
1086 void (*full_on)(struct rtsx_pcr *pcr);
1087 void (*power_saving)(struct rtsx_pcr *pcr);
1088 void (*enable_ocp)(struct rtsx_pcr *pcr);
1089 void (*disable_ocp)(struct rtsx_pcr *pcr);
1090 void (*init_ocp)(struct rtsx_pcr *pcr);
1091 void (*process_ocp)(struct rtsx_pcr *pcr);
1092 int (*get_ocpstat)(struct rtsx_pcr *pcr, u8 *val);
1093 void (*clear_ocpstat)(struct rtsx_pcr *pcr);