Lines Matching refs:dbell
317 struct rio_dbell *dbell; in fsl_rio_dbell_handler() local
327 list_for_each_entry(dbell, in fsl_rio_dbell_handler()
329 if ((dbell->res->start in fsl_rio_dbell_handler()
331 && (dbell->res->end in fsl_rio_dbell_handler()
337 if (found && dbell->dinb) { in fsl_rio_dbell_handler()
338 dbell->dinb(fsl_dbell->mport[i], in fsl_rio_dbell_handler()
339 dbell->dev_id, dmsg->sid, in fsl_rio_dbell_handler()
373 out_be32(&dbell->dbell_regs->odsr, ODSR_CLEAR); in msg_unit_error_handler()
374 out_be32(&dbell->dbell_regs->dsr, IDSR_CLEAR); in msg_unit_error_handler()
637 out_be32(&dbell->dbell_regs->odmr, 0x00000000); in fsl_rio_doorbell_send()
638 out_be32(&dbell->dbell_regs->odretcr, 0x00000004); in fsl_rio_doorbell_send()
639 out_be32(&dbell->dbell_regs->oddpr, destid << 16); in fsl_rio_doorbell_send()
640 out_be32(&dbell->dbell_regs->oddatr, (index << 20) | data); in fsl_rio_doorbell_send()
641 out_be32(&dbell->dbell_regs->odmr, 0x00000001); in fsl_rio_doorbell_send()
1027 int fsl_rio_doorbell_init(struct fsl_rio_dbell *dbell) in fsl_rio_doorbell_init() argument
1032 dbell->dbell_ring.virt = dma_alloc_coherent(dbell->dev, 512 * in fsl_rio_doorbell_init()
1033 DOORBELL_MESSAGE_SIZE, &dbell->dbell_ring.phys, GFP_KERNEL); in fsl_rio_doorbell_init()
1034 if (!dbell->dbell_ring.virt) { in fsl_rio_doorbell_init()
1041 out_be32(&dbell->dbell_regs->dqdpar, (u32) dbell->dbell_ring.phys); in fsl_rio_doorbell_init()
1042 out_be32(&dbell->dbell_regs->dqepar, (u32) dbell->dbell_ring.phys); in fsl_rio_doorbell_init()
1045 out_be32(&dbell->dbell_regs->dsr, 0x00000091); in fsl_rio_doorbell_init()
1048 rc = request_irq(IRQ_RIO_BELL(dbell), fsl_rio_dbell_handler, 0, in fsl_rio_doorbell_init()
1049 "dbell_rx", (void *)dbell); in fsl_rio_doorbell_init()
1051 dma_free_coherent(dbell->dev, 512 * DOORBELL_MESSAGE_SIZE, in fsl_rio_doorbell_init()
1052 dbell->dbell_ring.virt, dbell->dbell_ring.phys); in fsl_rio_doorbell_init()
1059 out_be32(&dbell->dbell_regs->dmr, 0x00108161); in fsl_rio_doorbell_init()