Lines Matching refs:mmio_mrpc
178 memcpy_toio(&stdev->mmio_mrpc->input_data, in mrpc_cmd_submit()
181 iowrite32(stuser->cmd, &stdev->mmio_mrpc->cmd); in mrpc_cmd_submit()
235 stuser->status = ioread32(&stdev->mmio_mrpc->status); in mrpc_complete_cmd()
250 stuser->return_code = ioread32(&stdev->mmio_mrpc->ret_value); in mrpc_complete_cmd()
258 memcpy_fromio(stuser->data, &stdev->mmio_mrpc->output_data, in mrpc_complete_cmd()
314 status = ioread32(&stdev->mmio_mrpc->status); in mrpc_timeout_work()
1304 writeq(stdev->dma_mrpc_dma_addr, &stdev->mmio_mrpc->dma_addr); in enable_dma_mrpc()
1306 iowrite32(SWITCHTEC_DMA_MRPC_EN, &stdev->mmio_mrpc->dma_en); in enable_dma_mrpc()
1521 dma_mrpc_irq = ioread32(&stdev->mmio_mrpc->dma_vector); in switchtec_init_isr()
1590 stdev->mmio_mrpc = devm_ioremap_wc(&pdev->dev, res_start, in switchtec_init_pci()
1592 if (!stdev->mmio_mrpc) in switchtec_init_pci()
1630 if (ioread32(&stdev->mmio_mrpc->dma_ver) == 0) in switchtec_init_pci()
1646 iowrite32(0, &stdev->mmio_mrpc->dma_en); in switchtec_exit_pci()
1648 writeq(0, &stdev->mmio_mrpc->dma_addr); in switchtec_exit_pci()