Home
last modified time | relevance | path

Searched refs:prod (Results 1 - 25 of 292) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/virt/lib/
H A Dirqbypass.c30 static int __connect(struct irq_bypass_producer *prod, in __connect() argument
35 if (prod->stop) in __connect()
36 prod->stop(prod); in __connect()
40 if (prod->add_consumer) in __connect()
41 ret = prod->add_consumer(prod, cons); in __connect()
44 ret = cons->add_producer(cons, prod); in __connect()
45 if (ret && prod->del_consumer) in __connect()
46 prod in __connect()
58 __disconnect(struct irq_bypass_producer *prod, struct irq_bypass_consumer *cons) __disconnect() argument
[all...]
/kernel/linux/linux-6.6/virt/lib/
H A Dirqbypass.c30 static int __connect(struct irq_bypass_producer *prod, in __connect() argument
35 if (prod->stop) in __connect()
36 prod->stop(prod); in __connect()
40 if (prod->add_consumer) in __connect()
41 ret = prod->add_consumer(prod, cons); in __connect()
44 ret = cons->add_producer(cons, prod); in __connect()
45 if (ret && prod->del_consumer) in __connect()
46 prod in __connect()
58 __disconnect(struct irq_bypass_producer *prod, struct irq_bypass_consumer *cons) __disconnect() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/
H A Drxe_queue.h103 u32 prod; in queue_get_producer() local
108 prod = smp_load_acquire(&q->buf->producer_index); in queue_get_producer()
112 prod = q->index; in queue_get_producer()
116 prod = q->buf->producer_index; in queue_get_producer()
120 prod = smp_load_acquire(&q->buf->producer_index); in queue_get_producer()
124 return prod; in queue_get_producer()
156 u32 prod = queue_get_producer(q, type); in queue_empty() local
159 return ((prod - cons) & q->index_mask) == 0; in queue_empty()
164 u32 prod = queue_get_producer(q, type); in queue_full() local
167 return ((prod in queue_full()
173 u32 prod = queue_get_producer(q, type); queue_count() local
182 u32 prod; queue_advance_producer() local
253 u32 prod = queue_get_producer(q, type); queue_producer_addr() local
[all...]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dlgs8gxx.c47 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_write_reg()
75 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_read_reg()
133 (config->prod == LGS8GXX_PROD_LGS8G52)) { in lgs8gxx_set_ad_mode()
163 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_if_freq()
185 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) in lgs8gxx_get_afc_phase()
207 u8 prod = priv->config->prod; in lgs8gxx_set_mode_auto() local
209 if (prod == LGS8GXX_PROD_LGS8913) in lgs8gxx_set_mode_auto()
212 if (prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_mode_auto()
218 } else if (prod in lgs8gxx_set_mode_auto()
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dlgs8gxx.c47 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_write_reg()
75 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_read_reg()
133 (config->prod == LGS8GXX_PROD_LGS8G52)) { in lgs8gxx_set_ad_mode()
163 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_if_freq()
185 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) in lgs8gxx_get_afc_phase()
207 u8 prod = priv->config->prod; in lgs8gxx_set_mode_auto() local
209 if (prod == LGS8GXX_PROD_LGS8913) in lgs8gxx_set_mode_auto()
212 if (prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_mode_auto()
218 } else if (prod in lgs8gxx_set_mode_auto()
[all...]
/kernel/linux/linux-5.10/drivers/zorro/
H A Dnames.c20 __u16 prod; member
40 #define PRODUCT( manuf, prod, name ) static char __prodstr_##manuf##prod[] __initdata = name;
46 #define PRODUCT( manuf, prod, name ) { 0x##prod, 0, __prodstr_##manuf##prod },
52 #define PRODUCT( manuf, prod, name )
78 if (prod_p->prod == in zorro_name_device()
/kernel/linux/linux-6.6/drivers/zorro/
H A Dnames.c21 __u16 prod; member
41 #define PRODUCT( manuf, prod, name ) static char __prodstr_##manuf##prod[] __initdata = name;
47 #define PRODUCT( manuf, prod, name ) { 0x##prod, 0, __prodstr_##manuf##prod },
53 #define PRODUCT( manuf, prod, name )
79 if (prod_p->prod == in zorro_name_device()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_comms.c66 static int check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in check_indexes() argument
68 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes()
72 XENSTORE_RING_IDX prod, in get_output_chunk()
75 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk()
76 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk()
77 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk()
78 return buf + MASK_XENSTORE_IDX(prod); in get_output_chunk()
82 XENSTORE_RING_IDX prod, in get_input_chunk()
86 if ((prod - cons) < *len) in get_input_chunk()
87 *len = prod in get_input_chunk()
71 get_output_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, char *buf, uint32_t *len) get_output_chunk() argument
81 get_input_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, const char *buf, uint32_t *len) get_input_chunk() argument
109 XENSTORE_RING_IDX cons, prod; xb_write() local
161 XENSTORE_RING_IDX cons, prod; xb_read() local
[all...]
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus_comms.c66 static int check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in check_indexes() argument
68 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes()
72 XENSTORE_RING_IDX prod, in get_output_chunk()
75 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk()
76 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk()
77 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk()
78 return buf + MASK_XENSTORE_IDX(prod); in get_output_chunk()
82 XENSTORE_RING_IDX prod, in get_input_chunk()
86 if ((prod - cons) < *len) in get_input_chunk()
87 *len = prod in get_input_chunk()
71 get_output_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, char *buf, uint32_t *len) get_output_chunk() argument
81 get_input_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, const char *buf, uint32_t *len) get_input_chunk() argument
109 XENSTORE_RING_IDX cons, prod; xb_write() local
161 XENSTORE_RING_IDX cons, prod; xb_read() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_rtalloc.c216 * bitmap block bbno. If we don't get maxlen then use prod to trim
231 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block()
307 * If size should be a multiple of prod, make that so. in xfs_rtallocate_extent_block()
309 if (prod > 1) { in xfs_rtallocate_extent_block()
310 div_u64_rem(bestlen, prod, &p); in xfs_rtallocate_extent_block()
336 * bno. If we don't get maxlen then use prod to trim the length, if given.
350 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact()
354 xfs_extlen_t i; /* extent length trimmed due to prod */ in xfs_rtallocate_extent_exact()
358 ASSERT(minlen % prod == 0 && maxlen % prod in xfs_rtallocate_extent_exact()
221 xfs_rtallocate_extent_block( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bbno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_rtblock_t *nextp, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_block() argument
341 xfs_rtallocate_extent_exact( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_exact() argument
420 xfs_rtallocate_extent_near( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_near() argument
623 xfs_rtallocate_extent_size( xfs_mount_t *mp, xfs_trans_t *tp, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_size() argument
1140 xfs_rtallocate_extent( xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, int wasdel, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/can/softing/
H A Dsofting_cs.c30 .manf = 0x0168, .prod = 0x001,
42 .manf = 0x0168, .prod = 0x002,
54 .manf = 0x0168, .prod = 0x004,
66 .manf = 0x0168, .prod = 0x005,
78 .manf = 0x0168, .prod = 0x081,
90 .manf = 0x0168, .prod = 0x084,
102 .manf = 0x0168, .prod = 0x085,
114 .manf = 0x0168, .prod = 0x102,
126 .manf = 0x0168, .prod = 0x105,
151 *softingcs_find_platform_data(unsigned int manf, unsigned int prod) in softingcs_find_platform_data() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/can/softing/
H A Dsofting_cs.c30 .manf = 0x0168, .prod = 0x001,
42 .manf = 0x0168, .prod = 0x002,
54 .manf = 0x0168, .prod = 0x004,
66 .manf = 0x0168, .prod = 0x005,
78 .manf = 0x0168, .prod = 0x081,
90 .manf = 0x0168, .prod = 0x084,
102 .manf = 0x0168, .prod = 0x085,
114 .manf = 0x0168, .prod = 0x102,
126 .manf = 0x0168, .prod = 0x105,
151 *softingcs_find_platform_data(unsigned int manf, unsigned int prod) in softingcs_find_platform_data() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxsk.h118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() argument
120 if (xsk_prod_nb_free(prod, nb) < nb) in xsk_ring_prod__reserve()
123 *idx = prod->cached_prod; in xsk_ring_prod__reserve()
124 prod->cached_prod += nb; in xsk_ring_prod__reserve()
129 static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, __u32 nb) in xsk_ring_prod__submit() argument
134 __atomic_store_n(prod->producer, *prod->producer + nb, __ATOMIC_RELEASE); in xsk_ring_prod__submit()
137 static inline void xsk_ring_prod__cancel(struct xsk_ring_prod *prod, __u32 nb) in xsk_ring_prod__cancel() argument
139 prod->cached_prod -= nb; in xsk_ring_prod__cancel()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c35 u16 prod; in bnxt_xmit_bd() local
44 prod = txr->tx_prod; in bnxt_xmit_bd()
45 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_xmit_bd()
50 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_xmit_bd()
55 txbd->tx_bd_opaque = prod; in bnxt_xmit_bd()
65 prod = NEXT_TX(prod); in bnxt_xmit_bd()
66 WRITE_ONCE(txr->tx_prod, prod); in bnxt_xmit_bd()
69 frag_tx_buf = &txr->tx_buf_ring[prod]; in bnxt_xmit_bd()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_rtalloc.c223 xfs_extlen_t prod) in xfs_rtallocate_clamp_len()
228 return rounddown(ret, prod); in xfs_rtallocate_clamp_len()
233 * bitmap block bbno. If we don't get maxlen then use prod to trim
248 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block()
268 maxlen = xfs_rtallocate_clamp_len(mp, i, maxlen, prod); in xfs_rtallocate_extent_block()
324 * If size should be a multiple of prod, make that so. in xfs_rtallocate_extent_block()
326 if (prod > 1) { in xfs_rtallocate_extent_block()
327 div_u64_rem(bestlen, prod, &p); in xfs_rtallocate_extent_block()
353 * bno. If we don't get maxlen then use prod to trim the length, if given.
367 xfs_extlen_t prod, /* exten in xfs_rtallocate_extent_exact()
219 xfs_rtallocate_clamp_len( struct xfs_mount *mp, xfs_rtblock_t startrtx, xfs_extlen_t rtxlen, xfs_extlen_t prod) xfs_rtallocate_clamp_len() argument
238 xfs_rtallocate_extent_block( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bbno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_rtblock_t *nextp, struct xfs_buf **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_block() argument
358 xfs_rtallocate_extent_exact( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, struct xfs_buf **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_exact() argument
438 xfs_rtallocate_extent_near( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, struct xfs_buf **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_near() argument
643 xfs_rtallocate_extent_size( xfs_mount_t *mp, xfs_trans_t *tp, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, struct xfs_buf **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_size() argument
1196 xfs_rtallocate_extent( xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, int wasdel, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent() argument
[all...]
/kernel/linux/linux-5.10/net/9p/
H A Dtrans_xen.c129 RING_IDX cons, prod; in p9_xen_write_todo() local
132 prod = ring->intf->out_prod; in p9_xen_write_todo()
136 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) >= size; in p9_xen_write_todo()
142 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() local
167 prod = ring->intf->out_prod; in p9_xen_request()
171 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) < size) { in p9_xen_request()
176 masked_prod = xen_9pfs_mask(prod, XEN_9PFS_RING_SIZE(ring)); in p9_xen_request()
185 prod += size; in p9_xen_request()
186 ring->intf->out_prod = prod; in p9_xen_request()
198 RING_IDX cons, prod, masked_con in p9_xen_response() local
[all...]
/kernel/linux/linux-5.10/net/smc/
H A Dsmc_cdc.h46 union smc_cdc_cursor prod; member
72 union smcd_cdc_cursor prod; member
216 smc_host_cursor_to_cdc(&peer->prod, &local->prod, save, conn); in smc_host_msg_to_cdc()
249 smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); in smcr_cdc_msg_to_host()
261 temp.wrap = peer->prod.wrap; in smcd_cdc_msg_to_host()
262 temp.count = peer->prod.count; in smcd_cdc_msg_to_host()
263 smc_curs_copy(&local->prod, &temp, conn); in smcd_cdc_msg_to_host()
H A Dsmc_tx.c292 union smc_host_cursor *prod, in smc_tx_advance_cursors()
296 smc_curs_add(conn->peer_rmbe_size, prod, len); in smc_tx_advance_cursors()
406 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local
424 smc_curs_copy(&prod, &conn->local_tx_ctrl.prod, conn); in smc_tx_rdma_writes()
434 dst_off = prod.count; in smc_tx_rdma_writes()
435 if (prod.wrap == cons.wrap) { in smc_tx_rdma_writes()
442 conn->peer_rmbe_size - prod.count, len); in smc_tx_rdma_writes()
470 smc_tx_advance_cursors(conn, &prod, &sent, len); in smc_tx_rdma_writes()
472 smc_curs_copy(&conn->local_tx_ctrl.prod, in smc_tx_rdma_writes()
291 smc_tx_advance_cursors(struct smc_connection *conn, union smc_host_cursor *prod, union smc_host_cursor *sent, size_t len) smc_tx_advance_cursors() argument
606 union smc_host_cursor cfed, cons, prod; smc_tx_consumer_update() local
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Dsmc_cdc.h46 union smc_cdc_cursor prod; member
72 union smcd_cdc_cursor prod; member
216 smc_host_cursor_to_cdc(&peer->prod, &local->prod, save, conn); in smc_host_msg_to_cdc()
249 smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); in smcr_cdc_msg_to_host()
261 temp.wrap = peer->prod.wrap; in smcd_cdc_msg_to_host()
262 temp.count = peer->prod.count; in smcd_cdc_msg_to_host()
263 smc_curs_copy(&local->prod, &temp, conn); in smcd_cdc_msg_to_host()
H A Dsmc_tx.c341 union smc_host_cursor *prod, in smc_tx_advance_cursors()
345 smc_curs_add(conn->peer_rmbe_size, prod, len); in smc_tx_advance_cursors()
467 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local
489 smc_curs_copy(&prod, &conn->local_tx_ctrl.prod, conn); in smc_tx_rdma_writes()
499 dst_off = prod.count; in smc_tx_rdma_writes()
500 if (prod.wrap == cons.wrap) { in smc_tx_rdma_writes()
507 conn->peer_rmbe_size - prod.count, len); in smc_tx_rdma_writes()
535 smc_tx_advance_cursors(conn, &prod, &sent, len); in smc_tx_rdma_writes()
537 smc_curs_copy(&conn->local_tx_ctrl.prod, in smc_tx_rdma_writes()
340 smc_tx_advance_cursors(struct smc_connection *conn, union smc_host_cursor *prod, union smc_host_cursor *sent, size_t len) smc_tx_advance_cursors() argument
722 union smc_host_cursor cfed, cons, prod; smc_tx_consumer_update() local
[all...]
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c116 u32 space, prod, cons; in queue_has_space() local
118 prod = Q_IDX(q, q->prod); in queue_has_space()
121 if (Q_WRP(q, q->prod) == Q_WRP(q, q->cons)) in queue_has_space()
122 space = (1 << q->max_n_shift) - (prod - cons); in queue_has_space()
124 space = cons - prod; in queue_has_space()
131 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_full()
132 Q_WRP(q, q->prod) != Q_WRP(q, q->cons); in queue_full()
137 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_empty()
138 Q_WRP(q, q->prod) in queue_empty()
141 queue_consumed(struct arm_smmu_ll_queue *q, u32 prod) queue_consumed() argument
179 u32 prod; queue_sync_prod_in() local
198 u32 prod = (Q_WRP(q, q->prod) | Q_IDX(q, q->prod)) + n; queue_inc_prod_n() local
350 arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu, u32 prod) arm_smmu_cmdq_build_sync_cmd() argument
652 u32 prod = llq->prod; __arm_smmu_cmdq_poll_until_consumed() local
706 arm_smmu_cmdq_write_entries(struct arm_smmu_cmdq *cmdq, u64 *cmds, u32 prod, int n) arm_smmu_cmdq_write_entries() argument
743 u32 prod; arm_smmu_cmdq_issue_cmdlist() local
[all...]
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c106 u32 space, prod, cons; in queue_has_space() local
108 prod = Q_IDX(q, q->prod); in queue_has_space()
111 if (Q_WRP(q, q->prod) == Q_WRP(q, q->cons)) in queue_has_space()
112 space = (1 << q->max_n_shift) - (prod - cons); in queue_has_space()
114 space = cons - prod; in queue_has_space()
121 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_full()
122 Q_WRP(q, q->prod) != Q_WRP(q, q->cons); in queue_full()
127 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_empty()
128 Q_WRP(q, q->prod) in queue_empty()
131 queue_consumed(struct arm_smmu_ll_queue *q, u32 prod) queue_consumed() argument
169 u32 prod; queue_sync_prod_in() local
188 u32 prod = (Q_WRP(q, q->prod) | Q_IDX(q, q->prod)) + n; queue_inc_prod_n() local
353 arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu, struct arm_smmu_queue *q, u32 prod) arm_smmu_cmdq_build_sync_cmd() argument
657 u32 prod = llq->prod; __arm_smmu_cmdq_poll_until_consumed() local
711 arm_smmu_cmdq_write_entries(struct arm_smmu_cmdq *cmdq, u64 *cmds, u32 prod, int n) arm_smmu_cmdq_write_entries() argument
748 u32 prod; arm_smmu_cmdq_issue_cmdlist() local
[all...]
/kernel/linux/linux-5.10/include/xen/interface/io/
H A Dring.h413 static inline RING_IDX name##_queued(RING_IDX prod, \
419 if (prod == cons) \
422 prod = name##_mask(prod, ring_size); \
425 if (prod == cons) \
428 if (prod > cons) \
429 size = prod - cons; \
431 size = ring_size - (cons - prod); \
/kernel/linux/linux-6.6/include/xen/interface/io/
H A Dring.h405 static inline RING_IDX name##_queued(RING_IDX prod, \
411 if (prod == cons) \
414 prod = name##_mask(prod, ring_size); \
417 if (prod == cons) \
420 if (prod > cons) \
421 size = prod - cons; \
423 size = ring_size - (cons - prod); \
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dxsk.h116 static inline size_t xsk_ring_prod__reserve(struct xsk_ring_prod *prod, in xsk_ring_prod__reserve() argument
119 if (xsk_prod_nb_free(prod, nb) < nb) in xsk_ring_prod__reserve()
122 *idx = prod->cached_prod; in xsk_ring_prod__reserve()
123 prod->cached_prod += nb; in xsk_ring_prod__reserve()
128 static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, size_t nb) in xsk_ring_prod__submit() argument
135 *prod->producer += nb; in xsk_ring_prod__submit()

Completed in 19 milliseconds

12345678910>>...12