/* * GPL LICENSE SUMMARY * * Copyright(c) 2010-2013 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. * The full GNU General Public License is included in this distribution * in the file called LICENSE.GPL. * * Contact Information: * Intel Corporation * 2200 Mission College Blvd. * Santa Clara, CA 97052 * */ /*------------------------------------------------------------------------------ * File Name:_ce5300_iosf.h * Driver for IOSF(Intel On chip System Fabric) *------------------------------------------------------------------------------ */ #ifndef _LINUX_CE5300_IOSF_H #define _LINUX_CE5300_IOSF_H #include #include #include #include #include #include #include int _ce5300_iosf_port_is_valid(struct iosf_host * host, uint8_t dest_port); int _ce5300_iosf_msg_opcode_is_valid(struct iosf_host * host, uint8_t opcode); int _ce5300_iosf_msg_data_opcode_is_valid(struct iosf_host * host, uint8_t opcode); int _ce5300_iosf_reg_read32(struct iosf_host * host, uint8_t dest_port, uint32_t offset, uint32_t *value); int _ce5300_iosf_reg_write32(struct iosf_host * host, uint8_t dest_port, uint32_t offset, uint32_t value); int _ce5300_iosf_reg_modify(struct iosf_host * host, uint8_t dest_port, uint32_t offset, uint32_t mask, uint32_t value); #endif //__LINUX_DRV_IOSF_H