Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/platform/chrome/cros_ec_proto.c cros_ec_cmd_xfer() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ec_dev->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ec_dev->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ec_dev->proto_version 0
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev->dev (-1),1616
BUF_SIZE 0 ec_dev->ec (-1),1688
BUF_SIZE 0 ec_dev->pd (-1),1688
BUF_SIZE 0 ec_dev->phys_name s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ec_dev->priv (-1),32,48,152,200,800
CAPPED_DATA 0 &ec_dev->lock 1
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ec_dev->event_size
NO_OVERFLOW_SIMPLE 0 ec_dev->event_size->msg.outsize
NO_OVERFLOW_SIMPLE 0 ec_dev->irq
UNITS 0 ec_dev unit_byte
LOCK2 0 &ec_dev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct cros_ec_device)->lock

drivers/platform/chrome/cros_ec.c cros_ec_ready_event() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ec_dev->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ec_dev->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &ec_dev->lock 1
NOCHECK_CALL
LOCK2 0 &ec_dev->lock
TYPE_LOCK (struct cros_ec_device)->lock

drivers/platform/chrome/cros_ec.c cros_ec_register() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->cmd_xfer 0,3032014875863977984,7445685880939843584,7613030489632694272,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_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,3085969460950216704,3089999660068601856,8052624657669505024,8664887773882155008,8826154117102714880
PARAM_VALUE 0 ec_dev->priv 4096-ptr_max
PARAM_VALUE 0 ec_dev->proto_version 3
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 s32min,(-10),1-s32max
BUF_SIZE 0 ec_dev->priv (-1),32,48,152,200,800
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ec_dev->irq

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_default_wake_mask_return0() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_event_wake_mask u32max
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_default_wake_mask_return_error() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_event_wake_mask u32max
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_legacy_data_error() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_legacy_normal_v3_return0() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_legacy_normal_v3_return_error() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_legacy_return0() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_legacy_return_error() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_legacy_xfer_error() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_host_sleep() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_sleep_v1 1
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_host_sleep_return0() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_sleep_v1 1
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_mkbp() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->mkbp_event_supported 191
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_mkbp_return0() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->mkbp_event_supported 191
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_mkbp_return_error() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->mkbp_event_supported 191
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_pd_return0() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->max_passthru 191
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_no_pd_return_error() -> cros_ec_query_all()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->max_passthru 191
BUF_SIZE 0 ec_dev 704

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_query_all_normal() -> cros_ec_query_all()

Type Parameter Key Value
BUF_SIZE 0 ec_dev 704