Lines Matching refs:tasknum
121 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()
208 var = (struct bcom_gen_bd_tx_var *) bcom_task_var(tsk->tasknum); in bcom_gen_bd_tx_reset()
209 inc = (struct bcom_gen_bd_tx_inc *) bcom_task_inc(tsk->tasknum); in bcom_gen_bd_tx_reset()
211 if (bcom_load_image(tsk->tasknum, bcom_gen_bd_tx_task)) in bcom_gen_bd_tx_reset()
215 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_gen_bd_tx_reset()
232 bcom_set_task_pragma(tsk->tasknum, BCOM_GEN_TX_BD_PRAGMA); in bcom_gen_bd_tx_reset()
233 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_gen_bd_tx_reset()
236 bcom_set_initiator(tsk->tasknum, priv->initiator); in bcom_gen_bd_tx_reset()
238 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_gen_bd_tx_reset()