![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 0002 /* 0003 * Copyright (C) 2012-2014 Intel Corporation 0004 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 0005 * Copyright (C) 2016-2017 Intel Deutschland GmbH 0006 */ 0007 #ifndef __iwl_fw_api_context_h__ 0008 #define __iwl_fw_api_context_h__ 0009 0010 /** 0011 * enum iwl_ctxt_id_and_color - ID and color fields in context dword 0012 * @FW_CTXT_ID_POS: position of the ID 0013 * @FW_CTXT_ID_MSK: mask of the ID 0014 * @FW_CTXT_COLOR_POS: position of the color 0015 * @FW_CTXT_COLOR_MSK: mask of the color 0016 * @FW_CTXT_INVALID: value used to indicate unused/invalid 0017 */ 0018 enum iwl_ctxt_id_and_color { 0019 FW_CTXT_ID_POS = 0, 0020 FW_CTXT_ID_MSK = 0xff << FW_CTXT_ID_POS, 0021 FW_CTXT_COLOR_POS = 8, 0022 FW_CTXT_COLOR_MSK = 0xff << FW_CTXT_COLOR_POS, 0023 FW_CTXT_INVALID = 0xffffffff, 0024 }; 0025 0026 #define FW_CMD_ID_AND_COLOR(_id, _color) (((_id) << FW_CTXT_ID_POS) |\ 0027 ((_color) << FW_CTXT_COLOR_POS)) 0028 0029 /* Possible actions on PHYs, MACs and Bindings */ 0030 enum iwl_ctxt_action { 0031 FW_CTXT_ACTION_STUB = 0, 0032 FW_CTXT_ACTION_ADD, 0033 FW_CTXT_ACTION_MODIFY, 0034 FW_CTXT_ACTION_REMOVE, 0035 FW_CTXT_ACTION_NUM 0036 }; /* COMMON_CONTEXT_ACTION_API_E_VER_1 */ 0037 0038 #endif /* __iwl_fw_api_context_h__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |