Lines Matching refs:cdesc
824 int ret, nreq = 0, cdesc = 0, rdesc = 0, commands, results; in safexcel_dequeue() local
862 cdesc += commands; in safexcel_dequeue()
894 writel((cdesc * priv->config.cd_offset), in safexcel_dequeue()
960 struct safexcel_command_desc *cdesc; in safexcel_complete() local
964 cdesc = safexcel_ring_next_rptr(priv, &priv->ring[ring].cdr); in safexcel_complete()
965 if (IS_ERR(cdesc)) { in safexcel_complete()
970 } while (!cdesc->last_seg); in safexcel_complete()
977 struct safexcel_command_desc *cdesc; in safexcel_invalidate_cache() local
983 cdesc = safexcel_add_cdesc(priv, ring, true, true, 0, 0, 0, ctxr_dma, in safexcel_invalidate_cache()
985 if (IS_ERR(cdesc)) in safexcel_invalidate_cache()
986 return PTR_ERR(cdesc); in safexcel_invalidate_cache()
988 cdesc->control_data.type = EIP197_TYPE_EXTENDED; in safexcel_invalidate_cache()
989 cdesc->control_data.options = 0; in safexcel_invalidate_cache()
990 cdesc->control_data.context_lo &= ~EIP197_CONTEXT_SIZE_MASK; in safexcel_invalidate_cache()
991 cdesc->control_data.control0 = CONTEXT_CONTROL_INV_TR; in safexcel_invalidate_cache()