Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/debugfs.c port_sb_regs_write() -> sb_regs_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->sw 4096-ptr_max
PARAM_VALUE 0 port->sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 port->sw->dev.class 0,4096-ptr_max
PARAM_VALUE 0 port->sw->dev.power.request 0-4
PARAM_VALUE 0 port->sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 port->sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 port->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->sw->dev.type 0,4096-ptr_max
PARAM_VALUE 0 port->sw->tb->lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 port->sw->tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->sw->tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->sw->tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->sw->tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 sb_regs 8170566213574299648
PARAM_VALUE 2 size 12
PARAM_VALUE 3 target 0
PARAM_VALUE 4 index 0
PARAM_VALUE 5 buf 4096-ptr_max
PARAM_VALUE 6 count 1-4096
PARAM_VALUE 7 *ppos 0-1000000000
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 1 sb_regs 96
BUF_SIZE 5 buf 4096
BUF_SIZE 5 buf 4096
BUF_SIZE 7 ppos (-1),8
BUF_SIZE 7 ppos (-1),8
DATA_SOURCE 5 buf r validate_and_copy_from_user
DATA_SOURCE 6 count $2 [m]
DATA_SOURCE 7 ppos $3
USER_DATA 5 *buf 0-255
USER_DATA 6 count 1-4095[c]
USER_DATA 7 *ppos 0-1000000000
UNITS 0 port unit_array_size
UNITS 2 size unit_array_size
USER_PTR 5 buf
USER_PTR 7 ppos
LOCK2 &tb->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/debugfs.c retimer_sb_regs_write() -> sb_regs_write()

Type Parameter Key Value
PARAM_VALUE 1 sb_regs 5070689509969539072
PARAM_VALUE 2 size 10
PARAM_VALUE 3 target 2
PARAM_VALUE 5 buf 4096-ptr_max
PARAM_VALUE 6 count 1-4096
PARAM_VALUE 7 *ppos 0-1000000000
BUF_SIZE 1 sb_regs 80
BUF_SIZE 5 buf 4096
BUF_SIZE 5 buf 4096
BUF_SIZE 7 ppos (-1),8
BUF_SIZE 7 ppos (-1),8
DATA_SOURCE 5 buf r validate_and_copy_from_user
DATA_SOURCE 6 count $2 [m]
DATA_SOURCE 7 ppos $3
USER_DATA 5 *buf 0-255
USER_DATA 6 count 1-4095[c]
USER_DATA 7 *ppos 0-1000000000
UNITS 2 size unit_array_size
USER_PTR 5 buf
USER_PTR 7 ppos
LOCK2 &tb->lock
TYPE_LOCK (struct tb)->lock