aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/lowlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/ibmasm/lowlevel.h')
-rw-r--r--drivers/misc/ibmasm/lowlevel.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/misc/ibmasm/lowlevel.h b/drivers/misc/ibmasm/lowlevel.h
index e5ed59c589aa..766766523a60 100644
--- a/drivers/misc/ibmasm/lowlevel.h
+++ b/drivers/misc/ibmasm/lowlevel.h
@@ -17,7 +17,7 @@
17 * 17 *
18 * Copyright (C) IBM Corporation, 2004 18 * Copyright (C) IBM Corporation, 2004
19 * 19 *
20 * Author: Max Asböck <amax@us.ibm.com> 20 * Author: Max Asböck <amax@us.ibm.com>
21 * 21 *
22 */ 22 */
23 23
@@ -48,9 +48,9 @@
48#define INTR_CONTROL_REGISTER 0x13A4 48#define INTR_CONTROL_REGISTER 0x13A4
49 49
50#define SCOUT_COM_A_BASE 0x0000 50#define SCOUT_COM_A_BASE 0x0000
51#define SCOUT_COM_B_BASE 0x0100 51#define SCOUT_COM_B_BASE 0x0100
52#define SCOUT_COM_C_BASE 0x0200 52#define SCOUT_COM_C_BASE 0x0200
53#define SCOUT_COM_D_BASE 0x0300 53#define SCOUT_COM_D_BASE 0x0300
54 54
55static inline int sp_interrupt_pending(void __iomem *base_address) 55static inline int sp_interrupt_pending(void __iomem *base_address)
56{ 56{
@@ -86,12 +86,12 @@ static inline void disable_sp_interrupts(void __iomem *base_address)
86 86
87static inline void enable_uart_interrupts(void __iomem *base_address) 87static inline void enable_uart_interrupts(void __iomem *base_address)
88{ 88{
89 ibmasm_enable_interrupts(base_address, UART_INTR_MASK); 89 ibmasm_enable_interrupts(base_address, UART_INTR_MASK);
90} 90}
91 91
92static inline void disable_uart_interrupts(void __iomem *base_address) 92static inline void disable_uart_interrupts(void __iomem *base_address)
93{ 93{
94 ibmasm_disable_interrupts(base_address, UART_INTR_MASK); 94 ibmasm_disable_interrupts(base_address, UART_INTR_MASK);
95} 95}
96 96
97#define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE ) 97#define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE )
@@ -111,7 +111,7 @@ static inline u32 get_mfa_outbound(void __iomem *base_address)
111 111
112static inline void set_mfa_outbound(void __iomem *base_address, u32 mfa) 112static inline void set_mfa_outbound(void __iomem *base_address, u32 mfa)
113{ 113{
114 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); 114 writel(mfa, base_address + OUTBOUND_QUEUE_PORT);
115} 115}
116 116
117static inline u32 get_mfa_inbound(void __iomem *base_address) 117static inline u32 get_mfa_inbound(void __iomem *base_address)
@@ -126,7 +126,7 @@ static inline u32 get_mfa_inbound(void __iomem *base_address)
126 126
127static inline void set_mfa_inbound(void __iomem *base_address, u32 mfa) 127static inline void set_mfa_inbound(void __iomem *base_address, u32 mfa)
128{ 128{
129 writel(mfa, base_address + INBOUND_QUEUE_PORT); 129 writel(mfa, base_address + INBOUND_QUEUE_PORT);
130} 130}
131 131
132static inline struct i2o_message *get_i2o_message(void __iomem *base_address, u32 mfa) 132static inline struct i2o_message *get_i2o_message(void __iomem *base_address, u32 mfa)