Lines Matching refs:resource
24 struct resource leds_resource;
33 struct resource leds_resource;
74 p->clock_freq_regs = of_ioremap(&op->resource[0], 0, in clock_board_probe()
75 resource_size(&op->resource[0]), in clock_board_probe()
82 p->clock_regs = of_ioremap(&op->resource[1], 0, in clock_board_probe()
83 resource_size(&op->resource[1]), in clock_board_probe()
90 if (op->resource[2].flags) { in clock_board_probe()
91 p->clock_ver_reg = of_ioremap(&op->resource[2], 0, in clock_board_probe()
92 resource_size(&op->resource[2]), in clock_board_probe()
109 p->leds_pdev.resource = &p->leds_resource; in clock_board_probe()
129 of_iounmap(&op->resource[2], p->clock_ver_reg, in clock_board_probe()
130 resource_size(&op->resource[2])); in clock_board_probe()
133 of_iounmap(&op->resource[1], p->clock_regs, in clock_board_probe()
134 resource_size(&op->resource[1])); in clock_board_probe()
137 of_iounmap(&op->resource[0], p->clock_freq_regs, in clock_board_probe()
138 resource_size(&op->resource[0])); in clock_board_probe()
174 p->pregs = of_ioremap(&op->resource[0], 0, in fhc_probe()
175 resource_size(&op->resource[0]), in fhc_probe()
203 p->leds_pdev.resource = &p->leds_resource; in fhc_probe()
242 of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); in fhc_probe()