Home
last modified time | relevance | path

Searched refs:bufn (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_tx.c129 static int find_ctxt(struct qib_devdata *dd, unsigned bufn) in find_ctxt() argument
138 if (!rcd || bufn < rcd->pio_base || in find_ctxt()
139 bufn >= rcd->pio_base + rcd->piocnt) in find_ctxt()
Dqib.h368 #define QIB_SENDCTRL_DISARM_BUF(bufn) ((bufn) | QIB_SENDCTRL_DISARM) argument
Dqib_iba7322.c1398 u32 bufn; in flush_fifo() local
1422 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo()
1435 qib_sendbuf_done(dd, bufn); in flush_fifo()
/linux-6.12.1/drivers/media/platform/via/
Dvia-camera.c335 int bufn; in viacam_irq() local
349 bufn = (viacam_read_reg(cam, VCR_INTCTRL) & VCR_IC_ACTBUF) >> 3; in viacam_irq()
350 bufn -= 1; in viacam_irq()
351 if (bufn < 0) in viacam_irq()
352 bufn = cam->n_cap_bufs - 1; in viacam_irq()
358 viafb_dma_copy_out_sg(cam->cb_offsets[bufn], sgt->sgl, sgt->nents); in viacam_irq()