Lines Matching refs:rphys
109 struct rcar_gen3_phy rphys[NUM_OF_PHYS];
112 struct mutex lock; /* protects rphys[...].powered */
284 if (ch->rphys[i].initialized)
296 if (ch->rphys[i].otg_initialized)
308 if (ch->rphys[i].powered)
575 return ch->rphys[PHY_INDEX_BOTH_HC].phy;
582 return ch->rphys[args->args[0]].phy;
664 channel->rphys[i].phy = devm_phy_create(dev, NULL,
666 if (IS_ERR(channel->rphys[i].phy)) {
668 ret = PTR_ERR(channel->rphys[i].phy);
671 channel->rphys[i].ch = channel;
672 channel->rphys[i].int_enable_bits = rcar_gen3_int_enable[i];
673 phy_set_drvdata(channel->rphys[i].phy, &channel->rphys[i]);