Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/tty/serial/8250/8250_mtk.c, line 226
- drivers/tty/serial/8250/8250_ni.c, line 272
- drivers/tty/serial/8250/8250_omap.c, line 189
- drivers/tty/serial/8250/8250_pci.c, line 1279
- drivers/tty/serial/8250/8250_pci1xxxx.c, line 285
- drivers/tty/serial/8250/8250_port.c
Smatch caller information:
drivers/tty/serial/8250/8250_pci.c pci_oxsemi_tornado_set_mctrl() -> serial8250_do_set_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 5066417044628500480 |
| PARAM_VALUE | 0 | port->attr_group | 0 |
| PARAM_VALUE | 0 | port->break_ctl | 0 |
| PARAM_VALUE | 0 | port->cons | 0 |
| PARAM_VALUE | 0 | port->console_reinit | 0 |
| PARAM_VALUE | 0 | port->ctrl_id | 0 |
| PARAM_VALUE | 0 | port->custom_divisor | 0 |
| PARAM_VALUE | 0 | port->dev | 0,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->flags | 0,67108864,134217728,268435520,285212736,671088640,2147483648,4294967296 |
| PARAM_VALUE | 0 | port->frame_time | 0 |
| PARAM_VALUE | 0 | port->get_divisor | 0,1251506559648477184 |
| PARAM_VALUE | 0 | port->get_mctrl | 0 |
| PARAM_VALUE | 0 | port->get_rxtrig | 0 |
| PARAM_VALUE | 0 | port->handle_break | 0,6055914765528334336 |
| PARAM_VALUE | 0 | port->handle_irq | 0 |
| PARAM_VALUE | 0 | port->has_sysrq | 0 |
| PARAM_VALUE | 0 | port->hub6 | 0 |
| PARAM_VALUE | 0 | port->hw_stopped | 0 |
| PARAM_VALUE | 0 | port->icount | 0 |
| PARAM_VALUE | 0 | port->ignore_status_mask | 0 |
| PARAM_VALUE | 0 | port->iotype | (-1)-s32max |
| PARAM_VALUE | 0 | port->irqflags | 0 |
| PARAM_VALUE | 0 | port->iso7816 | 0 |
| PARAM_VALUE | 0 | port->iso7816_config | 0 |
| PARAM_VALUE | 0 | port->line | 0 |
| PARAM_VALUE | 0 | port->lock | 0 |
| PARAM_VALUE | 0 | port->mapsize | 0 |
| PARAM_VALUE | 0 | port->mctrl | 0 |
| PARAM_VALUE | 0 | port->minor | 0 |
| PARAM_VALUE | 0 | port->name | 0 |
| PARAM_VALUE | 0 | port->ops | 0 |
| PARAM_VALUE | 0 | port->ops->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->send_xchar | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->set_ldisc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->throttle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->unthrottle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->pm | 0 |
| PARAM_VALUE | 0 | port->port_dev | 0 |
| PARAM_VALUE | 0 | port->port_id | 0-s32max |
| PARAM_VALUE | 0 | port->private_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->read_status_mask | 0 |
| PARAM_VALUE | 0 | port->rs485 | 0 |
| PARAM_VALUE | 0 | port->rs485_rx_during_tx_gpio | 0 |
| PARAM_VALUE | 0 | port->rs485_supported | 0 |
| PARAM_VALUE | 0 | port->rs485_term_gpio | 0 |
| PARAM_VALUE | 0 | port->serial_in | 0,5509307084229816320 |
| PARAM_VALUE | 0 | port->serial_out | 0,8762971863838597120 |
| PARAM_VALUE | 0 | port->set_divisor | 0,2274563138285285376 |
| PARAM_VALUE | 0 | port->set_ldisc | 0 |
| PARAM_VALUE | 0 | port->set_mctrl | 0,1461087126822948864 |
| PARAM_VALUE | 0 | port->set_rxtrig | 0 |
| PARAM_VALUE | 0 | port->set_termios | 0 |
| PARAM_VALUE | 0 | port->shutdown | 0 |
| PARAM_VALUE | 0 | port->startup | 0 |
| PARAM_VALUE | 0 | port->state | 0 |
| PARAM_VALUE | 0 | port->status | 0 |
| PARAM_VALUE | 0 | port->suspended | 0 |
| PARAM_VALUE | 0 | port->sysrq | 0 |
| PARAM_VALUE | 0 | port->sysrq_ch | 0 |
| PARAM_VALUE | 0 | port->sysrq_seq | 0 |
| PARAM_VALUE | 0 | port->throttle | 0 |
| PARAM_VALUE | 0 | port->tty_groups | 0 |
| PARAM_VALUE | 0 | port->type | 0,4,12,15,25,121 |
| PARAM_VALUE | 0 | port->unthrottle | 0 |
| PARAM_VALUE | 0 | port->x_char | 0 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->dev | (-1),1616 |
| BUF_SIZE | 0 | port->name | (-1)-s32max |
| BUF_SIZE | 0 | port->ops | (-1),216 |
| BUF_SIZE | 0 | port->private_data | (-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | mctrl | $1 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| BIT_INFO | 0 | port->rs485.flags | 0x0,0xfffffffe |
| NOSPEC | 0 | port->cons->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons->cflag | s32min-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] |
| USER_DATA | 0 | port->mctrl | 0[c] |
| USER_DATA | 0 | port->rs485.addr_dest | 0-255 |
| USER_DATA | 0 | port->rs485.addr_recv | 0-255 |
| USER_DATA | 0 | port->rs485.delay_rts_after_send | 0-u32max |
| USER_DATA | 0 | port->rs485.delay_rts_before_send | 0-u32max |
| USER_DATA | 0 | port->rs485.flags | 0-u32max[c] |
| USER_DATA | 1 | mctrl | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &tport->mutex | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/8250/8250_omap.c __omap8250_set_mctrl() -> serial8250_do_set_mctrl()
| 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->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->send_xchar | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->set_ldisc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->throttle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->unthrottle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial_in | 0,4096-ptr_max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->dev | (-1),1616 |
| BUF_SIZE | 0 | port->name | (-1)-s32max |
| BUF_SIZE | 0 | port->ops | (-1),216 |
| BUF_SIZE | 0 | port->private_data | (-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | mctrl | $1 |
| 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-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 |
| HOST_DATA | 0 | port->frame_time | 1-8,23-u32max[c] |
| USER_DATA | 0 | port->cons->index | 0-3[c] |
| USER_DATA | 0 | port->frame_time | 1-u32max[c] |
| USER_DATA | 0 | port->mctrl | 0-u32max[c] |
| USER_DATA | 0 | port->rs485.addr_dest | 0-255 |
| USER_DATA | 0 | port->rs485.addr_recv | 0-255 |
| USER_DATA | 0 | port->rs485.delay_rts_after_send | 0-u32max |
| USER_DATA | 0 | port->rs485.delay_rts_before_send | 0-u32max |
| USER_DATA | 0 | port->rs485.flags | 0-u32max[c] |
| USER_DATA | 1 | mctrl | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/8250/8250_ni.c ni16550_set_mctrl() -> serial8250_do_set_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,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->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->send_xchar | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->set_ldisc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->throttle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->unthrottle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->set_mctrl | 1-u64max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->dev | (-1),1616 |
| BUF_SIZE | 0 | port->name | (-1)-s32max |
| BUF_SIZE | 0 | port->ops | (-1),216 |
| BUF_SIZE | 0 | port->private_data | (-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| CAPPED_DATA | 0 | port->cons | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | mctrl | $1 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| BIT_INFO | 0 | port->rs485.flags | 0x0,0xfffffffe |
| NOSPEC | 0 | port->cons->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons->cflag | s32min-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 |
| HOST_DATA | 0 | port->frame_time | 1-8,23-u32max[c] |
| USER_DATA | 0 | port->cons->index | 0-3[c] |
| USER_DATA | 0 | port->frame_time | 1-u32max[c] |
| USER_DATA | 0 | port->mctrl | 0-u32max[c] |
| USER_DATA | 0 | port->rs485.addr_dest | 0-255 |
| USER_DATA | 0 | port->rs485.addr_recv | 0-255 |
| USER_DATA | 0 | port->rs485.delay_rts_after_send | 0-u32max |
| USER_DATA | 0 | port->rs485.delay_rts_before_send | 0-u32max |
| USER_DATA | 0 | port->rs485.flags | 0-u32max[c] |
| USER_DATA | 1 | mctrl | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &tport->mutex | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/8250/8250_port.c serial8250_set_mctrl() -> serial8250_do_set_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,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->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 | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->set_mctrl | 0 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->name | (-1)-s32max |
| BUF_SIZE | 0 | port->ops | (-1),216 |
| BUF_SIZE | 0 | port->private_data | (-1),1-s32max |
| BUF_SIZE | 0 | port->tty_groups | (-1),24 |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| CAPPED_DATA | 0 | port->cons | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | mctrl | $1 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| BIT_INFO | 0 | port->rs485.flags | 0x0,0xfffffffe |
| 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 |
| HOST_DATA | 0 | port->frame_time | 1-8,23-u32max[c] |
| USER_DATA | 0 | port->cons->index | 0-3[c] |
| USER_DATA | 0 | port->frame_time | 1-u32max[c] |
| USER_DATA | 0 | port->mctrl | 0-u32max[c] |
| USER_DATA | 0 | port->rs485.addr_dest | 0-255 |
| USER_DATA | 0 | port->rs485.addr_recv | 0-255 |
| USER_DATA | 0 | port->rs485.delay_rts_after_send | 0-u32max |
| USER_DATA | 0 | port->rs485.delay_rts_before_send | 0-u32max |
| USER_DATA | 0 | port->rs485.flags | 0-u32max[c] |
| USER_DATA | 1 | mctrl | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| NO_OVERFLOW_SIMPLE | 0 | port->mapbase | |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &tport->mutex | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/8250/8250_pci1xxxx.c pci1xxxx_set_mctrl() -> serial8250_do_set_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 6701026853346709504 |
| PARAM_VALUE | 0 | port->attr_group | 0 |
| PARAM_VALUE | 0 | port->break_ctl | 0 |
| PARAM_VALUE | 0 | port->cons | 0 |
| PARAM_VALUE | 0 | port->console_reinit | 0 |
| PARAM_VALUE | 0 | port->ctrl_id | 0 |
| PARAM_VALUE | 0 | port->custom_divisor | 0 |
| PARAM_VALUE | 0 | port->dev | 0,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->flags | 0,134217792,553648128 |
| PARAM_VALUE | 0 | port->frame_time | 0 |
| PARAM_VALUE | 0 | port->get_divisor | 0,148825675949084672 |
| PARAM_VALUE | 0 | port->get_mctrl | 0 |
| PARAM_VALUE | 0 | port->get_rxtrig | 0 |
| PARAM_VALUE | 0 | port->handle_break | 0 |
| PARAM_VALUE | 0 | port->handle_irq | 0,1576525378913931264 |
| PARAM_VALUE | 0 | port->has_sysrq | 0 |
| PARAM_VALUE | 0 | port->hub6 | 0 |
| PARAM_VALUE | 0 | port->hw_stopped | 0 |
| PARAM_VALUE | 0 | port->icount | 0 |
| PARAM_VALUE | 0 | port->ignore_status_mask | 0 |
| PARAM_VALUE | 0 | port->iotype | 0,2 |
| PARAM_VALUE | 0 | port->irqflags | 0 |
| PARAM_VALUE | 0 | port->iso7816 | 0 |
| PARAM_VALUE | 0 | port->iso7816_config | 0 |
| PARAM_VALUE | 0 | port->line | 0 |
| PARAM_VALUE | 0 | port->lock | 0 |
| PARAM_VALUE | 0 | port->mapsize | 0 |
| PARAM_VALUE | 0 | port->mctrl | 0 |
| PARAM_VALUE | 0 | port->minor | 0 |
| PARAM_VALUE | 0 | port->name | 0 |
| PARAM_VALUE | 0 | port->ops | 0 |
| PARAM_VALUE | 0 | port->ops->poll_get_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->poll_put_char | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->send_xchar | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->set_ldisc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->throttle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->unthrottle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->pm | 0 |
| PARAM_VALUE | 0 | port->port_dev | 0 |
| PARAM_VALUE | 0 | port->port_id | 0-s32max |
| PARAM_VALUE | 0 | port->private_data | 0 |
| PARAM_VALUE | 0 | port->quirks | 0 |
| PARAM_VALUE | 0 | port->read_status_mask | 0 |
| PARAM_VALUE | 0 | port->regshift | 0,2,4,7 |
| PARAM_VALUE | 0 | port->rs485 | 0 |
| PARAM_VALUE | 0 | port->rs485_rx_during_tx_gpio | 0 |
| PARAM_VALUE | 0 | port->rs485_supported | 0 |
| PARAM_VALUE | 0 | port->rs485_term_gpio | 0 |
| PARAM_VALUE | 0 | port->serial_in | 0 |
| PARAM_VALUE | 0 | port->serial_out | 0 |
| PARAM_VALUE | 0 | port->set_divisor | 0,5309791276861206528 |
| PARAM_VALUE | 0 | port->set_ldisc | 0 |
| PARAM_VALUE | 0 | port->set_mctrl | 0,4398445927171010560 |
| PARAM_VALUE | 0 | port->set_rxtrig | 0 |
| PARAM_VALUE | 0 | port->set_termios | 0,5185648927043977216 |
| PARAM_VALUE | 0 | port->shutdown | 0 |
| PARAM_VALUE | 0 | port->startup | 0 |
| PARAM_VALUE | 0 | port->state | 0 |
| PARAM_VALUE | 0 | port->status | 0 |
| PARAM_VALUE | 0 | port->suspended | 0 |
| PARAM_VALUE | 0 | port->sysrq | 0 |
| PARAM_VALUE | 0 | port->sysrq_ch | 0 |
| PARAM_VALUE | 0 | port->sysrq_seq | 0 |
| PARAM_VALUE | 0 | port->throttle | 0 |
| PARAM_VALUE | 0 | port->tty_groups | 0 |
| PARAM_VALUE | 0 | port->type | 0,100 |
| PARAM_VALUE | 0 | port->uartclk | 0,64000000 |
| PARAM_VALUE | 0 | port->unthrottle | 0 |
| PARAM_VALUE | 0 | port->x_char | 0 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port->dev | (-1),1616 |
| BUF_SIZE | 0 | port->name | (-1)-s32max |
| BUF_SIZE | 0 | port->ops | (-1),216 |
| BUF_SIZE | 0 | port->private_data | (-1),1-s32max |
| BUF_SIZE | 0 | port->uartclk | (-1),9 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | mctrl | $1 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port | (-1),7 |
| STR_LEN | 0 | port->cons | (-1) |
| BIT_INFO | 0 | port->rs485.flags | 0x0,0xfffffffe |
| NOSPEC | 0 | port->cons->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons->cflag | s32min-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] |
| USER_DATA | 0 | port->mctrl | 0[c] |
| USER_DATA | 0 | port->rs485.addr_dest | 0-255 |
| USER_DATA | 0 | port->rs485.addr_recv | 0-255 |
| USER_DATA | 0 | port->rs485.delay_rts_after_send | 0-u32max |
| USER_DATA | 0 | port->rs485.delay_rts_before_send | 0-u32max |
| USER_DATA | 0 | port->rs485.flags | 0-u32max[c] |
| USER_DATA | 1 | mctrl | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &tport->mutex | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/tty/serial/8250/8250_mtk.c mtk8250_shutdown() -> serial8250_do_set_mctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | mctrl | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &port->lock |