desc_cnt 336 drivers/dma/altera-msgdma.c u32 desc_cnt; desc_cnt 339 drivers/dma/altera-msgdma.c desc_cnt = DIV_ROUND_UP(len, MSGDMA_MAX_TRANS_LEN); desc_cnt 342 drivers/dma/altera-msgdma.c if (desc_cnt > mdev->desc_free_cnt) { desc_cnt 347 drivers/dma/altera-msgdma.c mdev->desc_free_cnt -= desc_cnt; desc_cnt 396 drivers/dma/altera-msgdma.c u32 desc_cnt = 0, i; desc_cnt 402 drivers/dma/altera-msgdma.c desc_cnt += DIV_ROUND_UP(sg_dma_len(sg), MSGDMA_MAX_TRANS_LEN); desc_cnt 405 drivers/dma/altera-msgdma.c if (desc_cnt > mdev->desc_free_cnt) { desc_cnt 410 drivers/dma/altera-msgdma.c mdev->desc_free_cnt -= desc_cnt; desc_cnt 808 drivers/dma/xilinx/zynqmp_dma.c u32 desc_cnt; desc_cnt 813 drivers/dma/xilinx/zynqmp_dma.c desc_cnt = DIV_ROUND_UP(len, ZYNQMP_DMA_MAX_TRANS_LEN); desc_cnt 816 drivers/dma/xilinx/zynqmp_dma.c if (desc_cnt > chan->desc_free_cnt) { desc_cnt 821 drivers/dma/xilinx/zynqmp_dma.c chan->desc_free_cnt = chan->desc_free_cnt - desc_cnt; desc_cnt 384 drivers/ide/ide-floppy.c u8 pc_buf[256], header_len, desc_cnt; desc_cnt 402 drivers/ide/ide-floppy.c desc_cnt = header_len / 8; /* capacity descriptor of 8 bytes */ desc_cnt 404 drivers/ide/ide-floppy.c for (i = 0; i < desc_cnt; i++) { desc_cnt 44 drivers/ide/ide-floppy_ioctl.c u8 pc_buf[256], header_len, desc_cnt; desc_cnt 60 drivers/ide/ide-floppy_ioctl.c desc_cnt = header_len / 8; /* capacity descriptor of 8 bytes */ desc_cnt 70 drivers/ide/ide-floppy_ioctl.c for (i = 1; i < desc_cnt; i++) { desc_cnt 57 drivers/media/pci/solo6x10/solo6x10-p2m.c int desc_cnt) desc_cnt 77 drivers/media/pci/solo6x10/solo6x10-p2m.c if (desc_cnt > 1 && solo_dev->type != SOLO_DEV_6110 && desc_mode) { desc_cnt 83 drivers/media/pci/solo6x10/solo6x10-p2m.c solo_reg_write(solo_dev, SOLO_P2M_DESC_ID(p2m_id), desc_cnt); desc_cnt 88 drivers/media/pci/solo6x10/solo6x10-p2m.c p2m_dev->desc_count = desc_cnt; desc_cnt 116 drivers/media/pci/solo6x10/solo6x10-p2m.c if (desc_cnt > 1 && solo_dev->type != SOLO_DEV_6110 && config) desc_cnt 352 drivers/media/pci/solo6x10/solo6x10.h int desc_cnt); desc_cnt 574 drivers/mmc/host/wmt-sdmmc.c int desc_cnt; desc_cnt 634 drivers/mmc/host/wmt-sdmmc.c desc_cnt = 0; desc_cnt 643 drivers/mmc/host/wmt-sdmmc.c desc_cnt++; desc_cnt 646 drivers/mmc/host/wmt-sdmmc.c if (desc_cnt == req->data->blocks) desc_cnt 1782 drivers/net/ethernet/cadence/macb_main.c unsigned int desc_cnt, nr_frags, frag_size, f; desc_cnt 1831 drivers/net/ethernet/cadence/macb_main.c desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; desc_cnt 1833 drivers/net/ethernet/cadence/macb_main.c desc_cnt = DIV_ROUND_UP(skb_headlen(skb), bp->max_tx_length); desc_cnt 1837 drivers/net/ethernet/cadence/macb_main.c desc_cnt += DIV_ROUND_UP(frag_size, bp->max_tx_length); desc_cnt 1844 drivers/net/ethernet/cadence/macb_main.c bp->tx_ring_size) < desc_cnt) { desc_cnt 1118 drivers/net/ethernet/cavium/thunder/nicvf_queues.c static inline int nicvf_get_sq_desc(struct snd_queue *sq, int desc_cnt) desc_cnt 1124 drivers/net/ethernet/cavium/thunder/nicvf_queues.c atomic_sub(desc_cnt, &sq->free_cnt); desc_cnt 1126 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->xdp_free_cnt -= desc_cnt; desc_cnt 1127 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->tail += desc_cnt; desc_cnt 1135 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qentry, int desc_cnt) desc_cnt 1138 drivers/net/ethernet/cavium/thunder/nicvf_queues.c atomic_add(desc_cnt, &sq->free_cnt); desc_cnt 1142 drivers/net/ethernet/cavium/thunder/nicvf_queues.c void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt) desc_cnt 1145 drivers/net/ethernet/cavium/thunder/nicvf_queues.c atomic_add(desc_cnt, &sq->free_cnt); desc_cnt 1147 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->xdp_free_cnt += desc_cnt; desc_cnt 1148 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->head += desc_cnt; desc_cnt 1466 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int sq_num, int desc_cnt) desc_cnt 1480 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq_num, desc_cnt); desc_cnt 1490 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int seg_subdescs = 0, desc_cnt = 0; desc_cnt 1537 drivers/net/ethernet/cavium/thunder/nicvf_queues.c desc_cnt += seg_subdescs; desc_cnt 1542 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_sq_doorbell(nic, skb, sq_num, desc_cnt); desc_cnt 340 drivers/net/ethernet/cavium/thunder/nicvf_queues.h void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt); desc_cnt 28 drivers/net/ethernet/google/gve/gve_desc.h u8 desc_cnt; /* Total descriptors for this packet */ desc_cnt 355 drivers/net/ethernet/google/gve/gve_tx.c int l4_hdr_offset, u32 desc_cnt, desc_cnt 372 drivers/net/ethernet/google/gve/gve_tx.c pkt_desc->pkt.desc_cnt = desc_cnt; desc_cnt 297 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c u32 port_idx, u32 desc_cnt) desc_cnt 300 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c desc_cnt); desc_cnt 1426 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c netxen_handle_fw_message(int desc_cnt, int index, desc_cnt 1433 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c while (desc_cnt > 0 && i < 8) { desc_cnt 1439 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c desc_cnt--; desc_cnt 1660 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c int opcode, ring = 0, desc_cnt; desc_cnt 1669 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c desc_cnt = netxen_get_sts_desc_cnt(sts_data0); desc_cnt 1688 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c netxen_handle_fw_message(desc_cnt, consumer, sds_ring); desc_cnt 1693 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c WARN_ON(desc_cnt > 1); desc_cnt 1699 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c for (; desc_cnt > 0; desc_cnt--) { desc_cnt 1082 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static void qlcnic_handle_fw_message(int desc_cnt, int index, desc_cnt 1091 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c while (desc_cnt > 0 && i < 8) { desc_cnt 1097 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c desc_cnt--; desc_cnt 1364 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int opcode, desc_cnt, count = 0; desc_cnt 1376 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c desc_cnt = qlcnic_get_sts_desc_cnt(sts_data0); desc_cnt 1393 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); desc_cnt 1397 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c WARN_ON(desc_cnt > 1); desc_cnt 1404 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c for (; desc_cnt > 0; desc_cnt--) { desc_cnt 1541 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int ring, opcode, desc_cnt; desc_cnt 1551 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c desc_cnt = qlcnic_get_sts_desc_cnt(sts_data0); desc_cnt 1555 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); desc_cnt 1563 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c for (; desc_cnt > 0; desc_cnt--) { desc_cnt 684 drivers/net/ethernet/ti/davinci_cpdma.c int desc_cnt = desc_num; desc_cnt 709 drivers/net/ethernet/ti/davinci_cpdma.c desc_cnt -= chan->desc_num; desc_cnt 718 drivers/net/ethernet/ti/davinci_cpdma.c most_chan->desc_num += desc_cnt; desc_cnt 1168 drivers/net/wireless/ath/wil6210/txrx_edma.c int desc_cnt = 0; desc_cnt 1284 drivers/net/wireless/ath/wil6210/txrx_edma.c desc_cnt++; desc_cnt 1308 drivers/net/wireless/ath/wil6210/txrx_edma.c if (desc_cnt) desc_cnt 1315 drivers/net/wireless/ath/wil6210/txrx_edma.c return desc_cnt; desc_cnt 1152 drivers/scsi/fcoe/fcoe_ctlr.c u32 desc_cnt = 0; desc_cnt 1165 drivers/scsi/fcoe/fcoe_ctlr.c desc_cnt++; desc_cnt 1182 drivers/scsi/fcoe/fcoe_ctlr.c if (desc_cnt == 1) { desc_cnt 1195 drivers/scsi/fcoe/fcoe_ctlr.c if (desc_cnt == 2) desc_cnt 1203 drivers/scsi/fcoe/fcoe_ctlr.c if ((desc_cnt == 3) && (sel)) desc_cnt 1212 drivers/scsi/fcoe/fcoe_ctlr.c if (desc_cnt != 1) { desc_cnt 1232 drivers/scsi/fcoe/fcoe_ctlr.c if (desc_cnt <= 2) { desc_cnt 1268 drivers/scsi/fcoe/fcoe_ctlr.c if ((desc_cnt == 0) || ((els_op != ELS_LS_RJT) && desc_cnt 85 drivers/staging/kpc2000/kpc_dma/dma.c int setup_dma_engine(struct kpc_dma_device *eng, u32 desc_cnt) desc_cnt 106 drivers/staging/kpc2000/kpc_dma/dma.c eng->desc_pool_cnt = desc_cnt; desc_cnt 214 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h int setup_dma_engine(struct kpc_dma_device *eng, u32 desc_cnt); desc_cnt 434 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c u8 desc_cnt; desc_cnt 475 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c desc_cnt = 0; desc_cnt 478 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c desc_cnt++; desc_cnt 480 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c desc_cnt = 0; desc_cnt 553 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c desc_cnt++; desc_cnt 554 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c if (desc_cnt == adapt->HalData->UsbTxAggDescNum) desc_cnt 557 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c desc_cnt = 0; desc_cnt 975 drivers/staging/rts5208/rtsx_scsi.c int desc_cnt; desc_cnt 1000 drivers/staging/rts5208/rtsx_scsi.c desc_cnt = 2; desc_cnt 1003 drivers/staging/rts5208/rtsx_scsi.c desc_cnt = 1; desc_cnt 1006 drivers/staging/rts5208/rtsx_scsi.c while (desc_cnt) { desc_cnt 1014 drivers/staging/rts5208/rtsx_scsi.c if (desc_cnt == 2) desc_cnt 1024 drivers/staging/rts5208/rtsx_scsi.c if (desc_cnt == 2) desc_cnt 1034 drivers/staging/rts5208/rtsx_scsi.c desc_cnt--;