i2c_ic 34 drivers/irqchip/irq-aspeed-i2c-ic.c struct aspeed_i2c_ic *i2c_ic = irq_desc_get_handler_data(desc); i2c_ic 40 drivers/irqchip/irq-aspeed-i2c-ic.c status = readl(i2c_ic->base); i2c_ic 42 drivers/irqchip/irq-aspeed-i2c-ic.c bus_irq = irq_find_mapping(i2c_ic->irq_domain, bit); i2c_ic 68 drivers/irqchip/irq-aspeed-i2c-ic.c struct aspeed_i2c_ic *i2c_ic; i2c_ic 71 drivers/irqchip/irq-aspeed-i2c-ic.c i2c_ic = kzalloc(sizeof(*i2c_ic), GFP_KERNEL); i2c_ic 72 drivers/irqchip/irq-aspeed-i2c-ic.c if (!i2c_ic) i2c_ic 75 drivers/irqchip/irq-aspeed-i2c-ic.c i2c_ic->base = of_iomap(node, 0); i2c_ic 76 drivers/irqchip/irq-aspeed-i2c-ic.c if (!i2c_ic->base) { i2c_ic 81 drivers/irqchip/irq-aspeed-i2c-ic.c i2c_ic->parent_irq = irq_of_parse_and_map(node, 0); i2c_ic 82 drivers/irqchip/irq-aspeed-i2c-ic.c if (i2c_ic->parent_irq < 0) { i2c_ic 83 drivers/irqchip/irq-aspeed-i2c-ic.c ret = i2c_ic->parent_irq; i2c_ic 87 drivers/irqchip/irq-aspeed-i2c-ic.c i2c_ic->irq_domain = irq_domain_add_linear(node, ASPEED_I2C_IC_NUM_BUS, i2c_ic 90 drivers/irqchip/irq-aspeed-i2c-ic.c if (!i2c_ic->irq_domain) { i2c_ic 95 drivers/irqchip/irq-aspeed-i2c-ic.c i2c_ic->irq_domain->name = "aspeed-i2c-domain"; i2c_ic 97 drivers/irqchip/irq-aspeed-i2c-ic.c irq_set_chained_handler_and_data(i2c_ic->parent_irq, i2c_ic 98 drivers/irqchip/irq-aspeed-i2c-ic.c aspeed_i2c_ic_irq_handler, i2c_ic); i2c_ic 100 drivers/irqchip/irq-aspeed-i2c-ic.c pr_info("i2c controller registered, irq %d\n", i2c_ic->parent_irq); i2c_ic 105 drivers/irqchip/irq-aspeed-i2c-ic.c iounmap(i2c_ic->base); i2c_ic 107 drivers/irqchip/irq-aspeed-i2c-ic.c kfree(i2c_ic);