Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/sysdev/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.c125 bcom_disable_task(tsk->tasknum); in bcom_gen_bd_rx_reset()
128 var = (struct bcom_gen_bd_rx_var *) bcom_task_var(tsk->tasknum); in bcom_gen_bd_rx_reset()
129 inc = (struct bcom_gen_bd_rx_inc *) bcom_task_inc(tsk->tasknum); in bcom_gen_bd_rx_reset()
131 if (bcom_load_image(tsk->tasknum, bcom_gen_bd_rx_task)) in bcom_gen_bd_rx_reset()
135 offsetof(struct mpc52xx_sdma, tcr[tsk->tasknum]); in bcom_gen_bd_rx_reset()
152 bcom_set_task_pragma(tsk->tasknum, BCOM_GEN_RX_BD_PRAGMA); in bcom_gen_bd_rx_reset()
153 bcom_set_task_auto_start(tsk->tasknum, tsk->tasknum); in bcom_gen_bd_rx_reset()
156 bcom_set_initiator(tsk->tasknum, priv->initiator); in bcom_gen_bd_rx_reset()
158 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_gen_bd_rx_reset()
209 bcom_disable_task(tsk->tasknum); in bcom_gen_bd_tx_reset()
[all …]
Dbestcomm.c52 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()
114 bcom_eng->tdt[tasknum].stop = 0; in bcom_task_alloc()
124 bcom_disable_task(tsk->tasknum); in bcom_task_free()
127 bcom_eng->tdt[tsk->tasknum].start = 0; in bcom_task_free()
128 bcom_eng->tdt[tsk->tasknum].stop = 0; in bcom_task_free()
238 bcom_enable_task(tsk->tasknum); in bcom_enable()
[all …]
Dbestcomm.h48 unsigned int tasknum; member
/linux-3.4.99/drivers/ata/
Dpata_mpc52xx.c561 bcom_set_task_auto_start(priv->dmatsk->tasknum, priv->dmatsk->tasknum); in mpc52xx_bmdma_start()