Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_dfs.c394 struct mt76x02_dfs_event_rb *event_buff = &dfs_pd->event_rb[1]; in mt76x02_dfs_check_event() local
398 last_event_idx = mt76_decr(event_buff->t_rb, in mt76x02_dfs_check_event()
400 delta_ts = event->ts - event_buff->data[last_event_idx].ts; in mt76x02_dfs_check_event()
402 event_buff->data[last_event_idx].width >= 200) in mt76x02_dfs_check_event()
412 struct mt76x02_dfs_event_rb *event_buff; in mt76x02_dfs_queue_event() local
415 event_buff = event->engine == 2 ? &dfs_pd->event_rb[1] in mt76x02_dfs_queue_event()
417 event_buff->data[event_buff->t_rb] = *event; in mt76x02_dfs_queue_event()
418 event_buff->data[event_buff->t_rb].fetch_ts = jiffies; in mt76x02_dfs_queue_event()
420 event_buff->t_rb = mt76_incr(event_buff->t_rb, MT_DFS_EVENT_BUFLEN); in mt76x02_dfs_queue_event()
421 if (event_buff->t_rb == event_buff->h_rb) in mt76x02_dfs_queue_event()
[all …]