Home
last modified time | relevance | path

Searched refs:target_speed (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/i2c/busses/
Di2c-mt65xx.c626 static int mtk_i2c_max_step_cnt(unsigned int target_speed) in mtk_i2c_max_step_cnt() argument
628 if (target_speed > I2C_MAX_FAST_MODE_PLUS_FREQ) in mtk_i2c_max_step_cnt()
774 unsigned int target_speed, in mtk_i2c_calculate_speed() argument
789 if (target_speed > I2C_MAX_HIGH_SPEED_MODE_FREQ) in mtk_i2c_calculate_speed()
790 target_speed = I2C_MAX_HIGH_SPEED_MODE_FREQ; in mtk_i2c_calculate_speed()
792 max_step_cnt = mtk_i2c_max_step_cnt(target_speed); in mtk_i2c_calculate_speed()
795 opt_div = DIV_ROUND_UP(clk_src >> 1, target_speed); in mtk_i2c_calculate_speed()
813 target_speed, step_cnt - 1, sample_cnt - 1); in mtk_i2c_calculate_speed()
832 target_speed) { in mtk_i2c_calculate_speed()
836 dev_dbg(i2c->dev, "Unsupported speed (%uhz)\n", target_speed); in mtk_i2c_calculate_speed()
[all …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dpcie.c954 u16 target_vector, target_speed; in do_pcie_gen3_transition() local
969 target_speed = 2500; in do_pcie_gen3_transition()
972 target_speed = 5000; in do_pcie_gen3_transition()
975 target_speed = 8000; in do_pcie_gen3_transition()
983 if (dd->lbus_speed == target_speed) { in do_pcie_gen3_transition()
1372 if (dd->lbus_speed != target_speed || in do_pcie_gen3_transition()
/linux-6.1.9/drivers/hwmon/
Dnct6775.h141 u32 target_speed[NUM_FAN]; member
Dw83795.c368 u16 target_speed[8]; /* member
547 for (i = 0; i < ARRAY_SIZE(data->target_speed); i++) { in w83795_update_pwm_config()
548 data->target_speed[i] = in w83795_update_pwm_config()
550 data->target_speed[i] |= in w83795_update_pwm_config()
1137 tmp = fan_from_reg(data->target_speed[index]); in show_fanin()
1168 data->target_speed[index] = val; in store_fanin()
Dnct6775-core.c1415 if (!data->target_speed[i] || in nct6775_update_pwm_limits()
1423 data->target_speed[i] = reg_t; in nct6775_update_pwm_limits()
2528 data->target_speed[nr] & 0xff); in pwm_update_registers()
2532 reg = (data->target_speed[nr] >> 8) & 0x0f; in pwm_update_registers()
2800 fan_from_reg16(data->target_speed[nr], in show_target_speed()
2823 data->target_speed[nr] = speed; in store_target_speed()
2891 target = data->target_speed[nr]; in show_speed_tolerance()
2926 high = fan_from_reg16(data->target_speed[nr], data->fan_div[nr]) + val; in store_speed_tolerance()
2927 low = fan_from_reg16(data->target_speed[nr], data->fan_div[nr]) - val; in store_speed_tolerance()
/linux-6.1.9/sound/pci/rme9652/
Dhdspm.c1634 int current_speed, target_speed; in hdspm_set_rate() local
1694 target_speed = HDSPM_SPEED_SINGLE; in hdspm_set_rate()
1696 target_speed = HDSPM_SPEED_DOUBLE; in hdspm_set_rate()
1698 target_speed = HDSPM_SPEED_QUAD; in hdspm_set_rate()
1732 if (current_speed != target_speed in hdspm_set_rate()
1737 hdspm_speed_names[target_speed], in hdspm_set_rate()