• Home
  • Raw
  • Download

Lines Matching refs:base_address

55 static inline int sp_interrupt_pending(void __iomem *base_address)  in sp_interrupt_pending()  argument
57 return SP_INTR_MASK & readl(base_address + INTR_STATUS_REGISTER); in sp_interrupt_pending()
60 static inline int uart_interrupt_pending(void __iomem *base_address) in uart_interrupt_pending() argument
62 return UART_INTR_MASK & readl(base_address + INTR_STATUS_REGISTER); in uart_interrupt_pending()
65 static inline void ibmasm_enable_interrupts(void __iomem *base_address, int mask) in ibmasm_enable_interrupts() argument
67 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_enable_interrupts()
71 static inline void ibmasm_disable_interrupts(void __iomem *base_address, int mask) in ibmasm_disable_interrupts() argument
73 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_disable_interrupts()
77 static inline void enable_sp_interrupts(void __iomem *base_address) in enable_sp_interrupts() argument
79 ibmasm_enable_interrupts(base_address, SP_INTR_MASK); in enable_sp_interrupts()
82 static inline void disable_sp_interrupts(void __iomem *base_address) in disable_sp_interrupts() argument
84 ibmasm_disable_interrupts(base_address, SP_INTR_MASK); in disable_sp_interrupts()
87 static inline void enable_uart_interrupts(void __iomem *base_address) in enable_uart_interrupts() argument
89 ibmasm_enable_interrupts(base_address, UART_INTR_MASK); in enable_uart_interrupts()
92 static inline void disable_uart_interrupts(void __iomem *base_address) in disable_uart_interrupts() argument
94 ibmasm_disable_interrupts(base_address, UART_INTR_MASK); in disable_uart_interrupts()
99 static inline u32 get_mfa_outbound(void __iomem *base_address) in get_mfa_outbound() argument
105 mfa = readl(base_address + OUTBOUND_QUEUE_PORT); in get_mfa_outbound()
112 static inline void set_mfa_outbound(void __iomem *base_address, u32 mfa) in set_mfa_outbound() argument
114 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); in set_mfa_outbound()
117 static inline u32 get_mfa_inbound(void __iomem *base_address) in get_mfa_inbound() argument
119 u32 mfa = readl(base_address + INBOUND_QUEUE_PORT); in get_mfa_inbound()
127 static inline void set_mfa_inbound(void __iomem *base_address, u32 mfa) in set_mfa_inbound() argument
129 writel(mfa, base_address + INBOUND_QUEUE_PORT); in set_mfa_inbound()
132 static inline struct i2o_message *get_i2o_message(void __iomem *base_address, u32 mfa) in get_i2o_message() argument
134 return (struct i2o_message *)(GET_MFA_ADDR(mfa) + base_address); in get_i2o_message()