Lines Matching refs:cache_len
186 u64 cache_len; in safexcel_handle_req_result() local
245 cache_len = safexcel_queued_len(sreq); in safexcel_handle_req_result()
246 if (cache_len) in safexcel_handle_req_result()
247 memcpy(sreq->cache, sreq->cache_next, cache_len); in safexcel_handle_req_result()
265 u64 queued, len, cache_len; in safexcel_ahash_send_req() local
269 cache_len = queued; in safexcel_ahash_send_req()
271 cache_len = queued - areq->nbytes; in safexcel_ahash_send_req()
300 if (cache_len) { in safexcel_ahash_send_req()
302 cache_len, DMA_TO_DEVICE); in safexcel_ahash_send_req()
306 req->cache_sz = cache_len; in safexcel_ahash_send_req()
308 (cache_len == len), in safexcel_ahash_send_req()
309 req->cache_dma, cache_len, len, in safexcel_ahash_send_req()
317 queued -= cache_len; in safexcel_ahash_send_req()
560 u64 cache_len; in safexcel_ahash_cache() local
565 cache_len = safexcel_queued_len(req); in safexcel_ahash_cache()
571 if (cache_len + areq->nbytes <= HASH_CACHE_SIZE) { in safexcel_ahash_cache()
573 req->cache + cache_len, in safexcel_ahash_cache()