Lines Matching refs:fw_cmd
3760 struct ixgbe_hic_drv_info fw_cmd; in ixgbe_set_fw_drv_ver_generic() local
3764 fw_cmd.hdr.cmd = FW_CEM_CMD_DRIVER_INFO; in ixgbe_set_fw_drv_ver_generic()
3765 fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN; in ixgbe_set_fw_drv_ver_generic()
3766 fw_cmd.hdr.cmd_or_resp.cmd_resv = FW_CEM_CMD_RESERVED; in ixgbe_set_fw_drv_ver_generic()
3767 fw_cmd.port_num = hw->bus.func; in ixgbe_set_fw_drv_ver_generic()
3768 fw_cmd.ver_maj = maj; in ixgbe_set_fw_drv_ver_generic()
3769 fw_cmd.ver_min = min; in ixgbe_set_fw_drv_ver_generic()
3770 fw_cmd.ver_build = build; in ixgbe_set_fw_drv_ver_generic()
3771 fw_cmd.ver_sub = sub; in ixgbe_set_fw_drv_ver_generic()
3772 fw_cmd.hdr.checksum = 0; in ixgbe_set_fw_drv_ver_generic()
3773 fw_cmd.pad = 0; in ixgbe_set_fw_drv_ver_generic()
3774 fw_cmd.pad2 = 0; in ixgbe_set_fw_drv_ver_generic()
3775 fw_cmd.hdr.checksum = ixgbe_calculate_checksum((u8 *)&fw_cmd, in ixgbe_set_fw_drv_ver_generic()
3776 (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len)); in ixgbe_set_fw_drv_ver_generic()
3779 ret_val = ixgbe_host_interface_command(hw, &fw_cmd, in ixgbe_set_fw_drv_ver_generic()
3780 sizeof(fw_cmd), in ixgbe_set_fw_drv_ver_generic()
3786 if (fw_cmd.hdr.cmd_or_resp.ret_status == in ixgbe_set_fw_drv_ver_generic()