Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pwm/core.c acpi_pwm_get() -> pwm_request_from_chip()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.parent 1-u64max
PARAM_VALUE 2 label 0
DATA_SOURCE 0 chip r fwnode_to_pwmchip
RX_PATH
TASK_NOT_RUNNING

drivers/pwm/core.c export_store() -> pwm_request_from_chip()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->npwm 1-u32max
PARAM_VALUE 1 index 0-4294967294
PARAM_VALUE 2 label 4637551506880253952
BUF_SIZE 2 label 6
CAPPED_DATA 1 index 1
DATA_SOURCE 0 chip r pwmchip_from_dev
STR_LEN 0 chip 5
PARAM_COMPARE 0 chip->npwm > $1
PARAM_COMPARE 1 index < $0->npwm
CONSTRAINT 1 index <3687
TERMINATED 2 label 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 1 index unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/pwm/core.c of_pwm_single_xlate() -> pwm_request_from_chip()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.parent 1-u64max
PARAM_VALUE 1 index 0
PARAM_VALUE 2 label 0
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING

drivers/pwm/core.c of_pwm_xlate_with_flags() -> pwm_request_from_chip()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.parent 1-u64max
PARAM_VALUE 2 label 0
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING

drivers/pwm/core.c pwm_get() -> pwm_request_from_chip()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
BUF_SIZE 2 label (-1)-s32max
DATA_SOURCE 0 chip r pwmchip_find_by_name
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/pwm/core.c pwm_gpio_request() -> pwm_request_from_chip()

Type Parameter Key Value
PARAM_VALUE 2 label 8817678771502071808
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 2 label 9
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 1 index $1
STR_LEN 0 chip 8
TERMINATED 2 label 1