Lines Matching defs:op
114 static int __devinit gfb_probe(struct platform_device *op,
117 struct device_node *dp = op->dev.of_node;
122 info = framebuffer_alloc(sizeof(struct gfb_info), &op->dev);
133 gp->fb_base_phys = op->resource[6].start;
143 gp->fb_base = of_ioremap(&op->resource[6], 0,
161 dev_set_drvdata(&op->dev, info);
166 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size);
175 static int __devexit gfb_remove(struct platform_device *op)
177 struct fb_info *info = dev_get_drvdata(&op->dev);
184 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size);
188 dev_set_drvdata(&op->dev, NULL);