Lines Matching refs:fw_cmd
1258 struct ixgbe_hic_disable_rxen fw_cmd; in ixgbe_disable_rx_x550() local
1271 fw_cmd.hdr.cmd = FW_DISABLE_RXEN_CMD; in ixgbe_disable_rx_x550()
1272 fw_cmd.hdr.buf_len = FW_DISABLE_RXEN_LEN; in ixgbe_disable_rx_x550()
1273 fw_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_disable_rx_x550()
1274 fw_cmd.port_number = hw->bus.lan_id; in ixgbe_disable_rx_x550()
1276 status = ixgbe_host_interface_command(hw, &fw_cmd, in ixgbe_disable_rx_x550()
2757 struct ixgbe_hic_drv_info2 fw_cmd; in ixgbe_set_fw_drv_ver_x550() local
2761 if (!len || !driver_ver || (len > sizeof(fw_cmd.driver_string))) in ixgbe_set_fw_drv_ver_x550()
2764 fw_cmd.hdr.cmd = FW_CEM_CMD_DRIVER_INFO; in ixgbe_set_fw_drv_ver_x550()
2765 fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN + len; in ixgbe_set_fw_drv_ver_x550()
2766 fw_cmd.hdr.cmd_or_resp.cmd_resv = FW_CEM_CMD_RESERVED; in ixgbe_set_fw_drv_ver_x550()
2767 fw_cmd.port_num = (u8)hw->bus.func; in ixgbe_set_fw_drv_ver_x550()
2768 fw_cmd.ver_maj = maj; in ixgbe_set_fw_drv_ver_x550()
2769 fw_cmd.ver_min = min; in ixgbe_set_fw_drv_ver_x550()
2770 fw_cmd.ver_build = build; in ixgbe_set_fw_drv_ver_x550()
2771 fw_cmd.ver_sub = sub; in ixgbe_set_fw_drv_ver_x550()
2772 fw_cmd.hdr.checksum = 0; in ixgbe_set_fw_drv_ver_x550()
2773 memcpy(fw_cmd.driver_string, driver_ver, len); in ixgbe_set_fw_drv_ver_x550()
2774 fw_cmd.hdr.checksum = ixgbe_calculate_checksum((u8 *)&fw_cmd, in ixgbe_set_fw_drv_ver_x550()
2775 (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len)); in ixgbe_set_fw_drv_ver_x550()
2778 ret_val = ixgbe_host_interface_command(hw, (u32 *)&fw_cmd, in ixgbe_set_fw_drv_ver_x550()
2779 sizeof(fw_cmd), in ixgbe_set_fw_drv_ver_x550()
2785 if (fw_cmd.hdr.cmd_or_resp.ret_status != in ixgbe_set_fw_drv_ver_x550()