Lines Matching refs:curr_state
776 * @curr_state: true if currently stopped.
781 bool *r_state, bool *curr_state)
786 if (!r_state && !curr_state)
796 if (curr_state)
797 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF);
807 * @curr_state: true if currently ON and active
812 bool *r_state, bool *curr_state)
817 if (!r_state && !curr_state)
827 if (curr_state)
828 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON);
837 * @curr_state: true if currently transitioning.
842 bool *curr_state)
847 if (!curr_state)
854 *curr_state = (state == MSG_DEVICE_HW_STATE_TRANS);
1173 * @curr_state: state indicating if the clock is ready for operation
1178 u32 clk_id, bool *req_state, bool *curr_state)
1183 if (!req_state && !curr_state)
1193 if (curr_state)
1194 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY);
1206 * @curr_state: state indicating if the clock is NOT ready for operation
1211 u32 clk_id, bool *req_state, bool *curr_state)
1216 if (!req_state && !curr_state)
1226 if (curr_state)
1227 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY);