Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-sony.c sony_led_set_brightness() -> sony_set_leds()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->led_count 1-255
PARAM_VALUE 0 sc->led_delay_off 4096-ptr_max
PARAM_VALUE 0 sc->led_delay_on 4096-ptr_max
PARAM_VALUE 0 sc->led_state 4096-ptr_max
PARAM_VALUE 0 sc->leds 4096-ptr_max
BUF_SIZE 0 sc s32min-(-2),1-s32max
BUF_SIZE 0 sc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sc unit_byte
HALF_LOCKED2 &rt2x00dev->conf_mutex

drivers/hid/hid-sony.c sony_leds_init() -> sony_set_leds()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->device_id (-1)-s32max
PARAM_VALUE 0 sc->led_count 1,3-4
PARAM_VALUE 0 sc->quirks 2-u64max
PARAM_VALUE 0 sc->sensor_dev->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 sc->sensor_dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sc->sensor_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sc->sensor_dev->poller->poll_interval 0-4294967295
PARAM_VALUE 0 sc->sensor_dev->poller->poll_interval_max 0-4294967295
PARAM_VALUE 0 sc->touchpad->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 sc->touchpad->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sc->touchpad->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sc->touchpad->poller->poll_interval 0-4294967295
PARAM_VALUE 0 sc->touchpad->poller->poll_interval_max 0-4294967295
PARAM_VALUE 0 *sc->hdev->uniq 0-255
BUF_SIZE 0 sc s32min-(-2),1-s32max
BUF_SIZE 0 sc s32min-(-2),1-s32max
DATA_SOURCE 0 sc $0
FUZZY_MAX 0 sc->led_count 4
HARD_MAX 0 sc->led_count 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sc->input_dev->max_vals
NO_OVERFLOW_SIMPLE 0 sc->sensor_dev->max_vals
NO_OVERFLOW_SIMPLE 0 sc->touchpad->max_vals
UNITS 0 sc unit_byte
HALF_LOCKED2 &hdev->driver_input_lock