Searched defs:nbufs (Results 1 - 12 of 12) sorted by relevance

/drivers/infiniband/hw/qib/
H A Dqib_tx.c288 unsigned nbufs; local
296 nbufs = last - first + 1; /* number in range to check */
318 nbufs = last - dd->min_kernel_pio + 1;
319 for (j = 0; j < nbufs; j++, i++) {
334 if (j == nbufs) {
/drivers/gpu/drm/savage/
H A Dsavage_state.c799 unsigned int i, nbufs; local
809 nbufs = ((flags & SAVAGE_FRONT) ? 1 : 0) +
811 if (nbufs == 0)
827 BEGIN_DMA(nbufs * 6);
/drivers/media/v4l2-core/
H A Dvideobuf-core.c878 unsigned size = 0, nbufs = 1; local
885 q->ops->buf_setup(q, &nbufs, &size);
/drivers/net/wireless/ath/ath9k/
H A Drecv.c198 static int ath_rx_edma_init(struct ath_softc *sc, int nbufs) argument
215 size = sizeof(struct ath_rxbuf) * nbufs;
222 for (i = 0; i < nbufs; i++, bf++) {
271 int ath_rx_init(struct ath_softc *sc, int nbufs) argument
284 return ath_rx_edma_init(sc, nbufs);
292 "rx", nbufs, 1, 0);
H A Dxmit.c2743 int ath_tx_init(struct ath_softc *sc, int nbufs) argument
2751 "tx", nbufs, 1, 1);
/drivers/net/ethernet/seeq/
H A Dsgiseeq.c677 int nbufs)
682 while (i < (nbufs - 1)) {
694 int nbufs)
699 while (i < (nbufs - 1)) {
675 setup_tx_ring(struct net_device *dev, struct sgiseeq_tx_desc *buf, int nbufs) argument
692 setup_rx_ring(struct net_device *dev, struct sgiseeq_rx_desc *buf, int nbufs) argument
/drivers/media/usb/stkwebcam/
H A Dstk-webcam.c539 int nbufs; local
556 nbufs = dev->n_sbufs;
559 for (i = 0; i < nbufs; i++) {
/drivers/staging/lustre/lnet/lnet/
H A Drouter.c1303 lnet_rtrpool_alloc_bufs(lnet_rtrbufpool_t *rbp, int nbufs, int cpt) argument
1309 LASSERT (rbp->rbp_nbuffers == nbufs);
1313 for (i = 0; i < nbufs; i++) {
1318 nbufs, rbp->rbp_npages);
1332 LASSERT (rbp->rbp_credits == nbufs);
/drivers/infiniband/hw/ipath/
H A Dipath_driver.c1624 u32 pnum, nbufs; local
1634 nbufs = dd->ipath_piobcnt2k + dd->ipath_piobcnt4k;
1635 buf = ipath_getpiobuf_range(dd, &pnum, first, nbufs, lasti);
/drivers/media/platform/marvell-ccic/
H A Dmcam-core.c266 for (i = 0; i < cam->nbufs; i++) {
363 cam->nbufs = 0;
372 (cam->nbufs)++;
375 switch (cam->nbufs) {
379 cam->nbufs = 0;
396 for (i = 0; i < cam->nbufs; i++) {
401 cam->nbufs = 0;
418 if (cam->nbufs > 2) {
438 for (i = 0; i < cam->nbufs; i++) {
443 if (++(cam->next_buf) >= cam->nbufs)
1069 mcam_vb_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbufs, unsigned int *num_planes, unsigned int sizes[], void *alloc_ctxs[]) argument
[all...]
H A Dmcam-core.h163 unsigned int nbufs; /* How many are alloc'd */ member in struct:mcam_camera
/drivers/net/ethernet/sun/
H A Dcassini.h2747 int nbufs; member in struct:cas_tiny_count

Completed in 266 milliseconds