Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/serial/sh-sci.c rx_fifo_timeout_store() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rx_trig | 1 |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/tty/serial/sh-sci.c rx_fifo_timer_fn() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_trig | 1 |
| BUF_SIZE | 0 | port | 616 |
| CONTAINER | 0 | -48-1280+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/serial/sh-sci.c rx_fifo_trigger_store() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | rx_trig | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/tty/serial/sh-sci.c rx_fifo_trigger_store() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rx_trig | 1 |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | port->fifosize | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/tty/serial/sh-sci.c sci_dma_rx_reenable_irq() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| BUF_SIZE | 0 | port | 616 |
| CONTAINER | 0 | -48-1280+0 | $(-1) |
| CONTAINER | 1 | *(-48-1280+1176) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/sh-sci.c sci_reset() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | port->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | port->dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | port->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,542853678643802112,853403963737563136,1231480850374565888,1236650878105227264,3206955665515188224,5661098704952168448,7022633692052856832 |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rx_trig | 1 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| NOSPEC | 0 | port->cons->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons->cflag | s32min-0,16-s32max |
| HOST_DATA | 0 | port->cons->dropped | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.a_flags.counter | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.dst | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.src | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.u_flags | 0 |
| HOST_DATA | 0 | port->cons->ispeed | 0-u32max |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.allow_unsafe_takeover | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.backlog | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.prio | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.seq | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.spinwait_max_us | 0 |
| HOST_DATA | 0 | port->cons->nbcon_prev_seq.counter | (-1)-0 |
| HOST_DATA | 0 | port->cons->nbcon_seq.counter | s64min-s64max |
| HOST_DATA | 0 | port->cons->nbcon_state.counter | 0 |
| HOST_DATA | 0 | port->cons->ospeed | 0-u32max |
| HOST_DATA | 0 | port->cons->seq | 0-u64max |
| USER_DATA | 0 | port->cons->index | 0-3[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/sh-sci.c sci_reset() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | port->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | port->dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | port->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,542853678643802112,853403963737563136,1231480850374565888,1236650878105227264,3206955665515188224,5661098704952168448,7022633692052856832 |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rx_trig | 1 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| DATA_SOURCE | 0 | port | $0 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| NOSPEC | 0 | port->cons->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons->cflag | s32min-0,16-s32max |
| HOST_DATA | 0 | port->cons->dropped | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.a_flags.counter | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.dst | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.src | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.u_flags | 0 |
| HOST_DATA | 0 | port->cons->ispeed | 0-u32max |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.allow_unsafe_takeover | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.backlog | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.prio | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.seq | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.spinwait_max_us | 0 |
| HOST_DATA | 0 | port->cons->nbcon_prev_seq.counter | (-1)-0 |
| HOST_DATA | 0 | port->cons->nbcon_seq.counter | s64min-s64max |
| HOST_DATA | 0 | port->cons->nbcon_state.counter | 0 |
| HOST_DATA | 0 | port->cons->ospeed | 0-u32max |
| HOST_DATA | 0 | port->cons->seq | 0-u64max |
| USER_DATA | 0 | port->cons->index | 0-3[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/sh-sci.c sci_reset() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | port->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | port->dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | port->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,542853678643802112,853403963737563136,1231480850374565888,1236650878105227264,3206955665515188224,5661098704952168448,7022633692052856832 |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rx_trig | 2-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| DATA_SOURCE | 0 | port | $0 |
| FUZZY_MAX | 1 | rx_trig | 2 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| CONTAINER | 1 | *(-48-1280+1176) | $(-1) |
| NOSPEC | 0 | port->cons->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons->cflag | s32min-0,16-s32max |
| HOST_DATA | 0 | port->cons->dropped | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.a_flags.counter | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.dst | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.src | 0 |
| HOST_DATA | 0 | port->cons->irq_work.node.u_flags | 0 |
| HOST_DATA | 0 | port->cons->ispeed | 0-u32max |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.allow_unsafe_takeover | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.backlog | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.prio | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.seq | 0 |
| HOST_DATA | 0 | port->cons->nbcon_device_ctxt.spinwait_max_us | 0 |
| HOST_DATA | 0 | port->cons->nbcon_prev_seq.counter | (-1)-0 |
| HOST_DATA | 0 | port->cons->nbcon_seq.counter | s64min-s64max |
| HOST_DATA | 0 | port->cons->nbcon_state.counter | 0 |
| HOST_DATA | 0 | port->cons->ospeed | 0-u32max |
| HOST_DATA | 0 | port->cons->seq | 0-u64max |
| USER_DATA | 0 | port->cons->index | 0-3[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/sh-sci.c sci_rx_interrupt() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rx_trig | 1 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/tty/serial/sh-sci.c sci_rx_interrupt() -> (struct sci_port_ops)->set_rtrg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rx_trig | 2-s32max |
| DATA_SOURCE | 0 | port | $1 |
| FUZZY_MAX | 1 | rx_trig | 2 |
| CONTAINER | 1 | *(-48-1280+1176) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |