Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/tty/serial/8250/8250_dwlib.c, line 208
- drivers/tty/serial/8250/8250_of.c, line 213
- drivers/tty/serial/8250/8250_omap.c
- drivers/tty/serial/8250/8250_port.c, line 1338
Smatch caller information:
drivers/tty/serial/8250/8250_omap.c omap8250_restore_regs() -> serial8250_em485_stop_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dl_write | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->port->membase | 0-255 |
| PARAM_VALUE | 0 | p->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->port.private_data->efr | 0-255 |
| PARAM_VALUE | 0 | p->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->port.rs485_config | 2741413863386796032 |
| PARAM_VALUE | 0 | p->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 1 | toggle_ier | 1 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &p->port.lock |
drivers/tty/serial/8250/8250_port.c __stop_tx_rs485() -> (struct uart_8250_port)->rs485_stop_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485 | 1-u64max |
| PARAM_VALUE | 0 | p->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 1 | toggle_ier | 1 |
| DATA_SOURCE | 0 | p | $0 |
| CONTAINER | 0 | -848+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | p->acr | 0-255 |
| HOST_DATA | 0 | p->bugs | 0-u16max |
| HOST_DATA | 0 | p->canary | 0-255 |
| HOST_DATA | 0 | p->capabilities | 0-u32max |
| HOST_DATA | 0 | p->cur_iotype | 0-255 |
| HOST_DATA | 0 | p->fcr | 0-255 |
| HOST_DATA | 0 | p->ier | 8-255 |
| HOST_DATA | 0 | p->lcr | 0-255 |
| HOST_DATA | 0 | p->lsr_save_mask | 0-u16max |
| HOST_DATA | 0 | p->lsr_saved_flags | 0-u16max |
| HOST_DATA | 0 | p->mcr | 0-255 |
| HOST_DATA | 0 | p->overrun_backoff.cpu | s32min-s32max |
| HOST_DATA | 0 | p->overrun_backoff.timer.expires | 0-u64max |
| HOST_DATA | 0 | p->overrun_backoff.timer.flags | 0-u32max |
| HOST_DATA | 0 | p->overrun_backoff_time_ms | 1-u32max |
| HOST_DATA | 0 | p->port.cons_flow | 0-1 |
| HOST_DATA | 0 | p->port.console_reinit | 0-255 |
| HOST_DATA | 0 | p->port.ctrl_id | 0-u32max |
| HOST_DATA | 0 | p->port.custom_divisor | 0-u32max |
| HOST_DATA | 0 | p->port.fifosize | 0-u32max |
| HOST_DATA | 0 | p->port.flags | 0-u64max |
| HOST_DATA | 0 | p->port.frame_time | 0-u32max |
| HOST_DATA | 0 | p->port.has_sysrq | 0-255 |
| HOST_DATA | 0 | p->port.hub6 | 0-255 |
| HOST_DATA | 0 | p->port.hw_stopped | 0 |
| HOST_DATA | 0 | p->port.icount.brk | 0-u32max |
| HOST_DATA | 0 | p->port.icount.buf_overrun | 0-u32max |
| HOST_DATA | 0 | p->port.icount.cts | 0-u32max |
| HOST_DATA | 0 | p->port.icount.dcd | 0-u32max |
| HOST_DATA | 0 | p->port.icount.dsr | 0-u32max |
| HOST_DATA | 0 | p->port.icount.frame | 0-u32max |
| HOST_DATA | 0 | p->port.icount.overrun | 0-u32max |
| HOST_DATA | 0 | p->port.icount.parity | 0-u32max |
| HOST_DATA | 0 | p->port.icount.rng | 0-u32max |
| HOST_DATA | 0 | p->port.icount.rx | 0-u32max |
| HOST_DATA | 0 | p->port.icount.tx | 0-u32max |
| HOST_DATA | 0 | p->port.ignore_status_mask | 0-u32max |
| HOST_DATA | 0 | p->port.iobase | 0-u64max |
| HOST_DATA | 0 | p->port.iotype | s32min-s32max |
| HOST_DATA | 0 | p->port.irq | 0-u32max |
| HOST_DATA | 0 | p->port.irqflags | 0-u64max |
| HOST_DATA | 0 | p->port.iso7816.clk | 0-u32max |
| HOST_DATA | 0 | p->port.iso7816.flags | 0-u32max |
| HOST_DATA | 0 | p->port.iso7816.sc_di | 0-u32max |
| HOST_DATA | 0 | p->port.iso7816.sc_fi | 0-u32max |
| HOST_DATA | 0 | p->port.iso7816.tg | 0-u32max |
| HOST_DATA | 0 | p->port.line | 0-u32max |
| HOST_DATA | 0 | p->port.mapbase | 0-u64max |
| HOST_DATA | 0 | p->port.mapsize | 0-u64max |
| HOST_DATA | 0 | p->port.mctrl | 0-u32max |
| HOST_DATA | 0 | p->port.minor | 0-u32max |
| HOST_DATA | 0 | p->port.port_id | 0-u32max |
| HOST_DATA | 0 | p->port.quirks | 0-255 |
| HOST_DATA | 0 | p->port.read_status_mask | 0-u32max |
| HOST_DATA | 0 | p->port.regshift | 0-255 |
| HOST_DATA | 0 | p->port.rs485.addr_dest | 0-255 |
| HOST_DATA | 0 | p->port.rs485.addr_recv | 0-255 |
| HOST_DATA | 0 | p->port.rs485.delay_rts_after_send | 0-u32max |
| HOST_DATA | 0 | p->port.rs485.delay_rts_before_send | 0-u32max |
| HOST_DATA | 0 | p->port.rs485.flags | 0-u32max |
| HOST_DATA | 0 | p->port.rs485_supported.addr_dest | 0-255 |
| HOST_DATA | 0 | p->port.rs485_supported.addr_recv | 0-255 |
| HOST_DATA | 0 | p->port.rs485_supported.delay_rts_after_send | 0-u32max |
| HOST_DATA | 0 | p->port.rs485_supported.delay_rts_before_send | 0-u32max |
| HOST_DATA | 0 | p->port.rs485_supported.flags | 0-u32max |
| HOST_DATA | 0 | p->port.status | 0-u32max |
| HOST_DATA | 0 | p->port.suspended | 0-255 |
| HOST_DATA | 0 | p->port.sysrq | 0-u64max |
| HOST_DATA | 0 | p->port.sysrq_ch | 0-255 |
| HOST_DATA | 0 | p->port.sysrq_seq | 0-255 |
| HOST_DATA | 0 | p->port.type | 0-u32max |
| HOST_DATA | 0 | p->port.uartclk | 0-u32max |
| HOST_DATA | 0 | p->port.x_char | 0 |
| HOST_DATA | 0 | p->probe | 0-255 |
| HOST_DATA | 0 | p->rpm_tx_active | 0-u32max |
| HOST_DATA | 0 | p->timer.expires | 0-u64max |
| HOST_DATA | 0 | p->timer.flags | 0-u32max |
| HOST_DATA | 0 | p->tx_loadsz | 0-u32max |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | 0 | &p->port.lock |
drivers/tty/serial/8250/8250_port.c serial8250_console_write() -> (struct uart_8250_port)->rs485_stop_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485 | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485->tx_stopped | 1 |
| PARAM_VALUE | 0 | p->fcr | 1-255 |
| PARAM_VALUE | 0 | p->port->membase | 0-255 |
| PARAM_VALUE | 0 | p->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->port.cons_flow | 1 |
| PARAM_VALUE | 0 | p->port.line | 0-s16max,4294934528-u32max |
| PARAM_VALUE | 0 | p->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 1 | toggle_ier | 0 |
| CAPPED_DATA | 0 | p->canary | 1 |
| CAPPED_DATA | 0 | p->port.line | 1 |
| DATA_SOURCE | 0 | p | $0 |
| CONTAINER | 0 | -848+0 | $(-1) |
| BIT_INFO | 0 | p->capabilities | 0x0,0xffffffff |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | p->msr_saved_flags | 0-255[c] |
| HALF_LOCKED2 | flags |
drivers/tty/serial/8250/8250_port.c serial8250_em485_handle_stop_tx() -> (struct uart_8250_port)->rs485_stop_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->port.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | p->port.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | p->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | toggle_ier | 1 |
| CONTAINER | 0 | -848+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | irq |
drivers/tty/serial/8250/8250_port.c serial8250_em485_init() -> (struct uart_8250_port)->rs485_stop_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485 | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485->active_timer | 0 |
| PARAM_VALUE | 0 | p->em485->port | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485->port->em485 | 4096-ptr_max |
| PARAM_VALUE | 0 | p->em485->start_tx_timer._softexpires | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.base | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.is_queued | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.is_rel | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.node.expires | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.node.node.next | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.node.node.node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.node.node.node.rb_left | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.node.node.node.rb_right | 0 |
| PARAM_VALUE | 0 | p->em485->start_tx_timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer._softexpires | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.base | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.is_queued | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.is_rel | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.node.expires | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.node.node.next | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.node.node.node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.node.node.node.rb_left | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.node.node.node.rb_right | 0 |
| PARAM_VALUE | 0 | p->em485->stop_tx_timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | p->em485->tx_stopped | 1 |
| PARAM_VALUE | 1 | toggle_ier | 1 |
| BUF_SIZE | 0 | p->em485 | 184,u64max |
| DATA_SOURCE | 0 | p | $0 |
| CONTAINER | 0 | -848+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | _T->flags | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->termios_rwsem |