Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath9k/
H A Ddynack.c157 while (da->st_rbf.h_rb != da->st_rbf.t_rb && in ath_dynack_compute_to()
158 da->ack_rbf.h_rb != da->ack_rbf.t_rb) { in ath_dynack_compute_to()
248 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts()
253 memcpy(da->st_rbf.addr[da->st_rbf.t_rb].h_dest, hdr->addr1, ETH_ALEN); in ath_dynack_sample_tx_ts()
254 memcpy(da->st_rbf.addr[da->st_rbf.t_rb].h_src, hdr->addr2, ETH_ALEN); in ath_dynack_sample_tx_ts()
270 da->st_rbf.ts[da->st_rbf.t_rb].dur = dur; in ath_dynack_sample_tx_ts()
272 INCR(da->st_rbf.t_rb, ATH_DYN_BUF); in ath_dynack_sample_tx_ts()
273 if (da->st_rbf.t_rb == da->st_rbf.h_rb) in ath_dynack_sample_tx_ts()
278 da->st_rbf.t_rb); in ath_dynack_sample_tx_ts()
304 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts()
[all …]
H A Ddynack.h32 u16 h_rb, t_rb; member
54 u16 h_rb, t_rb; member
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_dfs.c217 dfs_pd->event_rb[i].t_rb = 0; in mt76x02_dfs_detector_reset()
398 last_event_idx = mt76_decr(event_buff->t_rb, in mt76x02_dfs_check_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()
441 i = mt76_decr(event_rb->t_rb, MT_DFS_EVENT_BUFLEN); in mt76x02_dfs_create_sequence()
599 while (event_buff->h_rb != event_buff->t_rb) { in mt76x02_dfs_check_event_window()
H A Dmt76x02_dfs.h72 int h_rb, t_rb; member