Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/serial/serial_core.c uart_rs485_config() -> (struct uart_port)->rs485_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | termios | 0 |
| PARAM_VALUE | 2 | rs485conf | 4096-ptr_max |
| PARAM_VALUE | 2 | *rs485conf->padding1 | 0-4294967295 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->name | (-1)-s32max |
| BUF_SIZE | 0 | port->ops | (-1),216 |
| BUF_SIZE | 0 | port->private_data | (-1),1-s32max |
| BUF_SIZE | 0 | port->tty_groups | (-1),24 |
| BUF_SIZE | 2 | rs485conf | 32 |
| CAPPED_DATA | 0 | port->cons | 1 |
| DATA_SOURCE | 0 | port | $0 |
| CONTAINER | 0 | -232+0 | $(-1) |
| CONTAINER | 2 | -232+488 | $(-1) |
| PARAM_COMPARE | 0 | &port->rs485 | == $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| NO_OVERFLOW_SIMPLE | 0 | port->mapbase | |
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | _T->flags | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/serial_core.c uart_set_rs485_config() -> (struct uart_port)->rs485_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 1 | termios | 4096-ptr_max |
| PARAM_VALUE | 2 | rs485conf | 7463967897378729984 |
| DATA_SOURCE | 0 | port | $1 |
| CONTAINER | 0 | -232+0 | $(-1) |
| BIT_INFO | 0 | port->rs485_supported.flags | 0x1,0xffffffffffffffff |
| USER_DATA | 2 | rs485conf->addr_dest | 0-255 |
| USER_DATA | 2 | rs485conf->addr_recv | 0-255 |
| USER_DATA | 2 | rs485conf->delay_rts_after_send | 0-u32max |
| USER_DATA | 2 | rs485conf->delay_rts_before_send | 0-u32max |
| USER_DATA | 2 | rs485conf->flags | 0-u32max[c] |
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | &tty->termios_rwsem | ||
| LOCK2 | _T->flags | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |