Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/ibmasm/
Dlowlevel.h83 #define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE ) argument
88 u32 mfa; in get_mfa_outbound() local
91 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() argument
100 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); in set_mfa_outbound()
105 u32 mfa = readl(base_address + INBOUND_QUEUE_PORT); in get_mfa_inbound() local
107 if (MAILBOX_FULL(mfa)) in get_mfa_inbound()
110 return mfa; in get_mfa_inbound()
[all …]
Dlowlevel.c21 u32 mfa; in ibmasm_send_i2o_message() local
26 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() local
60 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()
/linux-6.1.9/drivers/scsi/
D3w-sas.c523 dma_addr_t mfa; in twl_poll_response() local
535 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() local
1156 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()