Home
last modified time | relevance | path

Searched refs:residual (Results 1 – 25 of 86) sorted by relevance

1234

/openbmc/linux/include/net/iucv/
H A Diucv.h347 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/linux/drivers/scsi/elx/efct/
H A Defct_scsi.c624 size_t residual = 0; in efct_scsi_xfer_data() local
640 io->wire_len = (xwire_len < residual) ? xwire_len : 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()
679 residual = 0; in efct_scsi_xfer_data()
682 residual -= len; in efct_scsi_xfer_data()
736 int residual; in efct_scsi_send_resp() local
751 residual = rsp->residual; in efct_scsi_send_resp()
797 if (residual != 0) { in efct_scsi_send_resp()
[all …]
/openbmc/qemu/hw/scsi/
H A Dmegasas.c744 dma_addr_t residual; in megasas_ctrl_get_info() local
865 dma_addr_t residual; in megasas_mfc_get_defaults() local
898 dma_addr_t residual; in megasas_dcmd_get_bios_info() local
922 dma_addr_t residual; in megasas_dcmd_get_fw_time() local
948 dma_addr_t residual; in megasas_event_info() local
988 dma_addr_t residual; in megasas_dcmd_pd_get_list() local
1058 dma_addr_t residual; in megasas_pd_get_info_submit() local
1165 dma_addr_t residual; in megasas_dcmd_ld_get_list() local
1211 dma_addr_t residual; in megasas_dcmd_ld_list_query() local
1264 dma_addr_t residual; in megasas_ld_get_info_submit() local
[all …]
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_iucv.c1143 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()
1213 residual = hvc_iucv_parse_filter(residual, in hvc_iucv_setup_filter()
1215 if (IS_ERR(residual)) { in hvc_iucv_setup_filter()
[all …]
/openbmc/linux/drivers/scsi/
H A Dg_NCR5380.c522 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 Dqla1280.h819 __le32 residual; member
852 __le32 residual; member
882 __le32 residual; member
912 __le32 residual; member
/openbmc/linux/drivers/s390/block/
H A Ddasd_eer.c93 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/qemu/system/
H A Ddma-helpers.c278 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 Dclk-iproc-pll.c85 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 Diucv.c1065 size_t size, size_t *residual) in iucv_message_receive_iprmdata() argument
1075 if (residual) in iucv_message_receive_iprmdata()
1076 *residual = abs(size - 8); in iucv_message_receive_iprmdata()
1113 u8 flags, void *buffer, size_t size, size_t *residual) in __iucv_message_receive() argument
1120 buffer, size, residual); in __iucv_message_receive()
1136 if (residual) in __iucv_message_receive()
1137 *residual = parm->db.ipbfln1f; in __iucv_message_receive()
1161 u8 flags, void *buffer, size_t size, size_t *residual) in iucv_message_receive() argument
1167 buffer, size, residual); in iucv_message_receive()
1169 rc = __iucv_message_receive(path, msg, flags, buffer, size, residual); in iucv_message_receive()
[all …]
/openbmc/linux/arch/mips/jazz/
H A Djazzdma.c464 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 Dqla_target.h215 __le32 residual; member
417 __le32 residual; member
437 __le32 residual; member
465 __le32 residual; member
519 __le32 residual; member
988 int residual; member
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_blk.h120 __virtio32 residual; member
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-scsi.h48 uint32_t residual; member
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_isr.c121 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/linux/drivers/usb/storage/
H A Dtransport.h83 void *buf, unsigned int length, int use_sg, int *residual);
/openbmc/linux/drivers/dma/
H A Dtegra186-gpc-dma.c732 unsigned int bytes_xfer, residual; in tegra_dma_get_residual() local
752 residual = dma_desc->bytes_req - (bytes_xfer % dma_desc->bytes_req); in tegra_dma_get_residual()
754 return residual; in tegra_dma_get_residual()
764 unsigned int residual; in tegra_dma_tx_status() local
776 residual = dma_desc->bytes_req; in tegra_dma_tx_status()
777 dma_set_residue(txstate, residual); in tegra_dma_tx_status()
779 residual = tegra_dma_get_residual(tdc); in tegra_dma_tx_status()
780 dma_set_residue(txstate, residual); in tegra_dma_tx_status()
H A Dtegra210-adma.c513 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/qemu/include/sysemu/
H A Ddma.h304 MemTxResult dma_buf_read(void *ptr, dma_addr_t len, dma_addr_t *residual,
306 MemTxResult dma_buf_write(void *ptr, dma_addr_t len, dma_addr_t *residual,
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_task.c179 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 Dscsi.h33 uint64_t residual; member
129 void (*complete)(SCSIRequest *req, size_t residual);
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h310 __virtio32 residual; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_blk.h312 __virtio32 residual; member
/openbmc/linux/fs/proc/
H A Dgeneric.c163 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/drivers/scsi/fnic/
H A Dfcpio.h343 u32 residual; /* SCSI data residual value of I/O */ member
494 u32 residual; /* SCSI data residual length */ member

1234