Lines Matching refs:outbound_doorbell

288 		if (readl(&acb->pmuC->outbound_doorbell) & ARCMSR_HBCMU_IOP2DRV_MESSAGE_CMD_DONE) {  in arcmsr_remap_pciregion()
441 if (readl(&phbcmu->outbound_doorbell) in arcmsr_hbaC_wait_msgint_ready()
459 if (readl(reg->outbound_doorbell) in arcmsr_hbaD_wait_msgint_ready()
462 reg->outbound_doorbell); in arcmsr_hbaD_wait_msgint_ready()
632 reg->outbound_doorbell = MEM_BASE0(ARCMSR_ARC1214_OUTBOUND_DOORBELL); in arcmsr_hbaD_assign_regAddr()
2362 uint32_t outbound_doorbell; in arcmsr_hbaA_doorbell_isr() local
2364 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_hbaA_doorbell_isr()
2366 writel(outbound_doorbell, &reg->outbound_doorbell); in arcmsr_hbaA_doorbell_isr()
2367 if (outbound_doorbell & ARCMSR_OUTBOUND_IOP331_DATA_WRITE_OK) in arcmsr_hbaA_doorbell_isr()
2369 if (outbound_doorbell & ARCMSR_OUTBOUND_IOP331_DATA_READ_OK) in arcmsr_hbaA_doorbell_isr()
2371 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_hbaA_doorbell_isr()
2372 } while (outbound_doorbell & (ARCMSR_OUTBOUND_IOP331_DATA_WRITE_OK in arcmsr_hbaA_doorbell_isr()
2377 uint32_t outbound_doorbell; in arcmsr_hbaC_doorbell_isr() local
2386 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_hbaC_doorbell_isr()
2388 writel(outbound_doorbell, &reg->outbound_doorbell_clear); in arcmsr_hbaC_doorbell_isr()
2390 if (outbound_doorbell & ARCMSR_HBCMU_IOP2DRV_DATA_WRITE_OK) in arcmsr_hbaC_doorbell_isr()
2392 if (outbound_doorbell & ARCMSR_HBCMU_IOP2DRV_DATA_READ_OK) in arcmsr_hbaC_doorbell_isr()
2394 if (outbound_doorbell & ARCMSR_HBCMU_IOP2DRV_MESSAGE_CMD_DONE) in arcmsr_hbaC_doorbell_isr()
2396 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_hbaC_doorbell_isr()
2397 } while (outbound_doorbell & (ARCMSR_HBCMU_IOP2DRV_DATA_WRITE_OK in arcmsr_hbaC_doorbell_isr()
2404 uint32_t outbound_doorbell; in arcmsr_hbaD_doorbell_isr() local
2407 outbound_doorbell = readl(pmu->outbound_doorbell); in arcmsr_hbaD_doorbell_isr()
2409 writel(outbound_doorbell, pmu->outbound_doorbell); in arcmsr_hbaD_doorbell_isr()
2410 if (outbound_doorbell & ARCMSR_ARC1214_IOP2DRV_MESSAGE_CMD_DONE) in arcmsr_hbaD_doorbell_isr()
2412 if (outbound_doorbell & ARCMSR_ARC1214_IOP2DRV_DATA_WRITE_OK) in arcmsr_hbaD_doorbell_isr()
2414 if (outbound_doorbell & ARCMSR_ARC1214_IOP2DRV_DATA_READ_OK) in arcmsr_hbaD_doorbell_isr()
2416 outbound_doorbell = readl(pmu->outbound_doorbell); in arcmsr_hbaD_doorbell_isr()
2417 } while (outbound_doorbell & (ARCMSR_ARC1214_IOP2DRV_DATA_WRITE_OK in arcmsr_hbaD_doorbell_isr()
2424 uint32_t outbound_doorbell, in_doorbell, tmp, i; in arcmsr_hbaE_doorbell_isr() local
2435 outbound_doorbell = in_doorbell ^ pACB->in_doorbell; in arcmsr_hbaE_doorbell_isr()
2438 if (outbound_doorbell & ARCMSR_HBEMU_IOP2DRV_DATA_WRITE_OK) { in arcmsr_hbaE_doorbell_isr()
2441 if (outbound_doorbell & ARCMSR_HBEMU_IOP2DRV_DATA_READ_OK) { in arcmsr_hbaE_doorbell_isr()
2444 if (outbound_doorbell & ARCMSR_HBEMU_IOP2DRV_MESSAGE_CMD_DONE) { in arcmsr_hbaE_doorbell_isr()
2449 outbound_doorbell = tmp ^ in_doorbell; in arcmsr_hbaE_doorbell_isr()
2450 } while (outbound_doorbell & (ARCMSR_HBEMU_IOP2DRV_DATA_WRITE_OK in arcmsr_hbaE_doorbell_isr()
2684 writel(ARCMSR_ARC1214_IOP2DRV_MESSAGE_CMD_DONE, reg->outbound_doorbell); in arcmsr_hbaD_message_isr()
2685 readl(reg->outbound_doorbell); in arcmsr_hbaD_message_isr()
2725 uint32_t outbound_doorbell; in arcmsr_hbaB_handle_isr() local
2727 outbound_doorbell = readl(reg->iop2drv_doorbell) & in arcmsr_hbaB_handle_isr()
2729 if (!outbound_doorbell) in arcmsr_hbaB_handle_isr()
2732 writel(~outbound_doorbell, reg->iop2drv_doorbell); in arcmsr_hbaB_handle_isr()
2734 if (outbound_doorbell & ARCMSR_IOP2DRV_DATA_WRITE_OK) in arcmsr_hbaB_handle_isr()
2736 if (outbound_doorbell & ARCMSR_IOP2DRV_DATA_READ_OK) in arcmsr_hbaB_handle_isr()
2738 if (outbound_doorbell & ARCMSR_IOP2DRV_CDB_DONE) in arcmsr_hbaB_handle_isr()
2740 if (outbound_doorbell & ARCMSR_IOP2DRV_MESSAGE_CMD_DONE) in arcmsr_hbaB_handle_isr()
2742 outbound_doorbell = readl(reg->iop2drv_doorbell) & in arcmsr_hbaB_handle_isr()
2744 } while (outbound_doorbell & (ARCMSR_IOP2DRV_DATA_WRITE_OK in arcmsr_hbaB_handle_isr()
3381 if (readl(acb->pmuD->outbound_doorbell) & in arcmsr_hbaD_get_config()
3384 acb->pmuD->outbound_doorbell);/*clear interrupt*/ in arcmsr_hbaD_get_config()
4317 uint32_t outbound_doorbell; in arcmsr_clear_doorbell_queue_buffer() local
4319 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4321 writel(outbound_doorbell, &reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4328 uint32_t outbound_doorbell, i; in arcmsr_clear_doorbell_queue_buffer() local
4334 outbound_doorbell = readl(reg->iop2drv_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4335 if( outbound_doorbell & ARCMSR_IOP2DRV_DATA_WRITE_OK) { in arcmsr_clear_doorbell_queue_buffer()
4345 uint32_t outbound_doorbell, i; in arcmsr_clear_doorbell_queue_buffer() local
4347 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4348 writel(outbound_doorbell, &reg->outbound_doorbell_clear); in arcmsr_clear_doorbell_queue_buffer()
4352 outbound_doorbell = readl(&reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4353 if (outbound_doorbell & in arcmsr_clear_doorbell_queue_buffer()
4355 writel(outbound_doorbell, in arcmsr_clear_doorbell_queue_buffer()
4366 uint32_t outbound_doorbell, i; in arcmsr_clear_doorbell_queue_buffer() local
4368 outbound_doorbell = readl(reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4369 writel(outbound_doorbell, reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4374 outbound_doorbell = readl(reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()
4375 if (outbound_doorbell & in arcmsr_clear_doorbell_queue_buffer()
4377 writel(outbound_doorbell, in arcmsr_clear_doorbell_queue_buffer()
4378 reg->outbound_doorbell); in arcmsr_clear_doorbell_queue_buffer()