Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpio/gpio-dln2.c
- drivers/i2c/busses/i2c-dln2.c, line 126
- drivers/iio/adc/dln2-adc.c
- drivers/mfd/dln2.c, line 528
- drivers/spi/spi-dln2.c
- include/linux/mfd/dln2.h
Smatch caller information:
drivers/spi/spi-dln2.c dln2_spi_get_cs_num() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_data | 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_lock.rlock.dep_map->name | 0-255 |
| 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 | 580 |
| PARAM_VALUE | 2 | obuf | 5318474333685170176 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| PARAM_VALUE | 4 | ibuf | 6058265546833686528 |
| PARAM_VALUE | 5 | ibuf_len | 7197346625934360576 |
| PARAM_VALUE | 5 | *ibuf_len | 2 |
| BUF_SIZE | 4 | ibuf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/spi/spi-dln2.c dln2_spi_get_speed() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_data | 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_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdev->dev.platform_data | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 581-582 |
| PARAM_VALUE | 2 | obuf | 5977303785335812096 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| PARAM_VALUE | 4 | ibuf | 6135317389209661440 |
| PARAM_VALUE | 5 | ibuf_len | 1486288264454275072 |
| PARAM_VALUE | 5 | *ibuf_len | 4 |
| BUF_SIZE | 4 | ibuf | 4 |
| DATA_SOURCE | 1 | cmd | $1 |
| HARD_MAX | 1 | cmd | 582 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/spi/spi-dln2.c dln2_spi_get_supported_frame_sizes() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_data | 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_lock.rlock.dep_map->name | 0-255 |
| 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 | 579 |
| PARAM_VALUE | 2 | obuf | 8643555583311974400 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| PARAM_VALUE | 4 | ibuf | 1-u64max |
| PARAM_VALUE | 5 | ibuf_len | 4944153245920960512 |
| PARAM_VALUE | 5 | *ibuf_len | 37 |
| BUF_SIZE | 4 | ibuf | 272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/spi/spi-dln2.c dln2_spi_read_one() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 539 |
| PARAM_VALUE | 2 | obuf | 8878896133473554432 |
| PARAM_VALUE | 3 | obuf_len | 4 |
| PARAM_VALUE | 5 | ibuf_len | 2387623152332398592 |
| PARAM_VALUE | 5 | *ibuf_len | 258 |
| BUF_SIZE | 2 | obuf | 4 |
| BUF_SIZE | 4 | ibuf | 272 |
| 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_read_write_one() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 538 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 4-260 |
| PARAM_VALUE | 4 | ibuf | 4096-ptr_max |
| PARAM_VALUE | 5 | ibuf_len | 8043021292442583040 |
| PARAM_VALUE | 5 | *ibuf_len | 258 |
| BUF_SIZE | 2 | obuf | 272 |
| BUF_SIZE | 4 | ibuf | 272 |
| CAPPED_DATA | 3 | obuf_len | 1 |
| PARAM_COMPARE | 2 | obuf | == $4 |
| PARAM_COMPARE | 4 | ibuf | == $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_speed() -> dln2_transfer()
| 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_lock.rlock.dep_map->name | 0-255 |
| 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 | 536 |
| PARAM_VALUE | 2 | obuf | 5222932085100388352 |
| PARAM_VALUE | 3 | obuf_len | 5 |
| PARAM_VALUE | 4 | ibuf | 2086586086772318208 |
| PARAM_VALUE | 5 | ibuf_len | 1737253755651977216 |
| PARAM_VALUE | 5 | *ibuf_len | 4 |
| BUF_SIZE | 2 | obuf | 5 |
| BUF_SIZE | 4 | ibuf | 4 |
| 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_transfer_tx() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 529-530,532,534,540,550,568 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 1-2,4-260 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 2,272 |
| BUF_SIZE | 2 | obuf | 2,272 |
| CAPPED_DATA | 3 | obuf_len | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | obuf | $2 |
| DATA_SOURCE | 3 | obuf_len | $3 |
| FUZZY_MAX | 1 | cmd | 530 |
| FUZZY_MAX | 3 | obuf_len | 2 |
| BIT_INFO | 1 | cmd | 0x200,0x23f |
| HARD_MAX | 1 | cmd | 568 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| HALF_LOCKED2 | &host->io_mutex |
drivers/i2c/busses/i2c-dln2.c dln2_i2c_read() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 775 |
| PARAM_VALUE | 2 | obuf | 361787787291131904 |
| PARAM_VALUE | 3 | obuf_len | 9 |
| PARAM_VALUE | 5 | ibuf_len | 6555650441255825408 |
| PARAM_VALUE | 5 | *ibuf_len | 258 |
| BUF_SIZE | 2 | obuf | 9 |
| BUF_SIZE | 4 | ibuf | 272 |
| UNITS | 3 | obuf_len | unit_byte |
drivers/i2c/busses/i2c-dln2.c dln2_transfer_tx() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 769-770,774 |
| PARAM_VALUE | 2 | obuf | 4096-ptr_max |
| PARAM_VALUE | 3 | obuf_len | 1,9-65544 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | (-1),272 |
| BUF_SIZE | 2 | obuf | (-1),272 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | obuf | $2 |
| DATA_SOURCE | 3 | obuf_len | $3 |
| FUZZY_MAX | 1 | cmd | 770 |
| BIT_INFO | 1 | cmd | 0x300,0x307 |
| HARD_MAX | 1 | cmd | 774 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/gpio/gpio-dln2.c dln2_gpio_pin_val() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 267,269 |
| PARAM_VALUE | 2 | obuf | 8835218692253081600 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| PARAM_VALUE | 4 | ibuf | 4184975855833808896 |
| PARAM_VALUE | 5 | ibuf_len | 779368705731411968 |
| PARAM_VALUE | 5 | *ibuf_len | 3 |
| BUF_SIZE | 2 | obuf | 2 |
| BUF_SIZE | 4 | ibuf | 3 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/gpio/gpio-dln2.c dln2_gpio_request() -> dln2_transfer()
| 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_lock.rlock.dep_map->name | 0-255 |
| 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 | 276 |
| PARAM_VALUE | 2 | obuf | 4984841992607363072 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| PARAM_VALUE | 4 | ibuf | 5121815538193412096 |
| PARAM_VALUE | 5 | ibuf_len | 3469105562862997504 |
| PARAM_VALUE | 5 | *ibuf_len | 3 |
| BUF_SIZE | 2 | obuf | 2 |
| BUF_SIZE | 4 | ibuf | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/gpio/gpio-dln2.c dln2_transfer_rx() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 257 |
| PARAM_VALUE | 2 | obuf | 0 |
| PARAM_VALUE | 3 | obuf_len | 0 |
| PARAM_VALUE | 4 | ibuf | 461644978522681344 |
| PARAM_VALUE | 5 | ibuf_len | 7451667590788513792 |
| PARAM_VALUE | 5 | *ibuf_len | 2 |
| BUF_SIZE | 4 | ibuf | 2 |
| BUF_SIZE | 4 | ibuf | 2 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 4 | ibuf | $2 |
| DATA_SOURCE | 5 | ibuf_len | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-dln2.c dln2_transfer_tx() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 260,268,272-273,275,286 |
| PARAM_VALUE | 2 | obuf | 1656466804438835200,4713778860375060480,4946418453335052288,8758508784124231680,9094046906066239488 |
| PARAM_VALUE | 3 | obuf_len | 2-5 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 2-5 |
| BUF_SIZE | 2 | obuf | 2-5 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | obuf | $2 |
| DATA_SOURCE | 3 | obuf_len | $3 |
| HARD_MAX | 3 | obuf_len | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/iio/adc/dln2-adc.c dln2_adc_get_chan_count() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 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_lock.rlock.dep_map->name | 0-255 |
| 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 | 1537 |
| PARAM_VALUE | 2 | obuf | 5726444751264935936 |
| PARAM_VALUE | 2 | *obuf | 0-255 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| PARAM_VALUE | 4 | ibuf | 1116385417169141760 |
| PARAM_VALUE | 5 | ibuf_len | 4124706781906300928 |
| PARAM_VALUE | 5 | *ibuf_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
drivers/iio/adc/dln2-adc.c dln2_adc_read() -> dln2_transfer()
| 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_lock.rlock.dep_map->name | 0-255 |
| 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 | 1546 |
| PARAM_VALUE | 2 | obuf | 1403242326445105152 |
| PARAM_VALUE | 3 | obuf_len | 2 |
| PARAM_VALUE | 4 | ibuf | 426335231594381312 |
| PARAM_VALUE | 5 | ibuf_len | 2218044929901522944 |
| PARAM_VALUE | 5 | *ibuf_len | 2-258 |
| BUF_SIZE | 2 | obuf | 2 |
| BUF_SIZE | 4 | ibuf | 2 |
| 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_read_all() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1547 |
| PARAM_VALUE | 2 | obuf | 6179393806775656448 |
| PARAM_VALUE | 2 | *obuf | 0-255 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| PARAM_VALUE | 4 | ibuf | 8069619989389959168 |
| PARAM_VALUE | 5 | ibuf_len | 9123790549091868672 |
| PARAM_VALUE | 5 | *ibuf_len | 18 |
| DATA_SOURCE | 4 | ibuf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| LOCK2 | &dln2->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dln2_adc)->mutex |
drivers/iio/adc/dln2-adc.c dln2_adc_set_port_enabled() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1538-1539 |
| PARAM_VALUE | 2 | obuf | 406261216143273984 |
| PARAM_VALUE | 2 | *obuf | 0-255 |
| PARAM_VALUE | 3 | obuf_len | 1 |
| PARAM_VALUE | 4 | ibuf | 4633050205755265024 |
| PARAM_VALUE | 5 | ibuf_len | 609531426291159040 |
| PARAM_VALUE | 5 | *ibuf_len | 2 |
| BUF_SIZE | 4 | ibuf | 2 |
| FUZZY_MAX | 1 | cmd | 1539 |
| BIT_INFO | 1 | cmd | 0x602,0x603 |
| HARD_MAX | 1 | cmd | 1539 |
| 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_transfer_tx() -> dln2_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 1541-1542,1544,1548 |
| PARAM_VALUE | 2 | obuf | 586062311411052544,2137054530942504960,2619109094495068160 |
| PARAM_VALUE | 3 | obuf_len | 2,9 |
| PARAM_VALUE | 4 | ibuf | 0 |
| PARAM_VALUE | 5 | ibuf_len | 0 |
| BUF_SIZE | 2 | obuf | 2,9 |
| BUF_SIZE | 2 | obuf | 2,9 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | obuf | $2 |
| DATA_SOURCE | 3 | obuf_len | $3 |
| FUZZY_MAX | 1 | cmd | 1542 |
| BIT_INFO | 1 | cmd | 0x600,0x60f |
| HARD_MAX | 1 | cmd | 1548 |
| HARD_MAX | 3 | obuf_len | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | obuf_len | unit_byte |
| HALF_LOCKED2 | &dln2->mutex |