am_phy 25 drivers/usb/phy/phy-am335x.c struct am335x_phy *am_phy = dev_get_drvdata(phy->dev); am_phy 27 drivers/usb/phy/phy-am335x.c phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, am_phy->dr_mode, true); am_phy 33 drivers/usb/phy/phy-am335x.c struct am335x_phy *am_phy = dev_get_drvdata(phy->dev); am_phy 35 drivers/usb/phy/phy-am335x.c phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, am_phy->dr_mode, false); am_phy 40 drivers/usb/phy/phy-am335x.c struct am335x_phy *am_phy; am_phy 44 drivers/usb/phy/phy-am335x.c am_phy = devm_kzalloc(dev, sizeof(*am_phy), GFP_KERNEL); am_phy 45 drivers/usb/phy/phy-am335x.c if (!am_phy) am_phy 48 drivers/usb/phy/phy-am335x.c am_phy->phy_ctrl = am335x_get_phy_control(dev); am_phy 49 drivers/usb/phy/phy-am335x.c if (!am_phy->phy_ctrl) am_phy 52 drivers/usb/phy/phy-am335x.c am_phy->id = of_alias_get_id(pdev->dev.of_node, "phy"); am_phy 53 drivers/usb/phy/phy-am335x.c if (am_phy->id < 0) { am_phy 54 drivers/usb/phy/phy-am335x.c dev_err(&pdev->dev, "Missing PHY id: %d\n", am_phy->id); am_phy 55 drivers/usb/phy/phy-am335x.c return am_phy->id; am_phy 58 drivers/usb/phy/phy-am335x.c am_phy->dr_mode = of_usb_get_dr_mode_by_phy(pdev->dev.of_node, -1); am_phy 60 drivers/usb/phy/phy-am335x.c ret = usb_phy_gen_create_phy(dev, &am_phy->usb_phy_gen, NULL); am_phy 64 drivers/usb/phy/phy-am335x.c am_phy->usb_phy_gen.phy.init = am335x_init; am_phy 65 drivers/usb/phy/phy-am335x.c am_phy->usb_phy_gen.phy.shutdown = am335x_shutdown; am_phy 67 drivers/usb/phy/phy-am335x.c platform_set_drvdata(pdev, am_phy); am_phy 80 drivers/usb/phy/phy-am335x.c phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, am_phy->dr_mode, false); am_phy 82 drivers/usb/phy/phy-am335x.c return usb_add_phy_dev(&am_phy->usb_phy_gen.phy); am_phy 87 drivers/usb/phy/phy-am335x.c struct am335x_phy *am_phy = platform_get_drvdata(pdev); am_phy 89 drivers/usb/phy/phy-am335x.c usb_remove_phy(&am_phy->usb_phy_gen.phy); am_phy 96 drivers/usb/phy/phy-am335x.c struct am335x_phy *am_phy = dev_get_drvdata(dev); am_phy 107 drivers/usb/phy/phy-am335x.c phy_ctrl_wkup(am_phy->phy_ctrl, am_phy->id, true); am_phy 109 drivers/usb/phy/phy-am335x.c phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, am_phy->dr_mode, false); am_phy 116 drivers/usb/phy/phy-am335x.c struct am335x_phy *am_phy = dev_get_drvdata(dev); am_phy 118 drivers/usb/phy/phy-am335x.c phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, am_phy->dr_mode, true); am_phy 121 drivers/usb/phy/phy-am335x.c phy_ctrl_wkup(am_phy->phy_ctrl, am_phy->id, false);