Home
last modified time | relevance | path

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

/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath_descdma.c150 const char *name, int ds_size, int ndesc) in ath_descdma_alloc_desc() argument
162 __func__, name, ndesc, dd->dd_descsize); in ath_descdma_alloc_desc()
165 dd->dd_desc_len = dd->dd_descsize * ndesc; in ath_descdma_alloc_desc()
214 ndesc, dd->dd_name, error); in ath_descdma_alloc_desc()
249 const char *name, int ds_size, int nbuf, int ndesc) in ath_descdma_setup() argument
261 nbuf * ndesc); in ath_descdma_setup()
282 for (i = 0; i < nbuf; i++, bf++, ds += (ndesc * dd->dd_descsize)) { in ath_descdma_setup()
H A Dif_ath_descdma.h36 int ds_size, int ndesc);
39 int ndesc);
/dragonfly/sys/bus/firewire/
H A Dfwohci.c642 sc->arrq.ndesc = 1;
643 sc->arrs.ndesc = 1;
645 sc->atrs.ndesc = 2;
1203 /*nsegments*/ dbch->ndesc > 3 ? dbch->ndesc - 2 : 1,
1318 z = dbch->ndesc;
1373 z = dbch->ndesc;
1486 dbch->ndesc = 3;
1495 ldesc = dbch->ndesc - 1;
1607 dbch->ndesc = 2;
1671 | dbch->ndesc);
[all …]
H A Dfwohcivar.h51 u_int ndesc; member
/dragonfly/sys/net/netmap/
H A Dnetmap_mem2.c921 u_int len, ndesc; in netmap_mem_rings_create() local
927 ndesc = kring->nkr_num_slots; in netmap_mem_rings_create()
929 ndesc * sizeof(struct netmap_slot); in netmap_mem_rings_create()
937 *(uint32_t *)(uintptr_t)&ring->num_slots = ndesc; in netmap_mem_rings_create()
948 if (netmap_new_bufs(na->nm_mem, ring->slot, ndesc)) { in netmap_mem_rings_create()
955 ndesc = kring->nkr_num_slots; in netmap_mem_rings_create()
957 ndesc * sizeof(struct netmap_slot); in netmap_mem_rings_create()
966 *(uint32_t *)(uintptr_t)&ring->num_slots = ndesc; in netmap_mem_rings_create()
977 if (netmap_new_bufs(na->nm_mem, ring->slot, ndesc)) { in netmap_mem_rings_create()
H A Dnetmap.c413 u_int i, len, ndesc; in netmap_krings_create() local
425 ndesc = na->num_tx_desc; in netmap_krings_create()
430 kring->nkr_num_slots = ndesc; in netmap_krings_create()
437 kring->nr_hwavail = ndesc - 1; in netmap_krings_create()
442 ndesc = na->num_rx_desc; in netmap_krings_create()
447 kring->nkr_num_slots = ndesc; in netmap_krings_create()
/dragonfly/contrib/libpcap/
H A Dpcap-common.c1551 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
1559 for (i = 0; i < uhdr->ndesc; i++) { in swap_linux_usb_header()
/dragonfly/sys/platform/pc64/x86_64/
H A Defirt.c197 efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz) in efi_create_1t1_map() argument
206 efi_ndesc = ndesc; in efi_create_1t1_map()
235 i < ndesc; i++, p = efi_next_descriptor(p, descsz)) { in efi_create_1t1_map()
H A Dmachdep.c2033 int i, ndesc; in add_efi_map_entries() local
2061 ndesc = efihdrbase->memory_size / efihdrbase->descriptor_size; in add_efi_map_entries()
2067 for (i = 0, p = map; i < ndesc; i++, in add_efi_map_entries()
/dragonfly/sys/dev/virtual/virtio/virtio/
H A Dvirtqueue.c452 uint16_t ndesc; in virtqueue_postpone_intr() local
460 ndesc = (uint16_t)(vq->vq_ring.avail->idx - vq->vq_used_cons_idx) / 2; in virtqueue_postpone_intr()
463 vring_used_event(&vq->vq_ring) = vq->vq_used_cons_idx + ndesc; in virtqueue_postpone_intr()
474 if (virtqueue_nused(vq) > ndesc) in virtqueue_postpone_intr()
/dragonfly/contrib/libpcap/pcap/
H A Dusb.h125 uint32_t ndesc; /* number of isochronous descriptors */ member
/dragonfly/sys/dev/virtual/vmware/vmxnet3/
H A Dif_vmx.c534 int nqueue, ndesc; in vmxnet3_initial_config() local
556 if (ndesc > VMXNET3_MAX_TX_NDESC || ndesc < VMXNET3_MIN_TX_NDESC) in vmxnet3_initial_config()
557 ndesc = VMXNET3_DEF_TX_NDESC; in vmxnet3_initial_config()
558 if (ndesc & VMXNET3_MASK_TX_NDESC) in vmxnet3_initial_config()
559 ndesc &= ~VMXNET3_MASK_TX_NDESC; in vmxnet3_initial_config()
560 sc->vmx_ntxdescs = ndesc; in vmxnet3_initial_config()
563 if (ndesc > VMXNET3_MAX_RX_NDESC || ndesc < VMXNET3_MIN_RX_NDESC) in vmxnet3_initial_config()
564 ndesc = VMXNET3_DEF_RX_NDESC; in vmxnet3_initial_config()
565 if (ndesc & VMXNET3_MASK_RX_NDESC) in vmxnet3_initial_config()
566 ndesc &= ~VMXNET3_MASK_RX_NDESC; in vmxnet3_initial_config()
[all …]
/dragonfly/sbin/sysctl/
H A Dsysctl.c569 int ndesc, i; in S_efi_map() local
607 ndesc = efihdr->memory_size / efihdr->descriptor_size; in S_efi_map()
612 for (i = 0; i < ndesc; i++, in S_efi_map()
/dragonfly/contrib/tcpdump/
H A Dprint-usb.c121 nd_uint32_t ndesc; /* number of isochronous descriptors */ member
/dragonfly/stand/boot/efi/loader/
H A Dmain.c453 int i, ndesc; in command_memmap() local
485 ndesc = sz / dsz; in command_memmap()
494 for (i = 0, p = map; i < ndesc; in command_memmap()
/dragonfly/sys/dev/raid/mpr/
H A Dmpr_sas.c1767 uint16_t ndesc, list_len, data_length;
1801 ndesc = be16toh(plist->unmap_blk_desc_data_len) >> 4;
1802 if (!ndesc) {
1809 data_length = ndesc * sizeof(struct nvme_dsm_range);
1835 for (i = 0; i < ndesc; i++) {
1863 c->cdw10 = htole32(ndesc - 1);
/dragonfly/sys/dev/netif/em/
H A Dif_em.c3080 em_destroy_tx_ring(struct adapter *adapter, int ndesc) in em_destroy_tx_ring() argument
3088 for (i = 0; i < ndesc; i++) { in em_destroy_tx_ring()
3639 em_destroy_rx_ring(struct adapter *adapter, int ndesc) in em_destroy_rx_ring() argument
3647 for (i = 0; i < ndesc; i++) { in em_destroy_rx_ring()
/dragonfly/sys/dev/netif/emx/
H A Dif_emx.c2605 emx_destroy_tx_ring(struct emx_txdata *tdata, int ndesc) in emx_destroy_tx_ring() argument
2623 for (i = 0; i < ndesc; i++) { in emx_destroy_tx_ring()
3305 emx_destroy_rx_ring(struct emx_rxdata *rdata, int ndesc) in emx_destroy_rx_ring() argument
3323 for (i = 0; i < ndesc; i++) { in emx_destroy_rx_ring()
/dragonfly/sys/dev/netif/ix/
H A Dif_ix.c2090 ix_destroy_tx_ring(struct ix_tx_ring *txr, int ndesc) in ix_destroy_tx_ring() argument
2113 for (i = 0; i < ndesc; ++i) { in ix_destroy_tx_ring()
2523 ix_destroy_rx_ring(struct ix_rx_ring *rxr, int ndesc) in ix_destroy_rx_ring() argument
2538 for (i = 0; i < ndesc; ++i) { in ix_destroy_rx_ring()
/dragonfly/sys/dev/netif/igb/
H A Dif_igb.c1976 igb_destroy_tx_ring(struct igb_tx_ring *txr, int ndesc) in igb_destroy_tx_ring() argument
1999 for (i = 0; i < ndesc; ++i) { in igb_destroy_tx_ring()
2379 igb_destroy_rx_ring(struct igb_rx_ring *rxr, int ndesc) in igb_destroy_rx_ring() argument
2394 for (i = 0; i < ndesc; ++i) { in igb_destroy_rx_ring()