Lines Matching refs:dlen
1101 unsigned dlen, unsigned slen, u16 mask, u8 snum) in hifn_setup_base_command() argument
1111 __cpu_to_le16(dlen & HIFN_BASE_CMD_LENMASK_LO); in hifn_setup_base_command()
1113 dlen >>= 16; in hifn_setup_base_command()
1117 ((dlen << HIFN_BASE_CMD_DSTLEN_S) & HIFN_BASE_CMD_DSTLEN_M)); in hifn_setup_base_command()
1123 u8 *buf, unsigned dlen, unsigned slen, in hifn_setup_crypto_command() argument
1133 cry_cmd->source_count = __cpu_to_le16(dlen & 0xffff); in hifn_setup_crypto_command()
1134 dlen >>= 16; in hifn_setup_crypto_command()
1136 ((dlen << HIFN_CRYPT_CMD_SRCLEN_S) & in hifn_setup_crypto_command()
1509 unsigned dlen = PAGE_SIZE; in hifn_cipher_walk() local
1513 err = ablkcipher_add(&dlen, dst, slen, &nbytes); in hifn_cipher_walk()
1522 if (dlen < nbytes) { in hifn_cipher_walk()
1541 __func__, dlen, nbytes, slen, offset); in hifn_cipher_walk()
1553 err = ablkcipher_add(&dlen, dst, nbytes, &nbytes); in hifn_cipher_walk()
1578 unsigned long dlen, flags; in hifn_setup_session() local
1590 dlen = min(dst->length, nbytes); in hifn_setup_session()
1593 !IS_ALIGNED(dlen, HIFN_D_DST_DALIGN)) in hifn_setup_session()
1596 nbytes -= dlen; in hifn_setup_session()