Lines Matching refs:qec_op
100 struct platform_device *qec_op = bp->qec_op; in qec_init() local
116 sbus_writel(resource_size(&qec_op->resource[1]), in qec_init()
120 sbus_writel(resource_size(&qec_op->resource[1]) >> 1, in qec_init()
122 sbus_writel(resource_size(&qec_op->resource[1]) >> 1, in qec_init()
1073 struct platform_device *qec_op) in bigmac_ether_init() argument
1094 bp->qec_op = qec_op; in bigmac_ether_init()
1102 bp->gregs = of_ioremap(&qec_op->resource[0], 0, in bigmac_ether_init()
1120 bsizes = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1121 bsizes_more = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1207 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_ether_init()
1232 struct platform_device *qec_op; in bigmac_sbus_probe() local
1234 qec_op = to_platform_device(parent); in bigmac_sbus_probe()
1236 return bigmac_ether_init(op, qec_op); in bigmac_sbus_probe()
1244 struct platform_device *qec_op; in bigmac_sbus_remove() local
1246 qec_op = to_platform_device(parent); in bigmac_sbus_remove()
1250 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_sbus_remove()