Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/fsi/fsi-core.c, line 183
- drivers/fsi/fsi-master-hub.c
- drivers/fsi/fsi-sbefifo.c
- drivers/fsi/fsi-scom.c
- drivers/i2c/busses/i2c-fsi.c
- drivers/spi/spi-fsi.c
Smatch caller information:
drivers/fsi/fsi-scom.c __get_scom() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 28 |
| PARAM_VALUE | 2 | val | 263689537127550976 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom_dev->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c __get_scom() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | val | 2507275404544081920 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom_dev->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c __get_scom() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 4 |
| PARAM_VALUE | 2 | val | 2507275404544081920 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom_dev->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c __put_scom() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 28 |
| PARAM_VALUE | 2 | val | 8026998269982257152 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom_dev->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-sbefifo.c sbefifo_down_read() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 0 | dev->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->slave->id | 0 |
| PARAM_VALUE | 0 | dev->slave->t_echo_delay | 0-255 |
| PARAM_VALUE | 0 | dev->slave->t_send_delay | 0-255 |
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | val | 5966768845704744960 |
| PARAM_VALUE | 3 | size | 4 |
| CAPPED_DATA | 0 | dev->slave->size | 1 |
| DATA_SOURCE | 2 | val | $1 |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &sbefifo->lock | ||
| HALF_LOCKED2 | &occ->occ_lock | ||
| HALF_LOCKED2 | &user->file_lock | ||
| TYPE_LOCK | (struct sbefifo)->lock |
drivers/fsi/fsi-sbefifo.c sbefifo_regr() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4,68 |
| PARAM_VALUE | 2 | val | 1826396026345848832 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| DATA_SOURCE | 1 | addr | $1 |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &sbefifo->lock | ||
| HALF_LOCKED2 | &user->file_lock | ||
| TYPE_LOCK | (struct sbefifo)->lock |
drivers/fsi/fsi-master-hub.c hub_master_init() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 112 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 4294967295 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
drivers/fsi/fsi-master-hub.c hub_master_init() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 24 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 805306368 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
drivers/fsi/fsi-master-hub.c hub_master_probe() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 116 |
| PARAM_VALUE | 2 | val | 6961363236139474944 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
drivers/spi/spi-fsi.c fsi_spi_check_status() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 0 | dev->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->slave->id | s32min-s32max |
| PARAM_VALUE | 0 | dev->slave->t_echo_delay | 0-255 |
| PARAM_VALUE | 0 | dev->slave->t_send_delay | 0-255 |
| PARAM_VALUE | 1 | addr | 28 |
| PARAM_VALUE | 2 | val | 7357107489684910080 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &bridge->lock | ||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct fsi2spi)->lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-fsi.c fsi_spi_read_reg() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | val | 8270824873944776704 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &bridge->lock | ||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct fsi2spi)->lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-fsi.c fsi_spi_read_reg() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 4 |
| PARAM_VALUE | 2 | val | 8270824873944776704 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &bridge->lock | ||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct fsi2spi)->lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/i2c/busses/i2c-fsi.c fsi_i2c_read_fifo() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| PARAM_VALUE | 2 | *val | 0-255 |
| PARAM_VALUE | 3 | size | 1-2,4,18446744073709486077-u64max |
| CAPPED_DATA | 3 | size | 1 |
| HOST_DATA | 3 | size | 1-2,4,18446744073709551580-u64max[c] |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &ctrl->lock | ||
| TYPE_LOCK | (struct fsi_i2c_ctrl)->lock |
drivers/i2c/busses/i2c-fsi.c fsi_i2c_read_fifo() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | val | 9005612964963692544 |
| PARAM_VALUE | 3 | size | 1-2,4,18446744073709486077-u64max |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 3 | size | 1 |
| HOST_DATA | 3 | size | 1-2,4,18446744073709551580-u64max[c] |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &ctrl->lock | ||
| TYPE_LOCK | (struct fsi_i2c_ctrl)->lock |
drivers/i2c/busses/i2c-fsi.c fsi_i2c_read_reg() -> fsi_device_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 8,28,32 |
| PARAM_VALUE | 2 | val | 3574583960199974912 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| HARD_MAX | 1 | addr | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &ctrl->lock |