Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/platform/arm64/huawei-gaokun-ec.c, line 230
- drivers/power/supply/huawei-gaokun-battery.c, line 619
- drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c, line 479
Smatch caller information:
drivers/power/supply/huawei-gaokun-battery.c gaokun_psy_probe() -> gaokun_ec_register_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ec | 4096-ptr_max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 5199687567840575488 |
| BUF_SIZE | 0 | ec | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ec | s32min-(-2),1-s32max |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c gaokun_ucsi_register_worker() -> gaokun_ec_register_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |