Documented in 1 files:
Defined in 6 files as a member:
- drivers/net/can/m_can/m_can.h, line 68 (as a member)
- drivers/staging/greybus/uart.c, line 63 (as a member)
- drivers/usb/musb/musb_core.h, line 176 (as a member)
- drivers/usb/musb/musb_io.h, line 33 (as a member)
- drivers/usb/serial/cypress_m8.c, line 96 (as a member)
- include/linux/usb/serial.h, line 95 (as a member)
Defined in 7 files as a function:
- drivers/spi/spi-synquacer.c, line 184 (as a function)
- drivers/usb/gadget/udc/at91_udc.c, line 386 (as a function)
- drivers/usb/gadget/udc/goku_udc.c, line 349 (as a function)
- drivers/usb/gadget/udc/net2280.c, line 608 (as a function)
- drivers/usb/gadget/udc/omap_udc.c, line 356 (as a function)
- drivers/usb/gadget/udc/pxa25x_udc.c, line 580 (as a function)
- drivers/usb/gadget/udc/pxa27x_udc.c, line 903 (as a function)
Referenced in 28 files:
- drivers/net/can/m_can/m_can.c
- drivers/net/can/m_can/m_can_pci.c, line 83
- drivers/net/can/m_can/m_can_platform.c, line 74
- drivers/net/can/m_can/tcan4x5x-core.c, line 405
- drivers/spi/spi-synquacer.c
- drivers/staging/greybus/uart.c
- drivers/usb/gadget/udc/at91_udc.c
- drivers/usb/gadget/udc/goku_udc.c
- drivers/usb/gadget/udc/net2280.c
- drivers/usb/gadget/udc/omap_udc.c
- drivers/usb/gadget/udc/pxa25x_udc.c
- drivers/usb/gadget/udc/pxa27x_udc.c, line 2069
- drivers/usb/musb/musb_core.c
- drivers/usb/musb/tusb6010.c, line 1201
- drivers/usb/serial/aircable.c, line 78
- drivers/usb/serial/cypress_m8.c
- drivers/usb/serial/f81534.c
- drivers/usb/serial/ftdi_sio.c
- drivers/usb/serial/generic.c
- drivers/usb/serial/io_ti.c
- drivers/usb/serial/keyspan_pda.c
- drivers/usb/serial/kl5kusb105.c, line 331
- drivers/usb/serial/mxuport.c, line 196
- drivers/usb/serial/omninet.c, line 161
- drivers/usb/serial/oti6858.c
- drivers/usb/serial/safe_serial.c, line 232
- drivers/usb/serial/ti_usb_3410_5052.c
- drivers/usb/serial/usb-serial.c
Smatch caller information:
drivers/usb/gadget/udc/pxa27x_udc.c handle_ep() -> write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sspi | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->dev | 4274940279759441920 |
| PARAM_VALUE | 0 | sspi->fifo_size | 16,64,256 |
| PARAM_VALUE | 0 | sspi->idx | 0-14 |
| PARAM_VALUE | 0 | sspi->in_handle_ep | 1 |
| PARAM_VALUE | 0 | sspi->type | 0-3 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | &sspi->queue | 1 |
| DATA_SOURCE | 0 | sspi | $0 |
| PARAM_COMPARE | 0 | &sspi->queue | != $0->queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sspi->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct pxa_ep)->lock |
drivers/usb/gadget/udc/net2280.c handle_ep_small() -> write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sspi | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->dev->protocol_stall | 0 |
| PARAM_VALUE | 0 | sspi->is_in | 1 |
| PARAM_VALUE | 0 | sspi->num | 0 |
| PARAM_VALUE | 0 | sspi->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->responded | 1 |
| PARAM_VALUE | 0 | sspi->stopped | 0 |
| PARAM_VALUE | 1 | req | 0 |
| CAPPED_DATA | 0 | &sspi->queue | 1 |
| DATA_SOURCE | 0 | sspi | $0 |
| PARAM_COMPARE | 0 | &sspi->queue | == $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct net2280)->lock |
drivers/usb/gadget/udc/net2280.c handle_ep_small() -> write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sspi | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->dma | 0 |
| PARAM_VALUE | 0 | sspi->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->stopped | 0 |
| PARAM_VALUE | 1 | req | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &sspi->queue | 1 |
| DATA_SOURCE | 0 | sspi | $0 |
| PARAM_COMPARE | 0 | &sspi->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct net2280)->lock |
drivers/usb/gadget/udc/net2280.c net2280_queue() -> write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sspi | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->dev->driver | 1-u64max |
| PARAM_VALUE | 0 | sspi->dev->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | sspi->dma | 0 |
| PARAM_VALUE | 0 | sspi->is_in | 1 |
| PARAM_VALUE | 0 | sspi->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->stopped | 0 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->actual | 0 |
| PARAM_VALUE | 1 | req->buf | 1-u64max |
| PARAM_VALUE | 1 | req->complete | 1-u64max |
| PARAM_VALUE | 1 | req->length | 0-16777215 |
| PARAM_VALUE | 1 | req->status | (-115) |
| BUF_SIZE | 1 | req | s32min,(-1)-s32max |
| BUF_SIZE | 1 | req | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | &sspi->queue | 1 |
| DATA_SOURCE | 1 | req | $1 |
| PARAM_COMPARE | 0 | &sspi->queue | == $0->queue.next |
| NOSPEC | 1 | req->length | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | req->frame_number | 0-16383[c] |
| HOST_DATA | 1 | req->length | 0-16777215[c] |
| HOST_DATA | 1 | req->zero | 0-1 |
| USER_DATA | 1 | req->length | 0-16777215 |
| USER_DATA | 1 | req->zero | 0-1[c] |
| USER_DATA | 1 | *req->buf | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | req->dma | |
| NO_OVERFLOW_SIMPLE | 1 | req->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | req->status | |
| USER_PTR | 1 | req->buf | |
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->lock_printer_io | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &hidg->get_report_spinlock | ||
| HALF_LOCKED2 | &midi->transmit_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &usb9pfs->lock | ||
| HALF_LOCKED2 | &video->req_lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct net2280)->lock |
drivers/spi/spi-synquacer.c sq_spi_tx_handler() -> write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sspi | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->tx_words | 1-u32max |
| DATA_SOURCE | 0 | sspi | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/spi/spi-synquacer.c synquacer_spi_transfer_one() -> write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sspi | 4096-ptr_max |
| PARAM_VALUE | 0 | sspi->bpw | 8,16,24,32 |
| PARAM_VALUE | 0 | sspi->bus_width | 0-15 |
| PARAM_VALUE | 0 | sspi->cs | 0-255 |
| PARAM_VALUE | 0 | sspi->mode | 0-4294967295 |
| PARAM_VALUE | 0 | sspi->speed | 0-4294967295 |
| PARAM_VALUE | 0 | sspi->transfer_done.done | 0 |
| PARAM_VALUE | 0 | sspi->transfer_mode | 2,4 |
| PARAM_VALUE | 0 | sspi->tx_buf | 1-u64max |
| BUF_SIZE | 0 | sspi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sspi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sspi->rx_buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sspi->tx_buf | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sspi | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |