Lines Matching refs:curr_state
760 * @curr_state: true if currently stopped.
765 bool *r_state, bool *curr_state)
770 if (!r_state && !curr_state)
780 if (curr_state)
781 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF);
791 * @curr_state: true if currently ON and active
796 bool *r_state, bool *curr_state)
801 if (!r_state && !curr_state)
811 if (curr_state)
812 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON);
821 * @curr_state: true if currently transitioning.
826 bool *curr_state)
831 if (!curr_state)
838 *curr_state = (state == MSG_DEVICE_HW_STATE_TRANS);
1157 * @curr_state: state indicating if the clock is ready for operation
1162 u32 clk_id, bool *req_state, bool *curr_state)
1167 if (!req_state && !curr_state)
1177 if (curr_state)
1178 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY);
1190 * @curr_state: state indicating if the clock is NOT ready for operation
1195 u32 clk_id, bool *req_state, bool *curr_state)
1200 if (!req_state && !curr_state)
1210 if (curr_state)
1211 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY);