Home
last modified time | relevance | path

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

/openbmc/linux/drivers/irqchip/
H A Dirq-vf610-mscm-ir.c42 void __iomem *mscm_ir_base; member
55 data->saved_irsprc[i] = readw_relaxed(data->mscm_ir_base + MSCM_IRSPRC(i)); in vf610_mscm_ir_save()
63 writew_relaxed(data->saved_irsprc[i], data->mscm_ir_base + MSCM_IRSPRC(i)); in vf610_mscm_ir_restore()
92 irsprc = readw_relaxed(chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_enable()
98 chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_enable()
108 writew_relaxed(0x0, chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_disable()
195 mscm_ir_data->mscm_ir_base = of_io_request_and_map(node, 0, "mscm-ir"); in vf610_mscm_ir_of_init()
196 if (IS_ERR(mscm_ir_data->mscm_ir_base)) { in vf610_mscm_ir_of_init()
198 ret = PTR_ERR(mscm_ir_data->mscm_ir_base); in vf610_mscm_ir_of_init()
229 iounmap(mscm_ir_data->mscm_ir_base); in vf610_mscm_ir_of_init()