Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/spi/
Dspi-qcom-qspi.c147 unsigned int rem_bytes; member
226 pio_xfer_ctrl |= ctrl->xfer.rem_bytes; in qcom_qspi_pio_xfer_ctrl()
262 ctrl->xfer.rem_bytes = 0; in qcom_qspi_handle_err()
447 ctrl->xfer.rem_bytes = xfer->len; in qcom_qspi_transfer_one()
543 wr_cnts = min(wr_cnts, ctrl->xfer.rem_bytes); in pio_read()
550 ctrl->xfer.rem_bytes -= words_to_read * QSPI_BYTES_PER_WORD; in pio_read()
558 ctrl->xfer.rem_bytes -= bytes_to_read; in pio_read()
580 if (ctrl->xfer.rem_bytes < QSPI_BYTES_PER_WORD) { in pio_write()
582 wr_size = min(wr_fifo_bytes, ctrl->xfer.rem_bytes); in pio_write()
583 ctrl->xfer.rem_bytes -= wr_size; in pio_write()
[all …]
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dhfi_msgs.c224 int rem_bytes; in hfi_sys_init_done() local
236 rem_bytes = pkt->hdr.size - sizeof(*pkt); in hfi_sys_init_done()
237 if (rem_bytes <= 0) { in hfi_sys_init_done()
243 error = hfi_parser(core, inst, pkt->data, rem_bytes); in hfi_sys_init_done()
451 int rem_bytes; in hfi_session_init_done() local
461 rem_bytes = pkt->shdr.hdr.size - sizeof(*pkt); in hfi_session_init_done()
462 if (rem_bytes <= 0) { in hfi_session_init_done()
467 error = hfi_parser(core, inst, pkt->data, rem_bytes); in hfi_session_init_done()
/linux-6.6.21/drivers/crypto/caam/
Ddesc_constr.h536 int rem_bytes = (int)(CAAM_DESC_BYTES_MAX - sd_base_len - jd_len); in desc_inline_query() local
540 for (i = 0; (i < count) && (rem_bytes > 0); i++) { in desc_inline_query()
541 if (rem_bytes - (int)(data_len[i] + in desc_inline_query()
543 rem_bytes -= data_len[i]; in desc_inline_query()
546 rem_bytes -= CAAM_PTR_SZ; in desc_inline_query()
550 return (rem_bytes >= 0) ? 0 : -1; in desc_inline_query()
Dcaamalg_qi.c309 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in gcm_set_sh_desc() local
319 if (rem_bytes >= DESC_QI_GCM_ENC_LEN) { in gcm_set_sh_desc()
334 if (rem_bytes >= DESC_QI_GCM_DEC_LEN) { in gcm_set_sh_desc()
412 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4106_set_sh_desc() local
424 if (rem_bytes >= DESC_QI_RFC4106_ENC_LEN) { in rfc4106_set_sh_desc()
438 if (rem_bytes >= DESC_QI_RFC4106_DEC_LEN) { in rfc4106_set_sh_desc()
520 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4543_set_sh_desc() local
532 if (rem_bytes >= DESC_QI_RFC4543_ENC_LEN) { in rfc4543_set_sh_desc()
546 if (rem_bytes >= DESC_QI_RFC4543_DEC_LEN) { in rfc4543_set_sh_desc()
Dcaamalg.c146 int rem_bytes = CAAM_DESC_BYTES_MAX - AEAD_DESC_JOB_IO_LEN - in aead_null_set_sh_desc() local
153 if (rem_bytes >= DESC_AEAD_NULL_ENC_LEN) { in aead_null_set_sh_desc()
172 if (rem_bytes >= DESC_AEAD_NULL_DEC_LEN) { in aead_null_set_sh_desc()
338 int rem_bytes = CAAM_DESC_BYTES_MAX - GCM_DESC_JOB_IO_LEN - in gcm_set_sh_desc() local
349 if (rem_bytes >= DESC_GCM_ENC_LEN) { in gcm_set_sh_desc()
366 if (rem_bytes >= DESC_GCM_DEC_LEN) { in gcm_set_sh_desc()
403 int rem_bytes = CAAM_DESC_BYTES_MAX - GCM_DESC_JOB_IO_LEN - in rfc4106_set_sh_desc() local
414 if (rem_bytes >= DESC_RFC4106_ENC_LEN) { in rfc4106_set_sh_desc()
432 if (rem_bytes >= DESC_RFC4106_DEC_LEN) { in rfc4106_set_sh_desc()
471 int rem_bytes = CAAM_DESC_BYTES_MAX - GCM_DESC_JOB_IO_LEN - in rfc4543_set_sh_desc() local
[all …]
Dcaamalg_qi2.c658 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in gcm_set_sh_desc() local
669 if (rem_bytes >= DESC_QI_GCM_ENC_LEN) { in gcm_set_sh_desc()
689 if (rem_bytes >= DESC_QI_GCM_DEC_LEN) { in gcm_set_sh_desc()
750 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4106_set_sh_desc() local
763 if (rem_bytes >= DESC_QI_RFC4106_ENC_LEN) { in rfc4106_set_sh_desc()
783 if (rem_bytes >= DESC_QI_RFC4106_DEC_LEN) { in rfc4106_set_sh_desc()
851 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4543_set_sh_desc() local
864 if (rem_bytes >= DESC_QI_RFC4543_ENC_LEN) { in rfc4543_set_sh_desc()
884 if (rem_bytes >= DESC_QI_RFC4543_DEC_LEN) { in rfc4543_set_sh_desc()