k_phy 46 drivers/usb/phy/phy-keystone.c struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev); k_phy 49 drivers/usb/phy/phy-keystone.c val = keystone_usbphy_readl(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK); k_phy 50 drivers/usb/phy/phy-keystone.c keystone_usbphy_writel(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK, k_phy 57 drivers/usb/phy/phy-keystone.c struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev); k_phy 60 drivers/usb/phy/phy-keystone.c val = keystone_usbphy_readl(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK); k_phy 61 drivers/usb/phy/phy-keystone.c keystone_usbphy_writel(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK, k_phy 68 drivers/usb/phy/phy-keystone.c struct keystone_usbphy *k_phy; k_phy 72 drivers/usb/phy/phy-keystone.c k_phy = devm_kzalloc(dev, sizeof(*k_phy), GFP_KERNEL); k_phy 73 drivers/usb/phy/phy-keystone.c if (!k_phy) k_phy 77 drivers/usb/phy/phy-keystone.c k_phy->phy_ctrl = devm_ioremap_resource(dev, res); k_phy 78 drivers/usb/phy/phy-keystone.c if (IS_ERR(k_phy->phy_ctrl)) k_phy 79 drivers/usb/phy/phy-keystone.c return PTR_ERR(k_phy->phy_ctrl); k_phy 81 drivers/usb/phy/phy-keystone.c ret = usb_phy_gen_create_phy(dev, &k_phy->usb_phy_gen, NULL); k_phy 85 drivers/usb/phy/phy-keystone.c k_phy->usb_phy_gen.phy.init = keystone_usbphy_init; k_phy 86 drivers/usb/phy/phy-keystone.c k_phy->usb_phy_gen.phy.shutdown = keystone_usbphy_shutdown; k_phy 88 drivers/usb/phy/phy-keystone.c platform_set_drvdata(pdev, k_phy); k_phy 90 drivers/usb/phy/phy-keystone.c return usb_add_phy_dev(&k_phy->usb_phy_gen.phy); k_phy 95 drivers/usb/phy/phy-keystone.c struct keystone_usbphy *k_phy = platform_get_drvdata(pdev); k_phy 97 drivers/usb/phy/phy-keystone.c usb_remove_phy(&k_phy->usb_phy_gen.phy);