Lines Matching refs:state_reasons
204 ippeve_preason_t state_reasons; /* printer-state-reasons values */ member
1645 printer->state_reasons = IPPEVE_PREASON_NONE; in create_printer()
3499 if (printer->state_reasons == IPPEVE_PREASON_NONE) in ipp_get_printer_attributes()
3512 if (printer->state_reasons & bit) in ipp_get_printer_attributes()
6213 while (job->printer->state_reasons & IPPEVE_PREASON_MEDIA_EMPTY) in process_job()
6215 job->printer->state_reasons |= IPPEVE_PREASON_MEDIA_NEEDED; in process_job()
6220 job->printer->state_reasons &= (ippeve_preason_t)~IPPEVE_PREASON_MEDIA_NEEDED; in process_job()
6668 ippeve_preason_t state_reasons, /* printer-state-reasons values */ in process_state_message() local
6699 state_reasons = job->printer->state_reasons; in process_state_message()
6705 state_reasons = job->printer->state_reasons; in process_state_message()
6711 state_reasons = IPPEVE_PREASON_NONE; in process_state_message()
6731 state_reasons &= ~bit; in process_state_message()
6733 state_reasons |= bit; in process_state_message()
6743 job->printer->state_reasons = state_reasons; in process_state_message()
7419 …printer->state_reasons &= (ippeve_preason_t)~(IPPEVE_PREASON_MEDIA_LOW | IPPEVE_PREASON_MEDIA_EMPT… in show_media()
7463 printer->state_reasons |= IPPEVE_PREASON_MEDIA_EMPTY; in show_media()
7465 printer->state_reasons |= IPPEVE_PREASON_MEDIA_NEEDED; in show_media()
7468 printer->state_reasons |= IPPEVE_PREASON_MEDIA_LOW; in show_media()
7657 if (printer->state_reasons & reason) in show_status()
7806 …printer->state_reasons &= (ippeve_preason_t)~(IPPEVE_PREASON_MARKER_SUPPLY_EMPTY | IPPEVE_PREASON_… in show_supplies()
7824 printer->state_reasons |= IPPEVE_PREASON_MARKER_WASTE_FULL; in show_supplies()
7826 printer->state_reasons |= IPPEVE_PREASON_MARKER_WASTE_ALMOST_FULL; in show_supplies()
7831 printer->state_reasons |= IPPEVE_PREASON_TONER_EMPTY; in show_supplies()
7833 printer->state_reasons |= IPPEVE_PREASON_TONER_LOW; in show_supplies()