Home
last modified time | relevance | path

Searched refs:dma_desc (Results 1 - 25 of 110) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_descs.c12 struct dma_desc *p, void __iomem *ioaddr) in dwxgmac2_get_tx_status()
26 struct dma_desc *p) in dwxgmac2_get_rx_status()
42 static int dwxgmac2_get_tx_len(struct dma_desc *p) in dwxgmac2_get_tx_len()
47 static int dwxgmac2_get_tx_owner(struct dma_desc *p) in dwxgmac2_get_tx_owner()
52 static void dwxgmac2_set_tx_owner(struct dma_desc *p) in dwxgmac2_set_tx_owner()
57 static void dwxgmac2_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in dwxgmac2_set_rx_owner()
65 static int dwxgmac2_get_tx_ls(struct dma_desc *p) in dwxgmac2_get_tx_ls()
70 static int dwxgmac2_get_rx_frame_len(struct dma_desc *p, int rx_coe) in dwxgmac2_get_rx_frame_len()
75 static void dwxgmac2_enable_tx_timestamp(struct dma_desc *p) in dwxgmac2_enable_tx_timestamp()
80 static int dwxgmac2_get_tx_timestamp_status(struct dma_desc *
[all...]
H A Ddescs_com.h22 static inline void ehn_desc_rx_set_on_ring(struct dma_desc *p, int end, in ehn_desc_rx_set_on_ring()
34 static inline void enh_desc_end_tx_desc_on_ring(struct dma_desc *p, int end) in enh_desc_end_tx_desc_on_ring()
42 static inline void enh_set_tx_desc_len_on_ring(struct dma_desc *p, int len) in enh_set_tx_desc_len_on_ring()
54 static inline void ndesc_rx_set_on_ring(struct dma_desc *p, int end, int bfsize) in ndesc_rx_set_on_ring()
68 static inline void ndesc_end_tx_desc_on_ring(struct dma_desc *p, int end) in ndesc_end_tx_desc_on_ring()
76 static inline void norm_set_tx_desc_len_on_ring(struct dma_desc *p, int len) in norm_set_tx_desc_len_on_ring()
91 static inline void ehn_desc_rx_set_on_chain(struct dma_desc *p) in ehn_desc_rx_set_on_chain()
96 static inline void enh_desc_end_tx_desc_on_chain(struct dma_desc *p) in enh_desc_end_tx_desc_on_chain()
101 static inline void enh_set_tx_desc_len_on_chain(struct dma_desc *p, int len) in enh_set_tx_desc_len_on_chain()
107 static inline void ndesc_rx_set_on_chain(struct dma_desc *
[all...]
H A Dnorm_desc.c16 struct dma_desc *p, void __iomem *ioaddr) in ndesc_get_tx_status()
64 static int ndesc_get_tx_len(struct dma_desc *p) in ndesc_get_tx_len()
74 struct dma_desc *p) in ndesc_get_rx_status()
125 static void ndesc_init_rx_desc(struct dma_desc *p, int disable_rx_ic, int mode, in ndesc_init_rx_desc()
144 static void ndesc_init_tx_desc(struct dma_desc *p, int mode, int end) in ndesc_init_tx_desc()
153 static int ndesc_get_tx_owner(struct dma_desc *p) in ndesc_get_tx_owner()
158 static void ndesc_set_tx_owner(struct dma_desc *p) in ndesc_set_tx_owner()
163 static void ndesc_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in ndesc_set_rx_owner()
168 static int ndesc_get_tx_ls(struct dma_desc *p) in ndesc_get_tx_ls()
173 static void ndesc_release_tx_desc(struct dma_desc *
[all...]
H A Ddwmac4_descs.c17 struct dma_desc *p, in dwmac4_wrback_get_tx_status()
75 struct dma_desc *p) in dwmac4_wrback_get_rx_status()
176 static int dwmac4_rd_get_tx_len(struct dma_desc *p) in dwmac4_rd_get_tx_len()
181 static int dwmac4_get_tx_owner(struct dma_desc *p) in dwmac4_get_tx_owner()
186 static void dwmac4_set_tx_owner(struct dma_desc *p) in dwmac4_set_tx_owner()
191 static void dwmac4_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in dwmac4_set_rx_owner()
199 static int dwmac4_get_tx_ls(struct dma_desc *p) in dwmac4_get_tx_ls()
205 static int dwmac4_wrback_get_rx_frame_len(struct dma_desc *p, int rx_coe) in dwmac4_wrback_get_rx_frame_len()
210 static void dwmac4_rd_enable_tx_timestamp(struct dma_desc *p) in dwmac4_rd_enable_tx_timestamp()
215 static int dwmac4_wrback_get_tx_timestamp_status(struct dma_desc *
[all...]
H A Denh_desc.c16 struct dma_desc *p, void __iomem *ioaddr) in enh_desc_get_tx_status()
82 static int enh_desc_get_tx_len(struct dma_desc *p) in enh_desc_get_tx_len()
185 struct dma_desc *p) in enh_desc_get_rx_status()
257 static void enh_desc_init_rx_desc(struct dma_desc *p, int disable_rx_ic, in enh_desc_init_rx_desc()
276 static void enh_desc_init_tx_desc(struct dma_desc *p, int mode, int end) in enh_desc_init_tx_desc()
285 static int enh_desc_get_tx_owner(struct dma_desc *p) in enh_desc_get_tx_owner()
290 static void enh_desc_set_tx_owner(struct dma_desc *p) in enh_desc_set_tx_owner()
295 static void enh_desc_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in enh_desc_set_rx_owner()
300 static int enh_desc_get_tx_ls(struct dma_desc *p) in enh_desc_get_tx_ls()
305 static void enh_desc_release_tx_desc(struct dma_desc *
[all...]
H A Dchain_mode.c25 struct dma_desc *desc; in jumbo_frm()
118 struct dma_desc *p = (struct dma_desc *)des; in init_dma_chain()
120 dma_phy += sizeof(struct dma_desc); in init_dma_chain()
128 static void refill_desc3(void *priv_ptr, struct dma_desc *p) in refill_desc3()
141 sizeof(struct dma_desc))); in refill_desc3()
144 static void clean_desc3(void *priv_ptr, struct dma_desc *p) in clean_desc3()
159 * sizeof(struct dma_desc))); in clean_desc3()
H A Dhwif.h30 struct dma_desc;
37 void (*init_rx_desc)(struct dma_desc *p, int disable_rx_ic, int mode,
40 void (*init_tx_desc)(struct dma_desc *p, int mode, int end);
42 void (*prepare_tx_desc)(struct dma_desc *p, int is_fs, int len,
45 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
49 void (*set_tx_owner)(struct dma_desc *p);
50 int (*get_tx_owner)(struct dma_desc *p);
52 void (*release_tx_desc)(struct dma_desc *p, int mode);
55 void (*set_tx_ic)(struct dma_desc *p);
57 int (*get_tx_ls)(struct dma_desc *
[all...]
H A Dring_mode.c24 struct dma_desc *desc; in jumbo_frm()
27 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm()
57 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm()
104 static void refill_desc3(void *priv_ptr, struct dma_desc *p) in refill_desc3()
115 static void init_desc3(struct dma_desc *p) in init_desc3()
120 static void clean_desc3(void *priv_ptr, struct dma_desc *p) in clean_desc3()
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_descs.c12 struct dma_desc *p, void __iomem *ioaddr) in dwxgmac2_get_tx_status()
26 struct dma_desc *p) in dwxgmac2_get_rx_status()
42 static int dwxgmac2_get_tx_len(struct dma_desc *p) in dwxgmac2_get_tx_len()
47 static int dwxgmac2_get_tx_owner(struct dma_desc *p) in dwxgmac2_get_tx_owner()
52 static void dwxgmac2_set_tx_owner(struct dma_desc *p) in dwxgmac2_set_tx_owner()
57 static void dwxgmac2_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in dwxgmac2_set_rx_owner()
65 static int dwxgmac2_get_tx_ls(struct dma_desc *p) in dwxgmac2_get_tx_ls()
70 static int dwxgmac2_get_rx_frame_len(struct dma_desc *p, int rx_coe) in dwxgmac2_get_rx_frame_len()
75 static void dwxgmac2_enable_tx_timestamp(struct dma_desc *p) in dwxgmac2_enable_tx_timestamp()
80 static int dwxgmac2_get_tx_timestamp_status(struct dma_desc *
[all...]
H A Ddescs_com.h22 static inline void ehn_desc_rx_set_on_ring(struct dma_desc *p, int end, in ehn_desc_rx_set_on_ring()
34 static inline void enh_desc_end_tx_desc_on_ring(struct dma_desc *p, int end) in enh_desc_end_tx_desc_on_ring()
42 static inline void enh_set_tx_desc_len_on_ring(struct dma_desc *p, int len) in enh_set_tx_desc_len_on_ring()
54 static inline void ndesc_rx_set_on_ring(struct dma_desc *p, int end, int bfsize) in ndesc_rx_set_on_ring()
68 static inline void ndesc_end_tx_desc_on_ring(struct dma_desc *p, int end) in ndesc_end_tx_desc_on_ring()
76 static inline void norm_set_tx_desc_len_on_ring(struct dma_desc *p, int len) in norm_set_tx_desc_len_on_ring()
91 static inline void ehn_desc_rx_set_on_chain(struct dma_desc *p) in ehn_desc_rx_set_on_chain()
96 static inline void enh_desc_end_tx_desc_on_chain(struct dma_desc *p) in enh_desc_end_tx_desc_on_chain()
101 static inline void enh_set_tx_desc_len_on_chain(struct dma_desc *p, int len) in enh_set_tx_desc_len_on_chain()
107 static inline void ndesc_rx_set_on_chain(struct dma_desc *
[all...]
H A Dnorm_desc.c16 struct dma_desc *p, void __iomem *ioaddr) in ndesc_get_tx_status()
60 static int ndesc_get_tx_len(struct dma_desc *p) in ndesc_get_tx_len()
70 struct dma_desc *p) in ndesc_get_rx_status()
118 static void ndesc_init_rx_desc(struct dma_desc *p, int disable_rx_ic, int mode, in ndesc_init_rx_desc()
137 static void ndesc_init_tx_desc(struct dma_desc *p, int mode, int end) in ndesc_init_tx_desc()
146 static int ndesc_get_tx_owner(struct dma_desc *p) in ndesc_get_tx_owner()
151 static void ndesc_set_tx_owner(struct dma_desc *p) in ndesc_set_tx_owner()
156 static void ndesc_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in ndesc_set_rx_owner()
161 static int ndesc_get_tx_ls(struct dma_desc *p) in ndesc_get_tx_ls()
166 static void ndesc_release_tx_desc(struct dma_desc *
[all...]
H A Ddwmac4_descs.c17 struct dma_desc *p, in dwmac4_wrback_get_tx_status()
74 struct dma_desc *p) in dwmac4_wrback_get_rx_status()
172 static int dwmac4_rd_get_tx_len(struct dma_desc *p) in dwmac4_rd_get_tx_len()
177 static int dwmac4_get_tx_owner(struct dma_desc *p) in dwmac4_get_tx_owner()
182 static void dwmac4_set_tx_owner(struct dma_desc *p) in dwmac4_set_tx_owner()
187 static void dwmac4_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in dwmac4_set_rx_owner()
195 static int dwmac4_get_tx_ls(struct dma_desc *p) in dwmac4_get_tx_ls()
201 static int dwmac4_wrback_get_rx_frame_len(struct dma_desc *p, int rx_coe) in dwmac4_wrback_get_rx_frame_len()
206 static void dwmac4_rd_enable_tx_timestamp(struct dma_desc *p) in dwmac4_rd_enable_tx_timestamp()
211 static int dwmac4_wrback_get_tx_timestamp_status(struct dma_desc *
[all...]
H A Denh_desc.c16 struct dma_desc *p, void __iomem *ioaddr) in enh_desc_get_tx_status()
79 static int enh_desc_get_tx_len(struct dma_desc *p) in enh_desc_get_tx_len()
182 struct dma_desc *p) in enh_desc_get_rx_status()
252 static void enh_desc_init_rx_desc(struct dma_desc *p, int disable_rx_ic, in enh_desc_init_rx_desc()
271 static void enh_desc_init_tx_desc(struct dma_desc *p, int mode, int end) in enh_desc_init_tx_desc()
280 static int enh_desc_get_tx_owner(struct dma_desc *p) in enh_desc_get_tx_owner()
285 static void enh_desc_set_tx_owner(struct dma_desc *p) in enh_desc_set_tx_owner()
290 static void enh_desc_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in enh_desc_set_rx_owner()
295 static int enh_desc_get_tx_ls(struct dma_desc *p) in enh_desc_get_tx_ls()
300 static void enh_desc_release_tx_desc(struct dma_desc *
[all...]
H A Dchain_mode.c25 struct dma_desc *desc; in jumbo_frm()
118 struct dma_desc *p = (struct dma_desc *)des; in init_dma_chain()
120 dma_phy += sizeof(struct dma_desc); in init_dma_chain()
128 static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p) in refill_desc3()
140 sizeof(struct dma_desc))); in refill_desc3()
143 static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p) in clean_desc3()
157 * sizeof(struct dma_desc))); in clean_desc3()
H A Dring_mode.c24 struct dma_desc *desc; in jumbo_frm()
27 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm()
57 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm()
104 static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p) in refill_desc3()
114 static void init_desc3(struct dma_desc *p) in init_desc3()
119 static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p) in clean_desc3()
H A Dhwif.h31 struct dma_desc;
38 void (*init_rx_desc)(struct dma_desc *p, int disable_rx_ic, int mode,
41 void (*init_tx_desc)(struct dma_desc *p, int mode, int end);
43 void (*prepare_tx_desc)(struct dma_desc *p, int is_fs, int len,
46 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
50 void (*set_tx_owner)(struct dma_desc *p);
51 int (*get_tx_owner)(struct dma_desc *p);
53 void (*release_tx_desc)(struct dma_desc *p, int mode);
56 void (*set_tx_ic)(struct dma_desc *p);
58 int (*get_tx_ls)(struct dma_desc *
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dtegra186-gpc-dma.c239 struct tegra_dma_desc *dma_desc; member
473 struct tegra_dma_desc *dma_desc = tdc->dma_desc; in tegra_dma_configure_next_sg() local
478 dma_desc->sg_idx++; in tegra_dma_configure_next_sg()
481 if (dma_desc->sg_idx == dma_desc->sg_count) in tegra_dma_configure_next_sg()
482 dma_desc->sg_idx = 0; in tegra_dma_configure_next_sg()
493 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_configure_next_sg()
507 struct tegra_dma_desc *dma_desc in tegra_dma_start() local
593 struct tegra_dma_desc *dma_desc = tdc->dma_desc; tegra_dma_isr() local
730 struct tegra_dma_desc *dma_desc = tdc->dma_desc; tegra_dma_get_residual() local
759 struct tegra_dma_desc *dma_desc; tegra_dma_tx_status() local
862 struct tegra_dma_desc *dma_desc; tegra_dma_prep_dma_memset() local
928 struct tegra_dma_desc *dma_desc; tegra_dma_prep_dma_memcpy() local
1002 struct tegra_dma_desc *dma_desc; tegra_dma_prep_slave_sg() local
1121 struct tegra_dma_desc *dma_desc; tegra_dma_prep_dma_cyclic() local
[all...]
H A Dtegra20-apb-dma.c154 struct tegra_dma_desc *dma_desc; member
267 struct tegra_dma_desc *dma_desc; in tegra_dma_desc_get() local
273 list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) { in tegra_dma_desc_get()
274 if (async_tx_test_ack(&dma_desc->txd) && !dma_desc->cb_count) { in tegra_dma_desc_get()
275 list_del(&dma_desc->node); in tegra_dma_desc_get()
277 dma_desc->txd.flags = 0; in tegra_dma_desc_get()
278 return dma_desc; in tegra_dma_desc_get()
285 dma_desc = kzalloc(sizeof(*dma_desc), GFP_NOWAI in tegra_dma_desc_get()
296 tegra_dma_desc_put(struct tegra_dma_channel *tdc, struct tegra_dma_desc *dma_desc) tegra_dma_desc_put() argument
522 struct tegra_dma_desc *dma_desc; tegra_dma_abort_all() local
573 struct tegra_dma_desc *dma_desc; handle_once_dma_done() local
607 struct tegra_dma_desc *dma_desc; handle_cont_sngl_cycle_dma_done() local
639 struct tegra_dma_desc *dma_desc; tegra_dma_tasklet() local
688 struct tegra_dma_desc *dma_desc = txd_to_tegra_dma_desc(txd); tegra_dma_tx_submit() local
739 struct tegra_dma_desc *dma_desc; tegra_dma_terminate_all() local
891 struct tegra_dma_desc *dma_desc; tegra_dma_tx_status() local
1046 struct tegra_dma_desc *dma_desc; tegra_dma_prep_slave_sg() local
1171 struct tegra_dma_desc *dma_desc; tegra_dma_prep_dma_cyclic() local
1309 struct tegra_dma_desc *dma_desc; tegra_dma_free_chan_resources() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Dtegra20-apb-dma.c155 struct tegra_dma_desc *dma_desc; member
273 struct tegra_dma_desc *dma_desc; in tegra_dma_desc_get() local
279 list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) { in tegra_dma_desc_get()
280 if (async_tx_test_ack(&dma_desc->txd) && !dma_desc->cb_count) { in tegra_dma_desc_get()
281 list_del(&dma_desc->node); in tegra_dma_desc_get()
283 dma_desc->txd.flags = 0; in tegra_dma_desc_get()
284 return dma_desc; in tegra_dma_desc_get()
291 dma_desc = kzalloc(sizeof(*dma_desc), GFP_NOWAI in tegra_dma_desc_get()
302 tegra_dma_desc_put(struct tegra_dma_channel *tdc, struct tegra_dma_desc *dma_desc) tegra_dma_desc_put() argument
534 struct tegra_dma_desc *dma_desc; tegra_dma_abort_all() local
585 struct tegra_dma_desc *dma_desc; handle_once_dma_done() local
619 struct tegra_dma_desc *dma_desc; handle_cont_sngl_cycle_dma_done() local
651 struct tegra_dma_desc *dma_desc; tegra_dma_tasklet() local
700 struct tegra_dma_desc *dma_desc = txd_to_tegra_dma_desc(txd); tegra_dma_tx_submit() local
751 struct tegra_dma_desc *dma_desc; tegra_dma_terminate_all() local
903 struct tegra_dma_desc *dma_desc; tegra_dma_tx_status() local
1058 struct tegra_dma_desc *dma_desc; tegra_dma_prep_slave_sg() local
1183 struct tegra_dma_desc *dma_desc; tegra_dma_prep_dma_cyclic() local
1321 struct tegra_dma_desc *dma_desc; tegra_dma_free_chan_resources() local
[all...]
/kernel/linux/linux-5.10/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c47 struct i2s_dma_desc *dma_desc; in bcm63xx_pcm_hw_params() local
54 dma_desc = kzalloc(sizeof(*dma_desc), GFP_NOWAIT); in bcm63xx_pcm_hw_params()
55 if (!dma_desc) in bcm63xx_pcm_hw_params()
58 snd_soc_dai_set_dma_data(asoc_rtd_to_cpu(rtd, 0), substream, dma_desc); in bcm63xx_pcm_hw_params()
66 struct i2s_dma_desc *dma_desc; in bcm63xx_pcm_hw_free() local
69 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in bcm63xx_pcm_hw_free()
70 kfree(dma_desc); in bcm63xx_pcm_hw_free()
148 struct i2s_dma_desc *dma_desc; in bcm63xx_pcm_prepare() local
155 dma_desc in bcm63xx_pcm_prepare()
257 struct i2s_dma_desc *dma_desc; i2s_dma_isr() local
[all...]
/kernel/linux/linux-6.6/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c48 struct i2s_dma_desc *dma_desc; in bcm63xx_pcm_hw_params() local
51 dma_desc = kzalloc(sizeof(*dma_desc), GFP_NOWAIT); in bcm63xx_pcm_hw_params()
52 if (!dma_desc) in bcm63xx_pcm_hw_params()
55 snd_soc_dai_set_dma_data(asoc_rtd_to_cpu(rtd, 0), substream, dma_desc); in bcm63xx_pcm_hw_params()
63 struct i2s_dma_desc *dma_desc; in bcm63xx_pcm_hw_free() local
66 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in bcm63xx_pcm_hw_free()
67 kfree(dma_desc); in bcm63xx_pcm_hw_free()
144 struct i2s_dma_desc *dma_desc; in bcm63xx_pcm_prepare() local
151 dma_desc in bcm63xx_pcm_prepare()
240 struct i2s_dma_desc *dma_desc; i2s_dma_isr() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c29 static int xlgmac_tx_complete(struct xlgmac_dma_desc *dma_desc) in xlgmac_tx_complete() argument
31 return !XLGMAC_GET_REG_BITS_LE(dma_desc->desc3, in xlgmac_tx_complete()
708 struct xlgmac_dma_desc *dma_desc; in xlgmac_dev_xmit() local
759 dma_desc = desc_data->dma_desc; in xlgmac_dev_xmit()
769 dma_desc->desc2 = XLGMAC_SET_REG_BITS_LE( in xlgmac_dev_xmit()
770 dma_desc->desc2, in xlgmac_dev_xmit()
776 dma_desc->desc3 = XLGMAC_SET_REG_BITS_LE( in xlgmac_dev_xmit()
777 dma_desc->desc3, in xlgmac_dev_xmit()
783 dma_desc in xlgmac_dev_xmit()
1010 xlgmac_get_rx_tstamp(struct xlgmac_pkt_info *pkt_info, struct xlgmac_dma_desc *dma_desc) xlgmac_get_rx_tstamp() argument
1039 struct xlgmac_dma_desc *dma_desc = desc_data->dma_desc; xlgmac_tx_desc_reset() local
1086 struct xlgmac_dma_desc *dma_desc = desc_data->dma_desc; xlgmac_rx_desc_reset() local
1172 xlgmac_is_context_desc(struct xlgmac_dma_desc *dma_desc) xlgmac_is_context_desc() argument
1180 xlgmac_is_last_desc(struct xlgmac_dma_desc *dma_desc) xlgmac_is_last_desc() argument
2644 struct xlgmac_dma_desc *dma_desc; xlgmac_dev_read() local
[all...]
H A Ddwc-xlgmac-common.c291 struct xlgmac_dma_desc *dma_desc; in xlgmac_dump_tx_desc() local
295 dma_desc = desc_data->dma_desc; in xlgmac_dump_tx_desc()
297 netdev_dbg(pdata->netdev, "TX: dma_desc=%p, dma_desc_addr=%pad\n", in xlgmac_dump_tx_desc()
298 desc_data->dma_desc, &desc_data->dma_desc_addr); in xlgmac_dump_tx_desc()
302 le32_to_cpu(dma_desc->desc0), in xlgmac_dump_tx_desc()
303 le32_to_cpu(dma_desc->desc1), in xlgmac_dump_tx_desc()
304 le32_to_cpu(dma_desc->desc2), in xlgmac_dump_tx_desc()
305 le32_to_cpu(dma_desc->desc3)); in xlgmac_dump_tx_desc()
316 struct xlgmac_dma_desc *dma_desc; in xlgmac_dump_rx_desc() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c29 static int xlgmac_tx_complete(struct xlgmac_dma_desc *dma_desc) in xlgmac_tx_complete() argument
31 return !XLGMAC_GET_REG_BITS_LE(dma_desc->desc3, in xlgmac_tx_complete()
708 struct xlgmac_dma_desc *dma_desc; in xlgmac_dev_xmit() local
759 dma_desc = desc_data->dma_desc; in xlgmac_dev_xmit()
769 dma_desc->desc2 = XLGMAC_SET_REG_BITS_LE( in xlgmac_dev_xmit()
770 dma_desc->desc2, in xlgmac_dev_xmit()
776 dma_desc->desc3 = XLGMAC_SET_REG_BITS_LE( in xlgmac_dev_xmit()
777 dma_desc->desc3, in xlgmac_dev_xmit()
783 dma_desc in xlgmac_dev_xmit()
1010 xlgmac_get_rx_tstamp(struct xlgmac_pkt_info *pkt_info, struct xlgmac_dma_desc *dma_desc) xlgmac_get_rx_tstamp() argument
1039 struct xlgmac_dma_desc *dma_desc = desc_data->dma_desc; xlgmac_tx_desc_reset() local
1086 struct xlgmac_dma_desc *dma_desc = desc_data->dma_desc; xlgmac_rx_desc_reset() local
1172 xlgmac_is_context_desc(struct xlgmac_dma_desc *dma_desc) xlgmac_is_context_desc() argument
1180 xlgmac_is_last_desc(struct xlgmac_dma_desc *dma_desc) xlgmac_is_last_desc() argument
2644 struct xlgmac_dma_desc *dma_desc; xlgmac_dev_read() local
[all...]
/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c44 struct dma_async_tx_descriptor *dma_desc; in tegra20_fuse_read() local
57 dma_desc = dmaengine_prep_slave_single(fuse->apbdma.chan, in tegra20_fuse_read()
61 if (!dma_desc) in tegra20_fuse_read()
64 dma_desc->callback = apb_dma_complete; in tegra20_fuse_read()
65 dma_desc->callback_param = fuse; in tegra20_fuse_read()
71 dmaengine_submit(dma_desc); in tegra20_fuse_read()

Completed in 19 milliseconds

12345