Searched refs:RPM_CTRL_REG (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/mfd/ |
D | qcom_rpm.c | 59 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4) macro 472 RPM_CTRL_REG(rpm, rpm->data->req_sel_off + i)); in qcom_rpm_write() 475 writel_relaxed(BIT(state), RPM_CTRL_REG(rpm, rpm->data->req_ctx_off)); in qcom_rpm_write() 498 ack = readl_relaxed(RPM_CTRL_REG(rpm, rpm->data->ack_ctx_off)); in qcom_rpm_ack_interrupt() 501 RPM_CTRL_REG(rpm, rpm->data->ack_sel_off + i)); in qcom_rpm_ack_interrupt() 502 writel(0, RPM_CTRL_REG(rpm, rpm->data->ack_ctx_off)); in qcom_rpm_ack_interrupt() 624 writel(fw_version[0], RPM_CTRL_REG(rpm, 0)); in qcom_rpm_probe() 625 writel(fw_version[1], RPM_CTRL_REG(rpm, 1)); in qcom_rpm_probe() 626 writel(fw_version[2], RPM_CTRL_REG(rpm, 2)); in qcom_rpm_probe()
|