Lines Matching refs:pmisc
26 void __iomem *pmisc = adf_get_pmisc_base(accel_dev); in send_host_msg() local
29 msg = ADF_CSR_RD(pmisc, ADF_GEN4_PM_HOST_MSG); in send_host_msg()
36 ADF_CSR_WR(pmisc, ADF_GEN4_PM_HOST_MSG, msg); in send_host_msg()
42 ADF_GEN4_PM_POLL_TIMEOUT_US, true, pmisc, in send_host_msg()
51 void __iomem *pmisc = adf_get_pmisc_base(accel_dev); in pm_bh_handler() local
64 ADF_CSR_WR(pmisc, ADF_GEN4_PM_INTERRUPT, pm_int_sts); in pm_bh_handler()
67 val = ADF_CSR_RD(pmisc, ADF_GEN4_ERRMSK2); in pm_bh_handler()
69 ADF_CSR_WR(pmisc, ADF_GEN4_ERRMSK2, val); in pm_bh_handler()
76 void __iomem *pmisc = adf_get_pmisc_base(accel_dev); in adf_gen4_handle_pm_interrupt() local
83 errmsk2 = ADF_CSR_RD(pmisc, ADF_GEN4_ERRMSK2); in adf_gen4_handle_pm_interrupt()
87 errsou2 = ADF_CSR_RD(pmisc, ADF_GEN4_ERRSOU2); in adf_gen4_handle_pm_interrupt()
92 val = ADF_CSR_RD(pmisc, ADF_GEN4_ERRMSK2); in adf_gen4_handle_pm_interrupt()
94 ADF_CSR_WR(pmisc, ADF_GEN4_ERRMSK2, val); in adf_gen4_handle_pm_interrupt()
96 val = ADF_CSR_RD(pmisc, ADF_GEN4_PM_INTERRUPT); in adf_gen4_handle_pm_interrupt()
114 void __iomem *pmisc = adf_get_pmisc_base(accel_dev); in adf_gen4_enable_pm() local
123 val = ADF_CSR_RD(pmisc, ADF_GEN4_PM_INTERRUPT); in adf_gen4_enable_pm()
128 ADF_CSR_WR(pmisc, ADF_GEN4_PM_INTERRUPT, val); in adf_gen4_enable_pm()
131 val = ADF_CSR_RD(pmisc, ADF_GEN4_ERRMSK2); in adf_gen4_enable_pm()
133 ADF_CSR_WR(pmisc, ADF_GEN4_ERRMSK2, val); in adf_gen4_enable_pm()