Searched refs:rem_bytes (Results 1 – 6 of 6) sorted by relevance
147 unsigned int rem_bytes; member226 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 …]
224 int rem_bytes; in hfi_sys_init_done() local236 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() local461 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()
536 int rem_bytes = (int)(CAAM_DESC_BYTES_MAX - sd_base_len - jd_len); in desc_inline_query() local540 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()
309 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in gcm_set_sh_desc() local319 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() local424 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() local532 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()
146 int rem_bytes = CAAM_DESC_BYTES_MAX - AEAD_DESC_JOB_IO_LEN - in aead_null_set_sh_desc() local153 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() local349 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() local414 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 …]
658 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in gcm_set_sh_desc() local669 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() local763 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() local864 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()