Lines Matching refs:lan966x_oic
170 struct lan966x_oic_data *lan966x_oic = gc->domain->host_data; in lan966x_oic_chip_init() local
175 gc->reg_base = lan966x_oic->regs; in lan966x_oic_chip_init()
202 struct lan966x_oic_data *lan966x_oic = d->host_data; in lan966x_oic_domain_init() local
204 irq_set_chained_handler_and_data(lan966x_oic->irq, lan966x_oic_irq_handler, d); in lan966x_oic_domain_init()
211 struct lan966x_oic_data *lan966x_oic = d->host_data; in lan966x_oic_domain_exit() local
213 irq_set_chained_handler_and_data(lan966x_oic->irq, NULL, NULL); in lan966x_oic_domain_exit()
236 struct lan966x_oic_data *lan966x_oic; in lan966x_oic_probe() local
240 lan966x_oic = devm_kmalloc(dev, sizeof(*lan966x_oic), GFP_KERNEL); in lan966x_oic_probe()
241 if (!lan966x_oic) in lan966x_oic_probe()
244 lan966x_oic->regs = devm_platform_ioremap_resource(pdev, 0); in lan966x_oic_probe()
245 if (IS_ERR(lan966x_oic->regs)) in lan966x_oic_probe()
246 return dev_err_probe(dev, PTR_ERR(lan966x_oic->regs), in lan966x_oic_probe()
249 lan966x_oic->irq = platform_get_irq(pdev, 0); in lan966x_oic_probe()
250 if (lan966x_oic->irq < 0) in lan966x_oic_probe()
251 return dev_err_probe(dev, lan966x_oic->irq, "failed to get the IRQ\n"); in lan966x_oic_probe()
253 d_info.host_data = lan966x_oic; in lan966x_oic_probe()