Searched refs:rem_bytes (Results 1 – 6 of 6) sorted by relevance
127 unsigned int rem_bytes; member193 pio_xfer_ctrl |= ctrl->xfer.rem_bytes; in qcom_qspi_pio_xfer_ctrl()225 ctrl->xfer.rem_bytes = 0; in qcom_qspi_handle_err()292 ctrl->xfer.rem_bytes = xfer->len; in qcom_qspi_transfer_one()350 wr_cnts = min(wr_cnts, ctrl->xfer.rem_bytes); in pio_read()357 ctrl->xfer.rem_bytes -= words_to_read * QSPI_BYTES_PER_WORD; in pio_read()365 ctrl->xfer.rem_bytes -= bytes_to_read; in pio_read()387 if (ctrl->xfer.rem_bytes < QSPI_BYTES_PER_WORD) { in pio_write()389 wr_size = min(wr_fifo_bytes, ctrl->xfer.rem_bytes); in pio_write()390 ctrl->xfer.rem_bytes -= wr_size; in pio_write()[all …]
212 int rem_bytes; in hfi_sys_init_done() local224 rem_bytes = pkt->hdr.size - sizeof(*pkt) + sizeof(u32); in hfi_sys_init_done()225 if (rem_bytes <= 0) { in hfi_sys_init_done()231 error = hfi_parser(core, inst, pkt->data, rem_bytes); in hfi_sys_init_done()404 int rem_bytes; in hfi_session_init_done() local414 rem_bytes = pkt->shdr.hdr.size - sizeof(*pkt) + sizeof(u32); in hfi_session_init_done()415 if (rem_bytes <= 0) { in hfi_session_init_done()420 error = hfi_parser(core, inst, pkt->data, rem_bytes); in hfi_session_init_done()
535 int rem_bytes = (int)(CAAM_DESC_BYTES_MAX - sd_base_len - jd_len); in desc_inline_query() local539 for (i = 0; (i < count) && (rem_bytes > 0); i++) { in desc_inline_query()540 if (rem_bytes - (int)(data_len[i] + in desc_inline_query()542 rem_bytes -= data_len[i]; in desc_inline_query()545 rem_bytes -= CAAM_PTR_SZ; in desc_inline_query()549 return (rem_bytes >= 0) ? 0 : -1; in desc_inline_query()
138 int rem_bytes = CAAM_DESC_BYTES_MAX - AEAD_DESC_JOB_IO_LEN - in aead_null_set_sh_desc() local145 if (rem_bytes >= DESC_AEAD_NULL_ENC_LEN) { in aead_null_set_sh_desc()164 if (rem_bytes >= DESC_AEAD_NULL_DEC_LEN) { in aead_null_set_sh_desc()329 int rem_bytes = CAAM_DESC_BYTES_MAX - GCM_DESC_JOB_IO_LEN - in gcm_set_sh_desc() local340 if (rem_bytes >= DESC_GCM_ENC_LEN) { in gcm_set_sh_desc()357 if (rem_bytes >= DESC_GCM_DEC_LEN) { in gcm_set_sh_desc()394 int rem_bytes = CAAM_DESC_BYTES_MAX - GCM_DESC_JOB_IO_LEN - in rfc4106_set_sh_desc() local405 if (rem_bytes >= DESC_RFC4106_ENC_LEN) { in rfc4106_set_sh_desc()423 if (rem_bytes >= DESC_RFC4106_DEC_LEN) { in rfc4106_set_sh_desc()462 int rem_bytes = CAAM_DESC_BYTES_MAX - GCM_DESC_JOB_IO_LEN - in rfc4543_set_sh_desc() local[all …]
304 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in gcm_set_sh_desc() local314 if (rem_bytes >= DESC_QI_GCM_ENC_LEN) { in gcm_set_sh_desc()329 if (rem_bytes >= DESC_QI_GCM_DEC_LEN) { in gcm_set_sh_desc()407 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4106_set_sh_desc() local419 if (rem_bytes >= DESC_QI_RFC4106_ENC_LEN) { in rfc4106_set_sh_desc()433 if (rem_bytes >= DESC_QI_RFC4106_DEC_LEN) { in rfc4106_set_sh_desc()515 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4543_set_sh_desc() local527 if (rem_bytes >= DESC_QI_RFC4543_ENC_LEN) { in rfc4543_set_sh_desc()541 if (rem_bytes >= DESC_QI_RFC4543_DEC_LEN) { in rfc4543_set_sh_desc()
653 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in gcm_set_sh_desc() local664 if (rem_bytes >= DESC_QI_GCM_ENC_LEN) { in gcm_set_sh_desc()684 if (rem_bytes >= DESC_QI_GCM_DEC_LEN) { in gcm_set_sh_desc()745 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4106_set_sh_desc() local758 if (rem_bytes >= DESC_QI_RFC4106_ENC_LEN) { in rfc4106_set_sh_desc()778 if (rem_bytes >= DESC_QI_RFC4106_DEC_LEN) { in rfc4106_set_sh_desc()846 int rem_bytes = CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN - in rfc4543_set_sh_desc() local859 if (rem_bytes >= DESC_QI_RFC4543_ENC_LEN) { in rfc4543_set_sh_desc()879 if (rem_bytes >= DESC_QI_RFC4543_DEC_LEN) { in rfc4543_set_sh_desc()