Lines Matching refs:fw_cmd
3747 struct ixgbe_hic_drv_info fw_cmd; in ixgbe_set_fw_drv_ver_generic() local
3751 fw_cmd.hdr.cmd = FW_CEM_CMD_DRIVER_INFO; in ixgbe_set_fw_drv_ver_generic()
3752 fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN; in ixgbe_set_fw_drv_ver_generic()
3753 fw_cmd.hdr.cmd_or_resp.cmd_resv = FW_CEM_CMD_RESERVED; in ixgbe_set_fw_drv_ver_generic()
3754 fw_cmd.port_num = hw->bus.func; in ixgbe_set_fw_drv_ver_generic()
3755 fw_cmd.ver_maj = maj; in ixgbe_set_fw_drv_ver_generic()
3756 fw_cmd.ver_min = min; in ixgbe_set_fw_drv_ver_generic()
3757 fw_cmd.ver_build = build; in ixgbe_set_fw_drv_ver_generic()
3758 fw_cmd.ver_sub = sub; in ixgbe_set_fw_drv_ver_generic()
3759 fw_cmd.hdr.checksum = 0; in ixgbe_set_fw_drv_ver_generic()
3760 fw_cmd.pad = 0; in ixgbe_set_fw_drv_ver_generic()
3761 fw_cmd.pad2 = 0; in ixgbe_set_fw_drv_ver_generic()
3762 fw_cmd.hdr.checksum = ixgbe_calculate_checksum((u8 *)&fw_cmd, in ixgbe_set_fw_drv_ver_generic()
3763 (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len)); in ixgbe_set_fw_drv_ver_generic()
3766 ret_val = ixgbe_host_interface_command(hw, &fw_cmd, in ixgbe_set_fw_drv_ver_generic()
3767 sizeof(fw_cmd), in ixgbe_set_fw_drv_ver_generic()
3773 if (fw_cmd.hdr.cmd_or_resp.ret_status == in ixgbe_set_fw_drv_ver_generic()