Lines Matching defs:modem

26  * etc.) modem time services, as well as Spectracom GPS and WWVB
27 * receivers connected via a modem. The driver periodically dials a
33 * This driver requires a modem with a Hayes-compatible command set and
34 * control over the modem data terminal ready (DTR) control line. The
35 * modem setup string is hard-coded in the driver and may require
51 * The driver is transparent to each of the modem time services and
62 * flag3 no modem; port is directly connected to device
67 * Ordinarily, the serial port is connected to a modem; however, it can
71 * enables port locking, allowing the modem to be shared when not in use
123 * If a modem is connected to a Spectracom receiver, this driver will
169 * E0 modem command echo disabled
170 * l1 set modem speaker volume to low level
175 #define MODEM_SETUP "ATB1&C0&D2E0L1M1Q0V1\r" /* modem setup */
176 #define MODEM_HANGUP "ATH\r" /* modem disconnect */
191 #define S_OK 1 /* wait for modem setup */
192 #define S_DTR 2 /* wait for modem DTR */
355 u_int modem;
364 ioctl(pp->io.fd, TIOCMGET, (char *)&modem);
365 snprintf(tbuf, sizeof(tbuf), "acts: %04x (%d %d) %d %s", modem,
385 * We are waiting for the OK response to the modem setup
457 * The parser selects the modem format based on the message
730 * The state machine is driven by messages from the modem, when
744 * System poll event. Lock the modem port and open the device.
749 * Lock the modem port. If busy, retry later. Note: if
793 * the modem business and send 'T' for Spectrabum.
806 * Initialize the modem. This works with Hayes commands.
822 * In OK state the modem did not respond to setup.
825 msyslog(LOG_ERR, "acts: no modem");
829 * In DTR state we are waiting for the modem to settle down
868 * Close the device and unlock a shared modem.
920 * feed the data to the clock filter. If a modem port, drop DTR
921 * to force command mode and send modem hangup.