Defined in 1 files as a member:
Defined in 12 files as a function:
- drivers/tty/serial/8250/8250_port.c, line 2027 (as a function)
- drivers/tty/serial/bcm63xx_uart.c, line 662 (as a function)
- drivers/tty/serial/ma35d1_serial.c, line 530 (as a function)
- drivers/tty/serial/mvebu-uart.c, line 697 (as a function)
- drivers/tty/serial/omap-serial.c, line 1078 (as a function)
- drivers/tty/serial/pch_uart.c, line 1443 (as a function)
- drivers/tty/serial/pxa.c, line 559 (as a function)
- drivers/tty/serial/serial_txx9.c, line 415 (as a function)
- drivers/tty/serial/sprd_serial.c, line 969 (as a function)
- drivers/tty/serial/sunplus-uart.c, line 445 (as a function)
- drivers/tty/serial/sunsu.c, line 1231 (as a function)
- drivers/tty/serial/vt8500_serial.c, line 452 (as a function)
Referenced in 15 files:
- drivers/accessibility/speakup/serialio.c, line 44
- drivers/accessibility/speakup/spk_ttyio.c, line 131
- drivers/accessibility/speakup/synth.c, line 162
- drivers/tty/serial/8250/8250_port.c
- drivers/tty/serial/bcm63xx_uart.c
- drivers/tty/serial/ma35d1_serial.c
- drivers/tty/serial/mvebu-uart.c, line 715
- drivers/tty/serial/omap-serial.c
- drivers/tty/serial/pch_uart.c
- drivers/tty/serial/pxa.c
- drivers/tty/serial/serial_txx9.c
- drivers/tty/serial/sprd_serial.c
- drivers/tty/serial/sunplus-uart.c
- drivers/tty/serial/sunsu.c
- drivers/tty/serial/vt8500_serial.c
Smatch caller information:
drivers/tty/serial/sunplus-uart.c sunplus_poll_put_char() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/tty/serial/sunplus-uart.c sunplus_uart_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | (-1),616 |
| BUF_SIZE | 0 | port | (-1),616 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),1 |
| STR_LEN | 0 | port | (-1),1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/sprd_serial.c sprd_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | (-1),616 |
| BUF_SIZE | 0 | port | (-1),616 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),1 |
| STR_LEN | 0 | port | (-1),1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/sprd_serial.c sprd_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/pch_uart.c pch_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &s->lock |
drivers/tty/serial/pch_uart.c pch_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &port->port.lock |
drivers/tty/serial/pch_uart.c pch_uart_put_poll_char() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/tty/serial/pch_uart.c pch_uart_put_poll_char() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/tty/serial/vt8500_serial.c vt8500_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | (-1),616 |
| BUF_SIZE | 0 | port | (-1),616 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),1 |
| STR_LEN | 0 | port | (-1),1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/vt8500_serial.c vt8500_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
drivers/tty/serial/8250/8250_port.c serial8250_THRE_test() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 32 |
| DATA_SOURCE | 0 | port | r up_to_u8250p |
| BIT_INFO | 0 | port->port.flags | 0x0,0xfffffffffff7ffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/tty/serial/8250/8250_port.c serial8250_console_wait_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 32 |
| DATA_SOURCE | 0 | port | r up_to_u8250p |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &s->lock |
drivers/tty/serial/8250/8250_port.c serial8250_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->em485 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->fcr | 1-255 |
| PARAM_VALUE | 0 | port->port->membase | 0-255 |
| PARAM_VALUE | 0 | port->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 96 |
| CAPPED_DATA | 0 | port->canary | 1 |
| DATA_SOURCE | 0 | port | $0 |
| BIT_INFO | 0 | port->capabilities | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
drivers/tty/serial/8250/8250_port.c serial8250_put_poll_char() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port->membase | 0-255 |
| PARAM_VALUE | 0 | port->port.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | port->port.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 96 |
| DATA_SOURCE | 0 | port | r up_to_u8250p |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/tty/serial/8250/8250_port.c serial8250_put_poll_char() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port->membase | 0-255 |
| PARAM_VALUE | 0 | port->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->port.cons_flow | 1 |
| PARAM_VALUE | 0 | port->port.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | port->port.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->port.line | 0-s16max,4294934528-u32max |
| PARAM_VALUE | 0 | port->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 1 | bits | 96 |
| CAPPED_DATA | 0 | port->port.line | 1 |
| DATA_SOURCE | 0 | port | r up_to_u8250p |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->msr_saved_flags | 0-255[c] |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/tty/serial/ma35d1_serial.c ma35d1serial_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r to_ma35d1_uart_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &s->lock |
drivers/tty/serial/ma35d1_serial.c ma35d1serial_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &port->port.lock |
drivers/tty/serial/mvebu-uart.c mvebu_uart_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | (-1),616 |
| BUF_SIZE | 0 | port | (-1),616 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),1 |
| STR_LEN | 0 | port | (-1),1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/bcm63xx_uart.c bcm_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | (-1),616 |
| BUF_SIZE | 0 | port | (-1),616 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),1 |
| STR_LEN | 0 | port | (-1),1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/bcm63xx_uart.c bcm_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/bcm63xx_uart.c bcm_early_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
drivers/tty/serial/omap-serial.c serial_omap_console_putchar() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &s->lock |
drivers/tty/serial/omap-serial.c serial_omap_console_write() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &port->port.lock |
drivers/tty/serial/omap-serial.c serial_omap_poll_put_char() -> wait_for_xmitr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |