Searched refs:asf_dev (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/i2c/busses/ |
H A D | i2c-amd-asf-plat.c | 302 struct amd_asf_dev *asf_dev; in amd_asf_probe() local 306 asf_dev = devm_kzalloc(dev, sizeof(*asf_dev), GFP_KERNEL); in amd_asf_probe() 307 if (!asf_dev) in amd_asf_probe() 310 asf_dev->mmio_cfg.use_mmio = true; in amd_asf_probe() 311 asf_dev->port_addr = platform_get_resource(pdev, IORESOURCE_IO, 0); in amd_asf_probe() 312 if (!asf_dev->port_addr) in amd_asf_probe() 326 asf_dev->eoi_base = devm_ioremap(dev, eoi_addr->start, resource_size(eoi_addr)); in amd_asf_probe() 327 if (!asf_dev->eoi_base) in amd_asf_probe() 330 ret = devm_delayed_work_autocancel(dev, &asf_dev->work_buf, amd_asf_process_target); in amd_asf_probe() 338 ret = devm_request_irq(dev, irq, amd_asf_irq_handler, IRQF_SHARED, "amd_asf", asf_dev); in amd_asf_probe() [all …]
|