Lines Matching refs:chan_survey
1257 struct rt2x00_chan_survey *chan_survey =
1258 &rt2x00dev->chan_survey[chan->hw_value];
1260 chan_survey->time_idle += rt2800_register_read(rt2x00dev, CH_IDLE_STA);
1261 chan_survey->time_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA);
1262 chan_survey->time_ext_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA_SEC);
11887 rt2x00dev->chan_survey =
11890 if (!rt2x00dev->chan_survey) {
12284 struct rt2x00_chan_survey *chan_survey =
12285 &rt2x00dev->chan_survey[idx];
12305 survey->time = div_u64(chan_survey->time_idle + chan_survey->time_busy, 1000);
12306 survey->time_busy = div_u64(chan_survey->time_busy, 1000);
12307 survey->time_ext_busy = div_u64(chan_survey->time_ext_busy, 1000);