Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/fsi/fsi-core.c, line 193
- 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 8 |
| PARAM_VALUE | 2 | val | 2507275404544081920 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom_dev->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c __put_scom() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | val | 273844893753565184 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom_dev->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c __put_scom() -> fsi_device_write()
| 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 | 273844893753565184 |
| 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 8 |
| PARAM_VALUE | 2 | val | 273844893753565184 |
| 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 handle_fsi2pib_status() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 0 | dev->slave->t_echo_delay | 0-255 |
| PARAM_VALUE | 0 | dev->slave->t_send_delay | 0-255 |
| PARAM_VALUE | 1 | addr | 24 |
| PARAM_VALUE | 2 | val | 6131993307012100096 |
| PARAM_VALUE | 2 | *val | 4294967295 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| NOCHECK_CALL | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c handle_pib_status() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 0 | dev->slave->t_echo_delay | 0-255 |
| PARAM_VALUE | 0 | dev->slave->t_send_delay | 0-255 |
| PARAM_VALUE | 1 | addr | 24 |
| PARAM_VALUE | 2 | val | 517206157411930112 |
| PARAM_VALUE | 2 | *val | 4294967295 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| NOCHECK_CALL | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c scom_reset() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 28 |
| PARAM_VALUE | 2 | val | 7974616587644870656 |
| PARAM_VALUE | 2 | *val | 4294967295 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-scom.c scom_reset() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 24 |
| PARAM_VALUE | 2 | val | 7974616587644870656 |
| PARAM_VALUE | 2 | *val | 4294967295 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &scom->lock | ||
| TYPE_LOCK | (struct scom_device)->lock |
drivers/fsi/fsi-sbefifo.c sbefifo_regw() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 8,12,64,84 |
| PARAM_VALUE | 2 | val | 4470884205633462272 |
| PARAM_VALUE | 2 | *val | 0-1,16 |
| 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-sbefifo.c sbefifo_up_write() -> fsi_device_write()
| 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 | 0 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 0 | dev->size | 1 |
| CAPPED_DATA | 0 | dev->slave->size | 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-master-hub.c hub_master_init() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 208 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 1006632960 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
drivers/fsi/fsi-master-hub.c hub_master_init() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 208 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 1006632960 |
| 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 736 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 49152 |
| 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_write()
| 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 | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 3489923344 |
| 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_write()
| 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 | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 4294901760 |
| 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_write()
| 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 | 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 32 |
| 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 208 |
| 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_init() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 464 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 2147483648 |
| 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 464 |
| PARAM_VALUE | 2 | val | 2503100757573414912 |
| PARAM_VALUE | 2 | *val | 1073741824 |
| 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_link_enable() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 32-268435484 |
| PARAM_VALUE | 2 | val | 5986997802457726976 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 1 | addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &master->scan_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct fsi_master)->scan_lock |
drivers/fsi/fsi-master-hub.c hub_master_link_enable() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 24-268435476 |
| PARAM_VALUE | 2 | val | 5986997802457726976 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| CAPPED_DATA | 1 | addr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &master->scan_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct fsi_master)->scan_lock |
drivers/spi/spi-fsi.c fsi_spi_read_reg() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 8 |
| PARAM_VALUE | 2 | val | 5938511568470421504 |
| 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_write_reg() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | val | 4583448966161272832 |
| 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_write_reg() -> fsi_device_write()
| 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 | 4583448966161272832 |
| 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_write_reg() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->size | 1-u32max |
| PARAM_VALUE | 1 | addr | 8 |
| PARAM_VALUE | 2 | val | 5035673779731898368 |
| 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_write_fifo() -> fsi_device_write()
| 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,18446744073709551357-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_write_reg() -> fsi_device_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4,8,12,16,28,32,36,40,44,48,52 |
| PARAM_VALUE | 2 | val | 6560679005610446848 |
| PARAM_VALUE | 3 | size | 4 |
| BUF_SIZE | 2 | val | 4 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| HARD_MAX | 1 | addr | 52 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &ctrl->lock |