Lines Matching full:zs

772 static int  init_zs_linemon  (queue_t *, queue_t *);	/* handle line monitor for "zs" driver */
808 if (dname && !strcmp(dname, "zs")) in init_linemon()
837 if (dname && !strcmp(dname, "zs")) in close_linemon()
854 static void zs_xsisr (struct zscom *); /* zs external status interupt handler */
858 * sz:zs_usec_delay and zs:initzsops()
876 register struct zscom *zs; in init_zs_linemon() local
884 zs = ((struct asyncline *)q->q_ptr)->za_common; in init_zs_linemon()
885 if (!zs) in init_zs_linemon()
911 mutex_enter(zs->zs_excl); in init_zs_linemon()
915 szs->zsops = *zs->zs_ops; in init_zs_linemon()
917 szs->oldzsops = zs->zs_ops; in init_zs_linemon()
918 emergencyzs = zs->zs_ops; in init_zs_linemon()
920 zs->zs_ops = &szs->zsops; /* hook it up */ in init_zs_linemon()
925 zs->zs_xsint = (void (*) (struct zscom *))zs_xsisr; in init_zs_linemon()
927 mutex_exit(zs->zs_excl); in init_zs_linemon()
938 * whatever block ZS status interrupts)
946 register struct zscom *zs; in close_zs_linemon() local
949 zs = ((struct asyncline *)q->q_ptr)->za_common; in close_zs_linemon()
950 if (!zs) in close_zs_linemon()
961 mutex_enter(zs->zs_excl); in close_zs_linemon()
963 zs->zs_ops = szs->oldzsops; /* reset to previous handler functions */ in close_zs_linemon()
968 zs->zs_xsint = zs->zs_ops->zsop_xsint; in close_zs_linemon()
970 mutex_exit(zs->zs_excl); in close_zs_linemon()
988 struct zscom *zs in zs_xsisr() argument
991 register struct asyncline *za = (void *)zs->zs_priv; in zs_xsisr()
1129 zsisr(zs); in zs_xsisr()
1156 emergencyzs->zsop_xsint(zs); in zs_xsisr()