Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpio/gpio-ljca.c
- drivers/i2c/busses/i2c-ljca.c
- drivers/spi/spi-ljca.c
- drivers/usb/misc/usb-ljca.c, line 385
Smatch caller information:
drivers/i2c/busses/i2c-ljca.c ljca_i2c_init() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 3 | obuf_len | 4 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 0 |
| BIT_INFO | 2 | obuf | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/i2c/busses/i2c-ljca.c ljca_i2c_pure_read() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->actual_length | 0-255 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | client->adapter->disconnect | 0-1 |
| PARAM_VALUE | 0 | client->adapter->ex_buf | 0-s64max |
| PARAM_VALUE | 0 | client->adapter->ex_buf_len | 0-255 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.request | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.request_pending | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->cmd | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->flags | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->len | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->type | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf_len | 0-255 |
| PARAM_VALUE | 0 | *client->adapter->ex_buf | 0-255 |
| PARAM_VALUE | 1 | cmd | 5 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 4 |
| PARAM_VALUE | 5 | ibuf_len | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| UNITS | 3 | obuf_len | unit_byte |
drivers/i2c/busses/i2c-ljca.c ljca_i2c_pure_write() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->actual_length | 0-255 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | client->adapter->disconnect | 0-1 |
| PARAM_VALUE | 0 | client->adapter->ex_buf | 0-s64max |
| PARAM_VALUE | 0 | client->adapter->ex_buf_len | 0-255 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.request | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.request_pending | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->cmd | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->flags | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->len | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->type | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf_len | 0-255 |
| PARAM_VALUE | 0 | *client->adapter->ex_buf | 0-255 |
| PARAM_VALUE | 1 | cmd | 6 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 5 | ibuf_len | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
drivers/i2c/busses/i2c-ljca.c ljca_i2c_start() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client->adapter->actual_length | 0-255 |
| PARAM_VALUE | 0 | client->adapter->disconnect | 0-1 |
| PARAM_VALUE | 0 | client->adapter->ex_buf | 0-s64max |
| PARAM_VALUE | 0 | client->adapter->ex_buf_len | 0-255 |
| PARAM_VALUE | 0 | client->adapter->tx_buf_len | 0-255 |
| PARAM_VALUE | 1 | cmd | 3 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 4 |
| PARAM_VALUE | 5 | ibuf_len | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| UNITS | 3 | obuf_len | unit_byte |
drivers/i2c/busses/i2c-ljca.c ljca_i2c_stop() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->actual_length | 0-255 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->cmd_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | client->adapter->disconnect | 0-1 |
| PARAM_VALUE | 0 | client->adapter->ex_buf | 0-s64max |
| PARAM_VALUE | 0 | client->adapter->ex_buf_len | 0-255 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.request | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.request_pending | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->adapter->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->cmd | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->flags | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->len | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf->type | 0 |
| PARAM_VALUE | 0 | client->adapter->tx_buf_len | 0-255 |
| PARAM_VALUE | 0 | *client->adapter->ex_buf | 0-255 |
| PARAM_VALUE | 1 | cmd | 4 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 4 |
| PARAM_VALUE | 5 | ibuf_len | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| UNITS | 3 | obuf_len | unit_byte |
drivers/spi/spi-ljca.c ljca_spi_deinit() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 5 |
| PARAM_VALUE | 2 | obuf | 2370758321194921984 |
| PARAM_VALUE | 3 | obuf_len | 3 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/spi/spi-ljca.c ljca_spi_init() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 2 | obuf | 5046015654499512320 |
| PARAM_VALUE | 3 | obuf_len | 3 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &controller->io_mutex | ||
| HALF_LOCKED2 | &controller->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-ljca.c ljca_spi_read_write() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client->adapter->actual_length | 0-255 |
| PARAM_VALUE | 0 | client->adapter->disconnect | 0-1 |
| PARAM_VALUE | 0 | client->adapter->ex_buf | 0-s64max |
| PARAM_VALUE | 0 | client->adapter->ex_buf_len | 0-255 |
| PARAM_VALUE | 0 | client->adapter->tx_buf_len | 0-255 |
| PARAM_VALUE | 1 | cmd | 2-4 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 3-60 |
| PARAM_VALUE | 5 | ibuf_len | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| CAPPED_DATA | 0 | client->adapter->tx_buf_len | 1 |
| CAPPED_DATA | 2 | obuf->len | 1 |
| DATA_SOURCE | 1 | cmd | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &controller->io_mutex | ||
| HALF_LOCKED2 | &controller->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/gpio/gpio-ljca.c ljca_enable_irq() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client->adapter->actual_length | 0-255 |
| PARAM_VALUE | 0 | client->adapter->disconnect | 0-1 |
| PARAM_VALUE | 0 | client->adapter->ex_buf | 0-s64max |
| PARAM_VALUE | 0 | client->adapter->ex_buf_len | 0-255 |
| PARAM_VALUE | 0 | client->adapter->tx_buf_len | 0-255 |
| PARAM_VALUE | 1 | cmd | 5-6 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 3 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| FUZZY_MAX | 1 | cmd | 6 |
| BIT_INFO | 1 | cmd | 0x4,0x7 |
| HARD_MAX | 1 | cmd | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ljca_gpio->trans_lock | ||
| TYPE_LOCK | (struct ljca_gpio_dev)->trans_lock |
drivers/gpio/gpio-ljca.c ljca_gpio_config() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 3 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ljca_gpio->trans_lock | ||
| TYPE_LOCK | (struct ljca_gpio_dev)->trans_lock |
drivers/gpio/gpio-ljca.c ljca_gpio_read() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 2 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 3 |
| PARAM_VALUE | 5 | ibuf_len | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 4 | ibuf | 60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ljca_gpio->trans_lock | ||
| TYPE_LOCK | (struct ljca_gpio_dev)->trans_lock |
drivers/gpio/gpio-ljca.c ljca_gpio_write() -> ljca_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 3 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 3 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 60 |
| BUF_SIZE | 2 | obuf | 60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ljca_gpio->trans_lock | ||
| TYPE_LOCK | (struct ljca_gpio_dev)->trans_lock |