Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/dma/bestcomm/
Dfec.c118 bcom_disable_task(tsk->tasknum); in bcom_fec_rx_reset()
121 var = (struct bcom_fec_rx_var *) bcom_task_var(tsk->tasknum); in bcom_fec_rx_reset()
122 inc = (struct bcom_fec_rx_inc *) bcom_task_inc(tsk->tasknum); in bcom_fec_rx_reset()
124 if (bcom_load_image(tsk->tasknum, bcom_fec_rx_task)) in bcom_fec_rx_reset()
128 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_fec_rx_reset()
146 bcom_set_task_pragma(tsk->tasknum, BCOM_FEC_RX_BD_PRAGMA); in bcom_fec_rx_reset()
147 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_fec_rx_reset()
151 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_fec_rx_reset()
170 static u32 *self_modified_drd(int tasknum) in self_modified_drd() argument
177 num_descs = bcom_task_num_descs(tasknum); in self_modified_drd()
[all …]
Data.c75 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_init()
76 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_init()
78 if (bcom_load_image(tsk->tasknum, bcom_ata_task)) { in bcom_ata_init()
84 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_ata_init()
91 bcom_set_task_pragma(tsk->tasknum, BCOM_ATA_PRAGMA); in bcom_ata_init()
92 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_ata_init()
97 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_ata_init()
107 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_rx_prepare()
113 bcom_set_initiator(tsk->tasknum, BCOM_INITIATOR_ATA_RX); in bcom_ata_rx_prepare()
121 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.c54 int i, tasknum = -1; in bcom_task_alloc() local
67 tasknum = i; in bcom_task_alloc()
73 if (tasknum < 0) in bcom_task_alloc()
81 tsk->tasknum = tasknum; in bcom_task_alloc()
86 tsk->irq = irq_of_parse_and_map(bcom_eng->ofnode, tsk->tasknum); in bcom_task_alloc()
117 bcom_eng->tdt[tasknum].stop = 0; in bcom_task_alloc()
127 bcom_disable_task(tsk->tasknum); in bcom_task_free()
130 bcom_eng->tdt[tsk->tasknum].start = 0; in bcom_task_free()
131 bcom_eng->tdt[tsk->tasknum].stop = 0; in bcom_task_free()
241 bcom_enable_task(tsk->tasknum); in bcom_enable()
[all …]
/linux-5.19.10/include/linux/fsl/bestcomm/
Dbestcomm.h48 unsigned int tasknum; member
/linux-5.19.10/drivers/ata/
Dpata_mpc52xx.c562 bcom_set_task_auto_start(priv->dmatsk->tasknum, priv->dmatsk->tasknum); in mpc52xx_bmdma_start()