Home
last modified time | relevance | path

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

12

/linux/drivers/scsi/elx/efct/
H A Defct_scsi.c624 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 …]
H A Defct_scsi.h51 int residual; member
/linux/include/net/iucv/
H A Diucv.h248 u8 flags, void *buffer, size_t size, size_t *residual);
252 size_t *residual);
267 void *answer, size_t asize, size_t *residual);
271 u8 flags, void *buffer, size_t size, size_t *residual);
274 size_t *residual);
284 size_t size, void *answer, size_t asize, size_t *residual);
/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()
/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()
/linux/drivers/scsi/qla2xxx/
H A Dqla_target.h216 __le32 residual; member
418 __le32 residual; member
438 __le32 residual; member
466 __le32 residual; member
520 __le32 residual; member
1023 int residual; member
/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()
/linux/drivers/usb/storage/
H A Dtransport.h83 void *buf, unsigned int length, int use_sg, int *residual);
H A 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()
/linux/drivers/scsi/
H A Dqla1280.h819 __le32 residual; member
852 __le32 residual; member
882 __le32 residual; member
912 __le32 residual; member
H A Dst.h16 int residual; member
H A Dmyrs.h867 int residual; /* Bytes 4-7 */ member
874 int residual; member
H A Dmyrs.c2082 if (cmd_blk->residual) in myrs_handle_scsi()
2083 scsi_set_resid(scmd, cmd_blk->residual); in myrs_handle_scsi()
2600 cmd_blk->residual = next_stat_mbox->residual; in DAC960_GEM_intr_handler()
2819 cmd_blk->residual = next_stat_mbox->residual; in DAC960_BA_intr_handler()
3038 cmd_blk->residual = next_stat_mbox->residual; in DAC960_LP_intr_handler()
H A Dqlogicpti.h184 u32 residual; member
H A 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()
/linux/fs/proc/
H A Dgeneric.c165 const char **residual) in __xlate_proc_name() argument
179 *residual = cp; in __xlate_proc_name()
185 const char **residual) in xlate_proc_name() argument
190 rv = __xlate_proc_name(name, ret, residual); in xlate_proc_name()
/linux/include/uapi/linux/
H A Dvirtio_blk.h312 __virtio32 residual; member
/linux/drivers/dma/
H A Dtegra210-adma.c626 unsigned int residual; in tegra_adma_tx_status() local
637 residual = desc->ch_regs.tc; in tegra_adma_tx_status()
639 residual = tegra_adma_get_residue(tdc); in tegra_adma_tx_status()
641 residual = 0; in tegra_adma_tx_status()
646 dma_set_residue(txstate, residual); in tegra_adma_tx_status()
/linux/tools/testing/selftests/cgroup/
H A Dmemcg_protection.m80 % in reality reclaim is serialized and each sibling recalculates own residual
/linux/drivers/net/wireless/ralink/rt2x00/
H A 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()
/linux/drivers/scsi/elx/libefc/
H A 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()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-mcp356434 so the residual offset error temperature drift is extremely low.
H A Dsysfs-class-scsi_tape105 Shows the number of times we found that a residual >0
/linux/drivers/scsi/aic7xxx/
H A 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 …]
/linux/drivers/net/ethernet/apple/
H A Dbmac.c677 unsigned int residual; in bmac_rxdma_intr() local
693 residual = le16_to_cpu(cp->res_count); in bmac_rxdma_intr()
696 nb = RX_BUFLEN - residual - 2; in bmac_rxdma_intr()

12