Lines Matching defs:caam_drv_private_jr
43 struct caam_drv_private_jr { struct
44 struct list_head list_node; /* Job Ring device list */
45 struct device *dev;
46 int ridx;
47 struct caam_job_ring __iomem *rregs; /* JobR's register space */
48 struct tasklet_struct irqtask;
49 int irq; /* One per queue */
50 bool hwrng;
53 atomic_t tfm_count ____cacheline_aligned;
56 struct caam_jrentry_info *entinfo; /* Alloc'ed 1 per ring entry */
57 spinlock_t inplock ____cacheline_aligned; /* Input ring index lock */
58 u32 inpring_avail; /* Number of free entries in input ring */
59 int head; /* entinfo (s/w ring) head index */
60 void *inpring; /* Base of input ring, alloc
62 int out_ring_read_index; /* Output index "tail" */
63 int tail; /* entinfo (s/w ring) tail index */
64 void *outring; /* Base of output ring, DMA-safe */
65 struct crypto_engine *engine;