Lines Matching refs:cdesc
816 int ret, nreq = 0, cdesc = 0, rdesc = 0, commands, results; in safexcel_dequeue() local
854 cdesc += commands; in safexcel_dequeue()
886 writel((cdesc * priv->config.cd_offset), in safexcel_dequeue()
952 struct safexcel_command_desc *cdesc; in safexcel_complete() local
956 cdesc = safexcel_ring_next_rptr(priv, &priv->ring[ring].cdr); in safexcel_complete()
957 if (IS_ERR(cdesc)) { in safexcel_complete()
962 } while (!cdesc->last_seg); in safexcel_complete()
980 struct safexcel_command_desc *cdesc; in safexcel_invalidate_cache() local
986 cdesc = safexcel_add_cdesc(priv, ring, true, true, 0, 0, 0, ctxr_dma, in safexcel_invalidate_cache()
988 if (IS_ERR(cdesc)) in safexcel_invalidate_cache()
989 return PTR_ERR(cdesc); in safexcel_invalidate_cache()
991 cdesc->control_data.type = EIP197_TYPE_EXTENDED; in safexcel_invalidate_cache()
992 cdesc->control_data.options = 0; in safexcel_invalidate_cache()
993 cdesc->control_data.context_lo &= ~EIP197_CONTEXT_SIZE_MASK; in safexcel_invalidate_cache()
994 cdesc->control_data.control0 = CONTEXT_CONTROL_INV_TR; in safexcel_invalidate_cache()