Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/tty/serial/serial_mctrl_gpio.c, line 224 (as a function)
- drivers/tty/serial/serial_mctrl_gpio.h, line 131 (as a function)
Referenced in 7 files:
- drivers/tty/serial/8250/8250_core.c, line 817
- drivers/tty/serial/ar933x_uart.c, line 843
- drivers/tty/serial/atmel_serial.c, line 2916
- drivers/tty/serial/imx.c, line 2488
- drivers/tty/serial/serial_mctrl_gpio.c, line 265
- drivers/tty/serial/sh-sci.c, line 3829
- drivers/tty/serial/stm32-usart.c, line 1624
Smatch caller information:
drivers/tty/serial/sh-sci.c sci_probe_single() -> mctrl_gpio_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 1,16,32,64,128,256 |
| PARAM_VALUE | 0 | port->flags | 805306368 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 2 |
| PARAM_VALUE | 0 | port->irqflags | 0 |
| PARAM_VALUE | 0 | port->line | 0-1 |
| PARAM_VALUE | 0 | port->ops | 835033106790268928 |
| PARAM_VALUE | 0 | port->regshift | 1-2 |
| PARAM_VALUE | 1 | idx | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/stm32-usart.c stm32_usart_init_port() -> mctrl_gpio_init()
| 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 | 2 |
| PARAM_VALUE | 0 | port->irq | 1-s32max |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 8608026137118273536 |
| PARAM_VALUE | 0 | port->rs485.delay_rts_after_send | 0-100 |
| PARAM_VALUE | 0 | port->rs485.delay_rts_before_send | 0-100 |
| PARAM_VALUE | 0 | port->rs485.flags | 0,2-4294967261 |
| PARAM_VALUE | 0 | port->rs485_config | 8451269740730093568 |
| PARAM_VALUE | 0 | port->uartclk | 1-u32max |
| PARAM_VALUE | 1 | idx | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/imx.c imx_uart_probe() -> mctrl_gpio_init()
| 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 |
| PARAM_VALUE | 1 | idx | 0 |
| MEM_ZERO | 0 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/8250/8250_core.c serial8250_register_8250_port() -> mctrl_gpio_init()
| 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->uartclk | 1-u32max |
| PARAM_VALUE | 1 | idx | 0 |
| 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_serial_probe() -> mctrl_gpio_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 1,512 |
| 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.delay_rts_after_send | 0-100 |
| PARAM_VALUE | 0 | port->rs485.delay_rts_before_send | 0-100 |
| PARAM_VALUE | 0 | port->rs485.flags | 2-4294967261 |
| PARAM_VALUE | 0 | port->rs485_config | 2962362777077481472 |
| PARAM_VALUE | 1 | idx | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |