Searched refs:sm_dev (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 190 getmajor(cn->sm_dev), getminor(cn->sm_dev))); in enable_device() 213 getmajor(cn->sm_dev), getminor(cn->sm_dev))); in disable_device() 237 if (ldip = e_ddi_hold_devi_by_dev(cn->sm_dev, 0)) { in device_init_impl() 244 (void) e_ddi_prop_create(cn->sm_dev, ldip, in device_init_impl() 247 (void) e_ddi_prop_create(cn->sm_dev, ldip, in device_init_impl() 278 if (ldip = e_ddi_hold_devi_by_dev(plqi->sm_dev, 0)) { in device_fini_impl() 280 (void) e_ddi_prop_remove(plqi->sm_dev, in device_fini_impl() 283 (void) e_ddi_prop_remove(plqi->sm_dev, in device_fini_impl() 503 if (lqi == 0 || lqi->sm_dev == NODEV) { in console_cmd() 508 assoc->ttymux_ldev = lqi->sm_dev; in console_cmd() [all …]
|
H A D | ttymux_impl.h | 195 (a)->ttymux_ldev = (l)->sm_dev; \ 205 (void) cmpldev(&(a)->ttymux32_ldev, (l)->sm_dev);\
|
H A D | ttymux.c | 185 lqi->sm_dev = q && STREAM(q) ? STREAM(q)->sd_vnode->v_rdev : NODEV; in sm_setdip() 294 if (lqi->sm_dev == dev) in get_lqi_bydevt() 917 plqi->sm_dev = NODEV; in sm_link_req() 2209 if (sm_ssp->sm_ms->sm_cons_stdin.sm_dev == *devp || in sm_open() 2210 sm_ssp->sm_ms->sm_cons_stdout.sm_dev == *devp) in sm_open() 2237 uqi->sm_dev = *devp; in sm_open() 2245 uqi->sm_dev = *devp; in sm_open() 2290 uqi->sm_dev = NODEV; in sm_open() 2377 uqi->sm_dev = NODEV; in sm_close() 2572 uqi->sm_dev = NODEV; in sm_attach()
|
/titanic_44/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 611 if ((rv = open_stream(&lvp, &lfd, cn->sm_dev)) != 0) in link_aconsole() 652 assoc.ttymux_ldev = cn->sm_dev; in link_aconsole() 660 getmajor(cn->sm_dev), getminor(cn->sm_dev)); in link_aconsole() 666 getmajor(cn->sm_dev), getminor(cn->sm_dev)); in link_aconsole() 682 ASSERT(cn && cn->sm_dev != NODEV); in enable_aconsole() 684 assoc.ttymux_ldev = cn->sm_dev; in enable_aconsole() 713 (cn->sm_dev = fs_devtype(cn->sm_path)) == NODEV) || in enable_all_consoles() 714 (cn->sm_dev = di_devtype(cn->sm_path)) == NODEV) { in enable_all_consoles() 722 getmajor(cn->sm_dev), getminor(cn->sm_dev)); in enable_all_consoles() 728 if (compatible_console(cn->sm_dev) == B_FALSE) in enable_all_consoles() [all …]
|
/titanic_44/usr/src/uts/sun/sys/ |
H A D | ttymux.h | 92 dev_t sm_dev; /* currently attached device */ member 120 dev_t sm_dev; member 134 dev_t sm_dev; /* the minor node of a console */ member
|