Lines Matching refs:chan_survey
1254 struct rt2x00_chan_survey *chan_survey = in rt2800_update_survey() local
1255 &rt2x00dev->chan_survey[chan->hw_value]; in rt2800_update_survey()
1257 chan_survey->time_idle += rt2800_register_read(rt2x00dev, CH_IDLE_STA); in rt2800_update_survey()
1258 chan_survey->time_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA); in rt2800_update_survey()
1259 chan_survey->time_ext_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA_SEC); in rt2800_update_survey()
11734 rt2x00dev->chan_survey = in rt2800_probe_hw_mode()
11737 if (!rt2x00dev->chan_survey) { in rt2800_probe_hw_mode()
12129 struct rt2x00_chan_survey *chan_survey = in rt2800_get_survey() local
12130 &rt2x00dev->chan_survey[idx]; in rt2800_get_survey()
12150 survey->time = div_u64(chan_survey->time_idle + chan_survey->time_busy, 1000); in rt2800_get_survey()
12151 survey->time_busy = div_u64(chan_survey->time_busy, 1000); in rt2800_get_survey()
12152 survey->time_ext_busy = div_u64(chan_survey->time_ext_busy, 1000); in rt2800_get_survey()