Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/chrome/wilco_ec/sysfs.c usb_charge_show() -> send_usb_charge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rq | 5298385811463917568 |
| PARAM_VALUE | 1 | rq->cmd | 57 |
| PARAM_VALUE | 1 | rq->op | 0 |
| PARAM_VALUE | 2 | rs | 7963183454782849024 |
| BUF_SIZE | 0 | ec | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ec | s32min-(-2),1-s32max |
| MEM_ZERO | 1 | rq | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ec | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/wilco_ec/sysfs.c usb_charge_store() -> send_usb_charge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rq | 3027711281489379328 |
| PARAM_VALUE | 1 | rq->cmd | 57 |
| PARAM_VALUE | 1 | rq->op | 1 |
| PARAM_VALUE | 1 | rq->val | 0-1 |
| PARAM_VALUE | 2 | rs | 8298074183930273792 |
| BUF_SIZE | 0 | ec | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ec | s32min-(-2),1-s32max |
| MEM_ZERO | 1 | rq | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | rq->val | 0-1 |
| NO_OVERFLOW_SIMPLE | 1 | rq->val | |
| UNITS | 0 | ec | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |