Lines Matching refs:rs485
1413 info->rs485 = *r; in e100_enable_rs485()
1416 if (info->rs485.delay_rts_before_send >= 1000) in e100_enable_rs485()
1417 info->rs485.delay_rts_before_send = 1000; in e100_enable_rs485()
1433 int old_value = (info->rs485.flags) & SER_RS485_ENABLED; in e100_write_rs485()
1440 info->rs485.flags |= SER_RS485_ENABLED; in e100_write_rs485()
1444 info->rs485.flags &= ~(SER_RS485_ENABLED); in e100_write_rs485()
1455 e100_rts(info, (info->rs485.flags & SER_RS485_RTS_AFTER_SEND)); in rs485_toggle_rts_timer_function()
1651 if (info->rs485.flags & SER_RS485_ENABLED) { in transmit_chars_dma()
2581 if (info->rs485.flags & SER_RS485_ENABLED) { in handle_ser_tx_interrupt()
3222 if (info->rs485.flags & SER_RS485_ENABLED) in rs_write()
3232 e100_rts(info, (info->rs485.flags & SER_RS485_RTS_ON_SEND)); in rs_write()
3237 if (info->rs485.delay_rts_before_send > 0) in rs_write()
3238 msleep(info->rs485.delay_rts_before_send); in rs_write()
3245 if (info->rs485.flags & SER_RS485_ENABLED) in rs_write()
3266 e100_rts(info, (info->rs485.flags & SER_RS485_RTS_AFTER_SEND)); in rs_write()
3729 &(((struct e100_serial *)tty->driver_data)->rs485); in rs_ioctl()
3879 if (info->rs485.flags & SER_RS485_ENABLED) { in rs_close()
3880 info->rs485.flags &= ~(SER_RS485_ENABLED); in rs_close()
4518 info->rs485.flags &= ~(SER_RS485_RTS_ON_SEND); in rs_init()
4519 info->rs485.flags |= SER_RS485_RTS_AFTER_SEND; in rs_init()
4520 info->rs485.delay_rts_before_send = 0; in rs_init()
4521 info->rs485.flags &= ~(SER_RS485_ENABLED); in rs_init()