Home
last modified time | relevance | path

Searched refs:used_count (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ipa/
Dgsi_trans.c224 index += trans->used_count - 1; in gsi_trans_map()
388 if (!trans->used_count) { in gsi_trans_free()
410 u32 which = trans->used_count++; in gsi_trans_cmd_add()
446 if (WARN_ON(trans->used_count)) in gsi_trans_page_add()
454 trans->used_count++; /* Transaction now owns the (DMA mapped) page */ in gsi_trans_page_add()
463 u32 used_count; in gsi_trans_skb_add() local
468 if (WARN_ON(trans->used_count)) in gsi_trans_skb_add()
475 used_count = ret; in gsi_trans_skb_add()
477 ret = dma_map_sg(trans->gsi->dev, sg, used_count, trans->direction); in gsi_trans_skb_add()
482 trans->used_count += used_count; in gsi_trans_skb_add()
[all …]
Dgsi_trans.h58 u8 used_count; /* # entries used in sgl[] */ member
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c80 unsigned int used_count; /* Amount of valid data in storage area */ member
135 ccnt = bp->used_count; in pvr2_buffer_remove()
183 sp->r_bcount += bp->used_count; in pvr2_buffer_set_ready()
422 bp->used_count = 0; in buffer_complete()
434 bp->used_count = urb->actual_length; in buffer_complete()
661 return bp->used_count; in pvr2_buffer_get_count()
/linux-6.6.21/drivers/staging/media/meson/vdec/
Dvdec.h44 u32 used_count; member
Dvdec_helpers.c378 if (tmp->used_count++ >= 32) { in amvdec_dst_buf_done_offset()
/linux-6.6.21/arch/s390/include/uapi/asm/
Dvtoc.h200 __u32 used_count; /* Number of CMS blocks in use */ member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c644 rxq->used_count -= RX_CLAIM_REQ_ALLOC; in iwl_pcie_rx_allocator_get()
998 rxq->used_count = 0; in iwl_pcie_rx_init_rxb_lists()
1275 rxq->used_count++; in iwl_pcie_rx_reuse_rbd()
1282 if ((rxq->used_count % RX_CLAIM_REQ_ALLOC) == RX_POST_REQ_ALLOC) { in iwl_pcie_rx_reuse_rbd()
1576 if (rxq->used_count >= RX_CLAIM_REQ_ALLOC) in iwl_pcie_rx_handle()
1579 if (rxq->used_count % RX_CLAIM_REQ_ALLOC == 0 && !emergency) { in iwl_pcie_rx_handle()
Dinternal.h154 u32 used_count; member
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-cti-sysfs.c950 cti_sig_type_name(struct cti_trig_con *con, int used_count, bool in) in cti_sig_type_name() argument
955 if (used_count < grp->nr_sigs) in cti_sig_type_name()
956 idx = grp->sig_types[used_count]; in cti_sig_type_name()
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c2418 int used_count, int free_count) in mvpp2_rxq_status_update() argument
2423 u32 val = used_count | (free_count << MVPP2_RXQ_NUM_NEW_OFFSET); in mvpp2_rxq_status_update()