The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/dev/iwlwifi/fw/api/context.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
    2 /*
    3  * Copyright (C) 2012-2014 Intel Corporation
    4  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
    5  * Copyright (C) 2016-2017 Intel Deutschland GmbH
    6  */
    7 #ifndef __iwl_fw_api_context_h__
    8 #define __iwl_fw_api_context_h__
    9 
   10 /**
   11  * enum iwl_ctxt_id_and_color - ID and color fields in context dword
   12  * @FW_CTXT_ID_POS: position of the ID
   13  * @FW_CTXT_ID_MSK: mask of the ID
   14  * @FW_CTXT_COLOR_POS: position of the color
   15  * @FW_CTXT_COLOR_MSK: mask of the color
   16  * @FW_CTXT_INVALID: value used to indicate unused/invalid
   17  */
   18 enum iwl_ctxt_id_and_color {
   19         FW_CTXT_ID_POS          = 0,
   20         FW_CTXT_ID_MSK          = 0xff << FW_CTXT_ID_POS,
   21         FW_CTXT_COLOR_POS       = 8,
   22         FW_CTXT_COLOR_MSK       = 0xff << FW_CTXT_COLOR_POS,
   23         FW_CTXT_INVALID         = 0xffffffff,
   24 };
   25 
   26 #define FW_CMD_ID_AND_COLOR(_id, _color) (((_id) << FW_CTXT_ID_POS) |\
   27                                           ((_color) << FW_CTXT_COLOR_POS))
   28 
   29 /* Possible actions on PHYs, MACs and Bindings */
   30 enum iwl_ctxt_action {
   31         FW_CTXT_ACTION_STUB = 0,
   32         FW_CTXT_ACTION_ADD,
   33         FW_CTXT_ACTION_MODIFY,
   34         FW_CTXT_ACTION_REMOVE,
   35         FW_CTXT_ACTION_NUM
   36 }; /* COMMON_CONTEXT_ACTION_API_E_VER_1 */
   37 
   38 #endif /* __iwl_fw_api_context_h__ */

Cache object: e9c21be9e90ffce8d841dfd75443165b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.