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/mips/atheros/ar531x/arspireg.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 /* $NetBSD: arspireg.h,v 1.1 2006/10/14 15:33:23 gdamore Exp $ */
    2 
    3 /*-
    4  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
    5  * Copyright (c) 2006 Garrett D'Amore.
    6  * All rights reserved.
    7  *
    8  * Portions of this code were written by Garrett D'Amore for the
    9  * Champaign-Urbana Community Wireless Network Project.
   10  *
   11  * Redistribution and use in source and binary forms, with or
   12  * without modification, are permitted provided that the following
   13  * conditions are met:
   14  * 1. Redistributions of source code must retain the above copyright
   15  *    notice, this list of conditions and the following disclaimer.
   16  * 2. Redistributions in binary form must reproduce the above
   17  *    copyright notice, this list of conditions and the following
   18  *    disclaimer in the documentation and/or other materials provided
   19  *    with the distribution.
   20  * 3. All advertising materials mentioning features or use of this
   21  *    software must display the following acknowledgements:
   22  *      This product includes software developed by the Urbana-Champaign
   23  *      Independent Media Center.
   24  *      This product includes software developed by Garrett D'Amore.
   25  * 4. Urbana-Champaign Independent Media Center's name and Garrett
   26  *    D'Amore's name may not be used to endorse or promote products
   27  *    derived from this software without specific prior written permission.
   28  *
   29  * THIS SOFTWARE IS PROVIDED BY THE URBANA-CHAMPAIGN INDEPENDENT
   30  * MEDIA CENTER AND GARRETT D'AMORE ``AS IS'' AND ANY EXPRESS OR
   31  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   32  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   33  * ARE DISCLAIMED.  IN NO EVENT SHALL THE URBANA-CHAMPAIGN INDEPENDENT
   34  * MEDIA CENTER OR GARRETT D'AMORE BE LIABLE FOR ANY DIRECT, INDIRECT,
   35  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   36  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   37  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
   38  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   39  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   40  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
   41  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   42  *
   43  * $FreeBSD: releng/12.0/sys/mips/atheros/ar531x/arspireg.h 306675 2016-10-04 16:27:36Z adrian $
   44  */
   45 
   46 #ifndef _MIPS_ATHEROS_DEV_ARSPIREG_H
   47 #define _MIPS_ATHEROS_DEV_ARSPIREG_H
   48 
   49 #define ARSPI_REG_CTL           0x00
   50 #define ARSPI_REG_OPCODE        0x04
   51 #define ARSPI_REG_DATA          0x08
   52 
   53 #define ARSPI_CTL_START         0x00000100
   54 #define ARSPI_CTL_BUSY          0x00010000
   55 #define ARSPI_CTL_TXCNT_MASK    0x0000000f
   56 #define ARSPI_CTL_TXCNT_SHIFT   0
   57 #define ARSPI_CTL_RXCNT_MASK    0x000000f0
   58 #define ARSPI_CTL_RXCNT_SHIFT   4
   59 #define ARSPI_CTL_SIZE_MASK     0x00060000
   60 #define ARSPI_CTL_CLKSEL_MASK   0x03000000
   61 
   62 #endif /* _MIPS_ATHEROS_DEV_ARSPIREG_H */

Cache object: 88b47ee240d83b3f3225e3b7d9ee0f7a


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