Home
last modified time | relevance | path

Searched refs:desc_cnt (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c57 int desc_cnt) in solo_p2m_dma_desc() argument
77 if (desc_cnt > 1 && solo_dev->type != SOLO_DEV_6110 && desc_mode) { in solo_p2m_dma_desc()
83 solo_reg_write(solo_dev, SOLO_P2M_DESC_ID(p2m_id), desc_cnt); in solo_p2m_dma_desc()
88 p2m_dev->desc_count = desc_cnt; in solo_p2m_dma_desc()
116 if (desc_cnt > 1 && solo_dev->type != SOLO_DEV_6110 && config) in solo_p2m_dma_desc()
Dsolo6x10.h352 int desc_cnt);
/linux-6.1.9/drivers/dma/
Daltera-msgdma.c339 u32 desc_cnt; in msgdma_prep_memcpy() local
342 desc_cnt = DIV_ROUND_UP(len, MSGDMA_MAX_TRANS_LEN); in msgdma_prep_memcpy()
345 if (desc_cnt > mdev->desc_free_cnt) { in msgdma_prep_memcpy()
350 mdev->desc_free_cnt -= desc_cnt; in msgdma_prep_memcpy()
399 u32 desc_cnt = 0, i; in msgdma_prep_slave_sg() local
405 desc_cnt += DIV_ROUND_UP(sg_dma_len(sg), MSGDMA_MAX_TRANS_LEN); in msgdma_prep_slave_sg()
408 if (desc_cnt > mdev->desc_free_cnt) { in msgdma_prep_slave_sg()
413 mdev->desc_free_cnt -= desc_cnt; in msgdma_prep_slave_sg()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c396 u8 desc_cnt; in rtl8188eu_xmitframe_complete() local
443 desc_cnt = 0; in rtl8188eu_xmitframe_complete()
446 desc_cnt++; in rtl8188eu_xmitframe_complete()
448 desc_cnt = 0; in rtl8188eu_xmitframe_complete()
521 desc_cnt++; in rtl8188eu_xmitframe_complete()
522 if (desc_cnt == USB_TXAGG_DESC_NUM) in rtl8188eu_xmitframe_complete()
525 desc_cnt = 0; in rtl8188eu_xmitframe_complete()
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c1119 static inline int nicvf_get_sq_desc(struct snd_queue *sq, int desc_cnt) in nicvf_get_sq_desc() argument
1125 atomic_sub(desc_cnt, &sq->free_cnt); in nicvf_get_sq_desc()
1127 sq->xdp_free_cnt -= desc_cnt; in nicvf_get_sq_desc()
1128 sq->tail += desc_cnt; in nicvf_get_sq_desc()
1136 int qentry, int desc_cnt) in nicvf_rollback_sq_desc() argument
1139 atomic_add(desc_cnt, &sq->free_cnt); in nicvf_rollback_sq_desc()
1143 void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt) in nicvf_put_sq_desc() argument
1146 atomic_add(desc_cnt, &sq->free_cnt); in nicvf_put_sq_desc()
1148 sq->xdp_free_cnt += desc_cnt; in nicvf_put_sq_desc()
1149 sq->head += desc_cnt; in nicvf_put_sq_desc()
[all …]
Dnicvf_queues.h340 void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt);
/linux-6.1.9/arch/um/drivers/
Dubd_kern.c67 int desc_cnt; member
1272 BUG_ON(i >= io_req->desc_cnt); in ubd_map_req()
1281 for (i = 0; i < io_req->desc_cnt; i++) { in ubd_map_req()
1292 int desc_cnt) in ubd_alloc_req() argument
1298 (desc_cnt * sizeof(struct io_desc)), in ubd_alloc_req()
1315 for (i = 0 ; i < desc_cnt; i++) { in ubd_alloc_req()
1341 io_req->desc_cnt = segs; in ubd_submit_request()
1586 for (i = 0; !req->error && i < req->desc_cnt; i++) in io_thread()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1082 static void qlcnic_handle_fw_message(int desc_cnt, int index, in qlcnic_handle_fw_message() argument
1091 while (desc_cnt > 0 && i < 8) { in qlcnic_handle_fw_message()
1097 desc_cnt--; in qlcnic_handle_fw_message()
1364 int opcode, desc_cnt, count = 0; in qlcnic_process_rcv_ring() local
1376 desc_cnt = qlcnic_get_sts_desc_cnt(sts_data0); in qlcnic_process_rcv_ring()
1393 qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); in qlcnic_process_rcv_ring()
1398 WARN_ON(desc_cnt > 1); in qlcnic_process_rcv_ring()
1405 for (; desc_cnt > 0; desc_cnt--) { in qlcnic_process_rcv_ring()
1542 int ring, opcode, desc_cnt; in qlcnic_82xx_process_rcv_ring_diag() local
1552 desc_cnt = qlcnic_get_sts_desc_cnt(sts_data0); in qlcnic_82xx_process_rcv_ring_diag()
[all …]
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_desc.h30 u8 desc_cnt; /* Total descriptors for this packet */ member
Dgve_tx.c378 int l4_hdr_offset, u32 desc_cnt, in gve_tx_fill_pkt_desc() argument
395 pkt_desc->pkt.desc_cnt = desc_cnt; in gve_tx_fill_pkt_desc()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1425 netxen_handle_fw_message(int desc_cnt, int index, in netxen_handle_fw_message() argument
1432 while (desc_cnt > 0 && i < 8) { in netxen_handle_fw_message()
1438 desc_cnt--; in netxen_handle_fw_message()
1659 int opcode, ring = 0, desc_cnt; in netxen_process_rcv_ring() local
1668 desc_cnt = netxen_get_sts_desc_cnt(sts_data0); in netxen_process_rcv_ring()
1687 netxen_handle_fw_message(desc_cnt, consumer, sds_ring); in netxen_process_rcv_ring()
1693 WARN_ON(desc_cnt > 1); in netxen_process_rcv_ring()
1699 for (; desc_cnt > 0; desc_cnt--) { in netxen_process_rcv_ring()
/linux-6.1.9/drivers/mmc/host/
Dwmt-sdmmc.c574 int desc_cnt; in wmt_mci_request() local
634 desc_cnt = 0; in wmt_mci_request()
643 desc_cnt++; in wmt_mci_request()
646 if (desc_cnt == req->data->blocks) in wmt_mci_request()
/linux-6.1.9/drivers/dma/xilinx/
Dzynqmp_dma.c827 u32 desc_cnt; in zynqmp_dma_prep_memcpy() local
832 desc_cnt = DIV_ROUND_UP(len, ZYNQMP_DMA_MAX_TRANS_LEN); in zynqmp_dma_prep_memcpy()
835 if (desc_cnt > chan->desc_free_cnt) { in zynqmp_dma_prep_memcpy()
840 chan->desc_free_cnt = chan->desc_free_cnt - desc_cnt; in zynqmp_dma_prep_memcpy()
/linux-6.1.9/drivers/dma/lgm/
Dlgm-dma.c203 u32 desc_cnt; /* Number of descriptors */ member
273 size_t desc_cnt; member
681 c->desc_cnt = desc_num; in ldma_chan_desc_cfg()
887 ldma_chan_desc_hw_cfg(c, c->desc_phys, c->desc_cnt); in ldma_chan_cfg()
997 ds->desc_cnt = num; in dma_alloc_desc_resource()
1034 ldma_chan_desc_hw_cfg(c, c->ds->desc_phys, c->ds->desc_cnt); in ldma_issue_pending()
/linux-6.1.9/drivers/scsi/fcoe/
Dfcoe_ctlr.c1151 u32 desc_cnt = 0; in fcoe_ctlr_recv_els() local
1164 desc_cnt++; in fcoe_ctlr_recv_els()
1181 if (desc_cnt == 1) { in fcoe_ctlr_recv_els()
1194 if (desc_cnt == 2) in fcoe_ctlr_recv_els()
1202 if ((desc_cnt == 3) && (sel)) in fcoe_ctlr_recv_els()
1211 if (desc_cnt != 1) { in fcoe_ctlr_recv_els()
1231 if (desc_cnt <= 2) { in fcoe_ctlr_recv_els()
1267 if ((desc_cnt == 0) || ((els_op != ELS_LS_RJT) && in fcoe_ctlr_recv_els()
/linux-6.1.9/drivers/staging/rts5208/
Drtsx_scsi.c975 int desc_cnt; in read_format_capacity() local
1000 desc_cnt = 2; in read_format_capacity()
1003 desc_cnt = 1; in read_format_capacity()
1006 while (desc_cnt) { in read_format_capacity()
1014 if (desc_cnt == 2) in read_format_capacity()
1024 if (desc_cnt == 2) in read_format_capacity()
1034 desc_cnt--; in read_format_capacity()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.c1166 int desc_cnt = 0; in wil_tx_sring_handler() local
1282 desc_cnt++; in wil_tx_sring_handler()
1306 if (desc_cnt) in wil_tx_sring_handler()
1313 return desc_cnt; in wil_tx_sring_handler()
/linux-6.1.9/drivers/net/ethernet/ti/
Ddavinci_cpdma.c684 int desc_cnt = desc_num; in cpdma_chan_set_descs() local
709 desc_cnt -= chan->desc_num; in cpdma_chan_set_descs()
718 most_chan->desc_num += desc_cnt; in cpdma_chan_set_descs()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c298 u32 port_idx, u32 desc_cnt) in hns_rcb_set_port_desc_cnt() argument
301 desc_cnt); in hns_rcb_set_port_desc_cnt()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_els.c3941 int desc_cnt = 0, bytes_remain; in lpfc_cmpl_els_edc() local
4019 desc_cnt); in lpfc_cmpl_els_edc()
4033 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc()
4059 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc()
4090 desc_cnt, dtag, dtag_nm); in lpfc_cmpl_els_edc()
4095 desc_cnt++; in lpfc_cmpl_els_edc()
9139 int desc_cnt = 0, bytes_remain; in lpfc_els_rcv_edc() local
9174 desc_cnt); in lpfc_els_rcv_edc()
9188 desc_cnt, bytes_remain, in lpfc_els_rcv_edc()
9214 desc_cnt, bytes_remain, in lpfc_els_rcv_edc()
[all …]
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c2242 unsigned int desc_cnt, nr_frags, frag_size, f; in macb_start_xmit() local
2289 desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; in macb_start_xmit()
2291 desc_cnt = DIV_ROUND_UP(skb_headlen(skb), bp->max_tx_length); in macb_start_xmit()
2295 desc_cnt += DIV_ROUND_UP(frag_size, bp->max_tx_length); in macb_start_xmit()
2302 bp->tx_ring_size) < desc_cnt) { in macb_start_xmit()
/linux-6.1.9/drivers/scsi/
Dscsi_transport_fc.c906 u32 desc_cnt = 0, bytes_remain; in fc_host_fpin_rcv() local
931 desc_cnt++; in fc_host_fpin_rcv()