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
1092 bp->qec_op = qec_op; in bigmac_ether_init()
1100 bp->gregs = of_ioremap(&qec_op->resource[0], 0, in bigmac_ether_init()
1118 bsizes = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1119 bsizes_more = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1205 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_ether_init()
1230 struct platform_device *qec_op; in bigmac_sbus_probe() local
1232 qec_op = to_platform_device(parent); in bigmac_sbus_probe()
1234 return bigmac_ether_init(op, qec_op); in bigmac_sbus_probe()
1242 struct platform_device *qec_op; in bigmac_sbus_remove() local
1244 qec_op = to_platform_device(parent); in bigmac_sbus_remove()
1248 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_sbus_remove()