Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/brocade/bna/bnad_ethtool.c bnad_flash_device() -> bfa_nw_flash_update_part()

Type Parameter Key Value
PARAM_VALUE 0 flash 4096-ptr_max
PARAM_VALUE 1 type 2
PARAM_VALUE 5 offset 0
PARAM_VALUE 7 cbarg 2880478368185466880
BUF_SIZE 3 buf 1-s32max
BUF_SIZE 7 cbarg 112
PREEMPT_ADD <- disables preempt
UNITS 3 buf unit_byte
UNITS 4 len unit_byte
LOCK2 &bnad->bna_lock
LOCK2 irq
TYPE_LOCK (struct bnad)->bna_lock

drivers/net/ethernet/brocade/bna/bnad_ethtool.c bnad_set_eeprom() -> bfa_nw_flash_update_part()

Type Parameter Key Value
PARAM_VALUE 0 flash 4096-ptr_max
PARAM_VALUE 0 flash->cbarg 3799012093180891136
PARAM_VALUE 0 flash->cbfn 887713708394377216
PARAM_VALUE 0 flash->dbuf_pa 0-u32max
PARAM_VALUE 0 flash->mb.cbarg 0
PARAM_VALUE 0 flash->mb.cbfn 0
PARAM_VALUE 0 flash->mb.qe.next 4096-ptr_max
PARAM_VALUE 0 flash->op_busy 1
PARAM_VALUE 0 flash->ubuf 4096-ptr_max
PARAM_VALUE 1 type 1-u32max
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 len 1-4096
PARAM_VALUE 7 cbarg 4803500335753437184
BUF_SIZE 3 buf 4096
BUF_SIZE 7 cbarg 112
DATA_SOURCE 1 type r bnad_get_flash_partition_by_offset
DATA_SOURCE 3 buf $2
PREEMPT_ADD <- disables preempt
USER_DATA 4 len 1-4095[c]
NO_OVERFLOW_SIMPLE 4 len
UNITS 4 len unit_byte
UNITS 5 offset unit_byte
USER_PTR 3 buf
LOCK2 &bnad->bna_lock
LOCK2 flags
TYPE_LOCK (struct bnad)->bna_lock