Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/tty/serial/8250/8250_omap.c, line 1013 (as a function)
- drivers/tty/serial/8250/8250_omap.c, line 1348 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/tty/serial/8250/8250_omap.c __dma_rx_complete() -> omap_8250_rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rx_running | 0 |
| PARAM_VALUE | 0 | p->dma->rxchan | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->device_tx_status | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port->membase | 0-255 |
| PARAM_VALUE | 0 | p->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->port.private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->port.serial_out | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.state->port.buf.tail | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.state->port.buf.tail->next->size | 0,256-u32max |
| PARAM_VALUE | 0 | p->port.state->port.buf.tail->size | 0,256-u32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| BIT_INFO | 0 | p->ier | 0x5,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | 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_omap.c am654_8250_handle_rx_dma() -> omap_8250_rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ier | 1-255 |
| DATA_SOURCE | 0 | p | $0 |
| BIT_INFO | 0 | p->ier | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_omap.c handle_rx_dma() -> omap_8250_rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_omap.c omap8250_runtime_resume() -> omap_8250_rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan | 1-u64max |
| PARAM_VALUE | 0 | p->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->port.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->port.serial_in | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r serial8250_get_port |
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &p->port.lock | |
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_omap.c omap_8250_handle_rx_dma() -> omap_8250_rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lsr_saved_flags | 0 |
| PARAM_VALUE | 0 | p->port.private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.private_data->rx_dma_broken | 0-1 |
| PARAM_VALUE | 0 | p->port.private_data->rx_dma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->port.state | 4096-ptr_max |
| DATA_SOURCE | 0 | p | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | p->port.sysrq_ch | 1-255 |
| LOCK2 | &port->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_dma.c dma_rx_complete() -> (struct uart_8250_dma)->rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rx_running | 0 |
| PARAM_VALUE | 0 | p->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->port.serial_in | 4096-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| CONTAINER | 0 | -8-800+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &p->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_startup() -> (struct uart_8250_dma)->rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->fn | 1-u64max |
| PARAM_VALUE | 0 | p->dma->rx_buf | 0-ptr_max |
| PARAM_VALUE | 0 | p->dma->rx_size | 1-u64max |
| PARAM_VALUE | 0 | p->dma->rxchan | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | p->dma->rxchan->device->dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | p->dma->rxchan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | p->dma->rxchan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | p->dma->rxchan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->dma->rxconf.direction | 2 |
| PARAM_VALUE | 0 | p->dma->rxconf.peripheral_config | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->rxconf.peripheral_size | 0,12 |
| PARAM_VALUE | 0 | p->dma->rxconf.src_addr_width | 1 |
| PARAM_VALUE | 0 | p->dma->tx_addr | 0-18446744073709551614 |
| PARAM_VALUE | 0 | p->dma->txchan | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->txchan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->txchan->device->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->dma->txchan->device->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->txchan->device->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->txchan->device->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->txchan->device->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | p->dma->txchan->device->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | p->dma->txchan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | p->dma->txchan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | p->dma->txchan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->dma->txconf.direction | 1 |
| PARAM_VALUE | 0 | p->dma->txconf.dst_addr_width | 1 |
| PARAM_VALUE | 0 | p->dma->txconf.peripheral_config | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma->txconf.peripheral_size | 0,12 |
| PARAM_VALUE | 0 | p->ier | 5 |
| PARAM_VALUE | 0 | p->lsr_saved_flags | 0 |
| PARAM_VALUE | 0 | p->msr_saved_flags | 0 |
| PARAM_VALUE | 0 | p->port->membase | 0-255 |
| PARAM_VALUE | 0 | p->port.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->port.private_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->port.serial_out | 4096-ptr_max |
| BUF_SIZE | 0 | p->dma | 288 |
| CAPPED_DATA | 0 | p->port.state->port.xmit_buf | 1 |
| DATA_SOURCE | 0 | p | r up_to_u8250p |
| CONTAINER | 0 | -8-800+0 | $(-1) |
| BIT_INFO | 0 | p | 0x6921d7315ea39000,0xffffffffffffffff |
| BIT_INFO | 0 | p | 0x6921d7315ea39000,0xffffffffffffffff |
| BIT_INFO | 0 | p->capabilities | 0x8000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->lock | ||
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_omap.c omap_8250_unthrottle() -> (struct uart_8250_dma)->rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | p->port.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | p->port.dev->power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | p | r up_to_u8250p |
| CONTAINER | 0 | -8-800+0 | $(-1) |
| BIT_INFO | 0 | p | 0x6921d7315ea39000,0xffffffffffffffff |
| BIT_INFO | 0 | p | 0x6921d7315ea39000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->lock |
drivers/tty/serial/8250/8250_port.c handle_rx_dma() -> (struct uart_8250_dma)->rx_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | p->port.serial_in | 4096-ptr_max |
| DATA_SOURCE | 0 | p | $0 |
| CONTAINER | 0 | -8-800+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | _T->flags |