Searched refs:speed_mode (Results 1 – 9 of 9) sorted by relevance
77 static void (*g5_switch_volt)(int speed_mode);78 static int (*g5_switch_freq)(int speed_mode);96 static void g5_smu_switch_volt(int speed_mode) in g5_smu_switch_volt() argument103 0xff, g5_fvt_cur+1, speed_mode); in g5_smu_switch_volt()114 static void g5_vdnap_switch_volt(int speed_mode) in g5_vdnap_switch_volt() argument120 slew = (speed_mode == CPUFREQ_LOW) ? 1 : 0; in g5_vdnap_switch_volt()147 static int g5_scom_switch_freq(int speed_mode) in g5_scom_switch_freq() argument153 if (speed_mode < g5_pmode_cur) in g5_scom_switch_freq()154 g5_switch_volt(speed_mode); in g5_scom_switch_freq()164 g5_pmode_data[speed_mode]); in g5_scom_switch_freq()[all …]
77 static int maple_scom_switch_freq(int speed_mode) in maple_scom_switch_freq() argument90 maple_pmode_data[speed_mode]); in maple_scom_switch_freq()98 (maple_pmode_data[speed_mode] >> PCR_SPEED_SHIFT)) & 0x3) in maple_scom_switch_freq()108 maple_pmode_cur = speed_mode; in maple_scom_switch_freq()109 ppc_proc_freq = maple_cpu_freqs[speed_mode].frequency * 1000ul; in maple_scom_switch_freq()
332 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) in do_set_cpu_speed() argument337 if (speed_mode == CPUFREQ_LOW && in do_set_cpu_speed()345 set_speed_proc(speed_mode == CPUFREQ_LOW); in do_set_cpu_speed()346 if (speed_mode == CPUFREQ_HIGH && in do_set_cpu_speed()352 cur_freq = (speed_mode == CPUFREQ_HIGH) ? hi_freq : low_freq; in do_set_cpu_speed()
406 u32 reg, sda_hold_cnt, speed_mode; in hisi_i2c_configure_bus() local413 speed_mode = HISI_I2C_FAST_SPEED_MODE; in hisi_i2c_configure_bus()417 speed_mode = HISI_I2C_HIGH_SPEED_MODE; in hisi_i2c_configure_bus()422 speed_mode = HISI_I2C_STD_SPEED_MODE; in hisi_i2c_configure_bus()432 reg |= FIELD_PREP(HISI_I2C_FRAME_CTRL_SPEED_MODE, speed_mode); in hisi_i2c_configure_bus()
341 unsigned char speed_mode; member447 mode = ratios[i].speed_mode; in cs42l51_hw_params()459 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(ratios[i].speed_mode); in cs42l51_hw_params()
186 u8 speed_mode; member356 reg |= cs4270_mode_ratios[i].speed_mode; in cs4270_hw_params()
302 u8 speed_mode; /* codec speed mode: 1x, 2x, 4x */ member388 (cs4271_clk_tab[i].speed_mode == val) && in cs4271_hw_params()
622 u8 speed_mode = (pi == 2) ? (sec_bus_reg & 0xF) : (sec_bus_reg & 0x7); in shpc_get_cur_bus_speed() local624 if ((pi == 1) && (speed_mode > 4)) { in shpc_get_cur_bus_speed()629 switch (speed_mode) { in shpc_get_cur_bus_speed()
1180 int speed_mode, duplex; in yt8521_adjust_status() local1190 speed_mode = (status & YTPHY_SSR_SPEED_MODE_MASK) >> in yt8521_adjust_status()1193 switch (speed_mode) { in yt8521_adjust_status()