Lines Matching defs:zs
772 static int init_zs_linemon (queue_t *, queue_t *); /* handle line monitor for "zs" driver */
808 if (dname && !strcmp(dname, "zs"))
837 if (dname && !strcmp(dname, "zs"))
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;
884 zs = ((struct asyncline *)q->q_ptr)->za_common;
885 if (!zs)
911 mutex_enter(zs->zs_excl);
915 szs->zsops = *zs->zs_ops;
917 szs->oldzsops = zs->zs_ops;
918 emergencyzs = zs->zs_ops;
920 zs->zs_ops = &szs->zsops; /* hook it up */
925 zs->zs_xsint = (void (*) (struct zscom *))zs_xsisr;
927 mutex_exit(zs->zs_excl);
946 register struct zscom *zs;
949 zs = ((struct asyncline *)q->q_ptr)->za_common;
950 if (!zs)
961 mutex_enter(zs->zs_excl);
963 zs->zs_ops = szs->oldzsops; /* reset to previous handler functions */
968 zs->zs_xsint = zs->zs_ops->zsop_xsint;
970 mutex_exit(zs->zs_excl);
988 struct zscom *zs
991 register struct asyncline *za = (void *)zs->zs_priv;
1129 zsisr(zs);
1156 emergencyzs->zsop_xsint(zs);