Home
last modified time | relevance | path

Searched refs:req_bitmap (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c168 u32 req_bitmap; in qmgr_irq2_a0() local
173 req_bitmap = qmgr_regs->irqen[1] & qmgr_regs->statne_h; in qmgr_irq2_a0()
174 while (req_bitmap) { in qmgr_irq2_a0()
175 i = __fls(req_bitmap); /* number of the last "high" queue */ in qmgr_irq2_a0()
176 req_bitmap &= ~BIT(i); in qmgr_irq2_a0()
187 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); in qmgr_irq() local
189 if (!req_bitmap) in qmgr_irq()
191 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ in qmgr_irq()
193 while (req_bitmap) { in qmgr_irq()
194 i = __fls(req_bitmap); /* number of the last queue */ in qmgr_irq()
[all …]
/Linux-v5.10/drivers/crypto/hisilicon/zip/
Dzip_crypto.c81 unsigned long *req_bitmap; member
261 req_q->req_bitmap = kcalloc(BITS_TO_LONGS(req_q->size), in hisi_zip_create_req_q()
263 if (!req_q->req_bitmap) { in hisi_zip_create_req_q()
286 kfree(ctx->qp_ctx[HZIP_QPC_DECOMP].req_q.req_bitmap); in hisi_zip_create_req_q()
290 kfree(ctx->qp_ctx[HZIP_QPC_COMP].req_q.req_bitmap); in hisi_zip_create_req_q()
300 kfree(ctx->qp_ctx[i].req_q.req_bitmap); in hisi_zip_release_req_q()
345 clear_bit(req->req_id, req_q->req_bitmap); in hisi_zip_remove_req()
497 req_id = find_first_zero_bit(req_q->req_bitmap, req_q->size); in hisi_zip_create_req()
503 set_bit(req_id, req_q->req_bitmap); in hisi_zip_create_req()