Lines Matching defs:pcr_ops
1055 struct pcr_ops { struct
1056 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
1057 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
1058 int (*extra_init_hw)(struct rtsx_pcr *pcr);
1059 int (*optimize_phy)(struct rtsx_pcr *pcr);
1060 int (*turn_on_led)(struct rtsx_pcr *pcr);
1061 int (*turn_off_led)(struct rtsx_pcr *pcr);
1062 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
1063 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
1064 int (*card_power_on)(struct rtsx_pcr *pcr, int card);
1065 int (*card_power_off)(struct rtsx_pcr *pcr, int card);
1066 int (*switch_output_voltage)(struct rtsx_pcr *pcr,
1068 unsigned int (*cd_deglitch)(struct rtsx_pcr *pcr);
1069 int (*conv_clk_and_div_n)(int clk, int dir);
1070 void (*fetch_vendor_settings)(struct rtsx_pcr *pcr);
1071 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state);
1072 void (*stop_cmd)(struct rtsx_pcr *pcr);
1074 void (*set_aspm)(struct rtsx_pcr *pcr, bool enable);
1075 void (*set_l1off_cfg_sub_d0)(struct rtsx_pcr *pcr, int active);
1076 void (*enable_ocp)(struct rtsx_pcr *pcr);
1077 void (*disable_ocp)(struct rtsx_pcr *pcr);
1078 void (*init_ocp)(struct rtsx_pcr *pcr);
1079 void (*process_ocp)(struct rtsx_pcr *pcr);
1080 int (*get_ocpstat)(struct rtsx_pcr *pcr, u8 *val);
1081 void (*clear_ocpstat)(struct rtsx_pcr *pcr);