Lines Matching refs:CAN_SLEEP
179 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset()
182 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset()
213 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset()
216 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset()
285 ? CAN_SLEEP : NO_SLEEP; in mpr_transition_ready()
867 error = mpr_diag_reset(sc, CAN_SLEEP); in mpr_reinit()
940 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout; in mpr_wait_db_ack()
962 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_wait_db_ack()
965 else if (sleep_flag == CAN_SLEEP) in mpr_wait_db_ack()
1001 int sleep_flags = CAN_SLEEP; in mpr_request_sync()
3807 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) { in mpr_wait_command()
3820 if (sleep_flag == CAN_SLEEP) in mpr_wait_command()
3973 error = mpr_wait_command(sc, &cm, 0, CAN_SLEEP); in mpr_read_config_page()