/linux-master/drivers/iio/buffer/ |
H A D | industrialio-buffer-dmaengine.c | 57 block->bytes_used -= result->residue;
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_im.c | 35 int sns_len, u8 *sns_info, s32 residue) 55 if (residue > 0) { 56 bfa_trc(bfad, residue); 57 scsi_set_resid(cmnd, residue); 59 (scsi_bufflen(cmnd) - residue) < 33 bfa_cb_ioim_done(void *drv, struct bfad_ioim_s *dio, enum bfi_ioim_status io_status, u8 scsi_status, int sns_len, u8 *sns_info, s32 residue) argument
|
H A D | bfa_ioc.h | 505 u32 residue; /* residual length */ member in struct:bfa_flash_s 697 u32 residue; /* residual length */ member in struct:bfa_phy_s 746 u32 residue; /* residual length */ member in struct:bfa_fru_s
|
/linux-master/drivers/dma/ |
H A D | pxa_dma.c | 1119 u32 curr, start, len, end, residue = 0; local 1126 * been completed. Therefore, its residue is 0. 1172 residue += len; 1174 residue += end - curr; 1179 residue = sw_desc->len; 1185 __func__, vd, cookie, sw_desc, residue); 1186 return residue;
|
H A D | plx_dma.c | 150 res.residue = desc->orig_size - (flags & PLX_DESC_SIZE_MASK); 183 res.residue = desc->orig_size;
|
H A D | moxart-dma.c | 484 * dma_cookie_status() assigns initial residue value. 492 txstate->residue = moxart_dma_desc_size(d, 0); 494 txstate->residue = moxart_dma_desc_size_in_flight(ch);
|
H A D | milbeaut-hdmac.c | 334 /* Return immediately if we do not need to compute the residue. */ 344 /* residue from the on-flight chunk */ 360 txstate->residue = -done; 370 /* residue from the queued chunks */ 372 txstate->residue += sg_dma_len(&md->sgl[i]);
|
H A D | sa11x0-dma.c | 438 * If the cookie is on our issue queue, then the residue is 443 state->residue = container_of(vd, struct sa11x0_dma_desc, vd)->size; 445 state->residue = 0; 486 state->residue = bytes; 490 dev_vdbg(d->slave.dev, "tx_status: bytes 0x%x\n", state->residue);
|
H A D | bcm2835-dma.c | 577 txstate->residue = 590 txstate->residue = bcm2835_dma_desc_size_pos(d, pos); 592 txstate->residue = 0;
|
H A D | fsl-edma-common.c | 375 /* figure out the finished and calculate the residue */ 416 txstate->residue = 419 txstate->residue = 422 txstate->residue = 0;
|
H A D | at_xdmac.c | 1546 int residue, retry, pm_status; local 1566 * residue, it's the transfer length. 1573 residue = desc->xfer_size; 1577 * the FIFO are not reported by CUBC. Reporting a residue of the 1581 * timeout, it requests the residue. If the data are in the DMA FIFO, 1582 * we will return a residue of the transfer length. It means no data 1596 * The easiest way to compute the residue should be to pause the DMA 1604 * This value will corrupt the residue calculation so we have to skip 1661 residue -= (iter->lld.mbr_ubc & 0xffffff) << dwidth; 1667 residue 1673 __func__, desc, &desc->tx_dma_desc.phys, ret, cookie, residue); local [all...] |
H A D | nbpfaxi.c | 639 state->residue = nbpf_bytes_left(chan); 640 dev_dbg(dchan->device->dev, "%s(): residue %u\n", __func__, 641 state->residue); 660 state->residue = found ? desc->length : 0;
|
/linux-master/drivers/dma/dw/ |
H A D | regs.h | 400 u32 residue; member in struct:dw_desc
|
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.h | 325 u32 residue; /* residual length */ member in struct:bfa_flash
|
/linux-master/drivers/dma/ti/ |
H A D | cppi41.c | 93 u32 residue; member in struct:cppi41_channel 354 c->residue = pd_trans_len(c->desc->pd6) - len; 426 dma_set_residue(txstate, c->residue); 438 c->residue = 0;
|
/linux-master/drivers/dma/qcom/ |
H A D | bam_dma.c | 951 size_t residue = 0; local 965 residue = container_of(vd, struct bam_async_desc, vd)->length; 972 residue += le16_to_cpu( 979 dma_set_residue(txstate, residue);
|
H A D | qcom_adm.c | 636 size_t residue = 0; local 646 residue = container_of(vd, struct adm_async_desc, vd)->length; 651 * residue is either the full length if it is in the issued list, or 0 655 dma_set_residue(txstate, residue);
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 58 count = dma->rx_size - state.residue;
|
/linux-master/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 334 u32 residue = 0; local 351 residue = desc->alloc_sz - desc->xfer_sz; 356 dma_set_residue(txstate, residue);
|
/linux-master/sound/soc/sh/rcar/ |
H A D | dma.c | 319 if (state.residue > 0 && state.residue <= dmaen->dma_len) 320 pos = dmaen->dma_len - state.residue;
|
/linux-master/drivers/tty/serial/ |
H A D | serial-tegra.c | 523 count = tup->tx_bytes_requested - state.residue; 629 count = tup->tx_bytes_requested - state.residue; 714 unsigned int residue) 720 count = tup->rx_bytes_requested - residue; 774 tegra_uart_rx_buffer_push(tup, state.residue); 713 tegra_uart_rx_buffer_push(struct tegra_uart_port *tup, unsigned int residue) argument
|
/linux-master/drivers/usb/storage/ |
H A D | ene_ub6250.c | 496 unsigned int residue; local 551 residue = le32_to_cpu(bcs->Residue); 554 * try to compute the actual residue, based on how much data 557 if (residue && !(us->fflags & US_FL_IGNORE_RESIDUE)) { 558 residue = min(residue, transfer_length); 561 residue));
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.c | 1774 u32 *buf, u32 residue, u16 start_pg) 1787 for (i = FIFO_DUMP_ADDR + residue; 1795 residue = 0; 1809 u32 start_pg, residue; local 1817 residue = offset & (FIFO_PAGE_SIZE - 1); 1820 rtw_fw_read_fifo_page(rtwdev, offset, size, buf, residue, start_pg); 1773 rtw_fw_read_fifo_page(struct rtw_dev *rtwdev, u32 offset, u32 size, u32 *buf, u32 residue, u16 start_pg) argument
|
/linux-master/drivers/dma/xilinx/ |
H A D | xdma.c | 846 u32 residue = 0; local 863 residue = (desc->periods - period_idx) * desc->period_size; 864 dma_set_residue(state, residue);
|
/linux-master/arch/sparc/lib/ |
H A D | M7memcpy.S | 442 and %o2, 0x3f, %o2 ! residue bytes in %o2 557 and %o2, 0x3f, %o2 ! residue bytes in %o2 671 and %o2, 0x3f, %o2 ! residue bytes in %o2 720 and %o2, 0x7, %o2 ! residue bytes in %o2
|