Home
last modified time | relevance | path

Searched refs:sample_idx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/platform/chrome/ !
Dcros_ec_sensorhub_ring.c555 int batch_len, sample_idx; in cros_ec_sensor_ring_spread_add() local
589 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()
/linux-6.1.9/net/mac80211/ !
Drc80211_minstrel_ht.c1603 u16 sample_idx; in minstrel_ht_get_rate() local
1621 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()