Lines Matching refs:cmd
161 struct tcs_cmd *cmd, bool wait_for_ack) in rpmh_regulator_send_request() argument
166 ret = rpmh_write(vreg->dev, RPMH_ACTIVE_ONLY_STATE, cmd, 1); in rpmh_regulator_send_request()
168 ret = rpmh_write_async(vreg->dev, RPMH_ACTIVE_ONLY_STATE, cmd, in rpmh_regulator_send_request()
178 struct tcs_cmd cmd = { in _rpmh_regulator_vrm_set_voltage_sel() local
184 cmd.data = DIV_ROUND_UP(regulator_list_voltage_linear_range(rdev, in _rpmh_regulator_vrm_set_voltage_sel()
187 ret = rpmh_regulator_send_request(vreg, &cmd, wait_for_ack); in _rpmh_regulator_vrm_set_voltage_sel()
230 struct tcs_cmd cmd = { in rpmh_regulator_set_enable_state() local
244 ret = rpmh_regulator_send_request(vreg, &cmd, enable); in rpmh_regulator_set_enable_state()
264 struct tcs_cmd cmd = { in rpmh_regulator_vrm_set_mode_bypass() local
277 cmd.data = PMIC4_BOB_MODE_PASS; in rpmh_regulator_vrm_set_mode_bypass()
279 cmd.data = pmic_mode; in rpmh_regulator_vrm_set_mode_bypass()
281 return rpmh_regulator_send_request(vreg, &cmd, true); in rpmh_regulator_vrm_set_mode_bypass()