Home
last modified time | relevance | path

Searched defs:ring (Results 1 – 25 of 118) sorted by relevance

12345

/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dring.c83 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init()
107 ring_mark(Ring *ring) in ring_mark()
117 ring_at_mark(Ring *ring) in ring_at_mark()
131 ring_clear_mark(Ring *ring) in ring_clear_mark()
140 ring_supplied(Ring *ring, int count) in ring_supplied()
150 ring_consumed(Ring *ring, int count) in ring_consumed()
185 ring_empty_count(Ring *ring) in ring_empty_count()
196 ring_empty_consecutive(Ring *ring) in ring_empty_consecutive()
217 ring_full_count(Ring *ring) in ring_full_count()
235 ring_full_consecutive(Ring *ring) in ring_full_consecutive()
[all …]
/freebsd/contrib/telnet/telnet/
H A Dring.c98 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init()
122 ring_mark(Ring *ring) in ring_mark()
132 ring_at_mark(Ring *ring) in ring_at_mark()
146 ring_clear_mark(Ring *ring) in ring_clear_mark()
155 ring_supplied(Ring *ring, int count) in ring_supplied()
165 ring_consumed(Ring *ring, int count) in ring_consumed()
200 ring_empty_count(Ring *ring) in ring_empty_count()
211 ring_empty_consecutive(Ring *ring) in ring_empty_consecutive()
232 ring_full_count(Ring *ring) in ring_full_count()
250 ring_full_consecutive(Ring *ring) in ring_full_consecutive()
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_ring.h57 ck_ring_size(const struct ck_ring *ring) in ck_ring_size()
67 ck_ring_capacity(const struct ck_ring *ring) in ck_ring_capacity()
79 ck_ring_repair(struct ck_ring *ring) in ck_ring_repair()
98 ck_ring_valid(const struct ck_ring *ring) in ck_ring_valid()
120 ck_ring_init(struct ck_ring *ring, unsigned int size) in ck_ring_init()
140 _ck_ring_enqueue_reserve_sp(struct ck_ring *ring, in _ck_ring_enqueue_reserve_sp()
165 _ck_ring_enqueue_commit_sp(struct ck_ring *ring) in _ck_ring_enqueue_commit_sp()
174 _ck_ring_enqueue_sp(struct ck_ring *ring, in _ck_ring_enqueue_sp()
205 _ck_ring_enqueue_sp_size(struct ck_ring *ring, in _ck_ring_enqueue_sp_size()
220 _ck_ring_dequeue_sc(struct ck_ring *ring, in _ck_ring_dequeue_sc()
[all …]
/freebsd/sys/dev/qat/qat_api/qat_kernel/src/
H A Dqat_transport.c95 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_transReleaseHandle() local
120 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_transGetRingNum() local
139 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_transPutMsg() local
161 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_getInflightRequests() local
206 struct adf_etr_ring_data *ring = NULL; in icp_adf_pollInstance() local
295 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_getQueueMemory() local
321 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_getSingleQueueAddr() local
352 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_getQueueNext() local
373 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_updateQueueTail() local
399 struct adf_etr_ring_data *ring = trans_handle; in icp_adf_pollQueue() local
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddbring.c11 struct ath12k_dbring *ring, in ath12k_dbring_bufs_replenish()
76 struct ath12k_dbring *ring, in ath12k_dbring_fill_bufs()
117 struct ath12k_dbring *ring, in ath12k_dbring_wmi_cfg_setup()
148 int ath12k_dbring_set_cfg(struct ath12k *ar, struct ath12k_dbring *ring, in ath12k_dbring_set_cfg()
164 struct ath12k_dbring *ring, in ath12k_dbring_buf_setup()
186 int ath12k_dbring_srng_setup(struct ath12k *ar, struct ath12k_dbring *ring, in ath12k_dbring_srng_setup()
233 struct ath12k_dbring *ring = NULL; in ath12k_dbring_buffer_release_event() local
337 void ath12k_dbring_srng_cleanup(struct ath12k *ar, struct ath12k_dbring *ring) in ath12k_dbring_srng_cleanup()
342 void ath12k_dbring_buf_cleanup(struct ath12k *ar, struct ath12k_dbring *ring) in ath12k_dbring_buf_cleanup()
/freebsd/sys/dev/qat/qat_common/
H A Dadf_transport.c52 adf_reserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_reserve_ring()
65 adf_unreserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_unreserve_ring()
73 adf_enable_ring_irq(struct adf_etr_bank_data *bank, u32 ring) in adf_enable_ring_irq()
94 adf_disable_ring_irq(struct adf_etr_bank_data *bank, u32 ring) in adf_disable_ring_irq()
107 adf_send_message(struct adf_etr_ring_data *ring, u32 *msg) in adf_send_message()
136 adf_handle_response(struct adf_etr_ring_data *ring, u32 quota) in adf_handle_response()
171 struct adf_etr_ring_data *ring; in adf_poll_bank() local
284 adf_configure_tx_ring(struct adf_etr_ring_data *ring) in adf_configure_tx_ring()
296 adf_configure_rx_ring(struct adf_etr_ring_data *ring) in adf_configure_rx_ring()
310 adf_init_ring(struct adf_etr_ring_data *ring) in adf_init_ring()
[all …]
H A Dadf_gen2_hw_data.c13 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head()
21 u32 ring, in write_csr_ring_head()
28 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail()
36 u32 ring, in write_csr_ring_tail()
51 u32 ring, in write_csr_ring_config()
58 read_csr_ring_base(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_base()
66 u32 ring, in write_csr_ring_base()
H A Dadf_gen4vf_hw_csr_data.c13 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head()
21 u32 ring, in write_csr_ring_head()
28 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail()
36 u32 ring, in write_csr_ring_tail()
51 u32 ring, in write_csr_ring_config()
58 read_csr_ring_base(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_base()
66 u32 ring, in write_csr_ring_base()
H A Dadf_gen4_hw_data.c17 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head()
25 u32 ring, in write_csr_ring_head()
32 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail()
40 u32 ring, in write_csr_ring_tail()
55 u32 ring, in write_csr_ring_config()
62 read_csr_ring_base(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_base()
70 u32 ring, in write_csr_ring_base()
H A Dadf_freebsd_transport_debug.c20 struct adf_etr_ring_data *ring = arg1; in adf_ring_show() local
75 adf_ring_debugfs_add(struct adf_etr_ring_data *ring, const char *name) in adf_ring_debugfs_add()
110 adf_ring_debugfs_rm(struct adf_etr_ring_data *ring) in adf_ring_debugfs_rm()
138 struct adf_etr_ring_data *ring = &bank->rings[ring_id]; in adf_bank_show() local
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c60 struct mlx4_en_tx_ring *ring; in mlx4_en_create_tx_ring() local
194 struct mlx4_en_tx_ring *ring = *pring; in mlx4_en_destroy_tx_ring() local
216 struct mlx4_en_tx_ring *ring, in mlx4_en_activate_tx_ring()
244 struct mlx4_en_tx_ring *ring) in mlx4_en_deactivate_tx_ring()
272 struct mlx4_en_tx_ring *ring, u32 index, u8 owner) in mlx4_en_stamp_wqe()
291 struct mlx4_en_tx_ring *ring, u32 index) in mlx4_en_free_tx_desc()
311 int mlx4_en_free_tx_buf(if_t dev, struct mlx4_en_tx_ring *ring) in mlx4_en_free_tx_buf()
340 mlx4_en_tx_ring_is_full(struct mlx4_en_tx_ring *ring) in mlx4_en_tx_ring_is_full()
352 struct mlx4_en_tx_ring *ring = priv->tx_ring[cq->ring]; in mlx4_en_process_tx_cq() local
427 struct mlx4_en_tx_ring *ring = priv->tx_ring[cq->ring]; in mlx4_en_tx_irq() local
[all …]
H A Dmlx4_en_rx.c49 struct mlx4_en_rx_ring *ring, in mlx4_en_init_rx_desc()
74 mlx4_en_alloc_mbuf(struct mlx4_en_rx_ring *ring) in mlx4_en_alloc_mbuf()
110 mlx4_en_alloc_buf(struct mlx4_en_rx_ring *ring, struct mlx4_en_rx_desc *rx_desc, in mlx4_en_alloc_buf()
223 mlx4_en_free_buf(struct mlx4_en_rx_ring *ring, struct mlx4_en_rx_mbuf *mb_list) in mlx4_en_free_buf()
234 struct mlx4_en_rx_ring *ring, int index) in mlx4_en_prepare_rx_desc()
250 mlx4_en_update_rx_prod_db(struct mlx4_en_rx_ring *ring) in mlx4_en_update_rx_prod_db()
257 struct mlx4_en_rx_ring *ring; in mlx4_en_fill_rx_buffers() local
304 struct mlx4_en_rx_ring *ring) in mlx4_en_free_rx_buf()
370 struct mlx4_en_rx_ring *ring; in mlx4_en_create_rx_ring() local
465 struct mlx4_en_rx_ring *ring; in mlx4_en_activate_rx_rings() local
[all …]
H A Dmlx4_en_port.c165 const struct mlx4_en_rx_ring *ring = priv->rx_ring[i]; in mlx4_en_fold_software_stats() local
176 const struct mlx4_en_tx_ring *ring = priv->tx_ring[i]; in mlx4_en_fold_software_stats() local
225 const struct mlx4_en_tx_ring *ring; in mlx4_en_DUMP_ETH_STATS() local
451 const struct mlx4_en_tx_ring *ring = priv->tx_ring[i]; in mlx4_en_get_vport_stats() local
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddbring.c39 struct ath11k_dbring *ring, in ath11k_dbring_bufs_replenish()
106 struct ath11k_dbring *ring, in ath11k_dbring_fill_bufs()
152 struct ath11k_dbring *ring, in ath11k_dbring_wmi_cfg_setup()
183 int ath11k_dbring_set_cfg(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_set_cfg()
199 struct ath11k_dbring *ring, in ath11k_dbring_buf_setup()
221 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_srng_setup()
268 struct ath11k_dbring *ring; in ath11k_dbring_buffer_release_event() local
378 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring) in ath11k_dbring_srng_cleanup()
383 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring) in ath11k_dbring_buf_cleanup()
/freebsd/sys/dev/qat/include/
H A Dadf_gen4vf_hw_csr_data.h28 #define READ_CSR_RING_HEAD_GEN4VF(csr_base_addr, bank, ring) \ argument
33 #define READ_CSR_RING_TAIL_GEN4VF(csr_base_addr, bank, ring) \ argument
43 #define WRITE_CSR_RING_CONFIG_GEN4VF(csr_base_addr, bank, ring, value) \ argument
49 #define WRITE_CSR_RING_BASE_GEN4VF(csr_base_addr, bank, ring, value) \ argument
71 read_base_gen4vf(struct resource *csr_base_addr, u32 bank, u32 ring) in read_base_gen4vf()
96 #define READ_CSR_RING_BASE_GEN4VF(csr_base_addr, bank, ring) \ argument
99 #define WRITE_CSR_RING_HEAD_GEN4VF(csr_base_addr, bank, ring, value) \ argument
105 #define WRITE_CSR_RING_TAIL_GEN4VF(csr_base_addr, bank, ring, value) \ argument
/freebsd/sys/dev/safexcel/
H A Dsafexcel.c96 safexcel_next_request(struct safexcel_ring *ring) in safexcel_next_request()
107 safexcel_cmd_descr_next(struct safexcel_cmd_descr_ring *ring) in safexcel_cmd_descr_next()
119 safexcel_res_descr_next(struct safexcel_res_descr_ring *ring) in safexcel_res_descr_next()
131 safexcel_alloc_request(struct safexcel_softc *sc, struct safexcel_ring *ring) in safexcel_alloc_request()
144 safexcel_free_request(struct safexcel_ring *ring, struct safexcel_request *req) in safexcel_free_request()
167 struct safexcel_ring *ring; in safexcel_rdr_intr() local
265 int ring; in safexcel_ring_intr() local
553 struct safexcel_ring *ring; in safexcel_hw_setup_rings() local
748 safexcel_execute(struct safexcel_softc *sc, struct safexcel_ring *ring, in safexcel_execute()
789 struct safexcel_ring *ring; in safexcel_init_rings() local
[all …]
/freebsd/sys/dev/qat/include/common/
H A Dadf_gen4_hw_data.h43 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument
47 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument
55 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument
60 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument
82 read_base_gen4(struct resource *csr_base_addr, u32 bank, u32 ring) in read_base_gen4()
102 #define READ_CSR_RING_BASE(csr_base_addr, bank, ring) \ argument
105 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument
110 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument
H A Dadf_gen2_hw_data.h32 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument
36 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument
43 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument
50 read_base(struct resource *csr_base_addr, u32 bank, u32 ring) in read_base()
68 #define READ_CSR_RING_BASE(csr_base_addr, bank, ring) \ argument
71 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument
86 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument
91 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument
H A Dadf_transport_access_macros.h79 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument
83 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument
90 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument
95 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument
110 read_base(struct resource *csr_base_addr, uint32_t bank, uint32_t ring) in read_base()
128 #define READ_CSR_RING_BASE(csr_base_addr, bank, ring) \ argument
130 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument
135 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument
/freebsd/sys/dev/axgbe/
H A Dxgbe-txrx.c75 axgbe_ctx_desc_setup(struct xgbe_prv_data *pdata, struct xgbe_ring *ring, in axgbe_ctx_desc_setup() argument
175 struct xgbe_ring *ring; axgbe_isc_txd_encap() local
374 struct xgbe_ring *ring = channel->tx_ring; axgbe_isc_txd_flush() local
392 struct xgbe_ring *ring = channel->tx_ring; axgbe_isc_txd_credits_update() local
448 struct xgbe_ring *ring = channel->rx_ring; axgbe_isc_rxd_refill() local
539 struct xgbe_ring *ring = channel->rx_ring; axgbe_isc_rxd_flush() local
563 struct xgbe_ring *ring = channel->rx_ring; axgbe_isc_rxd_available() local
701 struct xgbe_ring *ring = channel->rx_ring; axgbe_isc_rxd_pkt_get() local
[all...]
H A Dxgbe-desc.c123 struct xgbe_ring *ring; in xgbe_wrapper_tx_descriptor_init() local
167 struct xgbe_ring *ring; in xgbe_wrapper_rx_descriptor_init() local
/freebsd/sys/dev/rtwn/pci/
H A Drtwn_pci_rx.c86 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_frame() local
182 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_buf_copy() local
276 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; in rtwn_pci_tx_done() local
348 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_done() local
H A Drtwn_pci_tx.c94 struct rtwn_tx_ring *ring; in rtwn_pci_tx_start_frame() local
201 struct rtwn_tx_ring *ring; in rtwn_pci_tx_start_beacon() local
/freebsd/sys/dev/oce/
H A Doce_util.c151 oce_destroy_ring_buffer(POCE_SOFTC sc, oce_ring_buffer_t *ring) in oce_destroy_ring_buffer()
163 oce_ring_buffer_t *ring; in oce_create_ring_buffer() local
240 oce_page_list(oce_ring_buffer_t *ring, struct phys_addr *pa_list) in oce_page_list()
/freebsd/sys/net/
H A Dnetmap_user.h118 #define NETMAP_BUF(ring, index) \ argument
121 #define NETMAP_BUF_IDX(ring, buf) \ argument
126 #define NETMAP_ROFFSET(ring, slot) \ argument
130 #define NETMAP_WOFFSET(ring, slot, offset) \ argument
137 #define NETMAP_BUF_OFFSET(ring, slot) \ argument
161 nm_ring_space(struct netmap_ring *ring) in nm_ring_space()
1048 struct netmap_ring *ring; in nm_inject() local
1104 struct netmap_ring *ring; in nm_dispatch() local
1159 struct netmap_ring *ring = NETMAP_RXRING(d->nifp, ri); in nm_nextpkt() local

12345