Lines Matching defs:modem

171 	u32 modem_rx;		/* Our incoming virtual modem lines */
172 u32 modem_tx; /* Our outgoing modem lines */
393 /* Virtual modem bits */
533 * gsm_encode_modem - encode modem data bits
536 * Returns the correct GSM encoded modem status bits (6 bit field) for
543 /* FC is true flow control not modem bits */
611 case 2: /* Unstructured with modem bits. */
1170 * interface which is a byte stream with optional modem data.
1181 /* for modem bits without break data */
1201 case 2: /* Unstructured with modem bits.
1294 * gsm_dlci_modem_output - try and push modem status out of a DLCI
1296 * @dlci: the DLCI to pull modem status from
1299 * Push an empty frame in to the transmit queue to update the modem status
1312 /* for modem bits without break data */
1316 case 2: /* Unstructured with modem bits. */
1336 case 2: /* Unstructured with modem bits. */
1494 * gsm_process_modem - process received modem status
1497 * @modem: modem bits (full EA)
1500 * Used when a modem control message or line state inline in adaption
1501 * layer 2 is processed. Sort out the local modem state and throttles
1505 u32 modem, int slen)
1511 /* The modem status command can either contain one octet (V.24 signals)
1517 modem = modem & 0x7f;
1519 brk = modem & 0x7f;
1520 modem = (modem >> 7) & 0x7f;
1524 fc = (modem & MDM_FC) || !(modem & MDM_RTR);
1533 /* Map modem bits */
1534 if (modem & MDM_RTC)
1536 if (modem & MDM_RTR)
1538 if (modem & MDM_IC)
1540 if (modem & MDM_DV)
1667 * gsm_control_modem - modem status received
1672 * We have received a modem status control message. This is used by
1673 * the GSM mux protocol to pass virtual modem line status and optionally
1681 unsigned int modem = 0;
1705 /* get the modem status */
1706 len = gsm_read_ea_val(&modem, dp, cl);
1711 gsm_process_modem(tty, dlci, modem, cl);
1792 * The modem sends us a two byte message on the control channel whenever
1884 /* Out of band modem line change indicator for a DLCI */
2172 /* Send current modem state */
2278 * to the modem which should then reply with a UA or ADM, at which point
2367 * to the modem which should then reply with a UA, at which point we
2401 unsigned int modem = 0;
2413 len = gsm_read_ea_val(&modem, data, clen);
2418 gsm_process_modem(tty, dlci, modem, len);
2422 /* Skip processed modem data */
3119 * finally kick off connecting to DLCI 0 on the modem.
3510 * modem. Currently called from the line discipline set up but
4053 * gsm_modem_upd_via_data - send modem bits via convergence layer
4075 * gsm_modem_upd_via_msc - send modem bits via control frame
4104 * gsm_modem_update - send modem status line state
4127 * gsm_wait_modem_change - wait for modem status line change
4129 * @mask: modem status line bits
4132 * - any given modem status line bit changed
4449 then have to remap modem signals each way according to whether
4450 our virtual cable is null modem etc .. */