Searched refs:mfa (Results 1 – 3 of 3) sorted by relevance
97 #define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE ) argument102 u32 mfa; in get_mfa_outbound() local105 mfa = readl(base_address + OUTBOUND_QUEUE_PORT); in get_mfa_outbound()106 if (valid_mfa(mfa)) in get_mfa_outbound()109 return mfa; in get_mfa_outbound()112 static inline void set_mfa_outbound(void __iomem *base_address, u32 mfa) in set_mfa_outbound() argument114 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); in set_mfa_outbound()119 u32 mfa = readl(base_address + INBOUND_QUEUE_PORT); in get_mfa_inbound() local121 if (MAILBOX_FULL(mfa)) in get_mfa_inbound()124 return mfa; in get_mfa_inbound()[all …]
35 u32 mfa; in ibmasm_send_i2o_message() local40 mfa = get_mfa_inbound(sp->base_address); in ibmasm_send_i2o_message()41 if (!mfa) in ibmasm_send_i2o_message()47 message = get_i2o_message(sp->base_address, mfa); in ibmasm_send_i2o_message()52 set_mfa_inbound(sp->base_address, mfa); in ibmasm_send_i2o_message()59 u32 mfa; in ibmasm_interrupt_handler() local74 mfa = get_mfa_outbound(base_address); in ibmasm_interrupt_handler()75 if (valid_mfa(mfa)) { in ibmasm_interrupt_handler()76 struct i2o_message *msg = get_i2o_message(base_address, mfa); in ibmasm_interrupt_handler()81 set_mfa_outbound(base_address, mfa); in ibmasm_interrupt_handler()
528 dma_addr_t mfa; in twl_poll_response() local540 mfa = ((u64)regh << 32) | regl; in twl_poll_response()542 mfa = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_poll_response()544 response = (u32)mfa; in twl_poll_response()1128 dma_addr_t mfa = 0; in twl_interrupt() local1161 mfa = ((u64)regh << 32) | regl; in twl_interrupt()1163 mfa = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_interrupt()1166 response = (u32)mfa; in twl_interrupt()1171 if (tw_dev->sense_buffer_phys[i] == mfa) { in twl_interrupt()