Lines Matching defs:caam_drv_private_jr
51 struct caam_drv_private_jr { struct
52 struct list_head list_node; /* Job Ring device list */
53 struct device *dev;
54 int ridx;
55 struct caam_job_ring __iomem *rregs; /* JobR's register space */
56 struct tasklet_struct irqtask;
57 int irq; /* One per queue */
58 bool hwrng;
61 atomic_t tfm_count ____cacheline_aligned;
64 struct caam_jrentry_info *entinfo; /* Alloc'ed 1 per ring entry */
65 spinlock_t inplock ____cacheline_aligned; /* Input ring index lock */
66 u32 inpring_avail; /* Number of free entries in input ring */
67 int head; /* entinfo (s/w ring) head index */
68 void *inpring; /* Base of input ring, alloc
70 int out_ring_read_index; /* Output index "tail" */
71 int tail; /* entinfo (s/w ring) tail index */
72 void *outring; /* Base of output ring, DMA-safe */
73 struct crypto_engine *engine;