Searched refs:tasknum (Results 1 – 5 of 5) sorted by relevance
/drivers/dma/bestcomm/ |
D | fec.c | 118 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 …]
|
D | ata.c | 75 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 …]
|
D | gen_bd.c | 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() [all …]
|
D | bestcomm.c | 52 int i, tasknum = -1; in bcom_task_alloc() local 65 tasknum = i; in bcom_task_alloc() 71 if (tasknum < 0) in bcom_task_alloc() 79 tsk->tasknum = tasknum; in bcom_task_alloc() 84 tsk->irq = irq_of_parse_and_map(bcom_eng->ofnode, tsk->tasknum); in bcom_task_alloc() 115 bcom_eng->tdt[tasknum].stop = 0; in bcom_task_alloc() 125 bcom_disable_task(tsk->tasknum); in bcom_task_free() 128 bcom_eng->tdt[tsk->tasknum].start = 0; in bcom_task_free() 129 bcom_eng->tdt[tsk->tasknum].stop = 0; in bcom_task_free() 239 bcom_enable_task(tsk->tasknum); in bcom_enable() [all …]
|
/drivers/ata/ |
D | pata_mpc52xx.c | 561 bcom_set_task_auto_start(priv->dmatsk->tasknum, priv->dmatsk->tasknum); in mpc52xx_bmdma_start()
|