Lines Matching defs:op
163 static int __devinit flash_probe(struct platform_device *op,
166 struct device_node *dp = op->dev.of_node;
176 flash.read_base = op->resource[0].start;
177 flash.read_size = resource_size(&op->resource[0]);
178 if (op->resource[1].flags) {
179 flash.write_base = op->resource[1].start;
180 flash.write_size = resource_size(&op->resource[1]);
182 flash.write_base = op->resource[0].start;
183 flash.write_size = resource_size(&op->resource[0]);
188 op->dev.of_node->full_name,
195 static int __devexit flash_remove(struct platform_device *op)