Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/staging/greybus/light.c __gb_lights_led_register() -> get_channel_cdev()

Type Parameter Key Value
PARAM_VALUE 0 channel 4096-ptr_max
DATA_SOURCE 0 channel $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &glights->lights_lock
TYPE_LOCK (struct gb_lights)->lights_lock

drivers/staging/greybus/light.c __gb_lights_led_unregister() -> get_channel_cdev()

Type Parameter Key Value
PARAM_VALUE 0 channel 4096-ptr_max
DATA_SOURCE 0 channel $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &glights->lights_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_lights)->lights_lock

drivers/staging/greybus/light.c gb_lights_channel_config() -> get_channel_cdev()

Type Parameter Key Value
PARAM_VALUE 0 channel 4096-ptr_max
DATA_SOURCE 0 channel $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &glights->lights_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_lights)->lights_lock