Home
last modified time | relevance | path

Searched refs:scale_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/iio/magnetometer/
Dtmag5273.c122 enum tmag5273_scale_index scale_index; member
242 data->scale_index = i; in tmag5273_write_scale()
244 if (data->scale_index == MAGN_RANGE_LOW) in tmag5273_write_scale()
343 [data->scale_index].micro; in tmag5273_read_raw()
554 data->scale_index = MAGN_RANGE_LOW; in tmag5273_chip_init()
/linux-6.6.21/drivers/soundwire/
Dbus.c1282 u8 scale_index; in sdw_slave_set_frequency() local
1345 scale_index = ilog2(scale); in sdw_slave_set_frequency()
1347 if (BIT(scale_index) != scale || scale_index > 6) { in sdw_slave_set_frequency()
1353 scale_index++; in sdw_slave_set_frequency()
1363 ret = sdw_write_no_pm(slave, SDW_SCP_BUSCLOCK_SCALE_B0, scale_index); in sdw_slave_set_frequency()
1369 ret = sdw_write_no_pm(slave, SDW_SCP_BUSCLOCK_SCALE_B1, scale_index); in sdw_slave_set_frequency()
1376 base, scale_index, mclk_freq, curr_freq); in sdw_slave_set_frequency()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c429 int scale_index, int attempts, int successes) in rs_collect_tx_data() argument
435 if (scale_index < 0 || scale_index >= IWL_RATE_COUNT) in rs_collect_tx_data()
439 window = &(tbl->win[scale_index]); in rs_collect_tx_data()
442 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data()
754 u8 scale_index, u8 ht_possible) in rs_get_lower_rate() argument
766 if (!is_legacy(tbl->lq_type) && (!ht_possible || !scale_index)) { in rs_get_lower_rate()
768 scale_index = rs_ht_to_legacy[scale_index]; in rs_get_lower_rate()
796 if (switch_to_legacy && (rate_mask & (1 << scale_index))) { in rs_get_lower_rate()
797 low = scale_index; in rs_get_lower_rate()
801 high_low = rs_get_adjacent_rate(lq_sta->drv, scale_index, rate_mask, in rs_get_lower_rate()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c637 int scale_index, int attempts, int successes, in _rs_collect_tx_data() argument
644 tpt = get_expected_tpt(tbl, scale_index); in _rs_collect_tx_data()
703 int scale_index, int attempts, int successes, in rs_collect_tpc_data() argument
712 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tpc_data()
749 int scale_index, int attempts, int successes) in rs_collect_tlc_data() argument
753 if (scale_index < 0 || scale_index >= IWL_RATE_COUNT) in rs_collect_tlc_data()
759 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tlc_data()
760 pers->tx_stats[tbl->column][scale_index].success += successes; in rs_collect_tlc_data()
766 window = &(tbl->win[scale_index]); in rs_collect_tlc_data()
767 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tlc_data()