Home
last modified time | relevance | path

Searched refs:speed_mode (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/cpufreq/
Dpmac64-cpufreq.c77 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() argument
103 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() argument
120 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() argument
153 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 …]
Dmaple-cpufreq.c77 static int maple_scom_switch_freq(int speed_mode) in maple_scom_switch_freq() argument
90 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()
Dpmac32-cpufreq.c332 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) in do_set_cpu_speed() argument
337 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()
/linux-6.6.21/drivers/i2c/busses/
Di2c-hisi.c406 u32 reg, sda_hold_cnt, speed_mode; in hisi_i2c_configure_bus() local
413 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()
/linux-6.6.21/sound/soc/codecs/
Dcs42l51.c341 unsigned char speed_mode; member
447 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()
Dcs4270.c186 u8 speed_mode; member
356 reg |= cs4270_mode_ratios[i].speed_mode; in cs4270_hw_params()
Dcs4271.c302 u8 speed_mode; /* codec speed mode: 1x, 2x, 4x */ member
388 (cs4271_clk_tab[i].speed_mode == val) && in cs4271_hw_params()
/linux-6.6.21/drivers/pci/hotplug/
Dshpchp_hpc.c622 u8 speed_mode = (pi == 2) ? (sec_bus_reg & 0xF) : (sec_bus_reg & 0x7); in shpc_get_cur_bus_speed() local
624 if ((pi == 1) && (speed_mode > 4)) { in shpc_get_cur_bus_speed()
629 switch (speed_mode) { in shpc_get_cur_bus_speed()
/linux-6.6.21/drivers/net/phy/
Dmotorcomm.c1180 int speed_mode, duplex; in yt8521_adjust_status() local
1190 speed_mode = (status & YTPHY_SSR_SPEED_MODE_MASK) >> in yt8521_adjust_status()
1193 switch (speed_mode) { in yt8521_adjust_status()