Lines Matching refs:CAN_SLEEP
176 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset()
179 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset()
210 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset()
213 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset()
282 ? CAN_SLEEP:NO_SLEEP; in mps_transition_ready()
836 error = mps_diag_reset(sc, CAN_SLEEP); in mps_reinit()
913 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout; in mps_wait_db_ack()
934 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_wait_db_ack()
937 else if (sleep_flag == CAN_SLEEP) in mps_wait_db_ack()
974 int sleep_flags = CAN_SLEEP; in mps_request_sync()
3092 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) { in mps_wait_command()
3106 if (sleep_flag == CAN_SLEEP) in mps_wait_command()
3203 error = mps_wait_command(sc, &cm, 0, CAN_SLEEP); in mps_read_config_page()