Home
last modified time | relevance | path

Searched refs:num_slots (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/drivers/event/opdl/
H A Dopdl_ring.c159 return (n <= s->num_slots) ? n : 0; in available()
181 wrap = s->num_slots; in update_available_seq()
235 if (unlikely(n > s->num_slots)) { in num_to_process()
237 n, s->num_slots); in num_to_process()
790 wait_for_available(s, s->num_slots); in opdl_ring_flush()
803 s->num_slots = t->num_slots; in init_stage()
904 (num_slots * slot_size)); in opdl_ring_create()
922 num_slots, name); in opdl_ring_create()
946 t->num_slots = num_slots; in opdl_ring_create()
947 t->mask = num_slots - 1; in opdl_ring_create()
[all …]
H A Dopdl_ring.h83 opdl_ring_create(const char *name, uint32_t num_slots, uint32_t slot_size,
/f-stack/freebsd/mips/mediatek/
H A Dmtk_pcie.c787 sc->num_slots = 0; in mtk_pcie_phy_init()
993 sc->num_slots = 3; in mtk_pcie_phy_mt7621_init()
1061 sc->num_slots = 1; in mtk_pcie_phy_mt7628_init()
1165 sc->num_slots = 1; in mtk_pcie_phy_mt7620_init()
1197 sc->num_slots = 1; in mtk_pcie_phy_rt3883_init()
1230 for (i = 0; i < sc->num_slots; i++) { in mtk_pcie_phy_setup_slots()
H A Dmtk_pcie.h60 uint32_t num_slots; member
/f-stack/freebsd/net/route/
H A Dnhgrp_ctl.c212 uint32_t num_slots) in compile_nhgrp() argument
224 remaining_slots = num_slots; in compile_nhgrp()
241 KASSERT((slot_idx + nh_slots <= num_slots), in compile_nhgrp()
/f-stack/freebsd/contrib/vchiq/interface/vchi/connections/
H A Dconnection.h197 …STATE_T *state, uint32_t protocol_version, uint32_t slot_size, uint32_t num_slots, uint32_t min_bu…
/f-stack/freebsd/net/
H A Dnetmap.h286 const uint32_t num_slots; /* number of slots in the ring. */ member
H A Dnetmap_user.h129 return ( unlikely(i + 1 == r->num_slots) ? 0 : i + 1); in nm_ring_next()
149 ret += ring->num_slots; in nm_ring_space()
/f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c2288 int num_slots = (mem_size - mem_align)/VCHIQ_SLOT_SIZE; in vchiq_init_slots() local
2292 num_slots -= first_data_slot; in vchiq_init_slots()
2294 if (num_slots < 4) { in vchiq_init_slots()
2313 slot_zero->master.slot_last = first_data_slot + (num_slots/2) - 1; in vchiq_init_slots()
2314 slot_zero->slave.slot_sync = first_data_slot + (num_slots/2); in vchiq_init_slots()
2315 slot_zero->slave.slot_first = first_data_slot + (num_slots/2) + 1; in vchiq_init_slots()
2316 slot_zero->slave.slot_last = first_data_slot + num_slots - 1; in vchiq_init_slots()