Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
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 …]
/Linux-v5.10/drivers/staging/ks7010/
Dks_wlan.h172 int event_buff[SME_EVENT_BUFF_SIZE]; member
Dks_hostif.c2218 hostif_sme_execute(priv, priv->sme_i.event_buff[priv->sme_i.qhead]); in hostif_sme_task()
2229 priv->sme_i.event_buff[priv->sme_i.qtail] = event; in hostif_sme_enqueue()