Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c33 int n_reqs; member
43 if (WARN(pi->n_reqs == BRCMF_PNO_MAX_BUCKETS, in brcmf_pno_store_request()
49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request()
61 if (pi->n_reqs == 0) in brcmf_pno_remove_request()
65 for (i = 0; i < pi->n_reqs; i++) { in brcmf_pno_remove_request()
70 if (WARN(i == pi->n_reqs, "reqid not found\n")) { in brcmf_pno_remove_request()
76 pi->n_reqs--; in brcmf_pno_remove_request()
79 if (!pi->n_reqs || i == pi->n_reqs) in brcmf_pno_remove_request()
83 while (i <= pi->n_reqs - 1) { in brcmf_pno_remove_request()
163 for (i = 0; i < pi->n_reqs; i++) in brcmf_pno_set_random()
[all …]
/linux-5.19.10/drivers/media/usb/gspca/
Ddtcs033.c51 const struct dtcs033_usb_requests *preqs, int n_reqs) in reg_reqs() argument
56 while ((i < n_reqs) && (gspca_dev->usb_err >= 0)) { in reg_reqs()
66 i, n_reqs); in reg_reqs()
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Duser_sdma.h85 atomic_t n_reqs; member
Duser_sdma.c150 atomic_set(&pq->n_reqs, 0); in hfi1_user_sdma_alloc_queues()
256 !atomic_read(&pq->n_reqs)); in hfi1_user_sdma_free_queues()
394 atomic_inc(&pq->n_reqs); in hfi1_user_sdma_process_request()
1398 if (atomic_dec_and_test(&pq->n_reqs)) in pq_update()
Dfile_ops.c284 if (atomic_read(&pq->n_reqs) == pq->n_max_reqs) { in hfi1_write_iter()