Home
last modified time | relevance | path

Searched refs:tx (Results 1 - 25 of 2125) sorted by relevance

12345678910>>...85

/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c17 static bool gve_has_free_tx_qpl_bufs(struct gve_tx_ring *tx, int count) in gve_has_free_tx_qpl_bufs() argument
21 if (!tx->dqo.qpl) in gve_has_free_tx_qpl_bufs()
24 num_avail = tx->dqo.num_tx_qpl_bufs - in gve_has_free_tx_qpl_bufs()
25 (tx->dqo_tx.alloc_tx_qpl_buf_cnt - in gve_has_free_tx_qpl_bufs()
26 tx->dqo_tx.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
32 tx->dqo_tx.free_tx_qpl_buf_cnt = in gve_has_free_tx_qpl_bufs()
33 atomic_read_acquire(&tx->dqo_compl.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
35 num_avail = tx->dqo.num_tx_qpl_bufs - in gve_has_free_tx_qpl_bufs()
36 (tx->dqo_tx.alloc_tx_qpl_buf_cnt - in gve_has_free_tx_qpl_bufs()
37 tx in gve_has_free_tx_qpl_bufs()
43 gve_alloc_tx_qpl_buf(struct gve_tx_ring *tx) gve_alloc_tx_qpl_buf() argument
68 gve_free_tx_qpl_bufs(struct gve_tx_ring *tx, struct gve_tx_pending_packet_dqo *pkt) gve_free_tx_qpl_bufs() argument
100 gve_has_pending_packet(struct gve_tx_ring *tx) gve_has_pending_packet() argument
114 gve_alloc_pending_packet(struct gve_tx_ring *tx) gve_alloc_pending_packet() argument
143 gve_free_pending_packet(struct gve_tx_ring *tx, struct gve_tx_pending_packet_dqo *pending_packet) gve_free_pending_packet() argument
162 gve_tx_clean_pending_packets(struct gve_tx_ring *tx) gve_tx_clean_pending_packets() argument
193 struct gve_tx_ring *tx = &priv->tx[idx]; gve_tx_free_ring_dqo() local
233 gve_tx_qpl_buf_init(struct gve_tx_ring *tx) gve_tx_qpl_buf_init() argument
258 struct gve_tx_ring *tx = &priv->tx[idx]; gve_tx_alloc_ring_dqo() local
377 struct gve_tx_ring *tx = &priv->tx[i]; gve_tx_free_rings_dqo() local
388 num_avail_tx_slots(const struct gve_tx_ring *tx) num_avail_tx_slots() argument
395 gve_has_avail_slots_tx_dqo(struct gve_tx_ring *tx, int desc_count, int buf_count) gve_has_avail_slots_tx_dqo() argument
406 gve_maybe_stop_tx_dqo(struct gve_tx_ring *tx, int desc_count, int buf_count) gve_maybe_stop_tx_dqo() argument
455 gve_tx_fill_pkt_desc_dqo(struct gve_tx_ring *tx, u32 *desc_idx, struct sk_buff *skb, u32 len, u64 addr, s16 compl_tag, bool eop, bool is_gso) gve_tx_fill_pkt_desc_dqo() argument
578 gve_tx_add_skb_no_copy_dqo(struct gve_tx_ring *tx, struct sk_buff *skb, struct gve_tx_pending_packet_dqo *pkt, s16 completion_tag, u32 *desc_idx, bool is_gso) gve_tx_add_skb_no_copy_dqo() argument
656 gve_tx_buf_get_addr(struct gve_tx_ring *tx, s16 index, void **va, dma_addr_t *dma_addr) gve_tx_buf_get_addr() argument
667 gve_tx_add_skb_copy_dqo(struct gve_tx_ring *tx, struct sk_buff *skb, struct gve_tx_pending_packet_dqo *pkt, s16 completion_tag, u32 *desc_idx, bool is_gso) gve_tx_add_skb_copy_dqo() argument
719 gve_tx_add_skb_dqo(struct gve_tx_ring *tx, struct sk_buff *skb) gve_tx_add_skb_dqo() argument
851 gve_try_tx_skb(struct gve_priv *priv, struct gve_tx_ring *tx, struct sk_buff *skb) gve_try_tx_skb() argument
923 struct gve_tx_ring *tx; gve_tx_dqo() local
942 add_to_list(struct gve_tx_ring *tx, struct gve_index_list *list, struct gve_tx_pending_packet_dqo *pending_packet) add_to_list() argument
959 remove_from_list(struct gve_tx_ring *tx, struct gve_index_list *list, struct gve_tx_pending_packet_dqo *pkt) remove_from_list() argument
1003 gve_handle_packet_completion(struct gve_priv *priv, struct gve_tx_ring *tx, bool is_napi, u16 compl_tag, u64 *bytes, u64 *pkts, bool is_reinjection) gve_handle_packet_completion() argument
1067 gve_handle_miss_completion(struct gve_priv *priv, struct gve_tx_ring *tx, u16 compl_tag, u64 *bytes, u64 *pkts) gve_handle_miss_completion() argument
1100 remove_miss_completions(struct gve_priv *priv, struct gve_tx_ring *tx) remove_miss_completions() argument
1147 remove_timed_out_completions(struct gve_priv *priv, struct gve_tx_ring *tx) remove_timed_out_completions() argument
1167 gve_clean_tx_done_dqo(struct gve_priv *priv, struct gve_tx_ring *tx, struct napi_struct *napi) gve_clean_tx_done_dqo() argument
1254 struct gve_tx_ring *tx = block->tx; gve_tx_poll_dqo() local
[all...]
H A Dgve_tx.c26 struct gve_tx_ring *tx = &priv->tx[tx_qid]; in gve_xdp_tx_flush() local
28 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_xdp_tx_flush()
157 static int gve_clean_xdp_done(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_xdp_done() argument
161 u32 clean_end = tx->done + to_do; in gve_clean_xdp_done()
167 for (; tx->done < clean_end; tx->done++) { in gve_clean_xdp_done()
168 idx = tx->done & tx in gve_clean_xdp_done()
201 struct gve_tx_ring *tx = &priv->tx[idx]; gve_tx_free_ring() local
237 struct gve_tx_ring *tx = &priv->tx[idx]; gve_tx_alloc_ring() local
342 gve_tx_avail(struct gve_tx_ring *tx) gve_tx_avail() argument
347 gve_skb_fifo_bytes_required(struct gve_tx_ring *tx, struct sk_buff *skb) gve_skb_fifo_bytes_required() argument
392 gve_can_tx(struct gve_tx_ring *tx, int bytes_required) gve_can_tx() argument
405 gve_maybe_stop_tx(struct gve_priv *priv, struct gve_tx_ring *tx, struct sk_buff *skb) gve_maybe_stop_tx() argument
508 gve_tx_add_skb_copy(struct gve_priv *priv, struct gve_tx_ring *tx, struct sk_buff *skb) gve_tx_add_skb_copy() argument
582 gve_tx_add_skb_no_copy(struct gve_priv *priv, struct gve_tx_ring *tx, struct sk_buff *skb) gve_tx_add_skb_no_copy() argument
686 struct gve_tx_ring *tx; gve_tx() local
725 gve_tx_fill_xdp(struct gve_priv *priv, struct gve_tx_ring *tx, void *data, int len, void *frame_p, bool is_xsk) gve_tx_fill_xdp() argument
776 struct gve_tx_ring *tx; gve_xdp_xmit() local
808 gve_xdp_xmit_one(struct gve_priv *priv, struct gve_tx_ring *tx, void *data, int len, void *frame_p) gve_xdp_xmit_one() argument
824 gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx, u32 to_do, bool try_to_wake) gve_clean_tx_done() argument
880 gve_tx_load_event_counter(struct gve_priv *priv, struct gve_tx_ring *tx) gve_tx_load_event_counter() argument
889 gve_xsk_tx(struct gve_priv *priv, struct gve_tx_ring *tx, int budget) gve_xsk_tx() argument
923 struct gve_tx_ring *tx = block->tx; gve_xdp_poll() local
952 struct gve_tx_ring *tx = block->tx; gve_tx_poll() local
974 gve_tx_clean_pending(struct gve_priv *priv, struct gve_tx_ring *tx) gve_tx_clean_pending() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c17 int adv748x_csi2_set_virtual_channel(struct adv748x_csi2 *tx, unsigned int vc) in adv748x_csi2_set_virtual_channel() argument
19 return tx_write(tx, ADV748X_CSI_VC_REF, vc << ADV748X_CSI_VC_REF_SHIFT); in adv748x_csi2_set_virtual_channel()
25 * @tx: CSI2 private entity
28 * @src_pad: Pad number of source to link to this @tx
34 static int adv748x_csi2_register_link(struct adv748x_csi2 *tx, in adv748x_csi2_register_link() argument
49 &tx->sd.entity, ADV748X_CSI2_SINK, in adv748x_csi2_register_link()
55 tx->src = src; in adv748x_csi2_register_link()
70 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); in adv748x_csi2_registered() local
71 struct adv748x_state *state = tx->state; in adv748x_csi2_registered()
74 adv_dbg(state, "Registered %s (%s)", is_txa(tx) in adv748x_csi2_registered()
121 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_s_stream() local
147 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_get_pad_format() local
159 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_get_format() local
181 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_set_format() local
219 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_get_mbus_config() local
251 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_set_pixelrate() local
273 adv748x_csi2_init_controls(struct adv748x_csi2 *tx) adv748x_csi2_init_controls() argument
292 adv748x_csi2_init(struct adv748x_state *state, struct adv748x_csi2 *tx) adv748x_csi2_init() argument
339 adv748x_csi2_cleanup(struct adv748x_csi2 *tx) adv748x_csi2_cleanup() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c17 static int adv748x_csi2_set_virtual_channel(struct adv748x_csi2 *tx, in adv748x_csi2_set_virtual_channel() argument
20 return tx_write(tx, ADV748X_CSI_VC_REF, vc << ADV748X_CSI_VC_REF_SHIFT); in adv748x_csi2_set_virtual_channel()
26 * @tx: CSI2 private entity
29 * @src_pad: Pad number of source to link to this @tx
35 static int adv748x_csi2_register_link(struct adv748x_csi2 *tx, in adv748x_csi2_register_link() argument
50 &tx->sd.entity, ADV748X_CSI2_SINK, in adv748x_csi2_register_link()
56 tx->src = src; in adv748x_csi2_register_link()
71 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); in adv748x_csi2_registered() local
72 struct adv748x_state *state = tx->state; in adv748x_csi2_registered()
75 adv_dbg(state, "Registered %s (%s)", is_txa(tx) in adv748x_csi2_registered()
122 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_s_stream() local
148 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_get_pad_format() local
160 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_get_format() local
182 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_set_format() local
220 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_get_mbus_config() local
268 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); adv748x_csi2_set_pixelrate() local
290 adv748x_csi2_init_controls(struct adv748x_csi2 *tx) adv748x_csi2_init_controls() argument
309 adv748x_csi2_init(struct adv748x_state *state, struct adv748x_csi2 *tx) adv748x_csi2_init() argument
355 adv748x_csi2_cleanup(struct adv748x_csi2 *tx) adv748x_csi2_cleanup() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_tx.c139 block->tx = NULL; in gve_tx_remove_from_block()
142 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx,
147 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring() local
153 slots = tx->mask + 1; in gve_tx_free_ring()
154 gve_clean_tx_done(priv, tx, tx->req, false); in gve_tx_free_ring()
155 netdev_tx_reset_queue(tx->netdev_txq); in gve_tx_free_ring()
157 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring()
158 tx in gve_tx_free_ring()
179 struct gve_tx_ring *tx = &priv->tx[queue_idx]; gve_tx_add_to_block() local
187 struct gve_tx_ring *tx = &priv->tx[idx]; gve_tx_alloc_ring() local
284 gve_tx_avail(struct gve_tx_ring *tx) gve_tx_avail() argument
289 gve_skb_fifo_bytes_required(struct gve_tx_ring *tx, struct sk_buff *skb) gve_skb_fifo_bytes_required() argument
317 gve_can_tx(struct gve_tx_ring *tx, int bytes_required) gve_can_tx() argument
324 gve_maybe_stop_tx(struct gve_tx_ring *tx, struct sk_buff *skb) gve_maybe_stop_tx() argument
411 gve_tx_add_skb(struct gve_tx_ring *tx, struct sk_buff *skb, struct device *dev) gve_tx_add_skb() argument
482 struct gve_tx_ring *tx; gve_tx() local
514 gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx, u32 to_do, bool try_to_wake) gve_clean_tx_done() argument
570 gve_tx_load_event_counter(struct gve_priv *priv, struct gve_tx_ring *tx) gve_tx_load_event_counter() argument
581 struct gve_tx_ring *tx = block->tx; gve_tx_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/tegra/
H A Divc.c48 * written through the tx.channel pointer, while the second is only written
62 } tx; member
97 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_empty() local
110 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
113 return tx == rx; in tegra_ivc_empty()
119 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_full() local
126 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
132 u32 tx in tegra_ivc_available() local
294 unsigned int tx = offsetof(struct tegra_ivc_header, tx.count); tegra_ivc_read_advance() local
346 unsigned int tx = offsetof(struct tegra_ivc_header, tx.count); tegra_ivc_write_advance() local
561 tegra_ivc_check_params(unsigned long rx, unsigned long tx, unsigned int num_frames, size_t frame_size) tegra_ivc_check_params() argument
612 tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, void *rx, dma_addr_t rx_phys, void *tx, dma_addr_t tx_phys, unsigned int num_frames, size_t frame_size, void (*notify)(struct tegra_ivc *ivc, void *data), void *data) tegra_ivc_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/tegra/
H A Divc.c48 * written through the tx.channel pointer, while the second is only written
62 } tx; member
102 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_empty() local
115 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
118 return tx == rx; in tegra_ivc_empty()
123 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_full() local
130 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
135 u32 tx in tegra_ivc_available() local
306 unsigned int tx = offsetof(struct tegra_ivc_header, tx.count); tegra_ivc_read_advance() local
358 unsigned int tx = offsetof(struct tegra_ivc_header, tx.count); tegra_ivc_write_advance() local
574 tegra_ivc_check_params(unsigned long rx, unsigned long tx, unsigned int num_frames, size_t frame_size) tegra_ivc_check_params() argument
646 tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, const struct iosys_map *rx, dma_addr_t rx_phys, const struct iosys_map *tx, dma_addr_t tx_phys, unsigned int num_frames, size_t frame_size, void (*notify)(struct tegra_ivc *ivc, void *data), void *data) tegra_ivc_init() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
H A Dleap-a-day.c97 struct timex tx; in clear_time_state() local
106 tx.modes = ADJ_STATUS; in clear_time_state()
107 tx.status = STA_PLL; in clear_time_state()
108 ret = adjtimex(&tx); in clear_time_state()
111 tx.modes = ADJ_MAXERROR; in clear_time_state()
112 tx.maxerror = 0; in clear_time_state()
113 ret = adjtimex(&tx); in clear_time_state()
116 tx.modes = ADJ_STATUS; in clear_time_state()
117 tx.status = 0; in clear_time_state()
118 ret = adjtimex(&tx); in clear_time_state()
132 struct timex tx; sigalarm() local
239 struct timex tx; main() local
[all...]
H A Dvalid-adjtimex.c43 int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument
45 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime()
52 struct timex tx; in clear_time_state() local
55 tx.modes = ADJ_STATUS; in clear_time_state()
56 tx.status = 0; in clear_time_state()
57 ret = adjtimex(&tx); in clear_time_state()
116 struct timex tx; in validate_freq() local
122 memset(&tx, 0, sizeof(struct timex)); in validate_freq()
128 tx.modes = ADJ_FREQUENCY; in validate_freq()
129 tx in validate_freq()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Dleap-a-day.c97 struct timex tx; in clear_time_state() local
106 tx.modes = ADJ_STATUS; in clear_time_state()
107 tx.status = STA_PLL; in clear_time_state()
108 ret = adjtimex(&tx); in clear_time_state()
111 tx.modes = ADJ_MAXERROR; in clear_time_state()
112 tx.maxerror = 0; in clear_time_state()
113 ret = adjtimex(&tx); in clear_time_state()
116 tx.modes = ADJ_STATUS; in clear_time_state()
117 tx.status = 0; in clear_time_state()
118 ret = adjtimex(&tx); in clear_time_state()
132 struct timex tx; sigalarm() local
239 struct timex tx; main() local
[all...]
H A Dvalid-adjtimex.c43 int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument
45 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime()
52 struct timex tx; in clear_time_state() local
55 tx.modes = ADJ_STATUS; in clear_time_state()
56 tx.status = 0; in clear_time_state()
57 ret = adjtimex(&tx); in clear_time_state()
116 struct timex tx; in validate_freq() local
122 memset(&tx, 0, sizeof(struct timex)); in validate_freq()
128 tx.modes = ADJ_FREQUENCY; in validate_freq()
129 tx in validate_freq()
[all...]
/kernel/linux/linux-5.10/crypto/async_tx/
H A Dasync_tx.c62 * @tx: the new operation
66 struct dma_async_tx_descriptor *tx) in async_tx_channel_switch()
74 if (txd_parent(depend_tx) && depend_tx->chan == tx->chan) { in async_tx_channel_switch()
75 txd_chain(depend_tx, tx); in async_tx_channel_switch()
100 txd_chain(intr_tx, tx); in async_tx_channel_switch()
121 tx->tx_submit(tx); in async_tx_channel_switch()
143 async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, in async_tx_submit() argument
148 tx->callback = submit->cb_fn; in async_tx_submit()
149 tx in async_tx_submit()
65 async_tx_channel_switch(struct dma_async_tx_descriptor *depend_tx, struct dma_async_tx_descriptor *tx) async_tx_channel_switch() argument
225 struct dma_async_tx_descriptor *tx; async_trigger_callback() local
263 async_tx_quiesce(struct dma_async_tx_descriptor **tx) async_tx_quiesce() argument
[all...]
/kernel/linux/linux-6.6/crypto/async_tx/
H A Dasync_tx.c62 * @tx: the new operation
66 struct dma_async_tx_descriptor *tx) in async_tx_channel_switch()
74 if (txd_parent(depend_tx) && depend_tx->chan == tx->chan) { in async_tx_channel_switch()
75 txd_chain(depend_tx, tx); in async_tx_channel_switch()
100 txd_chain(intr_tx, tx); in async_tx_channel_switch()
121 tx->tx_submit(tx); in async_tx_channel_switch()
143 async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, in async_tx_submit() argument
148 tx->callback = submit->cb_fn; in async_tx_submit()
149 tx in async_tx_submit()
65 async_tx_channel_switch(struct dma_async_tx_descriptor *depend_tx, struct dma_async_tx_descriptor *tx) async_tx_channel_switch() argument
225 struct dma_async_tx_descriptor *tx; async_trigger_callback() local
263 async_tx_quiesce(struct dma_async_tx_descriptor **tx) async_tx_quiesce() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dsdma.h231 * The tx request, once initialized, is manipulated with calls to
240 * in the tx. Memory locations added with sdma_txadd_page()
242 * to the tx and nmapped as part of the progress processing in the
246 * tx. An example of a use case would be a pre-allocated
253 * a tx to the ring after the appropriate number of
260 * long as the tx isn't in flight.
481 struct sdma_txreq *tx,
489 * @tx: tx request to initialize
520 * being submitted. The callback will be provided this tx,
539 sdma_txinit_ahg( struct sdma_txreq *tx, u16 flags, u16 tlen, u8 ahg_entry, u8 num_ahg, u32 *ahg, u8 ahg_hlen, void (*cb)(struct sdma_txreq *, int)) sdma_txinit_ahg() argument
607 sdma_txinit( struct sdma_txreq *tx, u16 flags, u16 tlen, void (*cb)(struct sdma_txreq *, int)) sdma_txinit() argument
635 make_tx_sdma_desc( struct sdma_txreq *tx, int type, dma_addr_t addr, size_t len, void *pinning_ctx, void (*ctx_get)(void *), void (*ctx_put)(void *)) make_tx_sdma_desc() argument
673 sdma_txclean(struct hfi1_devdata *dd, struct sdma_txreq *tx) sdma_txclean() argument
680 _sdma_close_tx(struct hfi1_devdata *dd, struct sdma_txreq *tx) _sdma_close_tx() argument
692 _sdma_txadd_daddr( struct hfi1_devdata *dd, int type, struct sdma_txreq *tx, dma_addr_t addr, u16 len, void *pinning_ctx, void (*ctx_get)(void *), void (*ctx_put)(void *)) _sdma_txadd_daddr() argument
749 sdma_txadd_page( struct hfi1_devdata *dd, struct sdma_txreq *tx, struct page *page, unsigned long offset, u16 len, void *pinning_ctx, void (*ctx_get)(void *), void (*ctx_put)(void *)) sdma_txadd_page() argument
801 sdma_txadd_daddr( struct hfi1_devdata *dd, struct sdma_txreq *tx, dma_addr_t addr, u16 len) sdma_txadd_daddr() argument
836 sdma_txadd_kvaddr( struct hfi1_devdata *dd, struct sdma_txreq *tx, void *kvaddr, u16 len) sdma_txadd_kvaddr() argument
921 sdma_progress(struct sdma_engine *sde, unsigned seq, struct sdma_txreq *tx) sdma_progress() argument
[all...]
H A Dverbs_txreq.h80 struct verbs_txreq *tx; variable
83 tx = kmem_cache_alloc(dev->verbs_txreq_cache, VERBS_TXREQ_GFP);
84 if (unlikely(!tx)) {
86 tx = __get_txreq(dev, qp);
87 if (!tx)
88 return tx;
90 tx->qp = qp;
91 tx->mr = NULL;
92 tx->sde = priv->s_sde;
93 tx
102 get_sdma_txreq(struct verbs_txreq *tx) get_sdma_txreq() argument
[all...]
H A Dvnic_sdma.c83 struct vnic_txreq *tx = container_of(txreq, struct vnic_txreq, txreq); in vnic_sdma_complete() local
84 struct hfi1_vnic_sdma *vnic_sdma = tx->sdma; in vnic_sdma_complete()
87 dev_kfree_skb_any(tx->skb); in vnic_sdma_complete()
88 kmem_cache_free(vnic_sdma->dd->vnic.txreq_cache, tx); in vnic_sdma_complete()
92 struct vnic_txreq *tx) in build_vnic_ulp_payload()
98 &tx->txreq, in build_vnic_ulp_payload()
99 tx->skb->data, in build_vnic_ulp_payload()
100 skb_headlen(tx->skb)); in build_vnic_ulp_payload()
104 for (i = 0; i < skb_shinfo(tx->skb)->nr_frags; i++) { in build_vnic_ulp_payload()
105 skb_frag_t *frag = &skb_shinfo(tx in build_vnic_ulp_payload()
91 build_vnic_ulp_payload(struct sdma_engine *sde, struct vnic_txreq *tx) build_vnic_ulp_payload() argument
127 build_vnic_tx_desc(struct sdma_engine *sde, struct vnic_txreq *tx, u64 pbc) build_vnic_tx_desc() argument
174 struct vnic_txreq *tx; hfi1_vnic_send_dma() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dsdma.h190 * The tx request, once initialized, is manipulated with calls to
199 * in the tx. Memory locations added with sdma_txadd_page()
201 * to the tx and nmapped as part of the progress processing in the
205 * tx. An example of a use case would be a pre-allocated
212 * a tx to the ring after the appropriate number of
219 * long as the tx isn't in flight.
440 struct sdma_txreq *tx,
448 * @tx: tx request to initialize
479 * being submitted. The callback will be provided this tx,
498 sdma_txinit_ahg( struct sdma_txreq *tx, u16 flags, u16 tlen, u8 ahg_entry, u8 num_ahg, u32 *ahg, u8 ahg_hlen, void (*cb)(struct sdma_txreq *, int)) sdma_txinit_ahg() argument
566 sdma_txinit( struct sdma_txreq *tx, u16 flags, u16 tlen, void (*cb)(struct sdma_txreq *, int)) sdma_txinit() argument
594 make_tx_sdma_desc( struct sdma_txreq *tx, int type, dma_addr_t addr, size_t len, void *pinning_ctx, void (*ctx_get)(void *), void (*ctx_put)(void *)) make_tx_sdma_desc() argument
632 sdma_txclean(struct hfi1_devdata *dd, struct sdma_txreq *tx) sdma_txclean() argument
639 _sdma_close_tx(struct hfi1_devdata *dd, struct sdma_txreq *tx) _sdma_close_tx() argument
651 _sdma_txadd_daddr( struct hfi1_devdata *dd, int type, struct sdma_txreq *tx, dma_addr_t addr, u16 len, void *pinning_ctx, void (*ctx_get)(void *), void (*ctx_put)(void *)) _sdma_txadd_daddr() argument
708 sdma_txadd_page( struct hfi1_devdata *dd, struct sdma_txreq *tx, struct page *page, unsigned long offset, u16 len, void *pinning_ctx, void (*ctx_get)(void *), void (*ctx_put)(void *)) sdma_txadd_page() argument
760 sdma_txadd_daddr( struct hfi1_devdata *dd, struct sdma_txreq *tx, dma_addr_t addr, u16 len) sdma_txadd_daddr() argument
795 sdma_txadd_kvaddr( struct hfi1_devdata *dd, struct sdma_txreq *tx, void *kvaddr, u16 len) sdma_txadd_kvaddr() argument
880 sdma_progress(struct sdma_engine *sde, unsigned seq, struct sdma_txreq *tx) sdma_progress() argument
[all...]
H A Dvnic_sdma.c41 struct vnic_txreq *tx = container_of(txreq, struct vnic_txreq, txreq); in vnic_sdma_complete() local
42 struct hfi1_vnic_sdma *vnic_sdma = tx->sdma; in vnic_sdma_complete()
45 dev_kfree_skb_any(tx->skb); in vnic_sdma_complete()
46 kmem_cache_free(vnic_sdma->dd->vnic.txreq_cache, tx); in vnic_sdma_complete()
50 struct vnic_txreq *tx) in build_vnic_ulp_payload()
56 &tx->txreq, in build_vnic_ulp_payload()
57 tx->skb->data, in build_vnic_ulp_payload()
58 skb_headlen(tx->skb)); in build_vnic_ulp_payload()
62 for (i = 0; i < skb_shinfo(tx->skb)->nr_frags; i++) { in build_vnic_ulp_payload()
63 skb_frag_t *frag = &skb_shinfo(tx in build_vnic_ulp_payload()
49 build_vnic_ulp_payload(struct sdma_engine *sde, struct vnic_txreq *tx) build_vnic_ulp_payload() argument
85 build_vnic_tx_desc(struct sdma_engine *sde, struct vnic_txreq *tx, u64 pbc) build_vnic_tx_desc() argument
132 struct vnic_txreq *tx; hfi1_vnic_send_dma() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
H A Ddebugfs.c45 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u");
46 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u");
47 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u");
48 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u");
49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u");
50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u");
51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u");
52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u");
53 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_stop, "%u");
54 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_start_template
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl18xx/
H A Ddebugfs.c45 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u");
46 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u");
47 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u");
48 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u");
49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u");
50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u");
51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u");
52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u");
53 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_stop, "%u");
54 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_start_template
[all...]
/kernel/linux/linux-5.10/drivers/clk/mediatek/
H A Dclk-apmixed.c31 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_is_prepared() local
33 return (readl(tx->base_addr) & REF2USB_EN_MASK) == REF2USB_EN_MASK; in mtk_ref2usb_tx_is_prepared()
38 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_prepare() local
41 val = readl(tx->base_addr); in mtk_ref2usb_tx_prepare()
44 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
48 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
51 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
58 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_unprepare() local
61 val = readl(tx->base_addr); in mtk_ref2usb_tx_unprepare()
63 writel(val, tx in mtk_ref2usb_tx_unprepare()
75 struct mtk_ref2usb_tx *tx; mtk_clk_register_ref2usb_tx() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/mediatek/
H A Dclk-apmixed.c32 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_is_prepared() local
34 return (readl(tx->base_addr) & REF2USB_EN_MASK) == REF2USB_EN_MASK; in mtk_ref2usb_tx_is_prepared()
39 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_prepare() local
42 val = readl(tx->base_addr); in mtk_ref2usb_tx_prepare()
45 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
49 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
52 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
59 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_unprepare() local
62 val = readl(tx->base_addr); in mtk_ref2usb_tx_unprepare()
64 writel(val, tx in mtk_ref2usb_tx_unprepare()
76 struct mtk_ref2usb_tx *tx; mtk_clk_register_ref2usb_tx() local
105 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); mtk_clk_unregister_ref2usb_tx() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dethtool_mm.sh42 local tx=$1; shift
51 # NXP ENETC does not, and requires tx-enabled on in order to respond to
53 ethtool --set-mm $rx tx-enabled on
54 ethtool --set-mm $tx verify-enabled on tx-enabled on
59 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
63 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
66 traffic_test $tx "pmac"
67 check_err "$?" "Traffic did not get sent through $tx'
[all...]
/kernel/linux/linux-5.10/drivers/fpga/
H A Dmachxo2-spi.c69 struct spi_transfer rx, tx; in get_status() local
74 memset(&tx, 0, sizeof(tx)); in get_status()
75 tx.tx_buf = cmd; in get_status()
76 tx.len = sizeof(cmd); in get_status()
80 spi_message_add_tail(&tx, &msg); in get_status()
139 struct spi_transfer tx[2]; in machxo2_cleanup() local
144 memset(tx, 0, sizeof(tx)); in machxo2_cleanup()
146 tx[ in machxo2_cleanup()
193 struct spi_transfer tx[3]; machxo2_write_init() local
257 struct spi_transfer tx; machxo2_write() local
296 struct spi_transfer tx[2]; machxo2_write_complete() local
[all...]
/kernel/linux/linux-6.6/drivers/fpga/
H A Dmachxo2-spi.c69 struct spi_transfer rx, tx; in get_status() local
74 memset(&tx, 0, sizeof(tx)); in get_status()
75 tx.tx_buf = cmd; in get_status()
76 tx.len = sizeof(cmd); in get_status()
80 spi_message_add_tail(&tx, &msg); in get_status()
139 struct spi_transfer tx[2]; in machxo2_cleanup() local
144 memset(tx, 0, sizeof(tx)); in machxo2_cleanup()
146 tx[ in machxo2_cleanup()
193 struct spi_transfer tx[3]; machxo2_write_init() local
257 struct spi_transfer tx; machxo2_write() local
296 struct spi_transfer tx[2]; machxo2_write_complete() local
[all...]

Completed in 12 milliseconds

12345678910>>...85