Home
last modified time | relevance | path

Searched refs:tasknum (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/dma/bestcomm/
Dfec.c114 bcom_disable_task(tsk->tasknum); in bcom_fec_rx_reset()
117 var = (struct bcom_fec_rx_var *) bcom_task_var(tsk->tasknum); in bcom_fec_rx_reset()
118 inc = (struct bcom_fec_rx_inc *) bcom_task_inc(tsk->tasknum); in bcom_fec_rx_reset()
120 if (bcom_load_image(tsk->tasknum, bcom_fec_rx_task)) in bcom_fec_rx_reset()
124 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_fec_rx_reset()
142 bcom_set_task_pragma(tsk->tasknum, BCOM_FEC_RX_BD_PRAGMA); in bcom_fec_rx_reset()
143 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_fec_rx_reset()
147 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_fec_rx_reset()
166 static u32 *self_modified_drd(int tasknum) in self_modified_drd() argument
173 num_descs = bcom_task_num_descs(tasknum); in self_modified_drd()
[all …]
Data.c71 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_init()
72 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_init()
74 if (bcom_load_image(tsk->tasknum, bcom_ata_task)) { in bcom_ata_init()
80 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_ata_init()
87 bcom_set_task_pragma(tsk->tasknum, BCOM_ATA_PRAGMA); in bcom_ata_init()
88 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_ata_init()
93 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_ata_init()
103 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_rx_prepare()
109 bcom_set_initiator(tsk->tasknum, BCOM_INITIATOR_ATA_RX); in bcom_ata_rx_prepare()
117 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_tx_prepare()
[all …]
Dgen_bd.c121 bcom_disable_task(tsk->tasknum); in bcom_gen_bd_rx_reset()
124 var = (struct bcom_gen_bd_rx_var *) bcom_task_var(tsk->tasknum); in bcom_gen_bd_rx_reset()
125 inc = (struct bcom_gen_bd_rx_inc *) bcom_task_inc(tsk->tasknum); in bcom_gen_bd_rx_reset()
127 if (bcom_load_image(tsk->tasknum, bcom_gen_bd_rx_task)) in bcom_gen_bd_rx_reset()
131 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_gen_bd_rx_reset()
148 bcom_set_task_pragma(tsk->tasknum, BCOM_GEN_RX_BD_PRAGMA); in bcom_gen_bd_rx_reset()
149 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_gen_bd_rx_reset()
152 bcom_set_initiator(tsk->tasknum, priv->initiator); in bcom_gen_bd_rx_reset()
154 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_gen_bd_rx_reset()
205 bcom_disable_task(tsk->tasknum); in bcom_gen_bd_tx_reset()
[all …]
Dbestcomm.c50 int i, tasknum = -1; in bcom_task_alloc() local
63 tasknum = i; in bcom_task_alloc()
69 if (tasknum < 0) in bcom_task_alloc()
77 tsk->tasknum = tasknum; in bcom_task_alloc()
82 tsk->irq = irq_of_parse_and_map(bcom_eng->ofnode, tsk->tasknum); in bcom_task_alloc()
113 bcom_eng->tdt[tasknum].stop = 0; in bcom_task_alloc()
123 bcom_disable_task(tsk->tasknum); in bcom_task_free()
126 bcom_eng->tdt[tsk->tasknum].start = 0; in bcom_task_free()
127 bcom_eng->tdt[tsk->tasknum].stop = 0; in bcom_task_free()
237 bcom_enable_task(tsk->tasknum); in bcom_enable()
[all …]
/linux-6.1.9/include/linux/fsl/bestcomm/
Dbestcomm.h48 unsigned int tasknum; member
/linux-6.1.9/drivers/ata/
Dpata_mpc52xx.c562 bcom_set_task_auto_start(priv->dmatsk->tasknum, priv->dmatsk->tasknum); in mpc52xx_bmdma_start()