Lines Matching defs:length
539 if (!sg->length)
552 if (!sg->length)
567 * - 1 if new transmitting (output) data is ready and its address+length
589 * - 1 if new receiving (input) data is ready and its address+length
735 * Writing length of DMA block (either receiving or
917 * @length: length for request
923 * length as 2^63 so it will be never reached and set to zero prelow and
928 static void s5p_hash_write_ctrl(struct s5p_aes_dev *dd, size_t length,
945 low = length;
973 * @length: length for request
978 static int s5p_hash_xmit_dma(struct s5p_aes_dev *dd, size_t length,
994 s5p_hash_write_ctrl(dd, length, final);
995 ctx->digcnt += length;
996 ctx->total -= length;
1058 * xmit_buf filled, prepare it first, then copy page, length and offset from
1093 while (sg && skip >= sg->length) {
1094 skip -= sg->length;
1099 len = sg->length - skip;
1143 if (!sg || !sg->length || !new_len)
1151 if (skip >= sg_tmp->length) {
1152 skip -= sg_tmp->length;
1153 if (!sg_tmp->length) {
1158 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) {
1163 if (nbytes < sg_tmp->length - skip) {
1168 nbytes -= sg_tmp->length - skip;
1330 get_order(ctx->sg->length));
1829 if (!IS_ALIGNED(sg->length, AES_BLOCK_SIZE))