Searched refs:xfer_count (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | rtd520.c | 363 int xfer_count; /* # to transfer data. 0->1/2FIFO */ member 654 } else if (devpriv->xfer_count > 0) { in rtd_interrupt() 657 if (ai_read_n(dev, s, devpriv->xfer_count) < 0) in rtd_interrupt() 883 devpriv->xfer_count = cmd->chanlist_len; in rtd_ai_cmd() 887 devpriv->xfer_count = in rtd_ai_cmd() 890 if (devpriv->xfer_count < cmd->chanlist_len) { in rtd_ai_cmd() 892 devpriv->xfer_count = cmd->chanlist_len; in rtd_ai_cmd() 894 devpriv->xfer_count = in rtd_ai_cmd() 895 (devpriv->xfer_count + in rtd_ai_cmd() 898 devpriv->xfer_count *= cmd->chanlist_len; in rtd_ai_cmd() [all …]
|
/linux-4.4.14/drivers/dma/ |
D | txx9dmac.c | 724 size_t xfer_count; in txx9dmac_prep_dma_memcpy() local 737 for (offset = 0; offset < len; offset += xfer_count) { in txx9dmac_prep_dma_memcpy() 738 xfer_count = min_t(size_t, len - offset, TXX9_DMA_MAX_COUNT); in txx9dmac_prep_dma_memcpy() 744 if (xfer_count > 0x100 && in txx9dmac_prep_dma_memcpy() 745 (xfer_count & 0xff) >= 0xfa && in txx9dmac_prep_dma_memcpy() 746 (xfer_count & 0xff) <= 0xff) in txx9dmac_prep_dma_memcpy() 747 xfer_count -= 0x20; in txx9dmac_prep_dma_memcpy() 749 if (xfer_count > 0x80 && in txx9dmac_prep_dma_memcpy() 750 (xfer_count & 0x7f) >= 0x7e && in txx9dmac_prep_dma_memcpy() 751 (xfer_count & 0x7f) <= 0x7f) in txx9dmac_prep_dma_memcpy() [all …]
|
D | at_hdmac.c | 721 size_t xfer_count; in atc_prep_dma_interleaved() local 760 xfer_count = len >> dwidth; in atc_prep_dma_interleaved() 761 if (xfer_count > ATC_BTSIZE_MAX) { in atc_prep_dma_interleaved() 786 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved() 820 size_t xfer_count; in atc_prep_dma_memcpy() local 849 for (offset = 0; offset < len; offset += xfer_count << src_width) { in atc_prep_dma_memcpy() 850 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy() 859 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy() 863 desc->len = xfer_count << src_width; in atc_prep_dma_memcpy() 891 size_t xfer_count; in atc_create_memset_desc() local [all …]
|
/linux-4.4.14/drivers/net/ethernet/8390/ |
D | ne.c | 633 int xfer_count = count; in ne_block_input() local 661 xfer_count++; in ne_block_input() 684 if (((ring_offset + xfer_count) & 0xff) == low) in ne_block_input() 690 ring_offset + xfer_count, addr); in ne_block_input()
|
D | pcnet_cs.c | 1159 int xfer_count = count; in dma_block_input() local 1181 buf[count-1] = inb(nic_base + PCNET_DATAPORT), xfer_count++; in dma_block_input() 1195 if (((ring_offset + xfer_count) & 0xff) == (addr & 0xff)) in dma_block_input() 1201 ring_offset + xfer_count, addr); in dma_block_input()
|
D | axnet_cs.c | 652 int xfer_count = count; in block_input() local 663 buf[count-1] = inb(nic_base + AXNET_DATAPORT), xfer_count++; in block_input()
|
/linux-4.4.14/sound/oss/ |
D | waveartist.c | 99 int xfer_count; member 452 count == devc->xfer_count) { in waveartist_output_block() 466 devc->xfer_count = count; in waveartist_output_block() 497 count == devc->xfer_count) { in waveartist_start_input() 511 devc->xfer_count = count; in waveartist_start_input() 607 devc->xfer_count = 0; in waveartist_prepare_for_input() 658 devc->xfer_count = 0; in waveartist_prepare_for_output()
|
D | ad1848.c | 73 int xfer_count; member 1053 cnt == devc->xfer_count) in ad1848_output_block() 1066 devc->xfer_count = cnt; in ad1848_output_block() 1094 cnt == devc->xfer_count) in ad1848_start_input() 1117 devc->xfer_count = cnt; in ad1848_start_input() 1178 devc->xfer_count = 0; in ad1848_prepare_for_output() 1291 devc->xfer_count = 0; in ad1848_prepare_for_input()
|
/linux-4.4.14/drivers/dma/dw/ |
D | core.c | 689 size_t xfer_count; in dwc_prep_dma_memcpy() local 721 for (offset = 0; offset < len; offset += xfer_count << src_width) { in dwc_prep_dma_memcpy() 722 xfer_count = min_t(size_t, (len - offset) >> src_width, in dwc_prep_dma_memcpy() 732 desc->lli.ctlhi = xfer_count; in dwc_prep_dma_memcpy() 733 desc->len = xfer_count << src_width; in dwc_prep_dma_memcpy()
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd.h | 137 u32 xfer_count; member
|
D | core.c | 1644 remaining_count = chan->xfer_len - chan->xfer_count; in dwc2_hc_write_packet() 1665 chan->xfer_count += byte_count; in dwc2_hc_write_packet() 2037 if (chan->xfer_count < chan->xfer_len) { in dwc2_hc_continue_transfer()
|
D | hcd.c | 845 chan->xfer_count = 0; in dwc2_assign_and_init_hc() 1966 dev_dbg(hsotg->dev, " xfer_count: %d\n", chan->xfer_count); in dwc2_hcd_dump_state()
|
D | hcd_intr.c | 195 chan->xfer_count += bcnt; in dwc2_rx_fifo_level_intr()
|