Home
last modified time | relevance | path

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

123

/drivers/scsi/elx/efct/
Defct_scsi.c625 size_t residual = 0; in efct_scsi_xfer_data() local
640 residual = io->exp_xfer_len - io->transferred; in efct_scsi_xfer_data()
641 io->wire_len = (xwire_len < residual) ? xwire_len : residual; in efct_scsi_xfer_data()
642 residual = (xwire_len - io->wire_len); in efct_scsi_xfer_data()
653 if (enable_ar && (flags & EFCT_SCSI_LAST_DATAPHASE) && residual == 0 && in efct_scsi_xfer_data()
668 io->transferred += residual; in efct_scsi_xfer_data()
672 if (residual) { in efct_scsi_xfer_data()
675 while (residual) { in efct_scsi_xfer_data()
678 if (len > residual) { in efct_scsi_xfer_data()
679 sgl_ptr->len = len - residual; in efct_scsi_xfer_data()
[all …]
Defct_scsi.h51 int residual; member
/drivers/tty/hvc/
Dhvc_iucv.c1138 const char *nextdelim, *residual; in hvc_iucv_parse_filter() local
1144 residual = nextdelim + 1; in hvc_iucv_parse_filter()
1147 residual = filter + len; in hvc_iucv_parse_filter()
1168 return residual; in hvc_iucv_parse_filter()
1183 const char *residual; in hvc_iucv_setup_filter() local
1197 residual = val; in hvc_iucv_setup_filter()
1198 while ((residual = strchr(residual, ',')) != NULL) { in hvc_iucv_setup_filter()
1199 residual++; in hvc_iucv_setup_filter()
1212 residual = val; in hvc_iucv_setup_filter()
1213 while (*residual && count) { in hvc_iucv_setup_filter()
[all …]
/drivers/s390/block/
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()
615 if (eerb->residual < 0) { /* the remainder of this record */ in dasd_eer_read()
617 eerb->residual = 0; in dasd_eer_read()
621 } else if (eerb->residual > 0) { in dasd_eer_read()
623 effective_count = min(eerb->residual, (int) count); in dasd_eer_read()
624 eerb->residual -= effective_count; in dasd_eer_read()
648 eerb->residual = tailcount - effective_count; in dasd_eer_read()
/drivers/scsi/
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()
Dqla1280.h820 __le32 residual; member
853 __le32 residual; member
883 __le32 residual; member
913 __le32 residual; member
Dst.h16 int residual; member
Dmyrs.h867 int residual; /* Bytes 4-7 */ member
874 int residual; member
Dmyrs.c2079 if (cmd_blk->residual) in myrs_handle_scsi()
2080 scsi_set_resid(scmd, cmd_blk->residual); in myrs_handle_scsi()
2598 cmd_blk->residual = next_stat_mbox->residual; in DAC960_GEM_intr_handler()
2817 cmd_blk->residual = next_stat_mbox->residual; in DAC960_BA_intr_handler()
3036 cmd_blk->residual = next_stat_mbox->residual; in DAC960_LP_intr_handler()
D53c700.c1606 int residual = NCR_700_data_residual(host); in NCR_700_intr() local
1615 if(residual) { in NCR_700_intr()
1618 SGcount, data_transfer, residual); in NCR_700_intr()
1621 data_transfer += residual; in NCR_700_intr()
1637 …\n", host->host_no, pun, lun, (unsigned long)pAddr, (unsigned long)naddr, data_transfer, residual); in NCR_700_intr()
Dqlogicpti.h184 u32 residual; member
/drivers/clk/bcm/
Dclk-iproc-pll.c95 u64 ndiv_int, ndiv_frac, residual; in pll_calc_param() local
102 residual = target_rate - (ndiv_int * parent_rate); in pll_calc_param()
103 residual <<= 20; in pll_calc_param()
109 residual += (parent_rate / 2); in pll_calc_param()
110 ndiv_frac = div64_u64((u64)residual, (u64)parent_rate); in pll_calc_param()
117 residual = (u64)vco_out->ndiv_frac * (u64)parent_rate; in pll_calc_param()
118 residual >>= 20; in pll_calc_param()
119 vco_out->rate += residual; in pll_calc_param()
/drivers/scsi/qla2xxx/
Dqla_target.h215 __le32 residual; member
417 __le32 residual; member
437 __le32 residual; member
465 __le32 residual; member
519 __le32 residual; member
993 int residual; member
/drivers/scsi/qla4xxx/
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()
/drivers/scsi/aic94xx/
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()
/drivers/dma/
Dtegra210-adma.c515 unsigned int residual; in tegra_adma_tx_status() local
526 residual = desc->ch_regs.tc; in tegra_adma_tx_status()
528 residual = tegra_adma_get_residue(tdc); in tegra_adma_tx_status()
530 residual = 0; in tegra_adma_tx_status()
535 dma_set_residue(txstate, residual); in tegra_adma_tx_status()
/drivers/usb/storage/
Dtransport.h83 void *buf, unsigned int length, int use_sg, int *residual);
Dtransport.c489 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() argument
509 if (residual) in usb_stor_bulk_transfer_sg()
510 *residual = length_left; in usb_stor_bulk_transfer_sg()
/drivers/scsi/fnic/
Dfcpio.h355 u32 residual; /* SCSI data residual value of I/O */ member
506 u32 residual; /* SCSI data residual length */ member
/drivers/gpu/drm/i915/gt/shaders/
DREADME5 pre-compiled batch chunks that will clear any residual render cache during
/drivers/scsi/elx/libefc/
Defc_fabric.c657 int residual; in efc_process_gidpt_payload() local
667 residual = be16_to_cpu(rsp->hdr.ct_mr_size); in efc_process_gidpt_payload()
669 if (residual != 0) in efc_process_gidpt_payload()
670 efc_log_debug(node->efc, "residual is %u words\n", residual); in efc_process_gidpt_payload()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c236 unsigned int residual; in rt2x00queue_create_tx_descriptor_plcp() local
266 residual = GET_DURATION_RES(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp()
269 if (residual != 0) { in rt2x00queue_create_tx_descriptor_plcp()
275 if (hwrate->bitrate == 110 && residual <= 30) in rt2x00queue_create_tx_descriptor_plcp()
/drivers/hv/
Dhv_balloon.c790 unsigned long residual, new_inc; in pfn_covered() local
827 residual = (start_pfn + pfn_cnt - has->end_pfn); in pfn_covered()
831 new_inc = (residual / HA_CHUNK) * HA_CHUNK; in pfn_covered()
832 if (residual % HA_CHUNK) in pfn_covered()
/drivers/s390/char/
Dcon3215.c71 int residual; /* residual count for read request */ member
380 req->residual = irb->scsw.cmd.count; in raw3215_irq()
392 count = 160 - req->residual; in raw3215_irq()
/drivers/scsi/aic7xxx/
Daic7xxx.seq842 * the host driver to fix us up based on the transfer residual.
968 * our residual information is still correct from
986 * Fixup the residual next S/G pointer. The S/G preload
1074 * Due to bayonette style S/G handling, our residual
1077 * of the residual data cnt. By postponing the fixup,
1079 * If we halted on the last segment, the residual is
1167 * count to be the size of our residual.
1298 * Update our residual information before the information is
1330 * are now initialized. Clear the full residual flag.
1604 * is a residual or the status byte is something other than STATUS_GOOD (0).
[all …]

123