Lines Matching refs:modem

143 	u32 modem_rx;		/* Our incoming virtual modem lines */
144 u32 modem_tx; /* Our outgoing modem lines */
312 /* Virtual modem bits */
444 * gsm_encode_modem - encode modem data bits
447 * Returns the correct GSM encoded modem status bits (6 bit field) for
454 /* FC is true flow control not modem bits */
905 * interface which is a byte stream with optional modem data.
916 /* for modem bits without break data */
939 case 2: /* Unstructured with modem bits.
1135 * gsm_process_modem - process received modem status
1138 * @modem: modem bits (full EA)
1140 * Used when a modem control message or line state inline in adaption
1141 * layer 2 is processed. Sort out the local modem state and throttles
1145 u32 modem, int clen)
1151 /* The modem status command can either contain one octet (v.24 signals)
1157 modem = modem & 0x7f;
1159 brk = modem & 0x7f;
1160 modem = (modem >> 7) & 0x7f;
1164 fc = (modem & MDM_FC) || !(modem & MDM_RTR);
1173 /* Map modem bits */
1174 if (modem & MDM_RTC)
1176 if (modem & MDM_RTR)
1178 if (modem & MDM_IC)
1180 if (modem & MDM_DV)
1195 * gsm_control_modem - modem status received
1200 * We have received a modem status control message. This is used by
1201 * the GSM mux protocol to pass virtual modem line status and optionally
1209 unsigned int modem = 0;
1232 while (gsm_read_ea(&modem, *dp++) == 0) {
1244 modem <<= 7;
1245 modem |= (brk & 0x7f);
1248 gsm_process_modem(tty, dlci, modem, clen);
1262 * The modem sends us a two byte message on the control channel whenever
1357 /* Out of band modem line change indicator for a DLCI */
1651 * to the modem which should then reply with a UA or ADM, at which point
1691 * to the modem which should then reply with a UA, at which point we
1724 unsigned int modem = 0;
1736 while (gsm_read_ea(&modem, *data++) == 0) {
1743 gsm_process_modem(tty, dlci, modem, clen);
2265 * finally kick off connecting to DLCI 0 on the modem.
2547 * modem. Currently called from the line discipline set up but
3343 then have to remap modem signals each way according to whether
3344 our virtual cable is null modem etc .. */