Lines Matching defs:modem

28  * etc.) modem time services, as well as Spectracom GPS and WWVB
29 * receivers connected via a modem. The driver periodically dials a
35 * This driver requires a modem with a Hayes-compatible command set and
36 * control over the modem data terminal ready (DTR) control line. The
37 * modem setup string is hard-coded in the driver and may require
53 * The driver is transparent to each of the modem time services and
64 * flag3 no modem; port is directly connected to device
69 * Ordinarily, the serial port is connected to a modem; however, it can
73 * enables port locking, allowing the modem to be shared when not in use
125 * If a modem is connected to a Spectracom receiver, this driver will
171 * E0 modem command echo disabled
172 * l1 set modem speaker volume to low level
177 #define MODEM_SETUP "ATB1&C0&D2E0L1M1Q0V1\r" /* modem setup */
178 #define MODEM_HANGUP "ATH\r" /* modem disconnect */
193 #define S_OK 1 /* wait for modem setup */
194 #define S_DTR 2 /* wait for modem DTR */
357 u_int modem;
366 ioctl(pp->io.fd, TIOCMGET, (char *)&modem);
367 snprintf(tbuf, sizeof(tbuf), "acts: %04x (%d %d) %zu %s", modem,
387 * We are waiting for the OK response to the modem setup
459 * The parser selects the modem format based on the message
732 * The state machine is driven by messages from the modem, when
746 * System poll event. Lock the modem port and open the device.
751 * Lock the modem port. If busy, retry later. Note: if
795 * the modem business and send 'T' for Spectrabum.
808 * Initialize the modem. This works with Hayes commands.
824 * In OK state the modem did not respond to setup.
827 msyslog(LOG_ERR, "acts: no modem");
831 * In DTR state we are waiting for the modem to settle down
870 * Close the device and unlock a shared modem.
922 * feed the data to the clock filter. If a modem port, drop DTR
923 * to force command mode and send modem hangup.