Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/wacom_sys.c wacom_led_brightness_set() -> wacom_rescale()

Type Parameter Key Value
PARAM_VALUE 1 in_max 255
DATA_SOURCE 0 value $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wacom->lock
TYPE_LOCK (struct wacom)->lock

drivers/hid/wacom_sys.c wacom_led_brightness_set() -> wacom_rescale()

Type Parameter Key Value
PARAM_VALUE 1 in_max 255
DATA_SOURCE 0 value $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wacom->lock
TYPE_LOCK (struct wacom)->lock

drivers/hid/wacom_sys.c wacom_leds_brightness_get() -> wacom_rescale()

Type Parameter Key Value
PARAM_VALUE 1 in_max 127
PARAM_VALUE 2 out_max 255
RX_PATH
TASK_NOT_RUNNING

drivers/hid/wacom_sys.c wacom_leds_brightness_get() -> wacom_rescale()

Type Parameter Key Value
PARAM_VALUE 1 in_max 96,100,127,255
PARAM_VALUE 2 out_max 255
RX_PATH
TASK_NOT_RUNNING