Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/tty/serial/8250/8250_core.c, line 804
- drivers/tty/serial/amba-pl011.c, line 2982
- drivers/tty/serial/ar933x_uart.c, line 839
- drivers/tty/serial/atmel_serial.c, line 2533
- drivers/tty/serial/fsl_lpuart.c, line 2968
- drivers/tty/serial/imx.c, line 2515
- drivers/tty/serial/max310x.c
- drivers/tty/serial/omap-serial.c, line 1505
- drivers/tty/serial/qcom_geni_serial.c, line 1972
- drivers/tty/serial/sc16is7xx.c, line 1497
- drivers/tty/serial/serial_core.c, line 3622
- drivers/tty/serial/stm32-usart.c, line 291
- drivers/tty/serial/xilinx_uartps.c, line 1788
Smatch caller information:
drivers/tty/serial/sc16is7xx.c sc16is7xx_setup_channel() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 64 |
| PARAM_VALUE | 0 | port->flags | 134225920 |
| PARAM_VALUE | 0 | port->iotype | 8 |
| PARAM_VALUE | 0 | port->line | 0-s32max |
| PARAM_VALUE | 0 | port->ops | 1325562466173325312 |
| PARAM_VALUE | 0 | port->rs485_config | 7874482569345966080 |
| PARAM_VALUE | 0 | port->type | 108 |
| BUF_SIZE | 0 | port | 616 |
| BUF_SIZE | 0 | port->ops | 216 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/max310x.c max310x_probe() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->line | 0-15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/max310x.c max310x_probe() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->line | 0-15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/stm32-usart.c stm32_usart_init_rs485() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | port->flags | 268435456 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 2 |
| PARAM_VALUE | 0 | port->irq | 1-s32max |
| PARAM_VALUE | 0 | port->ops | 8608026137118273536 |
| PARAM_VALUE | 0 | port->rs485.delay_rts_after_send | 0 |
| PARAM_VALUE | 0 | port->rs485.delay_rts_before_send | 0 |
| PARAM_VALUE | 0 | port->rs485.flags | 0 |
| PARAM_VALUE | 0 | port->rs485_config | 8451269740730093568 |
| BUF_SIZE | 0 | port | 616 |
| BUF_SIZE | 0 | port->dev | 1616 |
| BUF_SIZE | 0 | port->ops | 216 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/imx.c imx_uart_probe() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 32 |
| PARAM_VALUE | 0 | port->flags | 268435456 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 2 |
| PARAM_VALUE | 0 | port->irq | 1-s32max |
| PARAM_VALUE | 0 | port->line | 0-7 |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 2458691462279565312 |
| PARAM_VALUE | 0 | port->rs485_config | 2135284799269507072 |
| PARAM_VALUE | 0 | port->type | 62 |
| MEM_ZERO | 0 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/xilinx_uartps.c cdns_uart_probe() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 64 |
| PARAM_VALUE | 0 | port->flags | 268435456 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 3 |
| PARAM_VALUE | 0 | port->irq | 1-s32max |
| PARAM_VALUE | 0 | port->line | 0-15 |
| PARAM_VALUE | 0 | port->ops | 6480989913377546240 |
| PARAM_VALUE | 0 | port->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port->read_status_mask | 297 |
| PARAM_VALUE | 0 | port->rs485_config | 2891735395565350912 |
| PARAM_VALUE | 0 | port->type | 0 |
| BUF_SIZE | 0 | port | 616 |
| BUF_SIZE | 0 | port->dev | 1616 |
| BUF_SIZE | 0 | port->ops | 216 |
| BUF_SIZE | 0 | port->private_data | 168 |
| DATA_SOURCE | 0 | port | r devm_kzalloc |
| FUZZY_MAX | 0 | port->line | 0 |
| MEM_ZERO | 0 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_probe() -> uart_get_rs485_mode()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | port->flags | 0,268435456 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 0,2 |
| PARAM_VALUE | 0 | port->irq | 1-s32max |
| PARAM_VALUE | 0 | port->line | 0-s32max |
| PARAM_VALUE | 0 | port->ops | 0,754089923021512704 |
| PARAM_VALUE | 0 | port->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port->rs485_config | 1588158955914133504 |
| BUF_SIZE | 0 | port | 616 |
| BUF_SIZE | 0 | port->dev | 1616 |
| BUF_SIZE | 0 | port->private_data | 24 |
| CAPPED_DATA | 0 | port->line | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/fsl_lpuart.c lpuart_probe() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->flags | 268435456 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 0-255 |
| PARAM_VALUE | 0 | port->irq | 1-s32max |
| PARAM_VALUE | 0 | port->line | 0-11 |
| PARAM_VALUE | 0 | port->ops | 3283246237625880576,7391721457965764608 |
| PARAM_VALUE | 0 | port->rs485_config | 5183938390759813120,7479488314342096896 |
| PARAM_VALUE | 0 | port->type | 103 |
| MEM_ZERO | 0 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/omap-serial.c serial_omap_probe_rs485() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 64 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 2 |
| PARAM_VALUE | 0 | port->irq | 1-u32max |
| PARAM_VALUE | 0 | port->line | 0-9 |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 5989117066256867328 |
| PARAM_VALUE | 0 | port->regshift | 2 |
| PARAM_VALUE | 0 | port->rs485.flags | 0 |
| PARAM_VALUE | 0 | port->rs485_config | 2018301287003586560 |
| PARAM_VALUE | 0 | port->type | 96 |
| PARAM_VALUE | 0 | port->uartclk | 1-u32max |
| MEM_ZERO | 0 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/8250/8250_core.c serial8250_register_8250_port() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->flags | 0,268435456-u64max |
| PARAM_VALUE | 0 | port->iotype | (-1)-255 |
| PARAM_VALUE | 0 | port->type | 0-22,24-u32max |
| PARAM_VALUE | 0 | port->uartclk | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->iobase | 0 |
| NO_OVERFLOW_SIMPLE | 0 | port->port_id | |
| LOCK2 | _T->lock |
drivers/tty/serial/atmel_serial.c atmel_init_port() -> uart_get_rs485_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 1 |
| PARAM_VALUE | 0 | port->flags | 2415919104 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 2 |
| PARAM_VALUE | 0 | port->irq | 1-s32max,4294963201-u32max |
| PARAM_VALUE | 0 | port->iso7816_config | 4556709770845540352 |
| PARAM_VALUE | 0 | port->line | 0-7 |
| PARAM_VALUE | 0 | port->membase | 0 |
| PARAM_VALUE | 0 | port->ops | 2653479552590692352 |
| PARAM_VALUE | 0 | port->rs485_config | 2962362777077481472 |
| BUF_SIZE | 0 | port | 616 |
| BUF_SIZE | 0 | port->dev | 1616 |
| BUF_SIZE | 0 | port->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->ops | 216 |
| CAPPED_DATA | 0 | port->line | 1 |
| BIT_INFO | 0 | port->irq | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |