Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/platform/chrome/cros_ec.c
- drivers/platform/chrome/cros_ec_lpc.c, line 465
- drivers/platform/chrome/cros_ec_proto.c, line 916
- drivers/platform/chrome/cros_ec_proto_test.c
Smatch caller information:
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_acpi_notify() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | wake_event | 0 |
| PARAM_VALUE | 2 | has_more_events | 4344009954405232640 |
| BUF_SIZE | 0 | ec_dev | 16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| BUF_SIZE | 0 | ec_dev | 16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| DATA_SOURCE | 0 | ec_dev | $2 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_ec.c cros_ec_handle_event() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | wake_event | 7889909862146400256 |
| PARAM_VALUE | 2 | has_more_events | 9083023979987918848 |
| BUF_SIZE | 0 | ec_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ec_dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ec_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/platform/chrome/cros_ec.c cros_ec_report_events_during_suspend() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->dout->hdr.channel | 1 |
| PARAM_VALUE | 0 | ec_dev->dout->hdr.status | 0 |
| PARAM_VALUE | 0 | ec_dev->dout->token | 0-255 |
| PARAM_VALUE | 0 | ec_dev->last_resume_result | 0 |
| 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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 1-255 |
| PARAM_VALUE | 0 | ec_dev->priv->high_pri_worker->lock.owner | (-1) |
| PARAM_VALUE | 0 | ec_dev->priv->high_pri_worker->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | wake_event | 3600812690531209216 |
| PARAM_VALUE | 2 | has_more_events | 0 |
| BUF_SIZE | 0 | ec_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ec_dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ec_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ec_dev | unit_byte |
drivers/platform/chrome/cros_ec.c cros_ec_report_events_during_suspend() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->dout->hdr.channel | 1 |
| PARAM_VALUE | 0 | ec_dev->dout->hdr.status | 0 |
| PARAM_VALUE | 0 | ec_dev->dout->token | 0-255 |
| PARAM_VALUE | 0 | ec_dev->event_data.event_type | 0-127 |
| PARAM_VALUE | 0 | ec_dev->last_resume_result | 0 |
| 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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ec_dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ec_dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 1-255 |
| PARAM_VALUE | 0 | ec_dev->priv->high_pri_worker->lock.owner | (-1) |
| PARAM_VALUE | 0 | ec_dev->priv->high_pri_worker->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ec_dev->suspended | 0 |
| PARAM_VALUE | 1 | wake_event | 3600812690531209216 |
| PARAM_VALUE | 2 | has_more_events | 0 |
| BUF_SIZE | 0 | ec_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ec_dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ec_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ec_dev | unit_byte |
drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_get_next_event_mkbp_event_ec_suspended() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 1 |
| PARAM_VALUE | 0 | ec_dev->suspended | 1 |
| PARAM_VALUE | 1 | wake_event | 0 |
| PARAM_VALUE | 2 | has_more_events | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_get_next_event_mkbp_event_host_event_masked() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->host_event_wake_mask | 4294967279 |
| PARAM_VALUE | 0 | ec_dev->max_request | 255 |
| PARAM_VALUE | 0 | ec_dev->max_response | 238 |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 3 |
| PARAM_VALUE | 1 | wake_event | 6434249200129843200 |
| PARAM_VALUE | 1 | *wake_event | 1 |
| PARAM_VALUE | 2 | has_more_events | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_get_next_event_mkbp_event_host_event_rtc() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->host_event_wake_mask | u32max |
| PARAM_VALUE | 0 | ec_dev->max_request | 255 |
| PARAM_VALUE | 0 | ec_dev->max_response | 238 |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 3 |
| PARAM_VALUE | 1 | wake_event | 5740369690948681728 |
| PARAM_VALUE | 1 | *wake_event | 1 |
| PARAM_VALUE | 2 | has_more_events | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_get_next_event_mkbp_event_version0() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 255 |
| PARAM_VALUE | 0 | ec_dev->max_response | 238 |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 1 |
| PARAM_VALUE | 1 | wake_event | 7433518824351948800 |
| PARAM_VALUE | 1 | *wake_event | 1 |
| PARAM_VALUE | 2 | has_more_events | 9019608376101875712 |
| PARAM_VALUE | 2 | *has_more_events | 0 |
| BUF_SIZE | 0 | ec_dev | 704 |
drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_get_next_event_mkbp_event_version2() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 255 |
| PARAM_VALUE | 0 | ec_dev->max_response | 238 |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 3 |
| PARAM_VALUE | 1 | wake_event | 6466172600577224704 |
| PARAM_VALUE | 1 | *wake_event | 0 |
| PARAM_VALUE | 2 | has_more_events | 4406676755500400640 |
| PARAM_VALUE | 2 | *has_more_events | 1 |
| BUF_SIZE | 0 | ec_dev | 704 |
drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_get_next_event_no_mkbp_event() -> cros_ec_get_next_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ec_dev->max_request | 255 |
| PARAM_VALUE | 0 | ec_dev->max_response | 238 |
| PARAM_VALUE | 0 | ec_dev->mkbp_event_supported | 0 |
| PARAM_VALUE | 1 | wake_event | 7275073731735371776 |
| PARAM_VALUE | 1 | *wake_event | 0 |
| PARAM_VALUE | 2 | has_more_events | 7224219662805549056 |
| PARAM_VALUE | 2 | *has_more_events | 1 |
| BUF_SIZE | 0 | ec_dev | 704 |