/freebsd-current/sys/xen/ |
H A D | blkif.h | 24 #include <contrib/xen/io/ring.h> 28 /* Not a real protocol. Used to generate ring structs which contain 81 * regardless of the protocol in use, based on the ring size. This constant 91 * The number of ring pages required to support a given number of requests
|
/freebsd-current/sys/dev/mgb/ |
H A D | if_mgb.h | 267 * would have to separate rx/tx ring desc 279 struct mgb_ring_desc *ring; 290 struct mgb_ring_desc *ring; member in struct:mgb_ring_data
|
/freebsd-current/tools/sched/ |
H A D | schedgraph.d | 41 #pragma D option bufpolicy=ring
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | dma.c | 647 int ret, type, ring; local 661 ring = FIELD_GET(MT_QFLAG_WED_RING, q->flags); 665 ret = mtk_wed_device_tx_ring_setup(wed, ring, q->regs, reset); 667 q->wed_regs = wed->tx_ring[ring].reg_base; 670 /* WED txfree queue needs ring to be initialized before setup */ 681 ret = mtk_wed_device_rx_ring_setup(wed, ring, q->regs, reset); 683 q->wed_regs = wed->rx_ring[ring].reg_base;
|
/freebsd-current/sys/dev/qat_c2xxx/ |
H A D | qat.c | 807 qat_etr_ap_bank_set_ring_mask(uint32_t *ap_mask, uint32_t ring, int set_mask) argument 810 *ap_mask |= (1 << ETR_RING_NUMBER_IN_AP_BANK(ring)); 812 *ap_mask &= ~(1 << ETR_RING_NUMBER_IN_AP_BANK(ring)); 817 uint32_t ring, int set_dest) 823 mailbox = ETR_RING_AP_MAILBOX_NUMBER(ring); 889 qat_etr_setup_ring(struct qat_softc *sc, int bank, uint32_t ring, argument 903 /* Allocate a ring from specified bank */ 906 if (ring >= sc->sc_hw.qhw_num_rings_per_bank) 908 if (qb->qb_allocated_rings & (1 << ring)) 910 qr = &qb->qb_et_rings[ring]; 816 qat_etr_ap_bank_set_ring_dest(struct qat_softc *sc, uint32_t *ap_dest, uint32_t ring, int set_dest) argument [all...] |
H A D | qatreg.h | 262 /* Macro to get the ring's autopush bank number */ 263 #define ETR_RING_AP_BANK_NUMBER(ring) ((ring) >> 5) 265 /* Macro to get the ring's autopush mailbox number */ 266 #define ETR_RING_AP_MAILBOX_NUMBER(ring) \ 267 (ETR_RING_AP_BANK_NUMBER(ring) % ETR_MAX_MAILBOX_PER_ACCELERATOR) 269 /* Macro to get the ring number in the autopush bank */ 270 #define ETR_RING_NUMBER_IN_AP_BANK(ring) \ 271 ((ring) % ETR_MAX_RINGS_PER_AP_BANK)
|
/freebsd-current/sys/dev/vmware/pvscsi/ |
H A D | pvscsi.c | 647 "Error allocating req ring pages, error = %d\n", error); 656 "Error allocating cmp ring pages, error = %d\n", error); 667 "Error allocating cmp ring pages, error = %d\n", 1034 struct pvscsi_ring_cmp_desc *ring; local 1042 ring = sc->cmp_ring; 1046 e = ring + (s->cmp_cons_idx & mask); 1096 struct pvscsi_ring_msg_desc *ring; local 1104 ring = sc->msg_ring; 1108 e = ring + (s->msg_cons_idx & mask); 1268 struct pvscsi_ring_req_desc *ring; local [all...] |
/freebsd-current/sys/dev/al_eth/ |
H A D | al_eth.c | 376 /* set default ring sizes */ 985 struct al_eth_ring *ring = &adapter->tx_ring[i]; local 987 ring->ring_id = i; 988 ring->dev = adapter->dev; 989 ring->adapter = adapter; 990 ring->netdev = adapter->netdev; 992 &ring->dma_q); 993 ring->sw_count = adapter->tx_ring_count; 994 ring->hw_count = adapter->tx_descs_count; 995 ring 1000 struct al_eth_ring *ring = &adapter->rx_ring[i]; local [all...] |
/freebsd-current/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 69 struct mlx4_en_rx_ring *rx_ring = priv->rx_ring[cq->ring]; 1128 int ring, err; local 1133 for (ring = 0; ring < priv->rx_ring_num; ring++) { 1135 rx_packets = priv->rx_ring[ring]->packets; 1136 rx_bytes = priv->rx_ring[ring]->bytes; 1140 priv->last_moder_packets[ring])); 1144 priv->last_moder_bytes[ring])) / packets : 0; 1163 if (moder_time != priv->last_moder_time[ring]) { 1571 struct mlx4_en_tx_ring *ring; local [all...] |
/freebsd-current/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_hwrm.c | 1451 htole16(softc->rx_cp_rings[0].ring.phys_id); 1583 "Attempt to re-allocate ring group %04x\n", grp->grp_id); 1636 struct bnxt_ring *ring, int cmpl_ring_id) 1643 if (ring->phys_id == (uint16_t)HWRM_NA_SIGNATURE) 1650 req.ring_id = htole16(ring->phys_id); 1672 struct bnxt_ring *ring) 1676 uint16_t idx = ring->idx; 1680 if (ring->phys_id != (uint16_t)HWRM_NA_SIGNATURE) { 1682 "Attempt to re-allocate ring %04x\n", ring 1635 bnxt_hwrm_ring_free(struct bnxt_softc *softc, uint32_t ring_type, struct bnxt_ring *ring, int cmpl_ring_id) argument 1671 bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type, struct bnxt_ring *ring) argument [all...] |
/freebsd-current/contrib/libpcap/msdos/ |
H A D | pkt_rx1.s | 30 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
|
/freebsd-current/sys/dev/ena/ |
H A D | ena.c | 373 ena_init_io_rings_common(struct ena_adapter *adapter, struct ena_ring *ring, argument 376 ring->qid = qid; 377 ring->adapter = adapter; 378 ring->ena_dev = adapter->ena_dev; 379 atomic_store_8(&ring->first_interrupt, 0); 380 ring->no_interrupt_event_cnt = 0; 397 /* TX/RX common ring state */ 401 /* TX specific ring state */ 429 /* Allocate a buf ring */ 740 /* Flush buffer ring, */ 1509 struct ena_ring *ring; local [all...] |
/freebsd-current/sys/dev/oce/ |
H A D | oce_mbox.c | 338 mbx = RING_GET_PRODUCER_ITEM_VA(mq->ring, struct oce_mbx); 350 bus_dmamap_sync(mq->ring->dma.tag, mq->ring->dma.map, 352 RING_PUT(mq->ring, 1); 1661 num_pages = oce_page_list(rq->ring, &fwcmd->params.req.pages[0]); 1723 num_pages = oce_page_list(wq->ring, &fwcmd->params.req.pages[0]); 1773 num_pages = oce_page_list(eq->ring, &fwcmd->params.req.pages[0]); 1828 num_pages = oce_page_list(cq->ring, &fwcmd->params.req.pages[0]); 2294 num_pages = oce_page_list(rq->ring, &fwcmd->params.req.pages[0]);
|
/freebsd-current/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 202 static int pmc_add_sample(ring_type_t ring, struct pmc *pm, 4601 pmc_add_sample(ring_type_t ring, struct pmc *pm, struct trapframe *tf) argument 4615 psb = pmc_pcpu[cpu]->pc_sb[ring]; 4667 if (ring == PMC_UR) { 4694 pmc_process_interrupt(int ring, struct pmc *pm, struct trapframe *tf) argument 4704 return (pmc_add_sample(ring, pm, tf)); 4713 pmc_capture_user_callchain(int cpu, int ring, struct trapframe *tf) argument 4723 psb = pmc_pcpu[cpu]->pc_sb[ring]; 4733 if (ring == PMC_UR) 4766 if (ring 4824 pmc_process_samples(int cpu, ring_type_t ring) argument [all...] |
/freebsd-current/crypto/heimdal/appl/telnet/telnet/ |
H A D | Makefile.in | 102 main.$(OBJEXT) network.$(OBJEXT) ring.$(OBJEXT) \ 397 telnet_SOURCES = authenc.c commands.c main.c network.c ring.c \ 399 utilities.c defines.h externs.h ring.h telnet_locl.h types.h 501 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ring.Po@am__quote@
|
/freebsd-current/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bman_low.c | 138 * analysis, look at using the "extra" bit in the ring index registers to avoid 156 /* Bit-wise logic to wrap a ring pointer by clearing the "carry bit" */ 160 /* Bit-wise logic to convert a ring pointer to a ring index */ 166 /* Increment the 'cursor' ring pointer, taking 'vbit' into account */ 186 rcr->ring = ptr_ADD(portal->addr.addr_ce, CL_RCR); 189 rcr->cursor = rcr->ring + pi;
|
/freebsd-current/sys/dev/safexcel/ |
H A D | safexcel_var.h | 377 /* Shadows the command descriptor ring. */ 399 int ring; member in struct:safexcel_intr_handle
|
/freebsd-current/sys/dev/qat/include/common/ |
H A D | adf_common_drv.h | 168 void adf_update_ring_arb(struct adf_etr_ring_data *ring);
|
/freebsd-current/sys/dev/enic/ |
H A D | enic.h | 392 struct enic_ring ring; member in struct:enic_cp_ring
|
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ARMEHABIPrinter.h | 36 static ArrayRef<RingEntry> ring(); 69 inline ArrayRef<OpcodeDecoder::RingEntry> OpcodeDecoder::ring() { function in class:llvm::ARM::EHABI::OpcodeDecoder 310 for (const auto &RE : ring()) {
|
/freebsd-current/sys/contrib/dev/athk/ath12k/ |
H A D | dp.h | 476 * b'16:23 - ring_id: identify which ring is to setup, 480 * dword1 - b'0:31 - ring_base_addr_lo: Lower 32bits of ring base address 481 * dword2 - b'0:31 - ring_base_addr_hi: Upper 32bits of ring base address 482 * dword3 - b'0:15 - ring_size: size of the ring in unit of 4-bytes words 490 * element within the ring. 496 * element within the ring. 502 * element within the ring. 508 * element within the ring. 534 * Used only by Consumer ring to generate ring_sw_int_p. 539 * Used only by Consumer ring t [all...] |
/freebsd-current/sys/contrib/dev/athk/ath11k/ |
H A D | dp.h | 94 /* PPDU id matches in dst ring and status ring */ 96 /* status ring dma is not done */ 98 /* status ring is lagging, reap status ring */ 100 /* status ring is leading, reap dst ring and drop */ 102 /* replinish monitor status ring */ 405 * b'16:23 - ring_id: identify which ring is to setup, 409 * dword1 - b'0:31 - ring_base_addr_lo: Lower 32bits of ring bas [all...] |
/freebsd-current/sys/net/ |
H A D | iflib.c | 308 /* this should really scale with ring size - this is a fairly arbitrary value */ 532 * Only allow a single packet to take up most 1/nth of the tx ring 862 struct netmap_ring *ring = kring->ring; local 921 struct netmap_slot *slot = &ring->slot[nm_i]; 974 * Reconcile kernel and user view of the transmit ring. 992 struct netmap_ring *ring = kring->ring; local 994 u_int nic_i; /* index into the NIC ring */ 1002 * them every half ring, o 1169 struct netmap_ring *ring = kring->ring; local 3154 iflib_txd_db_check(iflib_txq_t txq, int ring) argument 3941 bool do_prefetch, rang, ring; local [all...] |
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_bdg.c | 44 On the rx ring, the per-port lock is grabbed initially to reserve 45 a number of slot in the ring, then the lock is released, 47 the lock is acquired again and the receive ring is updated. 48 (A similar thing is done on the tx ring for NIC and host stack 849 /* Use a separate core for each ring. If nr_num_polling_cpus>1 852 * ring 2 and 3 are polled by core 2 and 3, respectively. */ 1099 struct netmap_ring *ring = kring->ring; local 1118 struct netmap_slot *slot = &ring->slot[nm_i]; 1231 * The only part of the ring tha [all...] |
/freebsd-current/sys/dev/et/ |
H A D | if_et.c | 808 bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map, bus_addr_t *paddr, 821 /* Allocate DMA'able memory for ring. */ 822 error = bus_dmamem_alloc(*tag, (void **)ring, 829 /* Load the address of the ring. */ 831 error = bus_dmamap_load(*tag, *map, *ring, maxsize, et_dma_map_addr, 843 et_dma_ring_free(struct et_softc *sc, bus_dma_tag_t *tag, uint8_t **ring, argument 851 if (*ring != NULL) { 852 bus_dmamem_free(*tag, *ring, map); 853 *ring = NULL; 882 /* TX ring 807 et_dma_ring_alloc(struct et_softc *sc, bus_size_t alignment, bus_size_t maxsize, bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map, bus_addr_t *paddr, const char *msg) argument [all...] |