Home
last modified time | relevance | path

Searched refs:bcom_task (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/include/linux/fsl/bestcomm/
Dbestcomm.h47 struct bcom_task { struct
73 extern void bcom_enable(struct bcom_task *tsk); argument
82 extern void bcom_disable(struct bcom_task *tsk);
90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq()
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) in _bcom_next_outdex()
127 bcom_queue_empty(struct bcom_task *tsk) in bcom_queue_empty()
137 bcom_queue_full(struct bcom_task *tsk) in bcom_queue_full()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd()
160 bcom_buffer_done(struct bcom_task *tsk) in bcom_buffer_done()
[all …]
Dgen_bd.h19 extern struct bcom_task *
24 bcom_gen_bd_rx_reset(struct bcom_task *tsk);
27 bcom_gen_bd_rx_release(struct bcom_task *tsk);
30 extern struct bcom_task *
35 bcom_gen_bd_tx_reset(struct bcom_task *tsk);
38 bcom_gen_bd_tx_release(struct bcom_task *tsk);
42 struct bcom_task * bcom_psc_gen_bd_rx_init(unsigned psc_num, int queue_len,
44 struct bcom_task * bcom_psc_gen_bd_tx_init(unsigned psc_num, int queue_len,
Dfec.h40 extern struct bcom_task *
44 bcom_fec_rx_reset(struct bcom_task *tsk);
47 bcom_fec_rx_release(struct bcom_task *tsk);
50 extern struct bcom_task *
54 bcom_fec_tx_reset(struct bcom_task *tsk);
57 bcom_fec_tx_release(struct bcom_task *tsk);
Data.h23 extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize);
24 extern void bcom_ata_rx_prepare(struct bcom_task *tsk);
25 extern void bcom_ata_tx_prepare(struct bcom_task *tsk);
26 extern void bcom_ata_reset_bd(struct bcom_task *tsk);
27 extern void bcom_ata_release(struct bcom_task *tsk);
Dbestcomm_priv.h236 extern struct bcom_task *bcom_task_alloc(int bd_count, int bd_size, int priv_size);
237 extern void bcom_task_free(struct bcom_task *tsk);
/linux-5.19.10/sound/soc/fsl/
Dmpc5200_dma.c66 bd = bcom_prepare_next_buffer(s->bcom_task); in psc_dma_bcom_enqueue_next_buffer()
69 bcom_submit_next_buffer(s->bcom_task, NULL); in psc_dma_bcom_enqueue_next_buffer()
83 while (bcom_buffer_done(s->bcom_task)) { in psc_dma_bcom_irq()
84 bcom_retrieve_buffer(s->bcom_task, NULL, NULL); in psc_dma_bcom_irq()
138 bcom_gen_bd_rx_reset(s->bcom_task); in psc_dma_trigger()
140 bcom_gen_bd_tx_reset(s->bcom_task); in psc_dma_trigger()
143 if (!bcom_queue_full(s->bcom_task)) in psc_dma_trigger()
146 bcom_enable(s->bcom_task); in psc_dma_trigger()
159 bcom_disable(s->bcom_task); in psc_dma_trigger()
161 bcom_gen_bd_rx_reset(s->bcom_task); in psc_dma_trigger()
[all …]
Dmpc5200_dma.h26 struct bcom_task *bcom_task; member
/linux-5.19.10/drivers/dma/bestcomm/
Dgen_bd.c84 struct bcom_task *
88 struct bcom_task *tsk; in bcom_gen_bd_rx_init()
114 bcom_gen_bd_rx_reset(struct bcom_task *tsk) in bcom_gen_bd_rx_reset()
161 bcom_gen_bd_rx_release(struct bcom_task *tsk) in bcom_gen_bd_rx_release()
169 extern struct bcom_task *
173 struct bcom_task *tsk; in bcom_gen_bd_tx_init()
198 bcom_gen_bd_tx_reset(struct bcom_task *tsk) in bcom_gen_bd_tx_reset()
245 bcom_gen_bd_tx_release(struct bcom_task *tsk) in bcom_gen_bd_tx_release()
315 struct bcom_task * bcom_psc_gen_bd_rx_init(unsigned psc_num, int queue_len, in bcom_psc_gen_bd_rx_init()
336 struct bcom_task *
Data.c57 struct bcom_task *
60 struct bcom_task *tsk; in bcom_ata_init()
103 void bcom_ata_rx_prepare(struct bcom_task *tsk) in bcom_ata_rx_prepare()
117 void bcom_ata_tx_prepare(struct bcom_task *tsk) in bcom_ata_tx_prepare()
131 void bcom_ata_reset_bd(struct bcom_task *tsk) in bcom_ata_reset_bd()
146 void bcom_ata_release(struct bcom_task *tsk) in bcom_ata_release()
Dfec.c84 struct bcom_task *
87 struct bcom_task *tsk; in bcom_fec_rx_init()
111 bcom_fec_rx_reset(struct bcom_task *tsk) in bcom_fec_rx_reset()
158 bcom_fec_rx_release(struct bcom_task *tsk) in bcom_fec_rx_release()
186 struct bcom_task *
189 struct bcom_task *tsk; in bcom_fec_tx_init()
212 bcom_fec_tx_reset(struct bcom_task *tsk) in bcom_fec_tx_reset()
259 bcom_fec_tx_release(struct bcom_task *tsk) in bcom_fec_tx_release()
Dbestcomm.c51 struct bcom_task *
55 struct bcom_task *tsk; in bcom_task_alloc()
77 tsk = kzalloc(sizeof(struct bcom_task) + priv_size, GFP_KERNEL); in bcom_task_alloc()
83 tsk->priv = (void*)tsk + sizeof(struct bcom_task); in bcom_task_alloc()
124 bcom_task_free(struct bcom_task *tsk) in bcom_task_free()
239 bcom_enable(struct bcom_task *tsk) in bcom_enable()
246 bcom_disable(struct bcom_task *tsk) in bcom_disable()
/linux-5.19.10/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c48 struct bcom_task *bcom_tx_task;
49 struct bcom_task *bcom_rx_task;
50 struct bcom_task *bcom_cur_task;
/linux-5.19.10/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c63 struct bcom_task *rx_dmatsk;
64 struct bcom_task *tx_dmatsk;
123 static void mpc52xx_fec_free_rx_buffers(struct net_device *dev, struct bcom_task *s) in mpc52xx_fec_free_rx_buffers()
149 static int mpc52xx_fec_alloc_rx_buffers(struct net_device *dev, struct bcom_task *rxtsk) in mpc52xx_fec_alloc_rx_buffers()
/linux-5.19.10/drivers/ata/
Dpata_mpc52xx.c59 struct bcom_task *dmatsk;
683 struct bcom_task *dmatsk; in mpc52xx_ata_probe()