Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c144 u16 n_items, u16 *alloced) in brcmf_commonring_reserve_for_write_multiple() argument
160 *alloced = min_t(u16, n_items, available - 1); in brcmf_commonring_reserve_for_write_multiple()
198 u16 n_items) in brcmf_commonring_write_cancel() argument
201 commonring->w_ptr = commonring->depth - n_items; in brcmf_commonring_write_cancel()
203 commonring->w_ptr -= n_items; in brcmf_commonring_write_cancel()
208 u16 *n_items) in brcmf_commonring_get_read_ptr() argument
213 *n_items = (commonring->w_ptr >= commonring->r_ptr) ? in brcmf_commonring_get_read_ptr()
217 if (*n_items == 0) in brcmf_commonring_get_read_ptr()
226 u16 n_items) in brcmf_commonring_read_complete() argument
228 commonring->r_ptr += n_items; in brcmf_commonring_read_complete()
Dcommonring.h49 u16 n_items, u16 *alloced);
52 u16 n_items);
54 u16 *n_items);
56 u16 n_items);
Dfirmware.c510 for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { in brcmf_fw_free_request()
648 while (ret == 0 && ++fwctx->curpos < fwctx->req->n_items) { in brcmf_fw_request_done()
682 if (!req->n_items) in brcmf_fw_request_is_valid()
685 for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { in brcmf_fw_request_is_valid()
779 fwreq->n_items = n_fwnames; in brcmf_fw_alloc_request()
Dfirmware.h68 u32 n_items; member
/drivers/net/wireless/ath/ath10k/
Dhif.h32 struct ath10k_hif_sg_item *items, int n_items);
104 int n_items) in ath10k_hif_tx_sg() argument
106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg()
Dpci.h221 struct ath10k_hif_sg_item *items, int n_items);
Dsnoc.c687 struct ath10k_hif_sg_item *items, int n_items) in ath10k_snoc_hif_tx_sg() argument
699 for (i = 0; i < n_items - 1; i++) { in ath10k_snoc_hif_tx_sg()
702 i, &items[i].paddr, items[i].len, n_items); in ath10k_snoc_hif_tx_sg()
716 i, &items[i].paddr, items[i].len, n_items); in ath10k_snoc_hif_tx_sg()
Dusb.c403 struct ath10k_hif_sg_item *items, int n_items) in ath10k_usb_hif_tx_sg() argument
412 for (i = 0; i < n_items; i++) { in ath10k_usb_hif_tx_sg()
Dpci.c1350 struct ath10k_hif_sg_item *items, int n_items) in ath10k_pci_hif_tx_sg() argument
1369 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
1374 for (i = 0; i < n_items - 1; i++) { in ath10k_pci_hif_tx_sg()
1377 i, &items[i].paddr, items[i].len, n_items); in ath10k_pci_hif_tx_sg()
1395 i, &items[i].paddr, items[i].len, n_items); in ath10k_pci_hif_tx_sg()
Dsdio.c1646 struct ath10k_hif_sg_item *items, int n_items) in ath10k_sdio_hif_tx_sg() argument
1655 for (i = 0; i < n_items; i++) { in ath10k_sdio_hif_tx_sg()
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c2523 u32 n_items = mempool->items_per_memblock; in __vxge_hw_mempool_grow() local
2548 vzalloc(array_size(mempool->items_priv_size, n_items)); in __vxge_hw_mempool_grow()
2572 for (j = 0; j < n_items; j++) { in __vxge_hw_mempool_grow()
2573 u32 index = i * n_items + j; in __vxge_hw_mempool_grow()