Lines Matching refs:op
161 static int flash_probe(struct platform_device *op) in flash_probe() argument
163 struct device_node *dp = op->dev.of_node; in flash_probe()
173 flash.read_base = op->resource[0].start; in flash_probe()
174 flash.read_size = resource_size(&op->resource[0]); in flash_probe()
175 if (op->resource[1].flags) { in flash_probe()
176 flash.write_base = op->resource[1].start; in flash_probe()
177 flash.write_size = resource_size(&op->resource[1]); in flash_probe()
179 flash.write_base = op->resource[0].start; in flash_probe()
180 flash.write_size = resource_size(&op->resource[0]); in flash_probe()
185 op->dev.of_node->full_name, in flash_probe()
192 static int flash_remove(struct platform_device *op) in flash_remove() argument