Home
last modified time | relevance | path

Searched refs:ndesc (Results 1 – 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_descdma.h34 int ds_size, int ndesc);
37 int ndesc);
H A Dif_ath_descdma.c145 const char *name, int ds_size, int ndesc) in ath_descdma_alloc_desc() argument
157 __func__, name, ndesc, dd->dd_descsize); in ath_descdma_alloc_desc()
160 dd->dd_desc_len = dd->dd_descsize * ndesc; in ath_descdma_alloc_desc()
203 ndesc, dd->dd_name, error); in ath_descdma_alloc_desc()
238 const char *name, int ds_size, int nbuf, int ndesc) in ath_descdma_setup() argument
250 nbuf * ndesc); in ath_descdma_setup()
271 for (i = 0; i < nbuf; i++, bf++, ds += (ndesc * dd->dd_descsize)) { in ath_descdma_setup()
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohci.cpp645 sc->arrq.ndesc = 1;
646 sc->arrs.ndesc = 1;
647 sc->atrq.ndesc = 8; /* equal to maximum of mbuf chains */
648 sc->atrs.ndesc = 2;
1270 /*nsegments*/ dbch->ndesc > 3 ? dbch->ndesc - 2 : 1,
1291 #define DB_SIZE(x) (sizeof(struct fwohcidb) * (x)->ndesc)
1390 z = dbch->ndesc;
1449 z = dbch->ndesc;
1598 dbch->ndesc = 3;
1608 ldesc = dbch->ndesc - 1;
[all …]
H A Dfwohcivar.h46 u_int ndesc; member
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.c436 int nbuf, size_t bufsize, int ndesc, size_t descsize) in malo_desc_setup() argument
444 ndesc, (uintmax_t) descsize); in malo_desc_setup()
447 dd->dd_desc_len = nbuf * ndesc * descsize; in malo_desc_setup()
476 "error %u\n", nbuf * ndesc, dd->dd_name, error); in malo_desc_setup()
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c3678 int err, nsegs, ndesc, max_segs, pidx, cidx, next, ntxd; in iflib_encap() local
3830 ndesc = pi.ipi_new_pidx - pi.ipi_pidx; in iflib_encap()
3832 ndesc += txq->ift_size; in iflib_encap()
3839 MPASS(ndesc <= pi.ipi_nsegs + 2); in iflib_encap()
3841 MPASS(ndesc > 0); in iflib_encap()
3842 txq->ift_in_use += ndesc; in iflib_encap()
3843 txq->ift_db_pending += ndesc; in iflib_encap()
6927 qidx_t *ndesc; in mp_ndesc_handler() local
6934 ndesc = ctx->ifc_sysctl_ntxds; in mp_ndesc_handler()
6939 ndesc = ctx->ifc_sysctl_nrxds; in mp_ndesc_handler()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dif_bwi.c326 int ndesc, int desc_idx, bus_addr_t paddr, int buf_len, in bwi_setup_desc32() argument
340 if (desc_idx == ndesc - 1) in bwi_setup_desc32()
2359 bus_addr_t paddr, int hdr_size, int ndesc) in bwi_init_rxdesc_ring32() argument
2377 (ndesc - 1) * sizeof(struct bwi_desc32)); in bwi_init_rxdesc_ring32()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c1922 int nbuf, size_t bufsize, int ndesc, size_t descsize) in mwl_desc_setup() argument
1930 ndesc, (uintmax_t) descsize); in mwl_desc_setup()
1933 dd->dd_desc_len = nbuf * ndesc * descsize; in mwl_desc_setup()
1961 "error %u\n", nbuf * ndesc, dd->dd_name, error); in mwl_desc_setup()