Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/clk/bcm/clk-kona.c div_init() -> __div_commit()

Type Parameter Key Value
PARAM_VALUE 0 ccu 4096-ptr_max
PARAM_VALUE 1 gate 4096-ptr_max
PARAM_VALUE 2 div 4096-ptr_max
PARAM_VALUE 3 trig 4096-ptr_max
BUF_SIZE 3 trig (-1),12
BUF_SIZE 3 trig (-1),12
DATA_SOURCE 0 ccu $0
DATA_SOURCE 1 gate $1
DATA_SOURCE 2 div $2
DATA_SOURCE 3 trig $3
BIT_INFO 2 div->flags 0x1,0xfffffffd
PREEMPT_ADD
LOCK2 &ccu->lock
LOCK2 flags
TYPE_LOCK (struct ccu_data)->lock

drivers/clk/bcm/clk-kona.c divider_write() -> __div_commit()

Type Parameter Key Value
PARAM_VALUE 0 ccu 4096-ptr_max
PARAM_VALUE 0 ccu->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ccu->write_enabled 1
PARAM_VALUE 1 gate 4096-ptr_max
PARAM_VALUE 2 div 4096-ptr_max
PARAM_VALUE 3 trig 4096-ptr_max
DATA_SOURCE 0 ccu $0
DATA_SOURCE 1 gate $1
DATA_SOURCE 2 div $2
DATA_SOURCE 3 trig $3
BIT_INFO 2 div->flags 0x0,0xfffffffd
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ccu->lock
TYPE_LOCK (struct ccu_data)->lock