Lines Matching refs:line
71 #define DBG_CD_ON BIT(1) /* Always assume CD line on. */
1500 * Used when a modem control message or line state inline in adaption
1673 * the GSM mux protocol to pass virtual modem line status and optionally
1787 * gsm_control_rls - remote line status
1884 /* Out of band modem line change indicator for a DLCI */
2412 case 2: /* Asynchronous serial with line state in each frame */
2748 * the line encoding. All the differences between the encodings have
3202 static inline unsigned int mux_line_to_num(unsigned int line)
3204 return line / NUM_DLCI;
3510 * modem. Currently called from the line discipline set up but
3527 * Shutdown and then clean up the resources used by the line discipline
3576 * Flush the input buffer. Called when the line discipline is
3589 * Called from the terminal layer when this line discipline is
3616 * Called when this line discipline is being attached to the
3680 * Perform reads for the line discipline. We are guaranteed that the
3681 * line discipline will not be closed under us but we may get multiple
3737 * Called when the line discipline is asked to poll() for data or
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
4199 unsigned int line = tty->index;
4200 unsigned int mux = mux_line_to_num(line);
4204 line = line & 0x3F;
4211 if (line == 0 || line > 61) /* 62/63 reserved */
4225 dlci = gsm->dlci[line];
4228 dlci = gsm_dlci_alloc(gsm, line);
4531 /* Fill in our line protocol discipline, and register it */
4534 pr_err("n_gsm: can't register line discipline (err = %d)\n",