Home
last modified time | relevance | path

Searched refs:mfa (Results 1 – 3 of 3) sorted by relevance

/drivers/misc/ibmasm/
Dlowlevel.h97 #define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE ) argument
102 u32 mfa; in get_mfa_outbound() local
105 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() argument
114 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); in set_mfa_outbound()
119 u32 mfa = readl(base_address + INBOUND_QUEUE_PORT); in get_mfa_inbound() local
121 if (MAILBOX_FULL(mfa)) in get_mfa_inbound()
124 return mfa; in get_mfa_inbound()
[all …]
Dlowlevel.c35 u32 mfa; in ibmasm_send_i2o_message() local
40 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() local
74 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()
/drivers/scsi/
D3w-sas.c528 dma_addr_t mfa; in twl_poll_response() local
540 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() local
1161 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()