Searched refs:mfa (Results 1 – 3 of 3) sorted by relevance
83 #define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE ) argument88 u32 mfa; in get_mfa_outbound() local91 mfa = readl(base_address + OUTBOUND_QUEUE_PORT); in get_mfa_outbound()92 if (valid_mfa(mfa)) in get_mfa_outbound()95 return mfa; in get_mfa_outbound()98 static inline void set_mfa_outbound(void __iomem *base_address, u32 mfa) in set_mfa_outbound() argument100 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); in set_mfa_outbound()105 u32 mfa = readl(base_address + INBOUND_QUEUE_PORT); in get_mfa_inbound() local107 if (MAILBOX_FULL(mfa)) in get_mfa_inbound()110 return mfa; in get_mfa_inbound()[all …]
21 u32 mfa; in ibmasm_send_i2o_message() local26 mfa = get_mfa_inbound(sp->base_address); in ibmasm_send_i2o_message()27 if (!mfa) in ibmasm_send_i2o_message()33 message = get_i2o_message(sp->base_address, mfa); in ibmasm_send_i2o_message()38 set_mfa_inbound(sp->base_address, mfa); in ibmasm_send_i2o_message()45 u32 mfa; in ibmasm_interrupt_handler() local60 mfa = get_mfa_outbound(base_address); in ibmasm_interrupt_handler()61 if (valid_mfa(mfa)) { in ibmasm_interrupt_handler()62 struct i2o_message *msg = get_i2o_message(base_address, mfa); in ibmasm_interrupt_handler()67 set_mfa_outbound(base_address, mfa); in ibmasm_interrupt_handler()
523 dma_addr_t mfa; in twl_poll_response() local535 mfa = ((u64)regh << 32) | regl; in twl_poll_response()537 mfa = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_poll_response()539 response = (u32)mfa; in twl_poll_response()1123 dma_addr_t mfa = 0; in twl_interrupt() local1156 mfa = ((u64)regh << 32) | regl; in twl_interrupt()1158 mfa = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_interrupt()1161 response = (u32)mfa; in twl_interrupt()1166 if (tw_dev->sense_buffer_phys[i] == mfa) { in twl_interrupt()