Home
last modified time | relevance | path

Searched refs:residue (Results 1 – 85 of 85) sorted by relevance

/linux-4.4.14/arch/mips/math-emu/
Dsp_tint.c26 u32 residue; in ieee754sp_tint() local
66 residue = xm; in ieee754sp_tint()
68 sticky = residue != 0; in ieee754sp_tint()
74 residue = xm << (xe + 1); in ieee754sp_tint()
75 residue <<= 31 - SP_FBITS; in ieee754sp_tint()
76 round = (residue >> 31) != 0; in ieee754sp_tint()
77 sticky = (residue << 1) != 0; in ieee754sp_tint()
Ddp_tlong.c26 u64 residue; in ieee754dp_tlong() local
66 residue = xm; in ieee754dp_tlong()
68 sticky = residue != 0; in ieee754dp_tlong()
74 residue = xm << (xe + 1); in ieee754dp_tlong()
75 residue <<= 63 - DP_FBITS; in ieee754dp_tlong()
76 round = (residue >> 63) != 0; in ieee754dp_tlong()
77 sticky = (residue << 1) != 0; in ieee754dp_tlong()
Ddp_tint.c26 u64 residue; in ieee754dp_tint() local
63 residue = xm; in ieee754dp_tint()
65 sticky = residue != 0; in ieee754dp_tint()
68 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_tint()
69 round = (residue >> 63) != 0; in ieee754dp_tint()
70 sticky = (residue << 1) != 0; in ieee754dp_tint()
Dsp_tlong.c27 u32 residue; in ieee754sp_tlong() local
67 residue = xm; in ieee754sp_tlong()
69 sticky = residue != 0; in ieee754sp_tlong()
72 residue = xm << (32 - SP_FBITS + xe); in ieee754sp_tlong()
73 round = (residue >> 31) != 0; in ieee754sp_tlong()
74 sticky = (residue << 1) != 0; in ieee754sp_tlong()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dcomedi_isadma.c53 unsigned int residue; in comedi_isadma_disable() local
57 residue = get_dma_residue(dma_chan); in comedi_isadma_disable()
60 return residue; in comedi_isadma_disable()
76 unsigned int residue; in comedi_isadma_disable_on_sample() local
79 residue = comedi_isadma_disable(dma_chan); in comedi_isadma_disable_on_sample()
80 while (residue % size) { in comedi_isadma_disable_on_sample()
90 if (new_residue == residue) { in comedi_isadma_disable_on_sample()
95 residue = new_residue; in comedi_isadma_disable_on_sample()
99 return residue; in comedi_isadma_disable_on_sample()
Dni_labpc_isadma.c89 unsigned int residue; in labpc_drain_dma() local
98 residue = comedi_isadma_disable(desc->chan); in labpc_drain_dma()
104 nsamples = max_samples - comedi_bytes_to_samples(s, residue); in labpc_drain_dma()
Dni_at_a2150.c162 unsigned int max_points, num_points, residue, leftover; in a2150_interrupt() local
190 residue = comedi_isadma_disable(desc->chan); in a2150_interrupt()
194 num_points = max_points - comedi_bytes_to_samples(s, residue); in a2150_interrupt()
211 if (residue) in a2150_interrupt()
Ddas16.c481 unsigned int residue; in das16_interrupt() local
496 residue = comedi_isadma_disable_on_sample(desc->chan, in das16_interrupt()
500 if (residue > desc->size) { in das16_interrupt()
505 nbytes = desc->size - residue; in das16_interrupt()
Ddas1800.c506 unsigned int residue = comedi_isadma_disable(desc->chan); in das1800_flush_dma_channel() local
507 unsigned int nbytes = desc->size - residue; in das1800_flush_dma_channel()
/linux-4.4.14/drivers/dma/
Ddmaengine.h78 state->residue = 0; in dma_cookie_status()
83 static inline void dma_set_residue(struct dma_tx_state *state, u32 residue) in dma_set_residue() argument
86 state->residue = residue; in dma_set_residue()
Ddma-jz4740.c450 unsigned int residue, count; in jz4740_dma_desc_residue() local
453 residue = 0; in jz4740_dma_desc_residue()
456 residue += desc->sg[i].len; in jz4740_dma_desc_residue()
461 residue += count << chan->transfer_shift; in jz4740_dma_desc_residue()
464 return residue; in jz4740_dma_desc_residue()
482 state->residue = jz4740_dma_desc_residue(chan, chan->desc, in jz4740_dma_tx_status()
485 state->residue = jz4740_dma_desc_residue(chan, in jz4740_dma_tx_status()
488 state->residue = 0; in jz4740_dma_tx_status()
Ddma-jz4780.c541 unsigned int residue, count; in jz4780_dma_desc_residue() local
544 residue = 0; in jz4780_dma_desc_residue()
547 residue += desc->desc[i].dtc << jzchan->transfer_shift; in jz4780_dma_desc_residue()
552 residue += count << jzchan->transfer_shift; in jz4780_dma_desc_residue()
555 return residue; in jz4780_dma_desc_residue()
575 txstate->residue = jz4780_dma_desc_residue(jzchan, in jz4780_dma_tx_status()
578 txstate->residue = jz4780_dma_desc_residue(jzchan, jzchan->desc, in jz4780_dma_tx_status()
581 txstate->residue = 0; in jz4780_dma_tx_status()
Dedma.c196 u32 residue; member
1068 edesc->residue = 0; in edma_prep_slave_sg()
1105 edesc->residue += sg_dma_len(sg); in edma_prep_slave_sg()
1116 edesc->residue_stat = edesc->residue; in edma_prep_slave_sg()
1172 edesc->residue = edesc->residue_stat = len; in edma_prep_dma_memcpy()
1284 edesc->residue = edesc->residue_stat = buf_len; in edma_prep_dma_cyclic()
1376 edesc->residue = 0; in edma_completion_handler()
1390 edesc->residue -= edesc->sg_len; in edma_completion_handler()
1391 edesc->residue_stat = edesc->residue; in edma_completion_handler()
1705 edesc->residue_stat = edesc->residue - done; in edma_residue()
[all …]
Dmmp_pdma.c759 u32 curr, residue = 0; in mmp_pdma_residue() local
795 residue += len; in mmp_pdma_residue()
797 residue += end - curr; in mmp_pdma_residue()
818 return residue; in mmp_pdma_residue()
820 residue = 0; in mmp_pdma_residue()
826 return residue; in mmp_pdma_residue()
Dmxs-dma.c675 u32 residue = 0; in mxs_dma_tx_status() local
683 residue = last_ccw->xfer_bytes + last_ccw->bufaddr; in mxs_dma_tx_status()
687 residue -= bar; in mxs_dma_tx_status()
691 residue); in mxs_dma_tx_status()
Dcppi41.c101 u32 residue; member
332 c->residue = pd_trans_len(c->desc->pd6) - len; in cppi41_irq()
376 txstate->residue = c->residue; in cppi41_dma_tx_status()
404 c->residue = 0; in cppi41_dma_issue_pending()
Dbcm2835-dma.c314 txstate->residue = in bcm2835_dma_tx_status()
327 txstate->residue = bcm2835_dma_desc_size_pos(d, pos); in bcm2835_dma_tx_status()
329 txstate->residue = 0; in bcm2835_dma_tx_status()
Dqcom_bam_dma.c828 size_t residue = 0; in bam_tx_status() local
842 residue = container_of(vd, struct bam_async_desc, vd)->length; in bam_tx_status()
845 residue += bchan->curr_txd->curr_desc[i].size; in bam_tx_status()
849 dma_set_residue(txstate, residue); in bam_tx_status()
Dimg-mdc-dma.c600 u32 val1, val2, done, processed, residue; in mdc_tx_status() local
612 residue = mdc_chan_readl(mchan, in mdc_tx_status()
641 if (residue != MDC_TRANSFER_SIZE_MASK) in mdc_tx_status()
642 bytes -= ldesc->xfer_size - residue; in mdc_tx_status()
Dpxa_dma.c1175 u32 curr, start, len, end, residue = 0; in pxad_residue() local
1228 residue += len; in pxad_residue()
1230 residue += end - curr; in pxad_residue()
1235 residue = sw_desc->len; in pxad_residue()
1241 __func__, vd, cookie, sw_desc, residue); in pxad_residue()
1242 return residue; in pxad_residue()
Dsa11x0-dma.c447 state->residue = container_of(vd, struct sa11x0_dma_desc, vd)->size; in sa11x0_dma_tx_status()
449 state->residue = 0; in sa11x0_dma_tx_status()
490 state->residue = bytes; in sa11x0_dma_tx_status()
494 dev_vdbg(d->slave.dev, "tx_status: bytes 0x%zx\n", state->residue); in sa11x0_dma_tx_status()
Dmoxart-dma.c495 txstate->residue = moxart_dma_desc_size(d, 0); in moxart_tx_status()
497 txstate->residue = moxart_dma_desc_size_in_flight(ch); in moxart_tx_status()
Dat_xdmac.c1387 int residue, retry; in at_xdmac_tx_status() local
1412 residue = desc->xfer_size; in at_xdmac_tx_status()
1469 residue -= (desc->lld.mbr_ubc & 0xffffff) << dwidth; in at_xdmac_tx_status()
1473 residue += cur_ubc << dwidth; in at_xdmac_tx_status()
1475 dma_set_residue(txstate, residue); in at_xdmac_tx_status()
1479 __func__, desc, &desc->tx_dma_desc.phys, ret, cookie, residue); in at_xdmac_tx_status()
Dfsl-edma.c418 txstate->residue = fsl_edma_desc_residue(fsl_chan, vdesc, true); in fsl_edma_tx_status()
420 txstate->residue = fsl_edma_desc_residue(fsl_chan, vdesc, false); in fsl_edma_tx_status()
422 txstate->residue = 0; in fsl_edma_tx_status()
Dsirf-dma.c655 unsigned long residue; in sirfsoc_dma_tx_status() local
684 residue = dma_request_bytes - (dma_pos - sdesc->addr); in sirfsoc_dma_tx_status()
685 dma_set_residue(txstate, residue); in sirfsoc_dma_tx_status()
Dnbpfaxi.c609 state->residue = nbpf_bytes_left(chan); in nbpf_tx_status()
611 state->residue); in nbpf_tx_status()
630 state->residue = found ? desc->length : 0; in nbpf_tx_status()
Domap-dma.c715 txstate->residue = omap_dma_desc_size(to_omap_dma_desc(&vd->tx)); in omap_dma_tx_status()
727 txstate->residue = omap_dma_desc_size_pos(d, pos); in omap_dma_tx_status()
729 txstate->residue = 0; in omap_dma_tx_status()
Dimx-sdma.c1362 u32 residue; in sdma_tx_status() local
1365 residue = (sdmac->num_bd - sdmac->buf_tail) * sdmac->period_len; in sdma_tx_status()
1367 residue = sdmac->chn_count - sdmac->chn_real_count; in sdma_tx_status()
1370 residue); in sdma_tx_status()
/linux-4.4.14/drivers/dma/sh/
Dusb-dmac.c60 u32 residue; member
476 unsigned int residue = sg->size; in usb_dmac_get_current_residue() local
483 residue -= usb_dmac_chan_read(chan, USB_DMADAR) - mem_addr; in usb_dmac_get_current_residue()
485 residue -= usb_dmac_chan_read(chan, USB_DMASAR) - mem_addr; in usb_dmac_get_current_residue()
487 return residue; in usb_dmac_get_current_residue()
494 u32 residue = 0; in usb_dmac_chan_get_residue_if_complete() local
498 residue = desc->residue; in usb_dmac_chan_get_residue_if_complete()
503 return residue; in usb_dmac_chan_get_residue_if_complete()
509 u32 residue = 0; in usb_dmac_chan_get_residue() local
523 residue += desc->sg[i].size; in usb_dmac_chan_get_residue()
[all …]
Drcar-dmac.c1146 unsigned int residue = 0; in rcar_dmac_chan_get_residue() local
1179 residue += chunk->size; in rcar_dmac_chan_get_residue()
1183 residue += rcar_dmac_chan_read(chan, RCAR_DMATCR) << desc->xfer_shift; in rcar_dmac_chan_get_residue()
1185 return residue; in rcar_dmac_chan_get_residue()
1195 unsigned int residue; in rcar_dmac_tx_status() local
1202 residue = rcar_dmac_chan_get_residue(rchan, cookie); in rcar_dmac_tx_status()
1205 dma_set_residue(txstate, residue); in rcar_dmac_tx_status()
/linux-4.4.14/sound/core/
Dpcm_dmaengine.c253 if (state.residue > 0 && state.residue <= buf_size) in snd_dmaengine_pcm_pointer()
254 pos = buf_size - state.residue; in snd_dmaengine_pcm_pointer()
/linux-4.4.14/drivers/dma/dw/
Dcore.c240 dwc->residue = first->total_len; in dwc_dostart()
375 dwc->residue -= desc->len; in dwc_scan_descriptors()
390 dwc->residue = 0; in dwc_scan_descriptors()
399 dwc->residue = 0; in dwc_scan_descriptors()
414 dwc->residue = desc->total_len; in dwc_scan_descriptors()
425 dwc->residue -= dwc_get_sent(dwc); in dwc_scan_descriptors()
430 dwc->residue -= desc->len; in dwc_scan_descriptors()
434 dwc->residue -= dwc_get_sent(dwc); in dwc_scan_descriptors()
438 dwc->residue -= child->len; in dwc_scan_descriptors()
1054 u32 residue; in dwc_get_residue() local
[all …]
Dregs.h240 u32 residue; member
/linux-4.4.14/arch/arm/include/asm/mach/
Ddma.h22 int (*residue)(unsigned int, dma_t *); /* optional */ member
/linux-4.4.14/Documentation/
DDMA-ISA-LPC.txt117 int flags, residue;
137 residue = dma_get_residue(channel);
138 if (residue != 0)
140 " %d bytes left!\n", residue);
Dkernel-parameters.txt3944 bogus residue values);
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_ioc.c4284 len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ? in bfa_flash_write_send()
4285 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_write_send()
4289 msg->last = (len == flash->residue) ? 1 : 0; in bfa_flash_write_send()
4297 flash->residue -= len; in bfa_flash_write_send()
4317 len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ? in bfa_flash_read_send()
4318 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_read_send()
4416 if (status != BFA_STATUS_OK || flash->residue == 0) { in bfa_flash_intr()
4436 flash->residue -= len; in bfa_flash_intr()
4438 if (flash->residue == 0) { in bfa_flash_intr()
4653 flash->residue = len; in bfa_flash_update_part()
[all …]
Dbfad_im.c42 int sns_len, u8 *sns_info, s32 residue) in bfa_cb_ioim_done() argument
62 if (residue > 0) { in bfa_cb_ioim_done()
63 bfa_trc(bfad, residue); in bfa_cb_ioim_done()
64 scsi_set_resid(cmnd, residue); in bfa_cb_ioim_done()
66 (scsi_bufflen(cmnd) - residue) < in bfa_cb_ioim_done()
Dbfa_ioc.h481 u32 residue; /* residual length */ member
673 u32 residue; /* residual length */ member
722 u32 residue; /* residual length */ member
Dbfa_fcpim.c2144 s32 residue = 0; in __bfa_cb_ioim_comp() local
2167 residue = be32_to_cpu(m->residue); in __bfa_cb_ioim_comp()
2171 residue = be32_to_cpu(m->residue); in __bfa_cb_ioim_comp()
2172 residue = -residue; in __bfa_cb_ioim_comp()
2178 m->scsi_status, sns_len, snsinfo, residue); in __bfa_cb_ioim_comp()
Dbfa_fcpim.h390 u8 *sns_info, s32 residue);
Dbfi_ms.h790 __be32 residue; /* IO residual length in bytes */ member
Dbfa_fc.h1143 u32 residue; /* residual data bytes */ member
/linux-4.4.14/drivers/usb/storage/
Dtransport.c1068 unsigned int residue; in usb_stor_Bulk_transport() local
1194 residue = le32_to_cpu(bcs->Residue); in usb_stor_Bulk_transport()
1197 residue, bcs->Status); in usb_stor_Bulk_transport()
1222 if (residue && !(us->fflags & US_FL_IGNORE_RESIDUE)) { in usb_stor_Bulk_transport()
1237 residue = min(residue, transfer_length); in usb_stor_Bulk_transport()
1239 (int) residue)); in usb_stor_Bulk_transport()
Drealtek_cr.c219 unsigned int residue; in rts51x_bulk_transport() local
266 residue = bcs->Residue; in rts51x_bulk_transport()
272 if (residue) in rts51x_bulk_transport()
273 residue = residue < buf_len ? residue : buf_len; in rts51x_bulk_transport()
276 *act_len = buf_len - residue; in rts51x_bulk_transport()
Dene_ub6250.c506 unsigned int residue; in ene_send_scsi_cmd() local
561 residue = le32_to_cpu(bcs->Residue); in ene_send_scsi_cmd()
565 if (residue && !(us->fflags & US_FL_IGNORE_RESIDUE)) { in ene_send_scsi_cmd()
566 residue = min(residue, transfer_length); in ene_send_scsi_cmd()
569 (int)residue)); in ene_send_scsi_cmd()
/linux-4.4.14/arch/arm/kernel/
Ddma.c259 if (dma->d_ops->residue) in get_dma_residue()
260 ret = dma->d_ops->residue(chan, dma); in get_dma_residue()
Ddma-isa.c131 .residue = isa_get_dma_residue,
/linux-4.4.14/drivers/parport/
Dparport_ip32.c1546 unsigned int residue; in parport_ip32_get_fifo_residue() local
1555 residue = 0; in parport_ip32_get_fifo_residue()
1574 for (residue = priv->fifo_depth; residue > 0; residue--) { in parport_ip32_get_fifo_residue()
1580 if (residue) in parport_ip32_get_fifo_residue()
1582 p->name, residue, in parport_ip32_get_fifo_residue()
1583 (residue == 1) ? " was" : "s were"); in parport_ip32_get_fifo_residue()
1610 residue++; in parport_ip32_get_fifo_residue()
1620 return residue; in parport_ip32_get_fifo_residue()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1708 u32 off, l, s, residue, fifo_sz; in bfa_flash_raw_read() local
1710 residue = len; in bfa_flash_raw_read()
1717 while (residue) { in bfa_flash_raw_read()
1721 if (l > residue) in bfa_flash_raw_read()
1722 l = residue; in bfa_flash_raw_read()
1741 residue -= l; in bfa_flash_raw_read()
3074 len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ? in bfa_flash_write_send()
3075 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_write_send()
3079 msg->last = (len == flash->residue) ? 1 : 0; in bfa_flash_write_send()
3087 flash->residue -= len; in bfa_flash_write_send()
[all …]
Dbfa_ioc.h329 u32 residue; /* residual length */ member
/linux-4.4.14/include/linux/
Ddmaengine.h592 u32 residue; member
1127 dma_set_tx_state(struct dma_tx_state *st, dma_cookie_t last, dma_cookie_t used, u32 residue) in dma_set_tx_state() argument
1132 st->residue = residue; in dma_set_tx_state()
/linux-4.4.14/drivers/tty/serial/
Dserial-tegra.c411 count = tup->tx_bytes_requested - state.residue; in tegra_uart_tx_dma_complete()
507 count = tup->tx_bytes_requested - state.residue; in tegra_uart_stop_tx()
573 unsigned int residue) in tegra_uart_rx_buffer_push() argument
580 count = tup->rx_bytes_requested - residue; in tegra_uart_rx_buffer_push()
634 tegra_uart_rx_buffer_push(tup, state.residue); in tegra_uart_handle_rx_dma()
772 tegra_uart_rx_buffer_push(tup, state.residue); in tegra_uart_stop_rx()
Dsamsung.c184 count = dma->tx_bytes_requested - state.residue; in s3c24xx_serial_stop_tx()
212 count = dma->tx_bytes_requested - state.residue; in s3c24xx_serial_tx_dma_complete()
412 received = dma->rx_bytes_requested - state.residue; in s3c24xx_serial_stop_rx()
463 received = dma->rx_bytes_requested - state.residue; in s3c24xx_serial_rx_dma_complete()
579 received = dma->rx_bytes_requested - state.residue; in s3c24xx_serial_rx_chars_dma()
Damba-pl011.c860 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_irq()
906 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_callback()
961 if (likely(state.residue < dmarx->last_residue)) { in pl011_dma_rx_poll()
963 size = dmarx->last_residue - state.residue; in pl011_dma_rx_poll()
967 dmarx->last_residue = state.residue; in pl011_dma_rx_poll()
Dsirfsoc_uart.c1191 if (SIRFSOC_RX_DMA_BUF_SIZE - tx_state.residue != in sirfsoc_uart_rx_dma_hrtimer_callback()
1193 xmit->head = SIRFSOC_RX_DMA_BUF_SIZE - tx_state.residue; in sirfsoc_uart_rx_dma_hrtimer_callback()
Dmsm_serial.c292 count = dma->count - state.residue; in msm_complete_tx_dma()
Dfsl_lpuart.c499 count = FSL_UART_RX_DMA_BUFFER_SIZE - state.residue; in lpuart_timer_func()
Dimx.c908 count = RX_BUF_SIZE - state.residue; in dma_rx_callback()
Dsh-sci.c1310 read = sg_dma_len(&s->sg_rx[active]) - state.residue; in rx_timer_fn()
Datmel_serial.c1041 ring->head = sg_dma_len(&atmel_port->sg_rx) - state.residue; in atmel_rx_from_dma()
/linux-4.4.14/drivers/usb/c67x00/
Dc67x00-sched.c70 u8 residue; /* Byte 9 */ member
129 #define td_residue(td) ((__s8)(td->residue))
165 dev_dbg(dev, "residue: 0x%02x\n", td->residue); in dbg_td()
637 td->residue = 0; in c67x00_create_td()
/linux-4.4.14/drivers/tty/
Disicom.c406 short txcount, wrd, residue, word_count, cnt; in isicom_tx() local
456 residue = NO; in isicom_tx()
461 if (residue == YES) { in isicom_tx()
462 residue = NO; in isicom_tx()
486 residue = YES; in isicom_tx()
/linux-4.4.14/drivers/usb/gadget/function/
Df_mass_storage.c294 u32 residue; member
735 common->residue -= nread; in do_read()
929 common->residue -= nwritten; in do_write()
1561 } else if (common->residue == 0) { in finish_reply()
1589 if (common->residue == 0) { in finish_reply()
1668 csw->Residue = cpu_to_le32(common->residue); in send_status()
1721 common->residue = common->data_size; in check_command()
2099 common->residue -= reply; in do_scsi_command()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dma.c60 count = dma->rx_size - state.residue; in __dma_rx_complete()
D8250_omap.c742 count = dma->rx_size - state.residue; in __dma_rx_do_complete()
/linux-4.4.14/arch/arm/mach-rpc/
Ddma.c313 .residue = floppy_get_residue,
/linux-4.4.14/drivers/scsi/
DNCR5380.c1730 unsigned char saved_data = 0, overrun = 0, residue; in NCR5380_transfer_dma() local
1858 residue = NCR5380_dma_residual(instance); in NCR5380_transfer_dma()
1859 c -= residue; in NCR5380_transfer_dma()
1865 if (*phase == p && (p & SR_IO) && residue == 0) { in NCR5380_transfer_dma()
/linux-4.4.14/drivers/usb/host/
Dxhci-ring.c3580 unsigned int residue; in xhci_get_last_burst_packet_count() local
3589 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3593 if (residue == 0) in xhci_get_last_burst_packet_count()
3595 return residue - 1; in xhci_get_last_burst_packet_count()
3730 unsigned int residue; in xhci_queue_isoc_tx() local
3745 residue = xhci_get_last_burst_packet_count(xhci, in xhci_queue_isoc_tx()
3766 TRB_TLBPC(residue); in xhci_queue_isoc_tx()
/linux-4.4.14/Documentation/dmaengine/
Dpxa_dma.txt97 This will speed up residue calculation, for large transfers such as video
Dprovider.txt128 - Granularity of the transfer residue reported to dma_set_residue.
131 -> Your device doesn't support any kind of residue
/linux-4.4.14/drivers/spi/
Dspi-pl022.c1361 int residue; in set_up_next_transfer() local
1364 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes; in set_up_next_transfer()
1365 if (unlikely(residue != 0)) { in set_up_next_transfer()
/linux-4.4.14/drivers/usb/musb/
Dmusb_cppi41.c240 transferred = cppi41_channel->prog_len - txstate.residue; in cppi41_dma_callback()
/linux-4.4.14/drivers/block/
Dpktcdvd.c1466 long min_sleep_time, residue; in kcdrwd() local
1511 residue = schedule_timeout(min_sleep_time); in kcdrwd()
1520 pkt->sleep_time -= min_sleep_time - residue; in kcdrwd()
/linux-4.4.14/drivers/net/irda/
Dsa1100_ir.c115 return sg_dma_len(&buf->sg) - state.residue; in sa1100_irda_dma_xferred()
Dpxaficp_ir.c478 len = IRDA_FRAME_SIZE_LIMIT - state.residue; in pxa_irda_fir_irq_eif()
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmc91x.h296 state.residue); in smc_pxa_dma_inpump()
/linux-4.4.14/Documentation/DocBook/
Dalsa-driver-api.xml.db135 API-snd-dmaengine-pcm-pointer-no-residue
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dfifo.c1136 received_size = pkt->length - state.residue; in usbhs_dma_calc_received_size()
/linux-4.4.14/Documentation/scsi/
Daic7xxx.txt140 - Correct and simplify handling of the ignore wide residue
Daic79xx.txt98 - Correct and simplify handling of the ignore wide residue
DChangeLog.sym53c8xx317 - Handling of the SWIDE (low byte residue at the end of a CHMOV
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx.seq1583 /* Pull the residue byte */
Daic79xx.reg4142 * ignore wide residue message handling.
Daic79xx.seq1064 /* Pull the residue byte */