Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_ddp_common.h
/* SPDX-License-Identifier: BSD-3-Clause */ | /* SPDX-License-Identifier: BSD-3-Clause */ | ||||
/* Copyright (c) 2022, Intel Corporation | /* Copyright (c) 2023, Intel Corporation | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions are met: | * modification, are permitted provided that the following conditions are met: | ||||
* | * | ||||
* 1. Redistributions of source code must retain the above copyright notice, | * 1. Redistributions of source code must retain the above copyright notice, | ||||
* this list of conditions and the following disclaimer. | * this list of conditions and the following disclaimer. | ||||
* | * | ||||
Show All 14 Lines | |||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||||
* POSSIBILITY OF SUCH DAMAGE. | * POSSIBILITY OF SUCH DAMAGE. | ||||
*/ | */ | ||||
/*$FreeBSD$*/ | /*$FreeBSD$*/ | ||||
#ifndef _ICE_DDP_H_ | #ifndef _ICE_DDP_COMMON_H_ | ||||
#define _ICE_DDP_H_ | #define _ICE_DDP_COMMON_H_ | ||||
#include "ice_osdep.h" | #include "ice_osdep.h" | ||||
#include "ice_adminq_cmd.h" | #include "ice_adminq_cmd.h" | ||||
#include "ice_controlq.h" | #include "ice_controlq.h" | ||||
#include "ice_status.h" | #include "ice_status.h" | ||||
#include "ice_flex_type.h" | #include "ice_flex_type.h" | ||||
#include "ice_protocol_type.h" | #include "ice_protocol_type.h" | ||||
▲ Show 20 Lines • Show All 427 Lines • ▼ Show 20 Lines | |||||
struct ice_buf_build * | struct ice_buf_build * | ||||
ice_pkg_buf_alloc_single_section(struct ice_hw *hw, u32 type, u16 size, | ice_pkg_buf_alloc_single_section(struct ice_hw *hw, u32 type, u16 size, | ||||
void **section); | void **section); | ||||
struct ice_buf *ice_pkg_buf(struct ice_buf_build *bld); | struct ice_buf *ice_pkg_buf(struct ice_buf_build *bld); | ||||
void ice_pkg_buf_free(struct ice_hw *hw, struct ice_buf_build *bld); | void ice_pkg_buf_free(struct ice_hw *hw, struct ice_buf_build *bld); | ||||
enum ice_status ice_cfg_tx_topo(struct ice_hw *hw, u8 *buf, u32 len); | enum ice_status ice_cfg_tx_topo(struct ice_hw *hw, u8 *buf, u32 len); | ||||
#endif /* _ICE_DDP_H_ */ | #endif /* _ICE_DDP_COMMON_H_ */ |