Lines Matching defs:curr_state
779 * @curr_state: true if currently stopped.
784 bool *r_state, bool *curr_state)
789 if (!r_state && !curr_state)
799 if (curr_state)
800 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF);
810 * @curr_state: true if currently ON and active
815 bool *r_state, bool *curr_state)
820 if (!r_state && !curr_state)
830 if (curr_state)
831 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON);
840 * @curr_state: true if currently transitioning.
845 bool *curr_state)
850 if (!curr_state)
857 *curr_state = (state == MSG_DEVICE_HW_STATE_TRANS);
1176 * @curr_state: state indicating if the clock is ready for operation
1181 u32 clk_id, bool *req_state, bool *curr_state)
1186 if (!req_state && !curr_state)
1196 if (curr_state)
1197 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY);
1209 * @curr_state: state indicating if the clock is NOT ready for operation
1214 u32 clk_id, bool *req_state, bool *curr_state)
1219 if (!req_state && !curr_state)
1229 if (curr_state)
1230 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY);