Home
last modified time | relevance | path

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

/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()
/drivers/usb/core/
Ddevices.c438 loff_t *skip_bytes, loff_t *file_offset, in usb_device_dump() argument
525 if (length > *skip_bytes) { in usb_device_dump()
526 length -= *skip_bytes; in usb_device_dump()
529 if (copy_to_user(*buffer, pages_start + *skip_bytes, length)) { in usb_device_dump()
537 *skip_bytes = 0; in usb_device_dump()
539 *skip_bytes -= length; in usb_device_dump()
546 ret = usb_device_dump(buffer, nbytes, skip_bytes, in usb_device_dump()
562 loff_t skip_bytes = *ppos; in usb_device_read() local
577 ret = usb_device_dump(&buf, &nbytes, &skip_bytes, ppos, in usb_device_read()
/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()
/drivers/target/iscsi/
Discsi_target.c3338 int skip_bytes, bool *completed) in iscsit_build_sendtargets_response() argument
3428 if (skip_bytes && len <= skip_bytes) { in iscsit_build_sendtargets_response()
3429 skip_bytes -= len; in iscsit_build_sendtargets_response()
3434 if (len > skip_bytes) in iscsit_build_sendtargets_response()
3435 skip_bytes = 0; in iscsit_build_sendtargets_response()
3457 if (skip_bytes && len <= skip_bytes) { in iscsit_build_sendtargets_response()
3458 skip_bytes -= len; in iscsit_build_sendtargets_response()
3462 if (len > skip_bytes) in iscsit_build_sendtargets_response()
3463 skip_bytes = 0; in iscsit_build_sendtargets_response()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c2021 int skip_bytes = min_t(int, len, context->offset); in vchiq_dump() local
2023 str += skip_bytes; in vchiq_dump()
2024 len -= skip_bytes; in vchiq_dump()
2025 context->offset -= skip_bytes; in vchiq_dump()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3152 u32 skip_bytes = 0; in bnxt_re_process_raw_qp_pkt_rx() local
3198 skip_bytes = 4; in bnxt_re_process_raw_qp_pkt_rx()
3202 + skip_bytes; in bnxt_re_process_raw_qp_pkt_rx()