Lines Matching refs:value
118 u32 value = INT_MAX; in clk_rpm_handoff() local
129 r->rpm_clk_id, &value, 1); in clk_rpm_handoff()
133 r->rpm_clk_id, &value, 1); in clk_rpm_handoff()
142 u32 value = DIV_ROUND_UP(rate, 1000); /* to kHz */ in clk_rpm_set_rate_active() local
145 r->rpm_clk_id, &value, 1); in clk_rpm_set_rate_active()
150 u32 value = DIV_ROUND_UP(rate, 1000); /* to kHz */ in clk_rpm_set_rate_sleep() local
153 r->rpm_clk_id, &value, 1); in clk_rpm_set_rate_sleep()
259 u32 value; in clk_rpm_xo_prepare() local
263 value = rcc->xo_buffer_value | (QCOM_RPM_XO_MODE_ON << r->xo_offset); in clk_rpm_xo_prepare()
264 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare()
267 rcc->xo_buffer_value = value; in clk_rpm_xo_prepare()
280 u32 value; in clk_rpm_xo_unprepare() local
284 value = rcc->xo_buffer_value & ~(QCOM_RPM_XO_MODE_ON << r->xo_offset); in clk_rpm_xo_unprepare()
285 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_unprepare()
288 rcc->xo_buffer_value = value; in clk_rpm_xo_unprepare()
297 u32 value = 1; in clk_rpm_fixed_prepare() local
301 r->rpm_clk_id, &value, 1); in clk_rpm_fixed_prepare()
311 u32 value = 0; in clk_rpm_fixed_unprepare() local
315 r->rpm_clk_id, &value, 1); in clk_rpm_fixed_unprepare()