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

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

Completed in 273 milliseconds