Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pwm/pwm-spear.c spear_pwm_config() -> spear_pwm_writel()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 0
PARAM_VALUE 3 val 0,4-65532
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BIT_INFO 3 val 0x0,0xfffc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 num unit_array_size

drivers/pwm/pwm-spear.c spear_pwm_config() -> spear_pwm_writel()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 4
PARAM_VALUE 3 val 1-u16max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 3 val r div64_u64
FUZZY_MAX 3 val u16max
HARD_MAX 3 val u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 num unit_array_size

drivers/pwm/pwm-spear.c spear_pwm_config() -> spear_pwm_writel()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 8
PARAM_VALUE 3 val 1-u16max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 3 val r div64_u64
FUZZY_MAX 3 val u16max
HARD_MAX 3 val u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 num unit_array_size

drivers/pwm/pwm-spear.c spear_pwm_disable() -> spear_pwm_writel()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 0
PARAM_VALUE 3 val 0,2-u32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BIT_INFO 3 val 0x0,0xfffffffe
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 val 0,2-u32max[c]
UNITS 0 chip unit_byte
UNITS 1 num unit_array_size

drivers/pwm/pwm-spear.c spear_pwm_enable() -> spear_pwm_writel()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BIT_INFO 3 val 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 val 0-u32max
UNITS 0 chip unit_byte
UNITS 1 num unit_array_size