Lines Matching refs:CAN_SLEEP
183 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset()
186 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset()
217 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset()
220 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset()
289 ? CAN_SLEEP : NO_SLEEP; in mpr_transition_ready()
865 error = mpr_diag_reset(sc, CAN_SLEEP); in mpr_reinit()
938 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout; in mpr_wait_db_ack()
960 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_wait_db_ack()
963 else if (sleep_flag == CAN_SLEEP) in mpr_wait_db_ack()
999 int sleep_flags = CAN_SLEEP; in mpr_request_sync()
3796 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) { in mpr_wait_command()
3809 if (sleep_flag == CAN_SLEEP) in mpr_wait_command()
3962 error = mpr_wait_command(sc, &cm, 0, CAN_SLEEP); in mpr_read_config_page()