Lines Matching refs:resource
10058 np->regs = of_ioremap(&op->resource[1], 0, in niu_of_probe()
10059 resource_size(&op->resource[1]), in niu_of_probe()
10067 np->vir_regs_1 = of_ioremap(&op->resource[2], 0, in niu_of_probe()
10068 resource_size(&op->resource[2]), in niu_of_probe()
10076 np->vir_regs_2 = of_ioremap(&op->resource[3], 0, in niu_of_probe()
10077 resource_size(&op->resource[3]), in niu_of_probe()
10108 of_iounmap(&op->resource[2], np->vir_regs_1, in niu_of_probe()
10109 resource_size(&op->resource[2])); in niu_of_probe()
10114 of_iounmap(&op->resource[3], np->vir_regs_2, in niu_of_probe()
10115 resource_size(&op->resource[3])); in niu_of_probe()
10120 of_iounmap(&op->resource[1], np->regs, in niu_of_probe()
10121 resource_size(&op->resource[1])); in niu_of_probe()
10145 of_iounmap(&op->resource[2], np->vir_regs_1, in niu_of_remove()
10146 resource_size(&op->resource[2])); in niu_of_remove()
10151 of_iounmap(&op->resource[3], np->vir_regs_2, in niu_of_remove()
10152 resource_size(&op->resource[3])); in niu_of_remove()
10157 of_iounmap(&op->resource[1], np->regs, in niu_of_remove()
10158 resource_size(&op->resource[1])); in niu_of_remove()