Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/serial/serial_core.c uart_rs485_config() -> uart_set_rs485_termination()
| 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 | rs485 | 4096-ptr_max |
| PARAM_VALUE | 1 | *rs485->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 | 1 | rs485 | 32 |
| CAPPED_DATA | 0 | port->cons | 1 |
| DATA_SOURCE | 0 | port | $0 |
| PARAM_COMPARE | 0 | &port->rs485 | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| NO_OVERFLOW_SIMPLE | 0 | port->mapbase | |
| UNITS | 0 | port | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/serial_core.c uart_set_rs485_config() -> uart_set_rs485_termination()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | rs485 | 7463967897378729984 |
| DATA_SOURCE | 0 | port | $1 |
| BIT_INFO | 0 | port->rs485_supported.flags | 0x1,0xffffffffffffffff |
| NOCHECK_CALL | |||
| USER_DATA | 1 | rs485->addr_dest | 0-255 |
| USER_DATA | 1 | rs485->addr_recv | 0-255 |
| USER_DATA | 1 | rs485->delay_rts_after_send | 0-u32max |
| USER_DATA | 1 | rs485->delay_rts_before_send | 0-u32max |
| USER_DATA | 1 | rs485->flags | 0-u32max[c] |
| LOCK2 | &tty->termios_rwsem | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |