Searched refs:scale_index (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/soundwire/ |
A D | bus.c | 1171 u8 scale_index; in sdw_slave_set_frequency() local 1233 scale_index = ilog2(scale); in sdw_slave_set_frequency() 1235 if (BIT(scale_index) != scale || scale_index > 6) { in sdw_slave_set_frequency() 1241 scale_index++; in sdw_slave_set_frequency() 1251 ret = sdw_write_no_pm(slave, SDW_SCP_BUSCLOCK_SCALE_B0, scale_index); in sdw_slave_set_frequency() 1257 ret = sdw_write_no_pm(slave, SDW_SCP_BUSCLOCK_SCALE_B1, scale_index); in sdw_slave_set_frequency() 1264 base, scale_index, mclk_freq, curr_freq); in sdw_slave_set_frequency()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A 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/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | rs.c | 639 int scale_index, int attempts, int successes, in _rs_collect_tx_data() argument 646 tpt = get_expected_tpt(tbl, scale_index); in _rs_collect_tx_data() 705 int scale_index, int attempts, int successes, in rs_collect_tpc_data() argument 714 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tpc_data() 751 int scale_index, int attempts, int successes) in rs_collect_tlc_data() argument 755 if (scale_index < 0 || scale_index >= IWL_RATE_COUNT) in rs_collect_tlc_data() 761 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tlc_data() 762 pers->tx_stats[tbl->column][scale_index].success += successes; in rs_collect_tlc_data() 768 window = &(tbl->win[scale_index]); in rs_collect_tlc_data() 769 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tlc_data()
|
Completed in 20 milliseconds