Lines Matching refs:settings
90 self->settings.data_rate = baud; in ircomm_tty_change_speed()
96 self->settings.flow_control |= IRCOMM_RTS_CTS_IN; in ircomm_tty_change_speed()
102 self->settings.flow_control &= ~IRCOMM_RTS_CTS_IN; in ircomm_tty_change_speed()
135 self->settings.data_format = cval; in ircomm_tty_change_speed()
169 self->settings.dte &= ~(IRCOMM_DTR|IRCOMM_RTS); in ircomm_tty_set_termios()
176 self->settings.dte |= IRCOMM_DTR; in ircomm_tty_set_termios()
179 self->settings.dte |= IRCOMM_RTS; in ircomm_tty_set_termios()
206 result = ((self->settings.dte & IRCOMM_RTS) ? TIOCM_RTS : 0) in ircomm_tty_get_modem_info()
207 | ((self->settings.dte & IRCOMM_DTR) ? TIOCM_DTR : 0) in ircomm_tty_get_modem_info()
208 | ((self->settings.dce & IRCOMM_CD) ? TIOCM_CAR : 0) in ircomm_tty_get_modem_info()
209 | ((self->settings.dce & IRCOMM_RI) ? TIOCM_RNG : 0) in ircomm_tty_get_modem_info()
210 | ((self->settings.dce & IRCOMM_DSR) ? TIOCM_DSR : 0) in ircomm_tty_get_modem_info()
211 | ((self->settings.dce & IRCOMM_CTS) ? TIOCM_CTS : 0); in ircomm_tty_get_modem_info()
236 old_rts = self->settings.dte & IRCOMM_RTS; in ircomm_tty_set_modem_info()
237 old_dtr = self->settings.dte & IRCOMM_DTR; in ircomm_tty_set_modem_info()
242 self->settings.dte |= IRCOMM_RTS; in ircomm_tty_set_modem_info()
244 self->settings.dte |= IRCOMM_DTR; in ircomm_tty_set_modem_info()
249 self->settings.dte &= ~IRCOMM_RTS; in ircomm_tty_set_modem_info()
251 self->settings.dte &= ~IRCOMM_DTR; in ircomm_tty_set_modem_info()
255 self->settings.dte = in ircomm_tty_set_modem_info()
256 ((self->settings.dte & ~(IRCOMM_RTS | IRCOMM_DTR)) in ircomm_tty_set_modem_info()
265 if ((self->settings.dte & IRCOMM_RTS) != old_rts) in ircomm_tty_set_modem_info()
266 self->settings.dte |= IRCOMM_DELTA_RTS; in ircomm_tty_set_modem_info()
268 if ((self->settings.dte & IRCOMM_DTR) != old_dtr) in ircomm_tty_set_modem_info()
269 self->settings.dte |= IRCOMM_DELTA_DTR; in ircomm_tty_set_modem_info()
295 info.baud_base = self->settings.data_rate; in ircomm_tty_get_serial_info()
336 if ((new_serial.baud_base != state->settings.data_rate) || in ircomm_tty_set_serial_info()
354 if (self->settings.data_rate != new_serial.baud_base) { in ircomm_tty_set_serial_info()
355 self->settings.data_rate = new_serial.baud_base; in ircomm_tty_set_serial_info()