Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/hid/surface-hid/surface_hid_core.c, line 106
- drivers/platform/surface/aggregator/controller.c, line 2374
- drivers/platform/surface/surface_acpi_notify.c
- drivers/platform/surface/surface_aggregator_cdev.c, line 177
- drivers/platform/surface/surface_dtx.c, line 1018
- include/linux/surface_aggregator/device.h, line 604
Smatch caller information:
drivers/platform/surface/surface_aggregator_tabletsw.c ssam_device_notifier_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 7002488966901645312,7302313764817330176 |
| PARAM_VALUE | 1 | n->base.priority | 0 |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| PARAM_VALUE | 1 | n->event.mask | 1 |
| DATA_SOURCE | 1 | n | $1 |
| MEM_ZERO | 1 | n | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/surface-hid/surface_hid_core.c surface_hid_start() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hid->driver_input_lock |
drivers/platform/surface/surface_aggregator_cdev.c ssam_cdev_notifier_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 2025800949392674816 |
| PARAM_VALUE | 1 | n->flags | 1 |
| USER_DATA | 1 | n->base.priority | s32min-s32max |
| USER_DATA | 1 | n->event.id.target_category | 0-255 |
| LOCK2 | &client->cdev->lock | ||
| LOCK2 | &client->notifier_lock | ||
| TYPE_LOCK | (struct ssam_cdev)->lock | ||
| TYPE_LOCK | (struct ssam_cdev_client)->notifier_lock |
drivers/platform/surface/surface_acpi_notify.c san_events_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 8883903337120485376 |
| PARAM_VALUE | 1 | n->base.priority | 1 |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| PARAM_VALUE | 1 | n->event.id.target_category | 2 |
| PARAM_VALUE | 1 | n->event.mask | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/surface/surface_acpi_notify.c san_events_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl->counter.rqid.value | 0-u16max |
| PARAM_VALUE | 0 | ctrl->counter.seq.value | 0-255 |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->cplt.event.notif.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 4777250097622634496 |
| PARAM_VALUE | 1 | n->base.priority | 1 |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| PARAM_VALUE | 1 | n->event.id.target_category | 3 |
| PARAM_VALUE | 1 | n->event.mask | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/surface_battery.c ssam_device_notifier_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl->counter.rqid.value | 0-u16max |
| PARAM_VALUE | 0 | ctrl->counter.seq.value | 0-255 |
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 488412602709209088 |
| PARAM_VALUE | 1 | n->base.priority | 1 |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| PARAM_VALUE | 1 | n->event.mask | 1 |
| DATA_SOURCE | 1 | n | $1 |
| MEM_ZERO | 1 | n | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/surface_charger.c ssam_device_notifier_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl->counter.rqid.value | 0-u16max |
| PARAM_VALUE | 0 | ctrl->counter.seq.value | 0-255 |
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 7130992473340968960 |
| PARAM_VALUE | 1 | n->base.priority | 1 |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| DATA_SOURCE | 1 | n | $1 |
| MEM_ZERO | 1 | n | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/surface/surface_aggregator_hub.c ssam_device_notifier_register() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 6499201229657149440,7070282352994168832 |
| PARAM_VALUE | 1 | n->base.priority | s32max |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| PARAM_VALUE | 1 | n->event.mask | 0-1 |
| DATA_SOURCE | 1 | n | $1 |
| MEM_ZERO | 1 | n | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/surface/surface_dtx.c sdtx_device_init() -> ssam_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | n->base.fn | 9084560582097149952 |
| PARAM_VALUE | 1 | n->base.priority | 1 |
| PARAM_VALUE | 1 | n->event.flags | 1 |
| PARAM_VALUE | 1 | n->event.id.target_category | 17 |
| DATA_SOURCE | 0 | ctrl | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |