Lines Matching refs:twl4030_usb

146 struct twl4030_usb {  struct
173 #define phy_to_twl(x) container_of((x), struct twl4030_usb, phy) argument
177 static int twl4030_i2c_write_u8_verify(struct twl4030_usb *twl, in twl4030_i2c_write_u8_verify()
204 static inline int twl4030_usb_write(struct twl4030_usb *twl, in twl4030_usb_write()
216 static inline int twl4030_readb(struct twl4030_usb *twl, u8 module, u8 address) in twl4030_readb()
232 static inline int twl4030_usb_read(struct twl4030_usb *twl, u8 address) in twl4030_usb_read()
240 twl4030_usb_set_bits(struct twl4030_usb *twl, u8 reg, u8 bits) in twl4030_usb_set_bits()
246 twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits) in twl4030_usb_clear_bits()
253 static bool twl4030_is_driving_vbus(struct twl4030_usb *twl) in twl4030_is_driving_vbus()
273 twl4030_usb_linkstat(struct twl4030_usb *twl) in twl4030_usb_linkstat()
325 static void twl4030_usb_set_mode(struct twl4030_usb *twl, int mode) in twl4030_usb_set_mode()
348 static void twl4030_i2c_access(struct twl4030_usb *twl, int on) in twl4030_i2c_access()
378 static void __twl4030_phy_power(struct twl4030_usb *twl, int on) in __twl4030_phy_power()
395 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_suspend()
414 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_resume()
430 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_runtime_suspend()
446 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_runtime_resume()
494 struct twl4030_usb *twl = phy_get_drvdata(phy); in twl4030_phy_power_off()
503 struct twl4030_usb *twl = phy_get_drvdata(phy); in twl4030_phy_power_on()
514 static int twl4030_usb_ldo_init(struct twl4030_usb *twl) in twl4030_usb_ldo_init()
566 struct twl4030_usb *twl = dev_get_drvdata(dev); in vbus_show()
580 struct twl4030_usb *twl = _twl; in twl4030_usb_irq()
626 struct twl4030_usb *twl = container_of(work, struct twl4030_usb, in twl4030_id_workaround_work()
634 struct twl4030_usb *twl = phy_get_drvdata(phy); in twl4030_phy_init()
686 struct twl4030_usb *twl; in twl4030_usb_probe()
793 struct twl4030_usb *twl = platform_get_drvdata(pdev); in twl4030_usb_remove()