Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/serial/sccnxp.c sccnxp_handle_tx() -> sccnxp_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->driver_data->imr | 0-255 |
| PARAM_VALUE | 0 | port->state | 4096-ptr_max |
| PARAM_VALUE | 0 | port->x_char | 0 |
| PARAM_VALUE | 1 | sig | 24 |
| PARAM_VALUE | 2 | state | 0 |
| DATA_SOURCE | 0 | port | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &s->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct sccnxp_port)->lock |
drivers/tty/serial/sccnxp.c sccnxp_probe() -> sccnxp_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->fifosize | 3,16,256 |
| PARAM_VALUE | 0 | port->flags | 134217792 |
| PARAM_VALUE | 0 | port->has_sysrq | 1 |
| PARAM_VALUE | 0 | port->iotype | 2 |
| PARAM_VALUE | 0 | port->irq | 0-s32max |
| PARAM_VALUE | 0 | port->line | 0-s32max |
| PARAM_VALUE | 0 | port->membase | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 9182566138503426048 |
| PARAM_VALUE | 0 | port->regshift | 0 |
| PARAM_VALUE | 0 | port->type | 82 |
| PARAM_VALUE | 0 | port->uartclk | 100000-50000000 |
| PARAM_VALUE | 1 | sig | 24 |
| PARAM_VALUE | 2 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/serial/sccnxp.c sccnxp_set_mctrl() -> sccnxp_set_bit()
| 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 | 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->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sig | 0 |
| PARAM_VALUE | 2 | state | 0,2 |
| 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 |
| CAPPED_DATA | 0 | port->cons | 1 |
| DATA_SOURCE | 0 | port | $0 |
| BIT_INFO | 2 | state | 0x0,0x2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | 2 | state | 2[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| NO_OVERFLOW_SIMPLE | 0 | port->mapbase | |
| LOCK2 | &s->lock | ||
| LOCK2 | flags | ||
| 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 | |
| TYPE_LOCK | (struct sccnxp_port)->lock |
drivers/tty/serial/sccnxp.c sccnxp_set_mctrl() -> sccnxp_set_bit()
| 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 | 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->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sig | 4 |
| PARAM_VALUE | 2 | state | 0,4 |
| 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 |
| CAPPED_DATA | 0 | port->cons | 1 |
| DATA_SOURCE | 0 | port | $0 |
| BIT_INFO | 2 | state | 0x0,0x4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | 2 | state | 4[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->iobase | |
| NO_OVERFLOW_SIMPLE | 0 | port->mapbase | |
| LOCK2 | &s->lock | ||
| LOCK2 | flags | ||
| 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 | |
| TYPE_LOCK | (struct sccnxp_port)->lock |
drivers/tty/serial/sccnxp.c sccnxp_shutdown() -> sccnxp_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev->driver_data->imr | 0-255 |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | sig | 24 |
| PARAM_VALUE | 2 | state | 0 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | port | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &s->lock | ||
| LOCK2 | _T->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &port->lock | |
| TYPE_LOCK | (struct sccnxp_port)->lock |
drivers/tty/serial/sccnxp.c sccnxp_start_tx() -> sccnxp_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->send_xchar | 0,625199656327569408,6317227003971317760 |
| PARAM_VALUE | 0 | port->ops->start_rx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sig | 24 |
| PARAM_VALUE | 2 | state | 1 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | port | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->cons_flow | 0-1 |
| HOST_DATA | 0 | port->console_reinit | 0-255 |
| HOST_DATA | 0 | port->ctrl_id | 0-u32max |
| HOST_DATA | 0 | port->custom_divisor | 0-u32max |
| HOST_DATA | 0 | port->fifosize | 0-u32max |
| HOST_DATA | 0 | port->flags | 0-u64max |
| HOST_DATA | 0 | port->frame_time | 0-u32max |
| HOST_DATA | 0 | port->has_sysrq | 0-255 |
| HOST_DATA | 0 | port->hub6 | 0-255 |
| HOST_DATA | 0 | port->icount.brk | 0-u32max |
| HOST_DATA | 0 | port->icount.buf_overrun | 0-u32max |
| HOST_DATA | 0 | port->icount.cts | 0-u32max |
| HOST_DATA | 0 | port->icount.dcd | 0-u32max |
| HOST_DATA | 0 | port->icount.dsr | 0-u32max |
| HOST_DATA | 0 | port->icount.frame | 0-u32max |
| HOST_DATA | 0 | port->icount.overrun | 0-u32max |
| HOST_DATA | 0 | port->icount.parity | 0-u32max |
| HOST_DATA | 0 | port->icount.rng | 0-u32max |
| HOST_DATA | 0 | port->icount.rx | 0-u32max |
| HOST_DATA | 0 | port->icount.tx | 0-u32max |
| HOST_DATA | 0 | port->ignore_status_mask | 0-u32max |
| HOST_DATA | 0 | port->iobase | 0-u64max |
| HOST_DATA | 0 | port->iotype | s32min-s32max |
| HOST_DATA | 0 | port->irq | 0-u32max |
| HOST_DATA | 0 | port->irqflags | 0-u64max |
| HOST_DATA | 0 | port->iso7816.clk | 0-u32max |
| HOST_DATA | 0 | port->iso7816.flags | 0-u32max |
| HOST_DATA | 0 | port->iso7816.sc_di | 0-u32max |
| HOST_DATA | 0 | port->iso7816.sc_fi | 0-u32max |
| HOST_DATA | 0 | port->iso7816.tg | 0-u32max |
| HOST_DATA | 0 | port->line | 0-u32max |
| HOST_DATA | 0 | port->mapbase | 0-u64max |
| HOST_DATA | 0 | port->mapsize | 0-u64max |
| HOST_DATA | 0 | port->mctrl | 0-u32max |
| HOST_DATA | 0 | port->minor | 0-u32max |
| HOST_DATA | 0 | port->port_id | 0-u32max |
| HOST_DATA | 0 | port->quirks | 0-255 |
| HOST_DATA | 0 | port->read_status_mask | 0-u32max |
| HOST_DATA | 0 | port->regshift | 0-255 |
| HOST_DATA | 0 | port->rs485.addr_dest | 0-255 |
| HOST_DATA | 0 | port->rs485.addr_recv | 0-255 |
| HOST_DATA | 0 | port->rs485.delay_rts_after_send | 0-u32max |
| HOST_DATA | 0 | port->rs485.delay_rts_before_send | 0-u32max |
| HOST_DATA | 0 | port->rs485.flags | 0-u32max |
| HOST_DATA | 0 | port->rs485_supported.addr_dest | 0-255 |
| HOST_DATA | 0 | port->rs485_supported.addr_recv | 0-255 |
| HOST_DATA | 0 | port->rs485_supported.delay_rts_after_send | 0-u32max |
| HOST_DATA | 0 | port->rs485_supported.delay_rts_before_send | 0-u32max |
| HOST_DATA | 0 | port->rs485_supported.flags | 0-u32max |
| HOST_DATA | 0 | port->status | 0-u32max |
| HOST_DATA | 0 | port->suspended | 0-255 |
| HOST_DATA | 0 | port->sysrq | 0-u64max |
| HOST_DATA | 0 | port->sysrq_ch | 0-255 |
| HOST_DATA | 0 | port->sysrq_seq | 0-255 |
| HOST_DATA | 0 | port->type | 0-u32max |
| HOST_DATA | 0 | port->uartclk | 0-u32max |
| HOST_DATA | 0 | port->x_char | 0-255 |
| LOCK2 | &s->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock | |
| TYPE_LOCK | (struct sccnxp_port)->lock |