Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/chrome/cros_ec_lpc.c cros_ec_cmd_xfer_lpc() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->read | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 512 |
| PARAM_VALUE | 2 | length | 1 |
| PARAM_VALUE | 3 | dest | 5283473060782321664 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *dest | 0-255 |
| USER_PTR | 3 | dest | |
| HALF_LOCKED2 | &ec->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_cmd_xfer_lpc() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->read | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2048 |
| PARAM_VALUE | 2 | length | 4 |
| PARAM_VALUE | 3 | dest | 7689504250088513536 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 3 | dest | 4 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *dest | 0-255 |
| USER_PTR | 3 | dest | |
| HALF_LOCKED2 | &ec->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_cmd_xfer_lpc() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->read | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2052 |
| PARAM_VALUE | 2 | length | 0-252 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 3 | dest | (-1),13-u16max |
| CAPPED_DATA | 2 | length | 1 |
| FUZZY_MAX | 2 | length | 252 |
| CONTAINER | 0 | -32+0 | $(-1) |
| HARD_MAX | 2 | length | 252 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *dest | 0-255 |
| USER_PTR | 3 | dest | |
| HALF_LOCKED2 | &ec->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_probe() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->mem32.address_length | 0 |
| PARAM_VALUE | 0 | ec_lpc->read | 6115743491453304832,6615331015828881408 |
| PARAM_VALUE | 0 | ec_lpc->write | 1080428710910005248,7182399153817313280 |
| PARAM_VALUE | 1 | offset | 2336 |
| PARAM_VALUE | 2 | length | 2 |
| PARAM_VALUE | 3 | dest | 429985923300917248 |
| BUF_SIZE | 0 | ec_lpc | 48 |
| BUF_SIZE | 3 | dest | 2 |
| DATA_SOURCE | 0 | ec_lpc | r devm_kzalloc |
| CONTAINER | 0 | -32+0 | $(-1) |
| BIT_INFO | 0 | ec_lpc->read | 0x50ce6000001a4000,0x5fdf7ccfef7bc000 |
| BIT_INFO | 0 | ec_lpc->write | 0x2ac003026488000,0x6fff75f9fefcf000 |
| MEM_ZERO | 0 | ec_lpc | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_probe() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->mem32.address_length | 0 |
| PARAM_VALUE | 0 | ec_lpc->read | 8647220548120850432 |
| PARAM_VALUE | 0 | ec_lpc->write | 1621202179558277120 |
| PARAM_VALUE | 1 | offset | 32-65567 |
| PARAM_VALUE | 2 | length | 2 |
| PARAM_VALUE | 3 | dest | 429985923300917248 |
| BUF_SIZE | 0 | ec_lpc | 48 |
| BUF_SIZE | 3 | dest | 2 |
| DATA_SOURCE | 0 | ec_lpc | r devm_kzalloc |
| CONTAINER | 0 | -32+0 | $(-1) |
| MEM_ZERO | 0 | ec_lpc | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_readmem() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 1-255 |
| BUF_SIZE | 0 | ec_lpc | 32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | 32,48,152,200,800 |
| BUF_SIZE | 3 | dest | (-1),2,255 |
| BUF_SIZE | 3 | dest | (-1),2,255 |
| DATA_SOURCE | 2 | length | $2 |
| DATA_SOURCE | 3 | dest | $3 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | 0-65789[c] |
| USER_DATA | 2 | length | 1-255 |
| USER_DATA | 3 | *dest | 0-255 |
| USER_PTR | 3 | dest | |
| HALF_LOCKED2 | _T->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_readmem() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 1 |
| BUF_SIZE | 0 | ec_lpc | 32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | 32,48,152,200,800 |
| BUF_SIZE | 3 | dest | (-1),2,255 |
| BUF_SIZE | 3 | dest | (-1),2,255 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| USER_DATA | 1 | offset | 0-65789[c] |
| USER_DATA | 3 | *dest | 0-255 |
| USER_PTR | 3 | dest | |
| LOCK2 | _T->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_pkt_xfer_lpc() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->read | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 512 |
| PARAM_VALUE | 2 | length | 1 |
| PARAM_VALUE | 3 | dest | 4870155615423660032 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ec->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_pkt_xfer_lpc() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->read | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2048 |
| PARAM_VALUE | 2 | length | 8 |
| PARAM_VALUE | 3 | dest | 6757641537064505344 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 3 | dest | 8 |
| BUF_SIZE | 3 | dest | 8 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ec->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_pkt_xfer_lpc() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_lpc->read | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2056 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 0 | ec_lpc | (-1),32,48,152,200,800 |
| BUF_SIZE | 3 | dest | (-1),13-u16max |
| CAPPED_DATA | 2 | length | 1 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *dest | 0-255 |
| USER_PTR | 3 | dest | |
| HALF_LOCKED2 | &ec->lock |
drivers/platform/chrome/cros_ec_lpc.c ec_response_timed_out() -> (struct cros_ec_lpc)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_lpc | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 516 |
| PARAM_VALUE | 2 | length | 1 |
| PARAM_VALUE | 3 | dest | 644895342200901632 |
| BUF_SIZE | 0 | ec_lpc | (-1),4,24,32,48,64,152,168-s32max |
| BUF_SIZE | 0 | ec_lpc | (-1),4,24,32,48,64,152,168-s32max |
| DATA_SOURCE | 0 | ec_lpc | $0 |
| CONTAINER | 0 | -32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ec->lock |