Lines Matching refs:pt_dev
53 struct platform_device *pt_dev; member
79 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); in check_vbus_state()
102 dev_info(&tu->pt_dev->dev, "USB cable connected\n"); in check_vbus_state()
117 dev_info(&tu->pt_dev->dev, "USB cable disconnected\n"); in check_vbus_state()
124 sysfs_notify(&tu->pt_dev->dev.kobj, NULL, "vbus_state"); in check_vbus_state()
130 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); in tahvo_usb_become_host()
149 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); in tahvo_usb_become_peripheral()
170 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); in tahvo_usb_power_off()
184 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); in tahvo_usb_set_suspend()
187 dev_dbg(&tu->pt_dev->dev, "%s\n", __func__); in tahvo_usb_set_suspend()
204 dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, host); in tahvo_usb_set_host()
234 dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, gadget); in tahvo_usb_set_peripheral()
347 tu->pt_dev = pdev; in tahvo_usb_probe()