Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/input/tablet/aiptek.c aiptek_program_tablet() -> aiptek_command()

Type Parameter Key Value
PARAM_VALUE 1 command 24
PARAM_VALUE 2 data 4
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek->inputdev (-1),2480
DATA_SOURCE 0 aiptek $0
STR_LEN 0 aiptek->features.usbPath (-1)-64
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 aiptek->inputdev->max_vals
UNITS 0 aiptek unit_byte
HALF_LOCKED2 &of->mutex

drivers/input/tablet/aiptek.c aiptek_program_tablet() -> aiptek_command()

Type Parameter Key Value
PARAM_VALUE 0 aiptek 4096-ptr_max
PARAM_VALUE 0 aiptek->curSetting.coordinateMode 1
PARAM_VALUE 0 aiptek->features.firmwareCode 0-255
PARAM_VALUE 0 aiptek->features.modelCode 0-255
PARAM_VALUE 0 aiptek->features.odmCode 0-255
PARAM_VALUE 0 aiptek->inputdev 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->absbit 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->evbit 4096-ptr_max
PARAM_VALUE 1 command 16
PARAM_VALUE 2 data 1
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek->inputdev (-1),2480
DATA_SOURCE 0 aiptek $0
STR_LEN 0 aiptek->features.usbPath (-1)-64
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 aiptek->inputdev->max_vals
UNITS 0 aiptek unit_byte
HALF_LOCKED2 &of->mutex

drivers/input/tablet/aiptek.c aiptek_program_tablet() -> aiptek_command()

Type Parameter Key Value
PARAM_VALUE 0 aiptek 4096-ptr_max
PARAM_VALUE 0 aiptek->curSetting.coordinateMode s32min-0,2-s32max
PARAM_VALUE 0 aiptek->features.firmwareCode 0-255
PARAM_VALUE 0 aiptek->features.modelCode 0-255
PARAM_VALUE 0 aiptek->features.odmCode 0-255
PARAM_VALUE 0 aiptek->inputdev 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->absbit 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->evbit 4096-ptr_max
PARAM_VALUE 1 command 16
PARAM_VALUE 2 data 0
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
DATA_SOURCE 0 aiptek $0
STR_LEN 0 aiptek->features.usbPath (-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 aiptek->inputdev->max_vals
UNITS 0 aiptek unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/input/tablet/aiptek.c aiptek_program_tablet() -> aiptek_command()

Type Parameter Key Value
PARAM_VALUE 0 aiptek 4096-ptr_max
PARAM_VALUE 0 aiptek->features.firmwareCode 0-255
PARAM_VALUE 0 aiptek->features.modelCode 0-255
PARAM_VALUE 0 aiptek->features.odmCode 0-255
PARAM_VALUE 0 aiptek->inputdev 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->absbit 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->evbit 4096-ptr_max
PARAM_VALUE 1 command 17
PARAM_VALUE 2 data 2
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek->inputdev (-1),2480
DATA_SOURCE 0 aiptek $0
STR_LEN 0 aiptek->features.usbPath (-1)-64
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 aiptek->inputdev->max_vals
UNITS 0 aiptek unit_byte
HALF_LOCKED2 &of->mutex

drivers/input/tablet/aiptek.c aiptek_program_tablet() -> aiptek_command()

Type Parameter Key Value
PARAM_VALUE 0 aiptek 4096-ptr_max
PARAM_VALUE 0 aiptek->features.firmwareCode 0-255
PARAM_VALUE 0 aiptek->features.modelCode 0-255
PARAM_VALUE 0 aiptek->features.odmCode 0-255
PARAM_VALUE 0 aiptek->inputdev 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->absbit 4096-ptr_max
PARAM_VALUE 0 aiptek->inputdev->evbit 4096-ptr_max
PARAM_VALUE 1 command 18
PARAM_VALUE 2 data 255
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek->inputdev (-1),2480
DATA_SOURCE 0 aiptek $0
STR_LEN 0 aiptek->features.usbPath (-1)-64
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 aiptek->inputdev->max_vals
UNITS 0 aiptek unit_byte
HALF_LOCKED2 &of->mutex

drivers/input/tablet/aiptek.c aiptek_query() -> aiptek_command()

Type Parameter Key Value
PARAM_VALUE 1 command 1-4,8
PARAM_VALUE 2 data 0-1
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek s32min-(-2),1-s32max
BUF_SIZE 0 aiptek->inputdev (-1),2480
DATA_SOURCE 0 aiptek $0
DATA_SOURCE 1 command $1
DATA_SOURCE 2 data $2
STR_LEN 0 aiptek->features.usbPath (-1)-64
HARD_MAX 1 command 8
HARD_MAX 2 data 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 aiptek->inputdev->max_vals
UNITS 0 aiptek unit_byte
HALF_LOCKED2 &of->mutex