Searched refs:scale_index (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/soundwire/ |
D | bus.c | 1230 u8 scale_index; in sdw_slave_set_frequency() local 1292 scale_index = ilog2(scale); in sdw_slave_set_frequency() 1294 if (BIT(scale_index) != scale || scale_index > 6) { in sdw_slave_set_frequency() 1300 scale_index++; in sdw_slave_set_frequency() 1310 ret = sdw_write_no_pm(slave, SDW_SCP_BUSCLOCK_SCALE_B0, scale_index); in sdw_slave_set_frequency() 1316 ret = sdw_write_no_pm(slave, SDW_SCP_BUSCLOCK_SCALE_B1, scale_index); in sdw_slave_set_frequency() 1323 base, scale_index, mclk_freq, curr_freq); in sdw_slave_set_frequency()
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.c | 446 int scale_index, int attempts, int successes) in rs_collect_tx_data() argument 452 if (scale_index < 0 || scale_index >= IWL_RATE_COUNT) in rs_collect_tx_data() 456 window = &(tbl->win[scale_index]); in rs_collect_tx_data() 459 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data() 771 u8 scale_index, u8 ht_possible) in rs_get_lower_rate() argument 783 if (!is_legacy(tbl->lq_type) && (!ht_possible || !scale_index)) { in rs_get_lower_rate() 785 scale_index = rs_ht_to_legacy[scale_index]; in rs_get_lower_rate() 813 if (switch_to_legacy && (rate_mask & (1 << scale_index))) { in rs_get_lower_rate() 814 low = scale_index; in rs_get_lower_rate() 818 high_low = rs_get_adjacent_rate(lq_sta->drv, scale_index, rate_mask, in rs_get_lower_rate() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.c | 637 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()
|