Searched refs:skip_bytes (Results 1 – 6 of 6) sorted by relevance
/drivers/nvmem/ |
D | stm32-romem.c | 79 int i, j = 0, ret, skip_bytes, size; in stm32_bsec_read() local 83 skip_bytes = offset & 0x3; in stm32_bsec_read() 84 rbytes = roundup(bytes + skip_bytes, 4); in stm32_bsec_read() 106 if (skip_bytes) in stm32_bsec_read() 107 size = min(bytes, (size_t)(4 - skip_bytes)); in stm32_bsec_read() 110 memcpy(&buf8[j], &val8[skip_bytes], size); in stm32_bsec_read() 113 skip_bytes = 0; in stm32_bsec_read()
|
/drivers/usb/core/ |
D | devices.c | 391 loff_t *skip_bytes, loff_t *file_offset, in usb_device_dump() argument 477 if (length > *skip_bytes) { in usb_device_dump() 478 length -= *skip_bytes; in usb_device_dump() 481 if (copy_to_user(*buffer, pages_start + *skip_bytes, length)) { in usb_device_dump() 489 *skip_bytes = 0; in usb_device_dump() 491 *skip_bytes -= length; in usb_device_dump() 498 ret = usb_device_dump(buffer, nbytes, skip_bytes, in usb_device_dump() 514 loff_t skip_bytes = *ppos; in usb_device_read() local 529 ret = usb_device_dump(&buf, &nbytes, &skip_bytes, ppos, in usb_device_read()
|
/drivers/comedi/drivers/ |
D | comedi_test.c | 470 unsigned int skip_bytes, nbytes; in waveform_ao_timer() local 472 skip_bytes = in waveform_ao_timer() 475 nbytes = comedi_buf_read_alloc(s, skip_bytes); in waveform_ao_timer() 478 if (nbytes < skip_bytes) { in waveform_ao_timer()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.c | 1182 int skip_bytes = min_t(int, len, context->offset); in vchiq_dump() local 1184 str += skip_bytes; in vchiq_dump() 1185 len -= skip_bytes; in vchiq_dump() 1186 context->offset -= skip_bytes; in vchiq_dump()
|
/drivers/target/iscsi/ |
D | iscsi_target.c | 3379 int skip_bytes, bool *completed) in iscsit_build_sendtargets_response() argument 3469 if (skip_bytes && len <= skip_bytes) { in iscsit_build_sendtargets_response() 3470 skip_bytes -= len; in iscsit_build_sendtargets_response() 3475 if (len > skip_bytes) in iscsit_build_sendtargets_response() 3476 skip_bytes = 0; in iscsit_build_sendtargets_response() 3498 if (skip_bytes && len <= skip_bytes) { in iscsit_build_sendtargets_response() 3499 skip_bytes -= len; in iscsit_build_sendtargets_response() 3503 if (len > skip_bytes) in iscsit_build_sendtargets_response() 3504 skip_bytes = 0; in iscsit_build_sendtargets_response()
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 3366 u32 skip_bytes = 0; in bnxt_re_process_raw_qp_pkt_rx() local 3409 skip_bytes = 4; in bnxt_re_process_raw_qp_pkt_rx() 3413 + skip_bytes; in bnxt_re_process_raw_qp_pkt_rx()
|