Defined in 2 files as a function:
- drivers/nvmem/bcm-ocotp.c, line 77 (as a function)
- drivers/soundwire/debugfs.c, line 149 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/nvmem/bcm-ocotp.c bcm_otpc_read() -> set_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | command | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/nvmem/bcm-ocotp.c bcm_otpc_write() -> set_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | command | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/nvmem/bcm-ocotp.c disable_ocotp_program() -> set_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | command | 3 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/nvmem/bcm-ocotp.c enable_ocotp_program() -> set_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | command | 2 |
| DATA_SOURCE | 0 | base | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
fs/libfs.c simple_attr_write_xsigned() -> (struct simple_attr)->set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | base | s32min-(-2),1-s32max |
| CONTAINER | 0 | *(-8+64) | $(-1) |
| USER_DATA | 1 | command | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |