Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/realtek/8139cp.c cp_set_eeprom() -> write_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 location 0-s32max
PARAM_VALUE 3 addr_len 6
BIT_INFO 2 val 0x0,0xff03
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 1 location 1-1073743871[c]
USER_DATA 2 val 0-u16max[c][u]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_set_eeprom() -> write_eeprom()

Type Parameter Key Value
PARAM_VALUE 3 addr_len 6
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 1 location 1-1073743871[c]
USER_DATA 2 val 0-u16max[c]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_set_eeprom() -> write_eeprom()

Type Parameter Key Value
PARAM_VALUE 2 val 0-255
PARAM_VALUE 3 addr_len 6
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 1 location 1-1073743871[c]
USER_DATA 2 val 0-255[c][u]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock