/Linux-v5.4/drivers/media/pci/solo6x10/ |
D | solo6x10-p2m.c | 57 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()
|
D | solo6x10.h | 352 int desc_cnt);
|
/Linux-v5.4/drivers/dma/ |
D | altera-msgdma.c | 336 u32 desc_cnt; in msgdma_prep_memcpy() local 339 desc_cnt = DIV_ROUND_UP(len, MSGDMA_MAX_TRANS_LEN); in msgdma_prep_memcpy() 342 if (desc_cnt > mdev->desc_free_cnt) { in msgdma_prep_memcpy() 347 mdev->desc_free_cnt -= desc_cnt; in msgdma_prep_memcpy() 396 u32 desc_cnt = 0, i; in msgdma_prep_slave_sg() local 402 desc_cnt += DIV_ROUND_UP(sg_dma_len(sg), MSGDMA_MAX_TRANS_LEN); in msgdma_prep_slave_sg() 405 if (desc_cnt > mdev->desc_free_cnt) { in msgdma_prep_slave_sg() 410 mdev->desc_free_cnt -= desc_cnt; in msgdma_prep_slave_sg()
|
/Linux-v5.4/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 434 u8 desc_cnt; in rtl8188eu_xmitframe_complete() local 475 desc_cnt = 0; in rtl8188eu_xmitframe_complete() 478 desc_cnt++; in rtl8188eu_xmitframe_complete() 480 desc_cnt = 0; in rtl8188eu_xmitframe_complete() 553 desc_cnt++; in rtl8188eu_xmitframe_complete() 554 if (desc_cnt == adapt->HalData->UsbTxAggDescNum) in rtl8188eu_xmitframe_complete() 557 desc_cnt = 0; in rtl8188eu_xmitframe_complete()
|
/Linux-v5.4/drivers/ide/ |
D | ide-floppy_ioctl.c | 44 u8 pc_buf[256], header_len, desc_cnt; in ide_floppy_get_format_capacities() local 60 desc_cnt = header_len / 8; /* capacity descriptor of 8 bytes */ in ide_floppy_get_format_capacities() 70 for (i = 1; i < desc_cnt; i++) { in ide_floppy_get_format_capacities()
|
D | ide-floppy.c | 384 u8 pc_buf[256], header_len, desc_cnt; in ide_floppy_get_capacity() local 402 desc_cnt = header_len / 8; /* capacity descriptor of 8 bytes */ in ide_floppy_get_capacity() 404 for (i = 0; i < desc_cnt; i++) { in ide_floppy_get_capacity()
|
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 1118 static inline int nicvf_get_sq_desc(struct snd_queue *sq, int desc_cnt) in nicvf_get_sq_desc() argument 1124 atomic_sub(desc_cnt, &sq->free_cnt); in nicvf_get_sq_desc() 1126 sq->xdp_free_cnt -= desc_cnt; in nicvf_get_sq_desc() 1127 sq->tail += desc_cnt; in nicvf_get_sq_desc() 1135 int qentry, int desc_cnt) in nicvf_rollback_sq_desc() argument 1138 atomic_add(desc_cnt, &sq->free_cnt); in nicvf_rollback_sq_desc() 1142 void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt) in nicvf_put_sq_desc() argument 1145 atomic_add(desc_cnt, &sq->free_cnt); in nicvf_put_sq_desc() 1147 sq->xdp_free_cnt += desc_cnt; in nicvf_put_sq_desc() 1148 sq->head += desc_cnt; in nicvf_put_sq_desc() [all …]
|
D | nicvf_queues.h | 340 void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt);
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1082 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() 1397 WARN_ON(desc_cnt > 1); in qlcnic_process_rcv_ring() 1404 for (; desc_cnt > 0; desc_cnt--) { in qlcnic_process_rcv_ring() 1541 int ring, opcode, desc_cnt; in qlcnic_82xx_process_rcv_ring_diag() local 1551 desc_cnt = qlcnic_get_sts_desc_cnt(sts_data0); in qlcnic_82xx_process_rcv_ring_diag() [all …]
|
/Linux-v5.4/drivers/staging/kpc2000/kpc_dma/ |
D | dma.c | 85 int setup_dma_engine(struct kpc_dma_device *eng, u32 desc_cnt) in setup_dma_engine() argument 106 eng->desc_pool_cnt = desc_cnt; in setup_dma_engine()
|
D | kpc_dma_driver.h | 214 int setup_dma_engine(struct kpc_dma_device *eng, u32 desc_cnt);
|
/Linux-v5.4/drivers/net/ethernet/google/gve/ |
D | gve_desc.h | 28 u8 desc_cnt; /* Total descriptors for this packet */ member
|
D | gve_tx.c | 355 int l4_hdr_offset, u32 desc_cnt, in gve_tx_fill_pkt_desc() argument 372 pkt_desc->pkt.desc_cnt = desc_cnt; in gve_tx_fill_pkt_desc()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 1426 netxen_handle_fw_message(int desc_cnt, int index, in netxen_handle_fw_message() argument 1433 while (desc_cnt > 0 && i < 8) { in netxen_handle_fw_message() 1439 desc_cnt--; in netxen_handle_fw_message() 1660 int opcode, ring = 0, desc_cnt; in netxen_process_rcv_ring() local 1669 desc_cnt = netxen_get_sts_desc_cnt(sts_data0); in netxen_process_rcv_ring() 1688 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-v5.4/drivers/mmc/host/ |
D | wmt-sdmmc.c | 574 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-v5.4/drivers/dma/xilinx/ |
D | zynqmp_dma.c | 808 u32 desc_cnt; in zynqmp_dma_prep_memcpy() local 813 desc_cnt = DIV_ROUND_UP(len, ZYNQMP_DMA_MAX_TRANS_LEN); in zynqmp_dma_prep_memcpy() 816 if (desc_cnt > chan->desc_free_cnt) { in zynqmp_dma_prep_memcpy() 821 chan->desc_free_cnt = chan->desc_free_cnt - desc_cnt; in zynqmp_dma_prep_memcpy()
|
/Linux-v5.4/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 1152 u32 desc_cnt = 0; in fcoe_ctlr_recv_els() local 1165 desc_cnt++; in fcoe_ctlr_recv_els() 1182 if (desc_cnt == 1) { in fcoe_ctlr_recv_els() 1195 if (desc_cnt == 2) in fcoe_ctlr_recv_els() 1203 if ((desc_cnt == 3) && (sel)) in fcoe_ctlr_recv_els() 1212 if (desc_cnt != 1) { in fcoe_ctlr_recv_els() 1232 if (desc_cnt <= 2) { in fcoe_ctlr_recv_els() 1268 if ((desc_cnt == 0) || ((els_op != ELS_LS_RJT) && in fcoe_ctlr_recv_els()
|
/Linux-v5.4/drivers/staging/rts5208/ |
D | rtsx_scsi.c | 975 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-v5.4/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 1167 int desc_cnt = 0; in wil_tx_sring_handler() local 1283 desc_cnt++; in wil_tx_sring_handler() 1307 if (desc_cnt) in wil_tx_sring_handler() 1314 return desc_cnt; in wil_tx_sring_handler()
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 684 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-v5.4/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 297 u32 port_idx, u32 desc_cnt) in hns_rcb_set_port_desc_cnt() argument 300 desc_cnt); in hns_rcb_set_port_desc_cnt()
|
/Linux-v5.4/drivers/net/ethernet/cadence/ |
D | macb_main.c | 1776 unsigned int desc_cnt, nr_frags, frag_size, f; in macb_start_xmit() local 1825 desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; in macb_start_xmit() 1827 desc_cnt = DIV_ROUND_UP(skb_headlen(skb), bp->max_tx_length); in macb_start_xmit() 1831 desc_cnt += DIV_ROUND_UP(frag_size, bp->max_tx_length); in macb_start_xmit() 1838 bp->tx_ring_size) < desc_cnt) { in macb_start_xmit()
|