Lines Matching refs:active
102 xprintf("pty cli %p (id=%u) becomes active\n", pc, pc->id);
103 if (ps->active != pc) {
104 if (ps->active) {
105 ps->active->flags &= (~PTY_CLI_ACTIVE);
106 device_state_clr(ps->active->zxdev, DEV_STATE_WRITABLE);
108 ps->active = pc;
197 if (ps->active == NULL) {
229 if (ps->active == pc) {
234 ps->active = NULL;
327 if (ps->active == NULL) {
355 if (ps->active) {
356 device_state_set(ps->active->zxdev, DEV_STATE_WRITABLE);
364 if (ps->active) {
365 pty_client_t* pc = ps->active;
451 ps->active = NULL;