Defined in 1 files as a function:
Referenced in 7 files:
- drivers/tty/serial/8250/8250_dw.c, line 202
- drivers/tty/serial/8250/8250_loongson.c, line 102
- drivers/tty/serial/8250/8250_mtk.c, line 386
- drivers/tty/serial/8250/8250_mxpcie.c, line 421
- drivers/tty/serial/8250/8250_omap.c, line 341
- drivers/tty/serial/8250/8250_pericom.c, line 77
- drivers/tty/serial/8250/8250_port.c
Smatch caller information:
drivers/tty/serial/8250/8250_pericom.c pericom_do_set_divisor() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 1 |
| DATA_SOURCE | 0 | up | r up_to_u8250p |
| BIT_INFO | 0 | up | 0x3a6ec5f9924f9000,0xffffffffffffffff |
| BIT_INFO | 0 | up | 0x3a6ec5f9924f9000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags |
drivers/tty/serial/8250/8250_omap.c omap8250_restore_regs() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->dma | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port->membase | 0-255 |
| PARAM_VALUE | 0 | up->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| BUF_SIZE | 0 | up | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | up | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | up | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | up | unit_byte |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &up->port.lock |
drivers/tty/serial/8250/8250_mxpcie.c mxpcie8250_software_break_ctl() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port->membase | 0-255 |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 0 |
| DATA_SOURCE | 0 | up | r up_to_u8250p |
| BIT_INFO | 0 | up | 0x56ca104d7de3c000,0xffffffffffffffff |
| BIT_INFO | 0 | up | 0x56ca104d7de3c000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | _T->flags | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tty->atomic_write_lock |
drivers/tty/serial/8250/8250_port.c autoconfig_16550a() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->bugs | 0 |
| PARAM_VALUE | 0 | up->capabilities | 256 |
| PARAM_VALUE | 0 | up->dl_read | 4096-ptr_max |
| PARAM_VALUE | 0 | up->dl_write | 4096-ptr_max |
| PARAM_VALUE | 0 | up->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port->membase | 0-255 |
| PARAM_VALUE | 0 | up->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.type | 4 |
| DATA_SOURCE | 0 | up | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | value | 0-u16max |
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_port.c autoconfig_read_divisor_id() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->bugs | 0 |
| PARAM_VALUE | 0 | up->capabilities | 256,1792 |
| PARAM_VALUE | 0 | up->dl_read | 4096-ptr_max |
| PARAM_VALUE | 0 | up->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.type | 4 |
| PARAM_VALUE | 1 | value | 0 |
| DATA_SOURCE | 0 | up | $0 |
| HARD_MAX | 0 | up->capabilities | 1792 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_port.c autoconfig_read_divisor_id() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->bugs | 0 |
| PARAM_VALUE | 0 | up->capabilities | 256,1792 |
| PARAM_VALUE | 0 | up->dl_read | 4096-ptr_max |
| PARAM_VALUE | 0 | up->dl_write | 4096-ptr_max |
| PARAM_VALUE | 0 | up->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.type | 4 |
| DATA_SOURCE | 0 | up | $0 |
| DATA_SOURCE | 1 | value | r serial_dl_read |
| HARD_MAX | 0 | up->capabilities | 1792 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | value | 0-u32max |
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_port.c serial8250_do_set_divisor() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| DATA_SOURCE | 0 | up | r up_to_u8250p |
| DATA_SOURCE | 1 | value | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | value | 0-u32max[c] |
| USER_DATA | 1 | value | 0-u32max[c] |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags |
drivers/tty/serial/8250/8250_port.c size_fifo() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->bugs | 0 |
| PARAM_VALUE | 0 | up->capabilities | 256,1792 |
| PARAM_VALUE | 0 | up->dl_read | 4096-ptr_max |
| PARAM_VALUE | 0 | up->dl_write | 4096-ptr_max |
| PARAM_VALUE | 0 | up->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port->membase | 0-255 |
| PARAM_VALUE | 0 | up->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.type | 4 |
| PARAM_VALUE | 1 | value | 1 |
| DATA_SOURCE | 0 | up | $0 |
| HARD_MAX | 0 | up->capabilities | 1792 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_port.c size_fifo() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| PARAM_VALUE | 0 | up->bugs | 0 |
| PARAM_VALUE | 0 | up->capabilities | 256,1792 |
| PARAM_VALUE | 0 | up->dl_read | 4096-ptr_max |
| PARAM_VALUE | 0 | up->dl_write | 4096-ptr_max |
| PARAM_VALUE | 0 | up->gpios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port->membase | 0-255 |
| PARAM_VALUE | 0 | up->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | up->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | up->port.serial_in | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 0 | up->port.type | 4 |
| DATA_SOURCE | 0 | up | $0 |
| DATA_SOURCE | 1 | value | r serial_dl_read |
| HARD_MAX | 0 | up->capabilities | 1792 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | value | 0-u32max |
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_mtk.c mtk8250_set_termios() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| DATA_SOURCE | 0 | up | r up_to_u8250p |
| BIT_INFO | 0 | up | 0x193f07b2658dc000,0xffffffffffffffff |
| BIT_INFO | 0 | up | 0x193f07b2658dc000,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_dw.c dw8250_set_divisor() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| DATA_SOURCE | 0 | up | r up_to_u8250p |
| DATA_SOURCE | 1 | value | $2 |
| BIT_INFO | 0 | up | 0x26e7083ecad8b000,0xffffffffffffffff |
| BIT_INFO | 0 | up | 0x26e7083ecad8b000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | value | 0-u32max[c] |
| USER_DATA | 1 | value | 0-u32max[c] |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags |
drivers/tty/serial/8250/8250_loongson.c loongson_frac_set_divisor() -> serial_dl_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | up | 4096-ptr_max |
| DATA_SOURCE | 0 | up | r up_to_u8250p |
| DATA_SOURCE | 1 | value | $2 |
| BIT_INFO | 0 | up | 0x489c1284f66db000,0xffffffffffffffff |
| BIT_INFO | 0 | up | 0x489c1284f66db000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | value | 0-u32max[c] |
| USER_DATA | 1 | value | 0-u32max[c] |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags |