Searched refs:sample_idx (Results 1 – 2 of 2) sorted by relevance
555 int batch_len, sample_idx; in cros_ec_sensor_ring_spread_add() local589 sample_idx = batch_len; in cros_ec_sensor_ring_spread_add()601 sample_idx = 1; in cros_ec_sensor_ring_spread_add()666 sample_period * sample_idx; in cros_ec_sensor_ring_spread_add()667 sample_idx++; in cros_ec_sensor_ring_spread_add()
1603 u16 sample_idx; in minstrel_ht_get_rate() local1621 sample_idx = minstrel_ht_get_sample_rate(mp, mi); in minstrel_ht_get_rate()1622 if (!sample_idx) in minstrel_ht_get_rate()1625 sample_group = &minstrel_mcs_groups[MI_RATE_GROUP(sample_idx)]; in minstrel_ht_get_rate()1626 sample_idx = MI_RATE_IDX(sample_idx); in minstrel_ht_get_rate()1629 (sample_idx >= 4) != txrc->short_preamble) in minstrel_ht_get_rate()1636 int idx = sample_idx % ARRAY_SIZE(mp->cck_rates); in minstrel_ht_get_rate()1639 int idx = sample_idx % ARRAY_SIZE(mp->ofdm_rates[0]); in minstrel_ht_get_rate()1642 ieee80211_rate_set_vht(rate, MI_RATE_IDX(sample_idx), in minstrel_ht_get_rate()1645 rate->idx = sample_idx + (sample_group->streams - 1) * 8; in minstrel_ht_get_rate()