Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/staging/greybus/light.c __gb_lights_flash_brightness_set() -> get_channel_from_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/greybus/light.c __gb_lights_flash_led_register() -> get_channel_from_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | light | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &glights->lights_lock | ||
| TYPE_LOCK | (struct gb_lights)->lights_lock |
drivers/staging/greybus/light.c gb_lights_light_v4l2_register() -> get_channel_from_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | light | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 512 |
| CAPPED_DATA | 0 | light->channels_count | 1 |
| DATA_SOURCE | 0 | light | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &glights->lights_lock | ||
| TYPE_LOCK | (struct gb_lights)->lights_lock |
drivers/staging/greybus/light.c gb_lights_light_v4l2_register() -> get_channel_from_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | light | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1024 |
| CAPPED_DATA | 0 | light->channels_count | 1 |
| DATA_SOURCE | 0 | light | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &glights->lights_lock | ||
| TYPE_LOCK | (struct gb_lights)->lights_lock |
drivers/staging/greybus/light.c gb_lights_light_v4l2_register() -> get_channel_from_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | light | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 256 |
| CAPPED_DATA | 0 | light->channels_count | 1 |
| DATA_SOURCE | 0 | light | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &glights->lights_lock | ||
| TYPE_LOCK | (struct gb_lights)->lights_lock |