Home
last modified time | relevance | path

Searched refs:t_rb (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Ddynack.c158 while (da->st_rbf.h_rb != da->st_rbf.t_rb && in ath_dynack_compute_to()
159 da->ack_rbf.h_rb != da->ack_rbf.t_rb) { in ath_dynack_compute_to()
249 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts()
250 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_dest, hdr->addr1); in ath_dynack_sample_tx_ts()
251 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_src, hdr->addr2); in ath_dynack_sample_tx_ts()
267 da->st_rbf.ts[da->st_rbf.t_rb].dur = dur; in ath_dynack_sample_tx_ts()
269 INCR(da->st_rbf.t_rb, ATH_DYN_BUF); in ath_dynack_sample_tx_ts()
270 if (da->st_rbf.t_rb == da->st_rbf.h_rb) in ath_dynack_sample_tx_ts()
275 da->st_rbf.t_rb); in ath_dynack_sample_tx_ts()
301 da->ack_rbf.tstamp[da->ack_rbf.t_rb] in ath_dynack_sample_ack_ts()
[all...]
H A Ddynack.h28 * @t_rb: ring buffer tail
32 u16 h_rb, t_rb; member
49 * @t_rb: ring buffer tail
54 u16 h_rb, t_rb; member
/kernel/linux/linux-6.6/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] in ath_dynack_sample_ack_ts()
[all...]
H A Ddynack.h28 * @t_rb: ring buffer tail
32 u16 h_rb, t_rb; member
49 * @t_rb: ring buffer tail
54 u16 h_rb, t_rb; member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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

Completed in 6 milliseconds