Searched refs:bcom_eng (Results 1 – 4 of 4) sorted by relevance
/drivers/dma/bestcomm/ |
D | bestcomm.c | 40 struct bcom_engine *bcom_eng = NULL; variable 41 EXPORT_SYMBOL_GPL(bcom_eng); /* needed for inline functions */ 56 if (!bcom_eng) in bcom_task_alloc() 60 spin_lock(&bcom_eng->lock); in bcom_task_alloc() 63 if (!bcom_eng->tdt[i].stop) { /* we use stop as a marker */ in bcom_task_alloc() 64 bcom_eng->tdt[i].stop = 0xfffffffful; /* dummy addr */ in bcom_task_alloc() 69 spin_unlock(&bcom_eng->lock); 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() 128 bcom_eng->tdt[tsk->tasknum].start = 0; in bcom_task_free() [all …]
|
D | fec.c | 127 var->enable = bcom_eng->regs_base + in bcom_fec_rx_reset() 149 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_FEC_RX], BCOM_IPR_FEC_RX); in bcom_fec_rx_reset() 151 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_fec_rx_reset() 228 var->enable = bcom_eng->regs_base + in bcom_fec_tx_reset() 250 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_FEC_TX], BCOM_IPR_FEC_TX); in bcom_fec_tx_reset() 252 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_fec_tx_reset()
|
D | ata.c | 83 var->enable = bcom_eng->regs_base + in bcom_ata_init() 94 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ATA_RX], BCOM_IPR_ATA_RX); in bcom_ata_init() 95 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ATA_TX], BCOM_IPR_ATA_TX); in bcom_ata_init() 97 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_ata_init()
|
D | gen_bd.c | 130 var->enable = bcom_eng->regs_base + in bcom_gen_bd_rx_reset() 151 out_8(&bcom_eng->regs->ipr[priv->initiator], priv->ipr); in bcom_gen_bd_rx_reset() 154 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_gen_bd_rx_reset() 214 var->enable = bcom_eng->regs_base + in bcom_gen_bd_tx_reset() 235 out_8(&bcom_eng->regs->ipr[priv->initiator], priv->ipr); in bcom_gen_bd_tx_reset() 238 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_gen_bd_tx_reset()
|