Lines Matching defs:rphys
112 struct rcar_gen3_phy rphys[NUM_OF_PHYS];
115 struct mutex lock; /* protects rphys[...].powered */
305 if (ch->rphys[i].initialized)
317 if (ch->rphys[i].otg_initialized)
329 if (ch->rphys[i].powered)
616 return ch->rphys[PHY_INDEX_BOTH_HC].phy;
623 return ch->rphys[args->args[0]].phy;
709 channel->rphys[i].phy = devm_phy_create(dev, NULL,
711 if (IS_ERR(channel->rphys[i].phy)) {
713 ret = PTR_ERR(channel->rphys[i].phy);
716 channel->rphys[i].ch = channel;
717 channel->rphys[i].int_enable_bits = rcar_gen3_int_enable[i];
718 phy_set_drvdata(channel->rphys[i].phy, &channel->rphys[i]);