Lines Matching refs:CAN_SLEEP
179 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset()
182 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset()
213 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset()
216 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset()
285 ? CAN_SLEEP:NO_SLEEP; in mps_transition_ready()
833 error = mps_diag_reset(sc, CAN_SLEEP); in mps_reinit()
910 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout; in mps_wait_db_ack()
931 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_wait_db_ack()
934 else if (sleep_flag == CAN_SLEEP) in mps_wait_db_ack()
971 int sleep_flags = CAN_SLEEP; in mps_request_sync()
3087 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) { in mps_wait_command()
3101 if (sleep_flag == CAN_SLEEP) in mps_wait_command()
3198 error = mps_wait_command(sc, &cm, 0, CAN_SLEEP); in mps_read_config_page()