Home
last modified time | relevance | path

Searched refs:fw_update_msg (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c128 struct hinic_cmd_update_fw *fw_update_msg = NULL; in hinic_flash_fw() local
131 u16 out_size = sizeof(*fw_update_msg); in hinic_flash_fw()
135 fw_update_msg = kzalloc(sizeof(*fw_update_msg), GFP_KERNEL); in hinic_flash_fw()
136 if (!fw_update_msg) in hinic_flash_fw()
170 fw_update_msg->total_len = up_total_len; in hinic_flash_fw()
173 fw_update_msg->total_len = 0; in hinic_flash_fw()
176 memset(fw_update_msg->data, 0, MAX_FW_FRAGMENT_LEN); in hinic_flash_fw()
178 fw_update_msg->ctl_info.SF = in hinic_flash_fw()
181 fw_update_msg->section_info.FW_section_CRC = section_crc; in hinic_flash_fw()
182 fw_update_msg->fw_section_version = section_version; in hinic_flash_fw()
[all …]