Lines Matching refs:hic

436 	} hic;  in ixgbe_fw_phy_activity()  local
442 memset(&hic, 0, sizeof(hic)); in ixgbe_fw_phy_activity()
443 hic.cmd.hdr.cmd = FW_PHY_ACT_REQ_CMD; in ixgbe_fw_phy_activity()
444 hic.cmd.hdr.buf_len = FW_PHY_ACT_REQ_LEN; in ixgbe_fw_phy_activity()
445 hic.cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_fw_phy_activity()
446 hic.cmd.port_number = hw->bus.lan_id; in ixgbe_fw_phy_activity()
447 hic.cmd.activity_id = cpu_to_le16(activity); in ixgbe_fw_phy_activity()
448 for (i = 0; i < ARRAY_SIZE(hic.cmd.data); ++i) in ixgbe_fw_phy_activity()
449 hic.cmd.data[i] = cpu_to_be32((*data)[i]); in ixgbe_fw_phy_activity()
451 rc = ixgbe_host_interface_command(hw, &hic.cmd, sizeof(hic.cmd), in ixgbe_fw_phy_activity()
456 if (hic.rsp.hdr.cmd_or_resp.ret_status == in ixgbe_fw_phy_activity()
459 (*data)[i] = be32_to_cpu(hic.rsp.data[i]); in ixgbe_fw_phy_activity()
826 } hic; in ixgbe_read_iosf_sb_reg_x550a() local
829 memset(&hic, 0, sizeof(hic)); in ixgbe_read_iosf_sb_reg_x550a()
830 hic.cmd.hdr.cmd = FW_INT_PHY_REQ_CMD; in ixgbe_read_iosf_sb_reg_x550a()
831 hic.cmd.hdr.buf_len = FW_INT_PHY_REQ_LEN; in ixgbe_read_iosf_sb_reg_x550a()
832 hic.cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_read_iosf_sb_reg_x550a()
833 hic.cmd.port_number = hw->bus.lan_id; in ixgbe_read_iosf_sb_reg_x550a()
834 hic.cmd.command_type = FW_INT_PHY_REQ_READ; in ixgbe_read_iosf_sb_reg_x550a()
835 hic.cmd.address = cpu_to_be16(reg_addr); in ixgbe_read_iosf_sb_reg_x550a()
837 status = ixgbe_host_interface_command(hw, &hic.cmd, sizeof(hic.cmd), in ixgbe_read_iosf_sb_reg_x550a()
841 *data = be32_to_cpu(hic.rsp.read_data); in ixgbe_read_iosf_sb_reg_x550a()