Lines Matching defs:zs
1 /* $NetBSD: zs.c,v 1.82 2024/07/06 10:09:15 andvar Exp $ */
41 * @(#)zs.c 8.1 (Berkeley) 7/19/93
82 __KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.82 2024/07/06 10:09:15 andvar Exp $");
109 #include "zs.h"
227 CFATTACH_DECL_NEW(zs, sizeof(struct zs_softc),
278 if (strcmp("zs", aux) || zs_matched)
285 * Attach a found zs.
291 struct zsdevice *zs;
301 zs = (struct zsdevice *)AD_SCC;
309 (channel == 0) ? &zs->zs_chan_a : &zs->zs_chan_b;
387 * Open a zs serial port.
396 int zs = unit >> 1;
399 sc = device_lookup_private(&zs_cd, zs);
484 * Close a zs serial port.
513 * Read/write zs serial port.
577 * ZS hardware interrupt. Scan all ZS channels. NB: we know here that
730 log(LOG_WARNING, "zs%d%c: %s overrun\n", unit >> 1,
736 * ZS software interrupt. Scan all channels for deferred interrupts.
845 log(LOG_ERR, "zs%d%c: bad ZRING_TYPE (%x)\n",
1082 * Set ZS tty parameters from termios.
1312 * Write the given register set to the given zs channel in the proper order.