Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/core/sysfs.c pcm_caps_show() -> has_pcm_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nid | 0-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
sound/hda/core/sysfs.c pcm_formats_show() -> has_pcm_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nid | 0-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |