Lines Matching refs:CAN_SLEEP
181 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset()
184 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset()
215 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset()
218 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset()
287 ? CAN_SLEEP : NO_SLEEP; in mpr_transition_ready()
869 error = mpr_diag_reset(sc, CAN_SLEEP); in mpr_reinit()
942 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout; in mpr_wait_db_ack()
964 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_wait_db_ack()
967 else if (sleep_flag == CAN_SLEEP) in mpr_wait_db_ack()
1003 int sleep_flags = CAN_SLEEP; in mpr_request_sync()
3786 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) { in mpr_wait_command()
3799 if (sleep_flag == CAN_SLEEP) in mpr_wait_command()
3952 error = mpr_wait_command(sc, &cm, 0, CAN_SLEEP); in mpr_read_config_page()