Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_tx.c132 static int find_ctxt(struct qib_devdata *dd, unsigned bufn) in find_ctxt() argument
141 if (!rcd || bufn < rcd->pio_base || in find_ctxt()
142 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.1.9/drivers/media/platform/via/
Dvia-camera.c346 int bufn; in viacam_irq() local
360 bufn = (viacam_read_reg(cam, VCR_INTCTRL) & VCR_IC_ACTBUF) >> 3; in viacam_irq()
361 bufn -= 1; in viacam_irq()
362 if (bufn < 0) in viacam_irq()
363 bufn = cam->n_cap_bufs - 1; in viacam_irq()
369 viafb_dma_copy_out_sg(cam->cb_offsets[bufn], sgt->sgl, sgt->nents); in viacam_irq()