Lines Matching defs:op
106 static int __devinit ecpp_probe(struct platform_device *op, const struct of_device_id *match)
108 unsigned long base = op->resource[0].start;
109 unsigned long config = op->resource[1].start;
110 unsigned long d_base = op->resource[2].start;
116 parent = op->dev.of_node->parent;
119 op->archdata.irqs[0], PARPORT_DMA_NOFIFO,
120 op->dev.parent->parent, 0);
123 dev_set_drvdata(&op->dev, p);
137 d_len = (op->resource[2].end - d_base) + 1UL;
139 of_ioremap(&op->resource[2], 0, d_len, "ECPP DMA");
169 op->archdata.irqs[0],
171 op->dev.parent,
177 dev_set_drvdata(&op->dev, p);
186 of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len);
195 static int __devexit ecpp_remove(struct platform_device *op)
197 struct parport *p = dev_get_drvdata(&op->dev);
203 unsigned long d_base = op->resource[2].start;
206 d_len = (op->resource[2].end - d_base) + 1UL;
210 of_iounmap(&op->resource[2],