Lines Matching refs:sun4i_usb_phy_data
131 struct sun4i_usb_phy_data { struct
163 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) argument
168 struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy0_update_iscr()
200 struct sun4i_usb_phy_data *phy_data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_write()
249 struct sun4i_usb_phy_data *phy_data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_passby()
276 struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_init()
343 struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_exit()
367 static int sun4i_usb_phy0_get_id_det(struct sun4i_usb_phy_data *data) in sun4i_usb_phy0_get_id_det()
383 static int sun4i_usb_phy0_get_vbus_det(struct sun4i_usb_phy_data *data) in sun4i_usb_phy0_get_vbus_det()
402 static bool sun4i_usb_phy0_have_vbus_det(struct sun4i_usb_phy_data *data) in sun4i_usb_phy0_have_vbus_det()
407 static bool sun4i_usb_phy0_poll(struct sun4i_usb_phy_data *data) in sun4i_usb_phy0_poll()
430 struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_power_on()
459 struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_power_off()
480 struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); in sun4i_usb_phy_set_mode()
529 static void sun4i_usb_phy0_reroute(struct sun4i_usb_phy_data *data, int id_det) in sun4i_usb_phy0_reroute()
546 struct sun4i_usb_phy_data *data = in sun4i_usb_phy0_id_vbus_det_scan()
547 container_of(work, struct sun4i_usb_phy_data, detect.work); in sun4i_usb_phy0_id_vbus_det_scan()
619 struct sun4i_usb_phy_data *data = dev_id; in sun4i_usb_phy0_id_vbus_det_irq()
630 struct sun4i_usb_phy_data *data = in sun4i_usb_phy0_vbus_notify()
631 container_of(nb, struct sun4i_usb_phy_data, vbus_power_nb); in sun4i_usb_phy0_vbus_notify()
644 struct sun4i_usb_phy_data *data = dev_get_drvdata(dev); in sun4i_usb_phy_xlate()
655 struct sun4i_usb_phy_data *data = dev_get_drvdata(dev); in sun4i_usb_phy_remove()
677 struct sun4i_usb_phy_data *data; in sun4i_usb_phy_probe()