Lines Matching refs:magic
101 driver.magic = TTY_DRIVER_MAGIC; in ircomm_tty_init()
151 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in __ircomm_tty_cleanup()
155 self->magic = 0; in __ircomm_tty_cleanup()
195 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_tty_startup()
414 self->magic = IRCOMM_TTY_MAGIC; in ircomm_tty_open()
516 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_close()
601 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_flush_buffer()
627 if (!self || self->magic != IRCOMM_TTY_MAGIC) in ircomm_tty_do_softint()
689 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_tty_write()
815 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_tty_write_room()
857 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_wait_until_sent()
889 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_throttle()
920 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_unthrottle()
950 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_tty_chars_in_buffer()
968 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_shutdown()
1017 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_hangup()
1066 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_stop()
1086 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_check_modem_status()
1148 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_tty_data_indication()
1198 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_tty_control_indication()
1224 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in ircomm_tty_flow_indication()
1367 if (self->magic != IRCOMM_TTY_MAGIC) in ircomm_tty_read_proc()