Lines Matching refs:rphys
114 struct rcar_gen3_phy rphys[NUM_OF_PHYS]; member
307 if (ch->rphys[i].initialized) in rcar_gen3_is_any_rphy_initialized()
319 if (ch->rphys[i].otg_initialized) in rcar_gen3_needs_init_otg()
331 if (ch->rphys[i].powered) in rcar_gen3_are_all_rphys_power_off()
618 return ch->rphys[PHY_INDEX_BOTH_HC].phy; in rcar_gen3_phy_usb2_xlate()
625 return ch->rphys[args->args[0]].phy; in rcar_gen3_phy_usb2_xlate()
713 channel->rphys[i].phy = devm_phy_create(dev, NULL, in rcar_gen3_phy_usb2_probe()
715 if (IS_ERR(channel->rphys[i].phy)) { in rcar_gen3_phy_usb2_probe()
717 ret = PTR_ERR(channel->rphys[i].phy); in rcar_gen3_phy_usb2_probe()
720 channel->rphys[i].ch = channel; in rcar_gen3_phy_usb2_probe()
721 channel->rphys[i].int_enable_bits = rcar_gen3_int_enable[i]; in rcar_gen3_phy_usb2_probe()
722 phy_set_drvdata(channel->rphys[i].phy, &channel->rphys[i]); in rcar_gen3_phy_usb2_probe()