Lines Matching refs:tasknum
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()
127 bcom_set_initiator(tsk->tasknum, BCOM_INITIATOR_ATA_TX); in bcom_ata_tx_prepare()
141 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_reset_bd()