![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * Common Definitions for Janz MODULbus devices 0004 * 0005 * Copyright (c) 2010 Ira W. Snyder <iws@ovro.caltech.edu> 0006 */ 0007 0008 #ifndef JANZ_H 0009 #define JANZ_H 0010 0011 struct janz_platform_data { 0012 /* MODULbus Module Number */ 0013 unsigned int modno; 0014 }; 0015 0016 /* PLX bridge chip onboard registers */ 0017 struct janz_cmodio_onboard_regs { 0018 u8 unused1; 0019 0020 /* 0021 * Read access: interrupt status 0022 * Write access: interrupt disable 0023 */ 0024 u8 int_disable; 0025 u8 unused2; 0026 0027 /* 0028 * Read access: MODULbus number (hex switch) 0029 * Write access: interrupt enable 0030 */ 0031 u8 int_enable; 0032 u8 unused3; 0033 0034 /* write-only */ 0035 u8 reset_assert; 0036 u8 unused4; 0037 0038 /* write-only */ 0039 u8 reset_deassert; 0040 u8 unused5; 0041 0042 /* read-write access to serial EEPROM */ 0043 u8 eep; 0044 u8 unused6; 0045 0046 /* write-only access to EEPROM chip select */ 0047 u8 enid; 0048 }; 0049 0050 #endif /* JANZ_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |