Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/leds/leds-bd2802.c bd2802_enable_adv_conf() -> bd2802_reset_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | led | 4096-ptr_max |
| PARAM_VALUE | 0 | led->adf_on | 0 |
| PARAM_VALUE | 0 | led->rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | led->rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | led->rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | led->rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | led->rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | led->rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | led->rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | led->rwsem.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | led | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | led | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | led | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &led->rwsem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bd2802_led)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/leds/leds-bd2802.c bd2802_resume() -> bd2802_reset_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | led | 4096-ptr_max |
| PARAM_VALUE | 0 | led->adf_on | 0-1 |
| BUF_SIZE | 0 | led | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | led | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | led | unit_byte |
drivers/leds/leds-bd2802.c bd2802_set_blink() -> bd2802_reset_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | led | 4096-ptr_max |
| PARAM_VALUE | 0 | led->adf_on | 0 |
| PARAM_VALUE | 0 | led->color | 0-2 |
| PARAM_VALUE | 0 | led->led_id | 0-1 |
| PARAM_VALUE | 0 | led->pdata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | led->reset | 0,4096-u64max |
| PARAM_VALUE | 0 | led->state | 0-2 |
| BUF_SIZE | 0 | led | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | led | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | led | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | led | unit_byte |
drivers/leds/leds-bd2802.c bd2802_set_on() -> bd2802_reset_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | led | 4096-ptr_max |
| PARAM_VALUE | 0 | led->adf_on | 0 |
| PARAM_VALUE | 0 | led->color | 0-2 |
| PARAM_VALUE | 0 | led->led_id | 0-1 |
| PARAM_VALUE | 0 | led->pdata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | led->reset | 0,4096-u64max |
| PARAM_VALUE | 0 | led->state | 0-2 |
| BUF_SIZE | 0 | led | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | led | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | led | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | led | unit_byte |