Searched refs:bcom_eng (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/dma/bestcomm/ |
H A D | bestcomm.c | 53 if (!bcom_eng) in bcom_task_alloc() 57 spin_lock(&bcom_eng->lock); in bcom_task_alloc() 158 tdt = &bcom_eng->tdt[task]; in bcom_load_image() 291 if (!bcom_eng->tdt || !bcom_eng->ctx || !bcom_eng->var || !bcom_eng->fdt) { in bcom_engine_init() 397 if (!bcom_eng) { in mpc52xx_bcom_probe() 423 if (!bcom_eng->regs) { in mpc52xx_bcom_probe() 443 iounmap(bcom_eng->regs); in mpc52xx_bcom_probe() 447 kfree(bcom_eng); in mpc52xx_bcom_probe() 467 iounmap(bcom_eng->regs); in mpc52xx_bcom_remove() 474 kfree(bcom_eng); in mpc52xx_bcom_remove() [all …]
|
H A D | fec.c | 123 var->enable = bcom_eng->regs_base + in bcom_fec_rx_reset() 145 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_FEC_RX], BCOM_IPR_FEC_RX); in bcom_fec_rx_reset() 147 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_fec_rx_reset() 224 var->enable = bcom_eng->regs_base + in bcom_fec_tx_reset() 246 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_FEC_TX], BCOM_IPR_FEC_TX); in bcom_fec_tx_reset() 248 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_fec_tx_reset()
|
H A D | ata.c | 79 var->enable = bcom_eng->regs_base + in bcom_ata_init() 90 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ATA_RX], BCOM_IPR_ATA_RX); in bcom_ata_init() 91 out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ATA_TX], BCOM_IPR_ATA_TX); in bcom_ata_init() 93 out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */ in bcom_ata_init()
|
H A 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()
|
/openbmc/linux/include/linux/fsl/bestcomm/ |
H A D | bestcomm_priv.h | 81 extern struct bcom_engine *bcom_eng; 256 regval = in_be16(&bcom_eng->regs->PtdCntrl); in bcom_disable_prefetch() 257 out_be16(&bcom_eng->regs->PtdCntrl, regval | 1); in bcom_disable_prefetch() 264 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_enable_task() 271 u16 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_disable_task() 279 return bcom_sram_pa2va(bcom_eng->tdt[task].start); in bcom_task_desc() 285 return (bcom_eng->tdt[task].stop - bcom_eng->tdt[task].start)/sizeof(u32) + 1; in bcom_task_num_descs() 291 return bcom_sram_pa2va(bcom_eng->tdt[task].var); in bcom_task_var() 330 u32 *fdt = &bcom_eng->tdt[task].fdt; in bcom_set_task_pragma() 337 u16 __iomem *tcr = &bcom_eng->regs->tcr[task]; in bcom_set_task_auto_start() [all …]
|