/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_scsi.c | 624 size_t residual = 0; in efct_scsi_xfer_data() local 639 residual = io->exp_xfer_len - io->transferred; in efct_scsi_xfer_data() 640 io->wire_len = (xwire_len < residual) ? xwire_len : residual; in efct_scsi_xfer_data() 641 residual = (xwire_len - io->wire_len); in efct_scsi_xfer_data() 652 if (enable_ar && (flags & EFCT_SCSI_LAST_DATAPHASE) && residual == 0 && in efct_scsi_xfer_data() 667 io->transferred += residual; in efct_scsi_xfer_data() 671 if (residual) { in efct_scsi_xfer_data() 674 while (residual) { in efct_scsi_xfer_data() 677 if (len > residual) { in efct_scsi_xfer_data() 678 sgl_ptr->len = len - residual; in efct_scsi_xfer_data() [all …]
|
/openbmc/linux/include/net/iucv/ |
H A D | iucv.h | 347 u8 flags, void *buffer, size_t size, size_t *residual); 368 size_t *residual); 462 void *answer, size_t asize, size_t *residual); 466 u8 flags, void *buffer, size_t size, size_t *residual); 469 size_t *residual); 479 size_t size, void *answer, size_t asize, size_t *residual);
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/flite/flite/ |
H A D | 0001-Remove-defining-const-as-nothing.patch | 64 sts[i].residual = cst_alloc(unsigned char,size); 66 - sts[i].residual[j] = cst_short_to_ulaw((short)resd[j]); 67 + *(unsigned char *)(&sts[i].residual[j]) = cst_short_to_ulaw((short)resd[j]); 73 sts[i].residual = cst_alloc(unsigned char,size); 75 - sts[i].residual[j] = cst_short_to_ulaw((short)resd[j]); 76 + *(unsigned char *)(&sts[i].residual[j]) = cst_short_to_ulaw((short)resd[j]);
|
/openbmc/qemu/hw/scsi/ |
H A D | megasas.c | 744 dma_addr_t residual; in megasas_ctrl_get_info() local 855 dma_buf_read(&info, dcmd_size, &residual, &cmd->qsg, in megasas_ctrl_get_info() 857 cmd->iov_size -= residual; in megasas_ctrl_get_info() 865 dma_addr_t residual; in megasas_mfc_get_defaults() local 888 dma_buf_read(&info, dcmd_size, &residual, &cmd->qsg, in megasas_mfc_get_defaults() 890 cmd->iov_size -= residual; in megasas_mfc_get_defaults() 898 dma_addr_t residual; in megasas_dcmd_get_bios_info() local 912 dma_buf_read(&info, dcmd_size, &residual, &cmd->qsg, in megasas_dcmd_get_bios_info() 914 cmd->iov_size -= residual; in megasas_dcmd_get_bios_info() 922 dma_addr_t residual; in megasas_dcmd_get_fw_time() local [all …]
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 1137 const char *nextdelim, *residual; in hvc_iucv_parse_filter() local 1143 residual = nextdelim + 1; in hvc_iucv_parse_filter() 1146 residual = filter + len; in hvc_iucv_parse_filter() 1167 return residual; in hvc_iucv_parse_filter() 1182 const char *residual; in hvc_iucv_setup_filter() local 1196 residual = val; in hvc_iucv_setup_filter() 1197 while ((residual = strchr(residual, ',')) != NULL) { in hvc_iucv_setup_filter() 1198 residual++; in hvc_iucv_setup_filter() 1211 residual = val; in hvc_iucv_setup_filter() 1212 while (*residual && count) { in hvc_iucv_setup_filter() [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_eer.c | 93 int residual; member 195 if (eerb->residual > 0) { in dasd_eer_start_record() 196 eerb->tail += eerb->residual; in dasd_eer_start_record() 199 eerb->residual = -1; in dasd_eer_start_record() 616 if (eerb->residual < 0) { /* the remainder of this record */ in dasd_eer_read() 618 eerb->residual = 0; in dasd_eer_read() 622 } else if (eerb->residual > 0) { in dasd_eer_read() 624 effective_count = min(eerb->residual, (int) count); in dasd_eer_read() 625 eerb->residual -= effective_count; in dasd_eer_read() 649 eerb->residual = tailcount - effective_count; in dasd_eer_read()
|
/openbmc/linux/drivers/scsi/ |
H A D | g_NCR5380.c | 522 int residual; in generic_NCR5380_precv() local 556 residual = len - start; in generic_NCR5380_precv() 558 if (residual != 0) { in generic_NCR5380_precv() 565 if (residual == 0 && NCR5380_poll_politely(hostdata, BUS_AND_STATUS_REG, in generic_NCR5380_precv() 572 hostdata->pdma_residual = residual; in generic_NCR5380_precv() 589 int residual; in generic_NCR5380_psend() local 635 residual = len - start; in generic_NCR5380_psend() 637 if (residual != 0) { in generic_NCR5380_psend() 644 if (residual == 0) { in generic_NCR5380_psend() 658 hostdata->pdma_residual = residual; in generic_NCR5380_psend()
|
H A D | qla1280.h | 819 __le32 residual; member 852 __le32 residual; member 882 __le32 residual; member 912 __le32 residual; member
|
/openbmc/qemu/system/ |
H A D | dma-helpers.c | 278 static MemTxResult dma_buf_rw(void *buf, dma_addr_t len, dma_addr_t *residual, in dma_buf_rw() argument 299 if (residual) { in dma_buf_rw() 300 *residual = xresidual; in dma_buf_rw() 305 MemTxResult dma_buf_read(void *ptr, dma_addr_t len, dma_addr_t *residual, in dma_buf_read() argument 308 return dma_buf_rw(ptr, len, residual, sg, DMA_DIRECTION_FROM_DEVICE, attrs); in dma_buf_read() 311 MemTxResult dma_buf_write(void *ptr, dma_addr_t len, dma_addr_t *residual, in dma_buf_write() argument 314 return dma_buf_rw(ptr, len, residual, sg, DMA_DIRECTION_TO_DEVICE, attrs); in dma_buf_write()
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-iproc-pll.c | 85 u64 ndiv_int, ndiv_frac, residual; in pll_calc_param() local 92 residual = target_rate - (ndiv_int * parent_rate); in pll_calc_param() 93 residual <<= 20; in pll_calc_param() 99 residual += (parent_rate / 2); in pll_calc_param() 100 ndiv_frac = div64_u64((u64)residual, (u64)parent_rate); in pll_calc_param() 107 residual = (u64)vco_out->ndiv_frac * (u64)parent_rate; in pll_calc_param() 108 residual >>= 20; in pll_calc_param() 109 vco_out->rate += residual; in pll_calc_param()
|
/openbmc/linux/net/iucv/ |
H A D | iucv.c | 1075 size_t size, size_t *residual) in iucv_message_receive_iprmdata() argument 1085 if (residual) in iucv_message_receive_iprmdata() 1086 *residual = abs(size - 8); in iucv_message_receive_iprmdata() 1122 u8 flags, void *buffer, size_t size, size_t *residual) in __iucv_message_receive() argument 1129 buffer, size, residual); in __iucv_message_receive() 1145 if (residual) in __iucv_message_receive() 1146 *residual = parm->db.ipbfln1f; in __iucv_message_receive() 1170 u8 flags, void *buffer, size_t size, size_t *residual) in iucv_message_receive() argument 1176 buffer, size, residual); in iucv_message_receive() 1178 rc = __iucv_message_receive(path, msg, flags, buffer, size, residual); in iucv_message_receive() [all …]
|
/openbmc/linux/arch/mips/jazz/ |
H A D | jazzdma.c | 464 int residual; in vdma_get_residue() local 466 residual = r4030_read_reg32(JAZZ_R4030_CHNL_COUNT + (channel << 5)); in vdma_get_residue() 470 channel, residual); in vdma_get_residue() 472 return residual; in vdma_get_residue()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_target.h | 215 __le32 residual; member 417 __le32 residual; member 437 __le32 residual; member 465 __le32 residual; member 519 __le32 residual; member 988 int residual; member
|
/openbmc/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_isr.c | 121 uint32_t residual; in qla4xxx_status_entry() local 152 residual = le32_to_cpu(sts_entry->residualByteCnt); in qla4xxx_status_entry() 165 scsi_set_resid(cmd, residual); in qla4xxx_status_entry() 166 if (!scsi_status && ((scsi_bufflen(cmd) - residual) < in qla4xxx_status_entry() 178 scsi_bufflen(cmd), residual)); in qla4xxx_status_entry() 243 scsi_set_resid(cmd, residual); in qla4xxx_status_entry() 258 if (!scsi_status && (scsi_bufflen(cmd) - residual) < in qla4xxx_status_entry() 267 residual)); in qla4xxx_status_entry() 298 residual, in qla4xxx_status_entry()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_blk.h | 120 __virtio32 residual; member
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | virtio-scsi.h | 48 uint32_t residual; member
|
/openbmc/linux/drivers/dma/ |
H A D | tegra186-gpc-dma.c | 739 unsigned int bytes_xfer, residual; in tegra_dma_get_residual() local 759 residual = dma_desc->bytes_req - (bytes_xfer % dma_desc->bytes_req); in tegra_dma_get_residual() 761 return residual; in tegra_dma_get_residual() 771 unsigned int residual; in tegra_dma_tx_status() local 786 residual = dma_desc->bytes_req; in tegra_dma_tx_status() 787 dma_set_residue(txstate, residual); in tegra_dma_tx_status() 789 residual = tegra_dma_get_residual(tdc); in tegra_dma_tx_status() 790 dma_set_residue(txstate, residual); in tegra_dma_tx_status()
|
H A D | tegra210-adma.c | 513 unsigned int residual; in tegra_adma_tx_status() local 524 residual = desc->ch_regs.tc; in tegra_adma_tx_status() 526 residual = tegra_adma_get_residue(tdc); in tegra_adma_tx_status() 528 residual = 0; in tegra_adma_tx_status() 533 dma_set_residue(txstate, residual); in tegra_adma_tx_status()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | transport.h | 83 void *buf, unsigned int length, int use_sg, int *residual);
|
/openbmc/qemu/include/sysemu/ |
H A D | dma.h | 303 MemTxResult dma_buf_read(void *ptr, dma_addr_t len, dma_addr_t *residual, 305 MemTxResult dma_buf_write(void *ptr, dma_addr_t len, dma_addr_t *residual,
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_task.c | 179 ts->residual = le32_to_cpu(*(__le32 *)r); in asd_get_response_tasklet() 185 ts->residual = le32_to_cpu(*(__le32 *)r); in asd_get_response_tasklet() 216 ts->residual = le32_to_cpu(*(__le32 *)dl->status_block); in asd_task_tasklet_complete() 221 ts->residual = 0; in asd_task_tasklet_complete()
|
/openbmc/qemu/include/hw/scsi/ |
H A D | scsi.h | 33 uint64_t residual; member 134 void (*complete)(SCSIRequest *req, size_t residual);
|
/openbmc/linux/fs/proc/ |
H A D | generic.c | 163 const char **residual) in __xlate_proc_name() argument 177 *residual = cp; in __xlate_proc_name() 183 const char **residual) in xlate_proc_name() argument 188 rv = __xlate_proc_name(name, ret, residual); in xlate_proc_name()
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_blk.h | 312 __virtio32 residual; member
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_blk.h | 310 __virtio32 residual; member
|