Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/tty/serial/8250/8250_dma.c __dma_tx_complete() -> serial8250_set_THRI()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->dma 4096-ptr_max
PARAM_VALUE 0 up->dma->tx_running 0-1
PARAM_VALUE 0 up->dma->txchan 4096-ptr_max
PARAM_VALUE 0 up->dma->txchan->device 4096-ptr_max
PARAM_VALUE 0 up->dma->txchan->device->dev->flags 4096-ptr_max
PARAM_VALUE 0 up->port.cons 0,4096-ptr_max
PARAM_VALUE 0 up->port.hw_stopped 0
PARAM_VALUE 0 up->port.private_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 up->port.x_char 0
BUF_SIZE 0 up s32min-(-2),1-s32max
BUF_SIZE 0 up s32min-(-2),1-s32max
DATA_SOURCE 0 up $0
FUZZY_MAX 0 up->dma->tx_running 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 up unit_byte
LOCK2 flags
LOCK2 0 &up->port.lock
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
TYPE_LOCK (struct uart_port)->lock

drivers/tty/serial/8250/8250_omap.c omap_8250_dma_tx_complete() -> serial8250_set_THRI()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->dma 4096-ptr_max
PARAM_VALUE 0 up->dma->tx_err 1
PARAM_VALUE 0 up->dma->tx_running 0
PARAM_VALUE 0 up->dma->txchan 4096-ptr_max
PARAM_VALUE 0 up->dma->txchan->device 4096-ptr_max
PARAM_VALUE 0 up->dma->txchan->device->dev->flags 4096-ptr_max
PARAM_VALUE 0 up->port.cons 0,4096-ptr_max
PARAM_VALUE 0 up->port.private_data 4096-ptr_max
BUF_SIZE 0 up s32min-(-2),1-s32max
BUF_SIZE 0 up s32min-(-2),1-s32max
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 up unit_byte
LOCK2 &_T->lock->lock
LOCK2 _T->flags
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/8250/8250_port.c __start_tx() -> serial8250_set_THRI()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->dma 0,4096-ptr_max
PARAM_VALUE 0 up->dma->tx_err 1
PARAM_VALUE 0 up->dma->tx_running 0
DATA_SOURCE 0 up r up_to_u8250p
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 _T->flags
HALF_LOCKED2 irq