Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/platform/chrome/cros_ec.c, line 335
- drivers/platform/chrome/cros_ec_i2c.c, line 306
- drivers/platform/chrome/cros_ec_ishtp.c, line 558
- drivers/platform/chrome/cros_ec_lpc.c, line 663
- drivers/platform/chrome/cros_ec_rpmsg.c, line 242
- drivers/platform/chrome/cros_ec_spi.c, line 772
- drivers/platform/chrome/cros_ec_uart.c, line 300
Smatch caller information:
drivers/platform/chrome/cros_ec_uart.c cros_ec_uart_probe() -> cros_ec_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->cmd_xfer | 0 |
| PARAM_VALUE | 0 | ec_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->din | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->din_size | 52 |
| PARAM_VALUE | 0 | ec_dev->dout | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->dout_size | 16 |
| PARAM_VALUE | 0 | ec_dev->irq | 0-s32max |
| PARAM_VALUE | 0 | ec_dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lockdep_key.hash_entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 4 |
| PARAM_VALUE | 0 | ec_dev->max_response | 12 |
| PARAM_VALUE | 0 | ec_dev->pkt_xfer | 3089999660068601856 |
| PARAM_VALUE | 0 | ec_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->suspend_timeout_ms | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
| BUF_SIZE | 0 | ec_dev->dev | 1616 |
| BUF_SIZE | 0 | ec_dev->phys_name | 1-s32max |
| BUF_SIZE | 0 | ec_dev->priv | 152 |
| DATA_SOURCE | 0 | ec_dev | r cros_ec_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_probe() -> cros_ec_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->cmd_readmem | 8937906233487441920 |
| PARAM_VALUE | 0 | ec_dev->cmd_xfer | 8241043043917668352 |
| PARAM_VALUE | 0 | ec_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->din | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->din_size | 52 |
| PARAM_VALUE | 0 | ec_dev->dout | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->dout_size | 16 |
| PARAM_VALUE | 0 | ec_dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lockdep_key.hash_entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 4 |
| PARAM_VALUE | 0 | ec_dev->max_response | 12 |
| PARAM_VALUE | 0 | ec_dev->pkt_xfer | 8052624657669505024 |
| PARAM_VALUE | 0 | ec_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->suspend_timeout_ms | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
| BUF_SIZE | 0 | ec_dev->dev | 1616 |
| BUF_SIZE | 0 | ec_dev->phys_name | 1-s32max |
| BUF_SIZE | 0 | ec_dev->priv | 48 |
| DATA_SOURCE | 0 | ec_dev | r cros_ec_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_rpmsg.c cros_ec_rpmsg_probe() -> cros_ec_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->cmd_xfer | 7613030489632694272 |
| PARAM_VALUE | 0 | ec_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->din | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->din_size | 52 |
| PARAM_VALUE | 0 | ec_dev->dout | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->dout_size | 16 |
| PARAM_VALUE | 0 | ec_dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lockdep_key.hash_entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 4 |
| PARAM_VALUE | 0 | ec_dev->max_response | 12 |
| PARAM_VALUE | 0 | ec_dev->pkt_xfer | 8664887773882155008 |
| PARAM_VALUE | 0 | ec_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->suspend_timeout_ms | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
| BUF_SIZE | 0 | ec_dev->dev | 1616 |
| BUF_SIZE | 0 | ec_dev->phys_name | 1-s32max |
| BUF_SIZE | 0 | ec_dev->priv | 200 |
| DATA_SOURCE | 0 | ec_dev | r cros_ec_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_spi.c cros_ec_spi_probe() -> cros_ec_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->cmd_xfer | 3032014875863977984 |
| PARAM_VALUE | 0 | ec_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->din | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->din_size | 52 |
| PARAM_VALUE | 0 | ec_dev->dout | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->dout_size | 16 |
| PARAM_VALUE | 0 | ec_dev->irq | 0-s32max |
| PARAM_VALUE | 0 | ec_dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lockdep_key.hash_entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 4 |
| PARAM_VALUE | 0 | ec_dev->max_response | 12 |
| PARAM_VALUE | 0 | ec_dev->pkt_xfer | 3085969460950216704 |
| PARAM_VALUE | 0 | ec_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->suspend_timeout_ms | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
| BUF_SIZE | 0 | ec_dev->dev | 1616 |
| BUF_SIZE | 0 | ec_dev->phys_name | 1-s32max |
| BUF_SIZE | 0 | ec_dev->priv | 32 |
| DATA_SOURCE | 0 | ec_dev | r cros_ec_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_ishtp.c cros_ec_dev_init() -> cros_ec_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->cmd_xfer | 0 |
| PARAM_VALUE | 0 | ec_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->din | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->din_size | 52 |
| PARAM_VALUE | 0 | ec_dev->dout | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->dout_size | 16 |
| PARAM_VALUE | 0 | ec_dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lockdep_key.hash_entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 4 |
| PARAM_VALUE | 0 | ec_dev->max_response | 12 |
| PARAM_VALUE | 0 | ec_dev->pkt_xfer | 2952685917283229696 |
| PARAM_VALUE | 0 | ec_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->suspend_timeout_ms | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
| BUF_SIZE | 0 | ec_dev->dev | 1616 |
| BUF_SIZE | 0 | ec_dev->phys_name | 1-s32max |
| BUF_SIZE | 0 | ec_dev->priv | 800 |
| DATA_SOURCE | 0 | ec_dev | r cros_ec_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_i2c.c cros_ec_i2c_probe() -> cros_ec_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->cmd_xfer | 7445685880939843584 |
| PARAM_VALUE | 0 | ec_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->din | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->din_size | 52 |
| PARAM_VALUE | 0 | ec_dev->dout | 1-u64max |
| PARAM_VALUE | 0 | ec_dev->dout_size | 16 |
| PARAM_VALUE | 0 | ec_dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ec_dev->lockdep_key.hash_entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 4 |
| PARAM_VALUE | 0 | ec_dev->max_response | 12 |
| PARAM_VALUE | 0 | ec_dev->pkt_xfer | 8826154117102714880 |
| PARAM_VALUE | 0 | ec_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->suspend_timeout_ms | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
| BUF_SIZE | 0 | ec_dev->dev | 1616 |
| BUF_SIZE | 0 | ec_dev->phys_name | 48 |
| CAPPED_DATA | 0 | ec_dev->irq | 1 |
| DATA_SOURCE | 0 | ec_dev | r cros_ec_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ec_dev->irq |