/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);
|
/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_xmit.c | 426 u8 desc_cnt; in rtl8188eu_xmitframe_complete() local 472 desc_cnt = 0; in rtl8188eu_xmitframe_complete() 475 desc_cnt++; in rtl8188eu_xmitframe_complete() 477 desc_cnt = 0; in rtl8188eu_xmitframe_complete() 550 desc_cnt++; in rtl8188eu_xmitframe_complete() 551 if (desc_cnt == haldata->UsbTxAggDescNum) in rtl8188eu_xmitframe_complete() 554 desc_cnt = 0; in rtl8188eu_xmitframe_complete()
|
/drivers/dma/ |
D | altera-msgdma.c | 339 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()
|
/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);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1081 static void qlcnic_handle_fw_message(int desc_cnt, int index, in qlcnic_handle_fw_message() argument 1090 while (desc_cnt > 0 && i < 8) { in qlcnic_handle_fw_message() 1096 desc_cnt--; in qlcnic_handle_fw_message() 1363 int opcode, desc_cnt, count = 0; in qlcnic_process_rcv_ring() local 1375 desc_cnt = qlcnic_get_sts_desc_cnt(sts_data0); in qlcnic_process_rcv_ring() 1392 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 …]
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 1425 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()
|
/drivers/net/ethernet/google/gve/ |
D | gve_desc.h | 30 u8 desc_cnt; /* Total descriptors for this packet */ member
|
D | gve_tx.c | 369 int l4_hdr_offset, u32 desc_cnt, in gve_tx_fill_pkt_desc() argument 386 pkt_desc->pkt.desc_cnt = desc_cnt; in gve_tx_fill_pkt_desc()
|
/drivers/dma/xilinx/ |
D | zynqmp_dma.c | 813 u32 desc_cnt; in zynqmp_dma_prep_memcpy() local 818 desc_cnt = DIV_ROUND_UP(len, ZYNQMP_DMA_MAX_TRANS_LEN); in zynqmp_dma_prep_memcpy() 821 if (desc_cnt > chan->desc_free_cnt) { in zynqmp_dma_prep_memcpy() 826 chan->desc_free_cnt = chan->desc_free_cnt - desc_cnt; in zynqmp_dma_prep_memcpy()
|
/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()
|
/drivers/dma/lgm/ |
D | lgm-dma.c | 203 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()
|
/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 1154 u32 desc_cnt = 0; in fcoe_ctlr_recv_els() local 1167 desc_cnt++; in fcoe_ctlr_recv_els() 1184 if (desc_cnt == 1) { in fcoe_ctlr_recv_els() 1197 if (desc_cnt == 2) in fcoe_ctlr_recv_els() 1205 if ((desc_cnt == 3) && (sel)) in fcoe_ctlr_recv_els() 1214 if (desc_cnt != 1) { in fcoe_ctlr_recv_els() 1234 if (desc_cnt <= 2) { in fcoe_ctlr_recv_els() 1270 if ((desc_cnt == 0) || ((els_op != ELS_LS_RJT) && in fcoe_ctlr_recv_els()
|
/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()
|
/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 1166 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()
|
/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()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 298 u32 port_idx, u32 desc_cnt) in hns_rcb_set_port_desc_cnt() argument 301 desc_cnt); in hns_rcb_set_port_desc_cnt()
|
/drivers/scsi/lpfc/ |
D | lpfc_els.c | 3872 int desc_cnt = 0, bytes_remain; in lpfc_cmpl_els_edc() local 3938 desc_cnt); in lpfc_cmpl_els_edc() 3952 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 3978 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4009 desc_cnt, dtag, dtag_nm); in lpfc_cmpl_els_edc() 4014 desc_cnt++; in lpfc_cmpl_els_edc() 8781 int desc_cnt = 0, bytes_remain; in lpfc_els_rcv_edc() local 8814 desc_cnt); in lpfc_els_rcv_edc() 8828 desc_cnt, bytes_remain, in lpfc_els_rcv_edc() 8843 desc_cnt, bytes_remain, in lpfc_els_rcv_edc() [all …]
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 2212 unsigned int desc_cnt, nr_frags, frag_size, f; in macb_start_xmit() local 2259 desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; in macb_start_xmit() 2261 desc_cnt = DIV_ROUND_UP(skb_headlen(skb), bp->max_tx_length); in macb_start_xmit() 2265 desc_cnt += DIV_ROUND_UP(frag_size, bp->max_tx_length); in macb_start_xmit() 2272 bp->tx_ring_size) < desc_cnt) { in macb_start_xmit()
|
/drivers/scsi/ |
D | scsi_transport_fc.c | 904 u32 desc_cnt = 0, bytes_remain; in fc_host_fpin_rcv() local 929 desc_cnt++; in fc_host_fpin_rcv()
|