Lines Matching refs:fw_cmd
1272 struct ixgbe_hic_disable_rxen fw_cmd; in ixgbe_disable_rx_x550() local
1287 fw_cmd.hdr.cmd = FW_DISABLE_RXEN_CMD; in ixgbe_disable_rx_x550()
1288 fw_cmd.hdr.buf_len = FW_DISABLE_RXEN_LEN; in ixgbe_disable_rx_x550()
1289 fw_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_disable_rx_x550()
1290 fw_cmd.port_number = hw->bus.lan_id; in ixgbe_disable_rx_x550()
1292 status = ixgbe_host_interface_command(hw, &fw_cmd, in ixgbe_disable_rx_x550()
2776 struct ixgbe_hic_drv_info2 fw_cmd; in ixgbe_set_fw_drv_ver_x550() local
2780 if (!len || !driver_ver || (len > sizeof(fw_cmd.driver_string))) in ixgbe_set_fw_drv_ver_x550()
2783 fw_cmd.hdr.cmd = FW_CEM_CMD_DRIVER_INFO; in ixgbe_set_fw_drv_ver_x550()
2784 fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN + len; in ixgbe_set_fw_drv_ver_x550()
2785 fw_cmd.hdr.cmd_or_resp.cmd_resv = FW_CEM_CMD_RESERVED; in ixgbe_set_fw_drv_ver_x550()
2786 fw_cmd.port_num = (u8)hw->bus.func; in ixgbe_set_fw_drv_ver_x550()
2787 fw_cmd.ver_maj = maj; in ixgbe_set_fw_drv_ver_x550()
2788 fw_cmd.ver_min = min; in ixgbe_set_fw_drv_ver_x550()
2789 fw_cmd.ver_build = build; in ixgbe_set_fw_drv_ver_x550()
2790 fw_cmd.ver_sub = sub; in ixgbe_set_fw_drv_ver_x550()
2791 fw_cmd.hdr.checksum = 0; in ixgbe_set_fw_drv_ver_x550()
2792 memcpy(fw_cmd.driver_string, driver_ver, len); in ixgbe_set_fw_drv_ver_x550()
2793 fw_cmd.hdr.checksum = ixgbe_calculate_checksum((u8 *)&fw_cmd, in ixgbe_set_fw_drv_ver_x550()
2794 (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len)); in ixgbe_set_fw_drv_ver_x550()
2797 ret_val = ixgbe_host_interface_command(hw, (u32 *)&fw_cmd, in ixgbe_set_fw_drv_ver_x550()
2798 sizeof(fw_cmd), in ixgbe_set_fw_drv_ver_x550()
2804 if (fw_cmd.hdr.cmd_or_resp.ret_status != in ixgbe_set_fw_drv_ver_x550()