Home
last modified time | relevance | path

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

/linux-6.6.21/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.c529 for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { in brcmf_fw_free_request()
679 while (ret == 0 && ++fwctx->curpos < fwctx->req->n_items) { in brcmf_fw_request_done()
738 if (!req->n_items) in brcmf_fw_request_is_valid()
741 for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { in brcmf_fw_request_is_valid()
836 fwreq->n_items = n_fwnames; in brcmf_fw_alloc_request()
Dfirmware.h70 u32 n_items; member
/linux-6.6.21/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.c410 struct ath10k_hif_sg_item *items, int n_items) in ath10k_usb_hif_tx_sg() argument
419 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()
/linux-6.6.21/fs/hpfs/
Dnamei.c425 int n_items = 0; in hpfs_rmdir() local
444 hpfs_count_dnodes(dir->i_sb, hpfs_i(inode)->i_dno, NULL, NULL, &n_items); in hpfs_rmdir()
446 if (n_items) in hpfs_rmdir()
Ddnode.c744 int *n_subdirs, int *n_items) in hpfs_count_dnodes() argument
781 if (!de->first && !de->last && n_items) (*n_items)++; in hpfs_count_dnodes()
/linux-6.6.21/tools/perf/util/
Ddata-convert-bt.c305 unsigned int n_items; in add_tracepoint_field_value() local
341 n_items = fmtf->arraylen; in add_tracepoint_field_value()
343 n_items = 1; in add_tracepoint_field_value()
349 for (i = 0; i < n_items; i++) { in add_tracepoint_field_value()
/linux-6.6.21/tools/perf/util/scripting-engines/
Dtrace-event-python.c352 unsigned int item_size, n_items, i; in get_field_numeric_entry() local
357 n_items = field->arraylen; in get_field_numeric_entry()
360 n_items = 1; in get_field_numeric_entry()
363 for (i = 0; i < n_items; i++) { in get_field_numeric_entry()