Home
last modified time | relevance | path

Searched refs:ctrl_usb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/phy/
H A Dphy-am335x-control.c142 ctrl_usb = dev_get_drvdata(dev); in am335x_get_phy_control()
144 if (!ctrl_usb) in am335x_get_phy_control()
146 return &ctrl_usb->phy_ctrl; in am335x_get_phy_control()
162 ctrl_usb = devm_kzalloc(&pdev->dev, sizeof(*ctrl_usb), GFP_KERNEL); in am335x_control_usb_probe()
163 if (!ctrl_usb) in am335x_control_usb_probe()
166 ctrl_usb->dev = &pdev->dev; in am335x_control_usb_probe()
169 if (IS_ERR(ctrl_usb->phy_reg)) in am335x_control_usb_probe()
173 if (IS_ERR(ctrl_usb->wkup)) in am335x_control_usb_probe()
174 return PTR_ERR(ctrl_usb->wkup); in am335x_control_usb_probe()
177 ctrl_usb->phy_ctrl = *phy_ctrl; in am335x_control_usb_probe()
[all …]