Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/moxa.c moxa_flush_buffer() -> MoxaPortFlushData()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 1-u64max |
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/moxa.c moxa_poll_port() -> MoxaPortFlushData()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port.tty | 0 |
| PARAM_VALUE | 1 | mode | 0 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &moxa_lock |
drivers/tty/moxa.c moxa_shutdown() -> MoxaPortFlushData()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |