Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 /*
  2  *  IBM eServer eHCA Infiniband device driver for Linux on POWER
  3  *
  4  *  HW abstraction register functions
  5  *
  6  *  Authors: Christoph Raisch <raisch@de.ibm.com>
  7  *           Reinhard Ernst <rernst@de.ibm.com>
  8  *
  9  *  Copyright (c) 2005 IBM Corporation
 10  *
 11  *  All rights reserved.
 12  *
 13  *  This source code is distributed under a dual license of GPL v2.0 and OpenIB
 14  *  BSD.
 15  *
 16  * OpenIB BSD License
 17  *
 18  * Redistribution and use in source and binary forms, with or without
 19  * modification, are permitted provided that the following conditions are met:
 20  *
 21  * Redistributions of source code must retain the above copyright notice, this
 22  * list of conditions and the following disclaimer.
 23  *
 24  * Redistributions in binary form must reproduce the above copyright notice,
 25  * this list of conditions and the following disclaimer in the documentation
 26  * and/or other materials
 27  * provided with the distribution.
 28  *
 29  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 30  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 31  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 32  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 33  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 34  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 35  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 36  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
 37  * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 38  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 39  * POSSIBILITY OF SUCH DAMAGE.
 40  */
 41 
 42 #ifndef __HIPZ_FNS_H__
 43 #define __HIPZ_FNS_H__
 44 
 45 #include "ehca_classes.h"
 46 #include "hipz_hw.h"
 47 
 48 #include "hipz_fns_core.h"
 49 
 50 #define hipz_galpa_store_eq(gal, offset, value) \
 51         hipz_galpa_store(gal, EQTEMM_OFFSET(offset), value)
 52 
 53 #define hipz_galpa_load_eq(gal, offset) \
 54         hipz_galpa_load(gal, EQTEMM_OFFSET(offset))
 55 
 56 #define hipz_galpa_store_qped(gal, offset, value) \
 57         hipz_galpa_store(gal, QPEDMM_OFFSET(offset), value)
 58 
 59 #define hipz_galpa_load_qped(gal, offset) \
 60         hipz_galpa_load(gal, QPEDMM_OFFSET(offset))
 61 
 62 #define hipz_galpa_store_mrmw(gal, offset, value) \
 63         hipz_galpa_store(gal, MRMWMM_OFFSET(offset), value)
 64 
 65 #define hipz_galpa_load_mrmw(gal, offset) \
 66         hipz_galpa_load(gal, MRMWMM_OFFSET(offset))
 67 
 68 #endif
 69 
  This page was automatically generated by the LXR engine.