/linux/drivers/media/pci/solo6x10/ |
A 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()
|
A D | solo6x10.h | 352 int desc_cnt);
|
/linux/drivers/staging/r8188eu/hal/ |
A D | rtl8188eu_xmit.c | 400 u8 desc_cnt; in rtl8188eu_xmitframe_complete() local 442 desc_cnt = 0; in rtl8188eu_xmitframe_complete() 445 desc_cnt++; in rtl8188eu_xmitframe_complete() 447 desc_cnt = 0; in rtl8188eu_xmitframe_complete() 520 desc_cnt++; in rtl8188eu_xmitframe_complete() 521 if (desc_cnt == haldata->UsbTxAggDescNum) in rtl8188eu_xmitframe_complete() 524 desc_cnt = 0; in rtl8188eu_xmitframe_complete()
|
/linux/drivers/dma/ |
A 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()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_queues.c | 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() 1147 sq->xdp_free_cnt += desc_cnt; in nicvf_put_sq_desc() 1148 sq->head += desc_cnt; in nicvf_put_sq_desc() 1465 int sq_num, int desc_cnt) in nicvf_sq_doorbell() argument 1479 sq_num, desc_cnt); in nicvf_sq_doorbell() 1489 int seg_subdescs = 0, desc_cnt = 0; in nicvf_sq_append_tso() local [all …]
|
A D | nicvf_queues.h | 340 void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt);
|
/linux/arch/um/drivers/ |
A D | ubd_kern.c | 67 int desc_cnt; member 1275 BUG_ON(i >= io_req->desc_cnt); in ubd_map_req() 1284 for (i = 0; i < io_req->desc_cnt; i++) { in ubd_map_req() 1295 int desc_cnt) in ubd_alloc_req() argument 1301 (desc_cnt * sizeof(struct io_desc)), in ubd_alloc_req() 1318 for (i = 0 ; i < desc_cnt; i++) { in ubd_alloc_req() 1344 io_req->desc_cnt = segs; in ubd_submit_request() 1583 for (i = 0; !req->error && i < req->desc_cnt; i++) in io_thread()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_io.c | 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() 1555 qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); in qlcnic_82xx_process_rcv_ring_diag() [all …]
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
A 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()
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_desc.h | 30 u8 desc_cnt; /* Total descriptors for this packet */ member
|
A D | gve_tx.c | 375 int l4_hdr_offset, u32 desc_cnt, in gve_tx_fill_pkt_desc() argument 392 pkt_desc->pkt.desc_cnt = desc_cnt; in gve_tx_fill_pkt_desc()
|
/linux/drivers/dma/xilinx/ |
A D | zynqmp_dma.c | 815 u32 desc_cnt; in zynqmp_dma_prep_memcpy() local 820 desc_cnt = DIV_ROUND_UP(len, ZYNQMP_DMA_MAX_TRANS_LEN); in zynqmp_dma_prep_memcpy() 823 if (desc_cnt > chan->desc_free_cnt) { in zynqmp_dma_prep_memcpy() 828 chan->desc_free_cnt = chan->desc_free_cnt - desc_cnt; in zynqmp_dma_prep_memcpy()
|
/linux/drivers/mmc/host/ |
A 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/drivers/dma/lgm/ |
A 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()
|
/linux/drivers/scsi/fcoe/ |
A 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()
|
/linux/drivers/staging/rts5208/ |
A 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/drivers/net/wireless/ath/wil6210/ |
A 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()
|
/linux/drivers/net/ethernet/ti/ |
A 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/drivers/net/ethernet/hisilicon/hns/ |
A 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()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_els.c | 3970 desc_cnt); in lpfc_cmpl_els_edc() 3984 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4010 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4041 desc_cnt, dtag, dtag_nm); in lpfc_cmpl_els_edc() 4046 desc_cnt++; in lpfc_cmpl_els_edc() 8840 desc_cnt); in lpfc_els_rcv_edc() 8854 desc_cnt, bytes_remain, in lpfc_els_rcv_edc() 8869 desc_cnt, bytes_remain, in lpfc_els_rcv_edc() 8897 desc_cnt++; in lpfc_els_rcv_edc() 9740 if (desc_cnt) in lpfc_els_rcv_fpin() [all …]
|
/linux/drivers/net/ethernet/cadence/ |
A D | macb_main.c | 2160 unsigned int desc_cnt, nr_frags, frag_size, f; in macb_start_xmit() local 2207 desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; in macb_start_xmit() 2209 desc_cnt = DIV_ROUND_UP(skb_headlen(skb), bp->max_tx_length); in macb_start_xmit() 2213 desc_cnt += DIV_ROUND_UP(frag_size, bp->max_tx_length); in macb_start_xmit() 2220 bp->tx_ring_size) < desc_cnt) { in macb_start_xmit()
|
/linux/drivers/scsi/ |
A D | scsi_transport_fc.c | 911 u32 desc_cnt = 0, bytes_remain; in fc_host_fpin_rcv() local 936 desc_cnt++; in fc_host_fpin_rcv()
|