Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpio/gpio-dln2.c
- drivers/i2c/busses/i2c-dln2.c
- drivers/iio/adc/dln2-adc.c
- drivers/spi/spi-dln2.c
Smatch caller information:
drivers/spi/spi-dln2.c dln2_spi_cs_enable() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 568 |
| PARAM_VALUE | 2 | obuf | 2736038095825444864 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/spi/spi-dln2.c dln2_spi_cs_set() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 550 |
| PARAM_VALUE | 2 | obuf | 7035122843715330048 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &host->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-dln2.c dln2_spi_enable() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 529-530 |
| PARAM_VALUE | 2 | obuf | 8298199948417290240 |
| PARAM_VALUE | 3 | obuf_len | 1-2 |
| BUF_SIZE | 2 | obuf | 2 |
| FUZZY_MAX | 1 | cmd | 530 |
| FUZZY_MAX | 3 | obuf_len | 2 |
| BIT_INFO | 1 | cmd | 0x210,0x213 |
| HARD_MAX | 1 | cmd | 530 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &host->io_mutex |
drivers/spi/spi-dln2.c dln2_spi_set_bpw() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->active_transfers | s32min-s32max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->disconnect | 0 |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->disconnect_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->usb_dev->bus->sysdev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->usb_dev->state | 4-4294967295 |
| PARAM_VALUE | 0 | pdev->dev.platform_data | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 534 |
| PARAM_VALUE | 2 | obuf | 3225688010960392192 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-dln2.c dln2_spi_set_mode() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->active_transfers | s32min-s32max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->disconnect | 0 |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->disconnect_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->usb_dev->bus->sysdev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data->usb_dev->state | 4-4294967295 |
| PARAM_VALUE | 0 | pdev->dev.platform_data | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 532 |
| PARAM_VALUE | 2 | obuf | 6017095450674958336 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-dln2.c dln2_spi_write_one() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 540 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 4-260 |
| BUF_SIZE | 2 | obuf | 272 |
| CAPPED_DATA | 3 | obuf_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/i2c/busses/i2c-dln2.c dln2_i2c_enable() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 769-770 |
| PARAM_VALUE | 2 | obuf | 7572054905423986688 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| FUZZY_MAX | 1 | cmd | 770 |
| BIT_INFO | 1 | cmd | 0x300,0x303 |
| HARD_MAX | 1 | cmd | 770 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/i2c/busses/i2c-dln2.c dln2_i2c_write() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 774 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 9-65544 |
| BUF_SIZE | 2 | obuf | 272 |
| UNITS | 3 | obuf_len | unit_byte |
drivers/gpio/gpio-dln2.c dln2_gpio_pin_cmd() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 272-273 |
| PARAM_VALUE | 2 | obuf | 4946418453335052288 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/gpio/gpio-dln2.c dln2_gpio_pin_set_out_val() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 268 |
| PARAM_VALUE | 2 | obuf | 4713778860375060480 |
| PARAM_VALUE | 3 | obuf_len | 3 |
| BUF_SIZE | 2 | obuf | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/gpio/gpio-dln2.c dln2_gpio_set_config() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 260 |
| PARAM_VALUE | 2 | obuf | 9094046906066239488 |
| PARAM_VALUE | 2 | *obuf | 0-16777215 |
| PARAM_VALUE | 3 | obuf_len | 4 |
| BUF_SIZE | 2 | obuf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/gpio/gpio-dln2.c dln2_gpio_set_direction() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 275 |
| PARAM_VALUE | 2 | obuf | 1656466804438835200 |
| PARAM_VALUE | 3 | obuf_len | 3 |
| BUF_SIZE | 2 | obuf | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/gpio/gpio-dln2.c dln2_gpio_set_event_cfg() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 286 |
| PARAM_VALUE | 2 | obuf | 8758508784124231680 |
| PARAM_VALUE | 3 | obuf_len | 5 |
| BUF_SIZE | 2 | obuf | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/iio/adc/dln2-adc.c dln2_adc_set_chan_enabled() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1541-1542 |
| PARAM_VALUE | 2 | obuf | 2619109094495068160 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| FUZZY_MAX | 1 | cmd | 1542 |
| BIT_INFO | 1 | cmd | 0x604,0x607 |
| HARD_MAX | 1 | cmd | 1542 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &dln2->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct dln2_adc)->mutex |
drivers/iio/adc/dln2-adc.c dln2_adc_set_chan_period() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1548 |
| PARAM_VALUE | 2 | obuf | 2137054530942504960 |
| PARAM_VALUE | 3 | obuf_len | 9 |
| BUF_SIZE | 2 | obuf | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &dln2->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct dln2_adc)->mutex |
drivers/iio/adc/dln2-adc.c dln2_adc_set_port_resolution() -> dln2_transfer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 1544 |
| PARAM_VALUE | 2 | obuf | 586062311411052544 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| BUF_SIZE | 2 | obuf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |