Lines Matching refs:cmd_state
158 u32 cmd_state, on_val; in clk_rpmh_send_aggregate_command() local
164 cmd_state = c->aggr_state; in clk_rpmh_send_aggregate_command()
169 if (cmd_state & BIT(state)) in clk_rpmh_send_aggregate_command()
172 wait = cmd_state && state == RPMH_ACTIVE_ONLY_STATE; in clk_rpmh_send_aggregate_command()
261 u32 cmd_state; in clk_rpmh_bcm_send_cmd() local
266 cmd_state = 1; in clk_rpmh_bcm_send_cmd()
268 cmd_state = c->aggr_state; in clk_rpmh_bcm_send_cmd()
270 cmd_state = 0; in clk_rpmh_bcm_send_cmd()
273 if (c->last_sent_aggr_state != cmd_state) { in clk_rpmh_bcm_send_cmd()
275 cmd.data = BCM_TCS_CMD(1, enable, 0, cmd_state); in clk_rpmh_bcm_send_cmd()
282 c->last_sent_aggr_state = cmd_state; in clk_rpmh_bcm_send_cmd()