Searched refs:speed_mode (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/cpufreq/ |
D | pmac64-cpufreq.c | 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() 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 …]
|
D | maple-cpufreq.c | 77 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()
|
D | pmac32-cpufreq.c | 333 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) in do_set_cpu_speed() argument 338 if (speed_mode == CPUFREQ_LOW && in do_set_cpu_speed() 346 set_speed_proc(speed_mode == CPUFREQ_LOW); in do_set_cpu_speed() 347 if (speed_mode == CPUFREQ_HIGH && in do_set_cpu_speed() 353 cur_freq = (speed_mode == CPUFREQ_HIGH) ? hi_freq : low_freq; in do_set_cpu_speed()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-hisi.c | 417 u32 reg, sda_hold_cnt, speed_mode; in hisi_i2c_configure_bus() local 424 speed_mode = HISI_I2C_FAST_SPEED_MODE; in hisi_i2c_configure_bus() 428 speed_mode = HISI_I2C_HIGH_SPEED_MODE; in hisi_i2c_configure_bus() 433 speed_mode = HISI_I2C_STD_SPEED_MODE; in hisi_i2c_configure_bus() 443 reg |= FIELD_PREP(HISI_I2C_FRAME_CTRL_SPEED_MODE, speed_mode); in hisi_i2c_configure_bus()
|
D | i2c-nomadik.c | 1045 unsigned int mask, speed_mode; in nmk_i2c_eyeq5_probe() local 1058 speed_mode = I2C_EYEQ5_SPEED_FAST; in nmk_i2c_eyeq5_probe() 1060 speed_mode = I2C_EYEQ5_SPEED_FAST_PLUS; in nmk_i2c_eyeq5_probe() 1062 speed_mode = I2C_EYEQ5_SPEED_HIGH_SPEED; in nmk_i2c_eyeq5_probe() 1066 mask, speed_mode << __fls(mask)); in nmk_i2c_eyeq5_probe()
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs42l51.c | 341 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()
|
D | cs4270.c | 186 u8 speed_mode; member 356 reg |= cs4270_mode_ratios[i].speed_mode; in cs4270_hw_params()
|
D | cs4271.c | 298 u8 speed_mode; /* codec speed mode: 1x, 2x, 4x */ member 384 (cs4271_clk_tab[i].speed_mode == val) && in cs4271_hw_params()
|
/linux-6.12.1/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 621 u8 speed_mode = (pi == 2) ? (sec_bus_reg & 0xF) : (sec_bus_reg & 0x7); in shpc_get_cur_bus_speed() local 623 if ((pi == 1) && (speed_mode > 4)) { in shpc_get_cur_bus_speed() 628 switch (speed_mode) { in shpc_get_cur_bus_speed()
|
/linux-6.12.1/drivers/net/phy/ |
D | motorcomm.c | 1257 int speed_mode, duplex; in yt8521_adjust_status() local 1267 speed_mode = status & YTPHY_SSR_SPEED_MASK; in yt8521_adjust_status() 1269 switch (speed_mode) { in yt8521_adjust_status() 2709 int speed_mode; in yt8821_adjust_status() local 2712 speed_mode = val & YTPHY_SSR_SPEED_MASK; in yt8821_adjust_status() 2713 switch (speed_mode) { in yt8821_adjust_status()
|
/linux-6.12.1/sound/usb/ |
D | quirks.c | 1807 int speed_mode; in rme_digiface_set_format_quirk() local 1819 speed_mode = (id >> 2) + 2; in rme_digiface_set_format_quirk() 1820 val = (id << 3) | (speed_mode << 12); in rme_digiface_set_format_quirk()
|