Searched refs:pmi_reg (Results 1 – 1 of 1) sorted by relevance
49 u8 __iomem *pmi_reg; member62 type = ioread8(data->pmi_reg + PMI_READ_TYPE); in pmi_irq_handler()78 data->msg.data0 = ioread8(data->pmi_reg + PMI_READ_DATA0); in pmi_irq_handler()79 data->msg.data1 = ioread8(data->pmi_reg + PMI_READ_DATA1); in pmi_irq_handler()80 data->msg.data2 = ioread8(data->pmi_reg + PMI_READ_DATA2); in pmi_irq_handler()143 data->pmi_reg = of_iomap(np, 0); in pmi_of_probe()144 if (!data->pmi_reg) { in pmi_of_probe()174 printk(KERN_INFO "pmi: found pmi device at addr %p.\n", data->pmi_reg); in pmi_of_probe()179 iounmap(data->pmi_reg); in pmi_of_probe()193 iounmap(data->pmi_reg); in pmi_of_remove()[all …]