• Home
  • Raw
  • Download

Lines Matching refs:op

63 static int __devinit clock_board_probe(struct platform_device *op)  in clock_board_probe()  argument
73 p->clock_freq_regs = of_ioremap(&op->resource[0], 0, in clock_board_probe()
74 resource_size(&op->resource[0]), in clock_board_probe()
81 p->clock_regs = of_ioremap(&op->resource[1], 0, in clock_board_probe()
82 resource_size(&op->resource[1]), in clock_board_probe()
89 if (op->resource[2].flags) { in clock_board_probe()
90 p->clock_ver_reg = of_ioremap(&op->resource[2], 0, in clock_board_probe()
91 resource_size(&op->resource[2]), in clock_board_probe()
110 p->leds_pdev.dev.parent = &op->dev; in clock_board_probe()
128 of_iounmap(&op->resource[2], p->clock_ver_reg, in clock_board_probe()
129 resource_size(&op->resource[2])); in clock_board_probe()
132 of_iounmap(&op->resource[1], p->clock_regs, in clock_board_probe()
133 resource_size(&op->resource[1])); in clock_board_probe()
136 of_iounmap(&op->resource[0], p->clock_freq_regs, in clock_board_probe()
137 resource_size(&op->resource[0])); in clock_board_probe()
160 static int __devinit fhc_probe(struct platform_device *op) in fhc_probe() argument
171 if (!strcmp(op->dev.of_node->parent->name, "central")) in fhc_probe()
174 p->pregs = of_ioremap(&op->resource[0], 0, in fhc_probe()
175 resource_size(&op->resource[0]), in fhc_probe()
186 p->board_num = of_getintprop_default(op->dev.of_node, "board#", -1); in fhc_probe()
205 p->leds_pdev.dev.parent = &op->dev; in fhc_probe()
242 of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); in fhc_probe()