Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/serial/mxs-auart.c auart_console_write() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| DATA_SOURCE | 0 | val | r mxs_read |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max |
| HALF_LOCKED2 | flags |
drivers/tty/serial/mxs-auart.c auart_console_write() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 2 |
| DATA_SOURCE | 0 | val | r mxs_read |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max |
| HALF_LOCKED2 | flags |
drivers/tty/serial/mxs-auart.c dma_rx_callback() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 7 |
| BUF_SIZE | 1 | uap | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | uap | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | uap | $0 |
| BIT_INFO | 0 | val | 0x0,0xfff0ffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max[c] |
| UNITS | 1 | uap | unit_byte |
| HALF_LOCKED2 | &bdma_chan->lock | ||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/tty/serial/mxs-auart.c mxs_auart_console_putchar() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 6 |
| DATA_SOURCE | 0 | val | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &s->lock |
drivers/tty/serial/mxs-auart.c mxs_auart_rx_char() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 7 |
| DATA_SOURCE | 1 | uap | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max |
| LOCK2 | 1 | &uap->port.lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/mxs-auart.c mxs_auart_rx_chars() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 7 |
| DATA_SOURCE | 0 | val | r mxs_read |
| DATA_SOURCE | 1 | uap | $0 |
| BIT_INFO | 0 | val | 0x1000000,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max |
| LOCK2 | 1 | &uap->port.lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/mxs-auart.c mxs_auart_set_mctrl() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max[c] |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &tport->mutex | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | &u->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/tty/serial/mxs-auart.c mxs_auart_settermios() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 3 |
| BIT_INFO | 0 | val | 0x10,0xffff3ffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/tty/serial/mxs-auart.c mxs_auart_settermios() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | val | 0-u32max[c] |
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/tty/serial/mxs-auart.c mxs_auart_startup() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 5373952 |
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &u->lock |
drivers/tty/serial/mxs-auart.c mxs_auart_tx_chars() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 1-255 |
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 6 |
| BUF_SIZE | 1 | uap | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | uap | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | uap | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | uap | unit_byte |
| HALF_LOCKED2 | 1 | &uap->port.lock |
drivers/tty/serial/mxs-auart.c mxs_auart_tx_chars() -> mxs_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uap | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor | 4096-ptr_max |
| PARAM_VALUE | 1 | uap->vendor->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 6 |
| BUF_SIZE | 1 | uap | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | uap | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | uap | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | uap | unit_byte |
| HALF_LOCKED2 | 1 | &uap->port.lock |