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/dev/firewire/firewire_phy.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 /*-
    2  * SPDX-License-Identifier: BSD-4-Clause
    3  *
    4  * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
    5  * All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  * 3. All advertising materials mentioning features or use of this software
   16  *    must display the acknowledgement as bellow:
   17  *
   18  *    This product includes software developed by K. Kobayashi and H. Shimokawa
   19  *
   20  * 4. The name of the author may not be used to endorse or promote products
   21  *    derived from this software without specific prior written permission.
   22  *
   23  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   24  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   25  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   26  * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
   27  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   28  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   29  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   30  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   31  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
   32  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   33  * POSSIBILITY OF SUCH DAMAGE.
   34  *
   35  * $FreeBSD$
   36  *
   37  */
   38 
   39 #define FW_PHY_PHYSID_REG               0x00
   40 #define FW_PHY_PHYSID                   (63<<2)
   41 #define FW_PHY_ROOT_REG                 0x00
   42 #define FW_PHY_ROOT                     (1<<1)
   43 #define FW_PHY_CPS_REG                  0x00
   44 #define FW_PHY_CPS                      (1<<0)
   45 
   46 #define FW_PHY_RHB_REG                  0x01
   47 #define FW_PHY_RHB                      (1<<7)
   48 #define FW_PHY_IBR_REG                  0x01
   49 #define FW_PHY_IBR                      (1<<6)
   50 #define FW_PHY_ISBR_REG                 0x05
   51 #define FW_PHY_ISBR                     (1<<6)
   52 #define FW_PHY_GC_REG                   0x01
   53 
   54 #define FW_PHY_SPD_REG                  0x02
   55 #define FW_PHY_SPD                      (3<<6)
   56 #define FW_PHY_REV_REG                  0x02
   57 #define FW_PHY_REV                      (3<<4)
   58 #define FW_PHY_NP_REG                   0x02
   59 #define FW_PHY_NP                       (15<<0)
   60 
   61 #define FW_PHY_P1_REG                   0x03
   62 #define FW_PHY_P2_REG                   0x04
   63 #define FW_PHY_P3_REG                   0x05
   64 
   65 #define FW_PHY_P_ASTAT                  (3<<6)
   66 #define FW_PHY_P_BSTAT                  (3<<4)
   67 #define FW_PHY_P_CH                     (1<<3)
   68 #define FW_PHY_P_CON                    (1<<2)
   69 
   70 #define FW_PHY_LOOPINT_REG              0x06
   71 #define FW_PHY_LOOPINT                  (1<<7)
   72 #define FW_PHY_CPSINT_REG               0x06
   73 #define FW_PHY_CPSNT                    (1<<6)
   74 /*
   75 #define FW_PHY_CPS_REG                  0x06
   76 #define FW_PHY_CPS                      (1<<5)
   77 */
   78 #define FW_PHY_IR_REG                   0x06
   79 #define FW_PHY_IR                       (1<<4)
   80 #define FW_PHY_C_REG                    0x06
   81 #define FW_PHY_C                        (1<<0)
   82 
   83 #define FW_PHY_ESPD_REG                 0x03
   84 #define FW_PHY_ESPD                     (7<<5)
   85 
   86 #define FW_PHY_EDEL_REG                 0x03
   87 #define FW_PHY_EDEL                     15<<0

Cache object: 26c25cc8f261962c5482334fcfd11d8c


[ 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.