Lines Matching refs:fmc
25 struct fmc_device *fmc = dev_id; in t_handler() local
27 fmc->op->irq_ack(fmc); in t_handler()
28 dev_info(&fmc->dev, "received irq %i\n", irq); in t_handler()
44 static int t_probe(struct fmc_device *fmc) in t_probe() argument
49 if (fmc->op->validate) in t_probe()
50 index = fmc->op->validate(fmc, &t_drv); in t_probe()
54 ret = fmc->op->irq_request(fmc, t_handler, "fmc-trivial", IRQF_SHARED); in t_probe()
58 fmc->op->gpio_config(fmc, t_gpio, ARRAY_SIZE(t_gpio)); in t_probe()
62 if (fmc->op->reprogram) in t_probe()
63 ret = fmc->op->reprogram(fmc, &t_drv, ""); in t_probe()
67 fmc->op->irq_free(fmc); in t_probe()
73 static int t_remove(struct fmc_device *fmc) in t_remove() argument
75 fmc->op->irq_free(fmc); in t_remove()