Lines Matching refs:CAN_SLEEP
180 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset()
183 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset()
214 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset()
217 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset()
286 ? CAN_SLEEP:NO_SLEEP; in mps_transition_ready()
840 error = mps_diag_reset(sc, CAN_SLEEP); in mps_reinit()
917 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout; in mps_wait_db_ack()
938 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_wait_db_ack()
941 else if (sleep_flag == CAN_SLEEP) in mps_wait_db_ack()
978 int sleep_flags = CAN_SLEEP; in mps_request_sync()
3062 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) { in mps_wait_command()
3076 if (sleep_flag == CAN_SLEEP) in mps_wait_command()
3173 error = mps_wait_command(sc, &cm, 0, CAN_SLEEP); in mps_read_config_page()