Home
last modified time | relevance | path

Searched refs:skip_bytes (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/nvmem/
Dstm32-romem.c75 int i, j = 0, ret, skip_bytes, size; in stm32_bsec_read() local
79 skip_bytes = offset & 0x3; in stm32_bsec_read()
80 rbytes = roundup(bytes + skip_bytes, 4); in stm32_bsec_read()
102 if (skip_bytes) in stm32_bsec_read()
103 size = min(bytes, (size_t)(4 - skip_bytes)); in stm32_bsec_read()
106 memcpy(&buf8[j], &val8[skip_bytes], size); in stm32_bsec_read()
109 skip_bytes = 0; in stm32_bsec_read()
/Linux-v5.4/drivers/usb/core/
Ddevices.c470 loff_t *skip_bytes, loff_t *file_offset, in usb_device_dump() argument
557 if (length > *skip_bytes) { in usb_device_dump()
558 length -= *skip_bytes; in usb_device_dump()
561 if (copy_to_user(*buffer, pages_start + *skip_bytes, length)) { in usb_device_dump()
569 *skip_bytes = 0; in usb_device_dump()
571 *skip_bytes -= length; in usb_device_dump()
578 ret = usb_device_dump(buffer, nbytes, skip_bytes, in usb_device_dump()
594 loff_t skip_bytes = *ppos; in usb_device_read() local
611 ret = usb_device_dump(&buf, &nbytes, &skip_bytes, ppos, in usb_device_read()
/Linux-v5.4/arch/arm/boot/
Ddeflate_xip_data.sh58 $DD if="$XIPIMAGE" skip=$data_start iflag=skip_bytes |
/Linux-v5.4/drivers/staging/comedi/drivers/
Dcomedi_test.c458 unsigned int skip_bytes, nbytes; in waveform_ao_timer() local
460 skip_bytes = in waveform_ao_timer()
463 nbytes = comedi_buf_read_alloc(s, skip_bytes); in waveform_ao_timer()
466 if (nbytes < skip_bytes) { in waveform_ao_timer()
/Linux-v5.4/drivers/target/iscsi/
Discsi_target.c3326 int skip_bytes, bool *completed) in iscsit_build_sendtargets_response() argument
3416 if (skip_bytes && len <= skip_bytes) { in iscsit_build_sendtargets_response()
3417 skip_bytes -= len; in iscsit_build_sendtargets_response()
3422 if (len > skip_bytes) in iscsit_build_sendtargets_response()
3423 skip_bytes = 0; in iscsit_build_sendtargets_response()
3445 if (skip_bytes && len <= skip_bytes) { in iscsit_build_sendtargets_response()
3446 skip_bytes -= len; in iscsit_build_sendtargets_response()
3450 if (len > skip_bytes) in iscsit_build_sendtargets_response()
3451 skip_bytes = 0; in iscsit_build_sendtargets_response()
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c2084 int skip_bytes = min(len, (int)context->offset); in vchiq_dump() local
2086 str += skip_bytes; in vchiq_dump()
2087 len -= skip_bytes; in vchiq_dump()
2088 context->offset -= skip_bytes; in vchiq_dump()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2866 u32 skip_bytes = 0; in bnxt_re_process_raw_qp_pkt_rx() local
2912 skip_bytes = 4; in bnxt_re_process_raw_qp_pkt_rx()
2916 + skip_bytes; in bnxt_re_process_raw_qp_pkt_rx()