HomeSort by: relevance | last modified time | path
    Searched refs:ndesc (Results 1 - 14 of 14) sorted by relevancy

  /src/sys/dev/hpc/
hpckbd.c 306 static struct wscons_keydesc *ndesc = NULL; local in function:hpckbd_keymap_setup
313 if (ndesc == NULL) {
318 ndesc = malloc(sz * sizeof(*ndesc), M_DEVBUF, M_WAITOK);
319 memcpy(ndesc, hpckbd_keymapdata.keydesc, sz * sizeof(*ndesc));
321 hpckbd_keymapdata.keydesc = ndesc;
327 ndesc[i].map = map;
328 ndesc[i].map_size = mapsize;
  /src/sys/arch/sgimips/hpc/
hpcdma.c 66 hpcdma_init(struct hpc_attach_args *haa, struct hpc_dma_softc *sc, int ndesc)
73 sc->sc_ndesc = ndesc;
83 allocsz = sizeof(struct hpc_dma_desc) * (ndesc + 1);
  /src/sys/dev/ieee1394/
fwohcivar.h 50 u_int ndesc; member in struct:fwohci_softc::fwohci_dbch
fwohci.c 354 sc->arrq.ndesc = 1;
355 sc->arrs.ndesc = 1;
356 sc->atrq.ndesc = 8; /* equal to maximum of mbuf chains */
357 sc->atrs.ndesc = 2;
819 dbch->ndesc = 2;
834 ldesc = dbch->ndesc - 1;
862 FWOHCI_DMA_SET(db[ldesc].db.desc.depend, dbch->ndesc);
886 ((struct fwohcidb_tr *)(first->start))->bus_addr | dbch->ndesc);
926 dbch->ndesc = 3;
936 ldesc = dbch->ndesc - 1
    [all...]
  /src/sys/dev/pci/cxgb/
cxgb_sge.c 874 txq_prod(struct sge_txq *txq, unsigned int ndesc, struct txq_state *txqs)
876 txq->in_use += ndesc;
882 txq->unacked += ndesc;
886 txq->pidx += ndesc;
1065 * @ndesc: number of Tx descriptors spanned by the SGL
1082 write_wr_hdr_sgl(unsigned int ndesc, struct tx_desc *txd, struct txq_state *txqs,
1090 if (__predict_true(ndesc == 1)) {
1113 ndesc--;
1162 unsigned int ndesc, flits, cntrl, mlen; local in function:t3_encap
1280 ndesc = calc_tx_descs(m0, nsegs)
1787 unsigned int ndesc; local in function:ofld_xmit
1861 unsigned int ndesc = m_get_priority(m); local in function:restart_offloadq
    [all...]
  /src/sys/arch/arm/gemini/
gemini_ipm.c 267 gemini_ipm_produce(const void *adescp, size_t ndesc)
274 KASSERT(ndesc == 1); /* XXX TMP */
277 __FUNCTION__, __LINE__, descp, ndesc, descp->tag));
gemini_gmac.c 961 gmac_hwqmem_create(gmac_mapcache_t *mc, size_t ndesc, size_t nqueue, int flags)
966 KASSERT(ndesc > 0 && ndesc <= 2048);
967 KASSERT((ndesc & (ndesc - 1)) == 0);
970 hqm->hqm_memsize = nqueue * sizeof(gmac_desc_t [ndesc]);
973 hqm->hqm_ndesc = ndesc;
  /src/sys/kern/
exec_elf.c 942 const char *ndata, *ndesc; local in function:netbsd_elf_signature
961 ndesc = nptr;
968 isnetbsd |= netbsd_elf_note(epp, np, ndata, ndesc);
985 const Elf_Nhdr *np, const char *ndata, const char *ndesc)
1003 memcpy(&epp->ep_osversion, ndesc,
1033 memcpy(&flags, ndesc, sizeof(flags));
1053 * Ensure ndesc is NUL-terminated and of the
1056 if (strnlen(ndesc, np->n_descsz) + 1 !=
1061 strlcpy(epp->ep_machine_arch, ndesc,
1074 ELF_MD_MCMODEL_CHECK(epp, ndesc, np->n_descsz)
    [all...]
  /src/sys/arch/arm/xscale/
pxa2x0_dmac.c 902 struct dmac_desc *desc, *ndesc; local in function:pxa2x0_dmac_abort_xfer
945 for (desc = SLIST_FIRST(&dxs->dxs_descs); desc; desc = ndesc) {
946 ndesc = SLIST_NEXT(desc, d_link);
1151 struct dmac_desc *ndesc; local in function:dmac_continue_xfer
1153 desc; desc = ndesc) {
1154 ndesc = SLIST_NEXT(desc, d_link);
1197 struct dmac_desc *desc, *ndesc; local in function:dmac_channel_intr
1236 for (desc = SLIST_FIRST(&dxs->dxs_descs); desc; desc = ndesc) {
1237 ndesc = SLIST_NEXT(desc, d_link);
  /src/sys/arch/ia64/stand/ia64/efi/
main.c 205 int i, ndesc; local in function:command_memmap
236 ndesc = sz / dsz;
240 for (i = 0, p = map; i < ndesc;
  /src/sys/dev/ic/
rtw.c 1321 int *ndesc, device_t dev)
1344 *ndesc = i;
1707 struct rtw_txsoft *ts, int ndesc)
1717 tdb->tdb_nfree += ndesc;
1771 int ndesc; local in function:rtw_collect_txring
1784 ndesc = 1 + ts->ts_last - ts->ts_first;
1786 ndesc += tdb->tdb_ndesc;
1788 KASSERT(ndesc > 0);
1790 rtw_txdescs_sync(tdb, ts->ts_first, ndesc,
1808 rtw_txdescs_sync(tdb, ts->ts_first, ndesc,
    [all...]
ath.c 2642 const char *name, int nbuf, int ndesc)
2652 __func__, name, nbuf, ndesc);
2655 dd->dd_desc_len = sizeof(struct ath_desc) * nbuf * ndesc;
2667 "error %u\n", nbuf * ndesc, dd->dd_name, error);
2675 nbuf * ndesc, dd->dd_name, error);
2709 for (i = 0; i < nbuf; i++, bf++, ds += ndesc) {
2712 error = bus_dmamap_create(sc->sc_dmat, MCLBYTES, ndesc,
bwi.c 6469 int ndesc, int desc_idx, bus_addr_t paddr, int buf_len, int tx)
6482 if (desc_idx == ndesc - 1)
8575 bus_addr_t paddr, int hdr_size, int ndesc)
8593 (ndesc - 1) * sizeof(struct bwi_desc32));
  /src/sys/dev/marvell/
if_mvxpe.c 2299 uint32_t ptxs, ptxsu, ndesc; local in function:mvxpe_tx_queue_complete
2305 ndesc = MVXPE_PTXS_GET_TBC(ptxs);
2306 if (ndesc == 0)
2310 "tx complete queue %d, %d descriptors.\n", q, ndesc);
2312 mvxpe_ring_sync_tx(sc, q, tx->tx_dma, ndesc,
2315 for (i = 0; i < ndesc; i++) {
2362 while (ndesc > 255) {
2365 ndesc -= 255;
2367 if (ndesc > 0) {
2368 ptxsu = MVXPE_PTXSU_NORB(ndesc);
2554 uint32_t prxs, prxsu, ndesc; local in function:mvxpe_rx_queue_refill
    [all...]

Completed in 31 milliseconds