Lines Matching refs:modem

172 	u32 modem_rx;		/* Our incoming virtual modem lines */
173 u32 modem_tx; /* Our outgoing modem lines */
394 /* Virtual modem bits */
534 * gsm_encode_modem - encode modem data bits
537 * Returns the correct GSM encoded modem status bits (6 bit field) for
544 /* FC is true flow control not modem bits */
612 case 2: /* Unstructured with modem bits. */
1171 * interface which is a byte stream with optional modem data.
1182 /* for modem bits without break data */
1202 case 2: /* Unstructured with modem bits.
1295 * gsm_dlci_modem_output - try and push modem status out of a DLCI
1297 * @dlci: the DLCI to pull modem status from
1300 * Push an empty frame in to the transmit queue to update the modem status
1313 /* for modem bits without break data */
1317 case 2: /* Unstructured with modem bits. */
1337 case 2: /* Unstructured with modem bits. */
1495 * gsm_process_modem - process received modem status
1498 * @modem: modem bits (full EA)
1501 * Used when a modem control message or line state inline in adaption
1502 * layer 2 is processed. Sort out the local modem state and throttles
1506 u32 modem, int slen)
1512 /* The modem status command can either contain one octet (V.24 signals)
1518 modem = modem & 0x7f;
1520 brk = modem & 0x7f;
1521 modem = (modem >> 7) & 0x7f;
1525 fc = (modem & MDM_FC) || !(modem & MDM_RTR);
1534 /* Map modem bits */
1535 if (modem & MDM_RTC)
1537 if (modem & MDM_RTR)
1539 if (modem & MDM_IC)
1541 if (modem & MDM_DV)
1668 * gsm_control_modem - modem status received
1673 * We have received a modem status control message. This is used by
1674 * the GSM mux protocol to pass virtual modem line status and optionally
1682 unsigned int modem = 0;
1706 /* get the modem status */
1707 len = gsm_read_ea_val(&modem, dp, cl);
1712 gsm_process_modem(tty, dlci, modem, cl);
1793 * The modem sends us a two byte message on the control channel whenever
1885 /* Out of band modem line change indicator for a DLCI */
2173 /* Send current modem state */
2279 * to the modem which should then reply with a UA or ADM, at which point
2368 * to the modem which should then reply with a UA, at which point we
2402 unsigned int modem = 0;
2414 len = gsm_read_ea_val(&modem, data, clen);
2419 gsm_process_modem(tty, dlci, modem, len);
2423 /* Skip processed modem data */
3120 * finally kick off connecting to DLCI 0 on the modem.
3511 * 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 .. */