Lines Matching defs:tsw
1048 tty_alloc(struct ttydevsw *tsw, void *sc)
1051 return (tty_alloc_mutex(tsw, sc, NULL));
1055 tty_alloc_mutex(struct ttydevsw *tsw, void *sc, struct mtx *mutex)
1061 if (tsw->tsw_ ## x == NULL) \
1062 tsw->tsw_ ## x = ttydevsw_def ## x; \
1081 tp->t_devsw = tsw;
1083 tp->t_flags = tsw->tsw_flags;
2340 _db_show_devsw(const char *sep, const struct ttydevsw *tsw)
2344 db_printsym((db_addr_t)tsw, DB_STGY_ANY);
2345 db_printf(" (%p)\n", tsw);
2346 DB_PRINTSYM(open, tsw->tsw_open);
2347 DB_PRINTSYM(close, tsw->tsw_close);
2348 DB_PRINTSYM(outwakeup, tsw->tsw_outwakeup);
2349 DB_PRINTSYM(inwakeup, tsw->tsw_inwakeup);
2350 DB_PRINTSYM(ioctl, tsw->tsw_ioctl);
2351 DB_PRINTSYM(param, tsw->tsw_param);
2352 DB_PRINTSYM(modem, tsw->tsw_modem);
2353 DB_PRINTSYM(mmap, tsw->tsw_mmap);
2354 DB_PRINTSYM(pktnotify, tsw->tsw_pktnotify);
2355 DB_PRINTSYM(free, tsw->tsw_free);