Lines Matching refs:twl4030_usb
145 struct twl4030_usb { struct
172 #define phy_to_twl(x) container_of((x), struct twl4030_usb, phy) argument
176 static int twl4030_i2c_write_u8_verify(struct twl4030_usb *twl, in twl4030_i2c_write_u8_verify()
203 static inline int twl4030_usb_write(struct twl4030_usb *twl, in twl4030_usb_write()
215 static inline int twl4030_readb(struct twl4030_usb *twl, u8 module, u8 address) in twl4030_readb()
231 static inline int twl4030_usb_read(struct twl4030_usb *twl, u8 address) in twl4030_usb_read()
239 twl4030_usb_set_bits(struct twl4030_usb *twl, u8 reg, u8 bits) in twl4030_usb_set_bits()
245 twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits) in twl4030_usb_clear_bits()
252 static bool twl4030_is_driving_vbus(struct twl4030_usb *twl) in twl4030_is_driving_vbus()
272 twl4030_usb_linkstat(struct twl4030_usb *twl) in twl4030_usb_linkstat()
324 static void twl4030_usb_set_mode(struct twl4030_usb *twl, int mode) in twl4030_usb_set_mode()
347 static void twl4030_i2c_access(struct twl4030_usb *twl, int on) in twl4030_i2c_access()
377 static void __twl4030_phy_power(struct twl4030_usb *twl, int on) in __twl4030_phy_power()
394 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_suspend()
413 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_resume()
429 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_runtime_suspend()
445 struct twl4030_usb *twl = dev_get_drvdata(dev); in twl4030_usb_runtime_resume()
493 struct twl4030_usb *twl = phy_get_drvdata(phy); in twl4030_phy_power_off()
502 struct twl4030_usb *twl = phy_get_drvdata(phy); in twl4030_phy_power_on()
513 static int twl4030_usb_ldo_init(struct twl4030_usb *twl) in twl4030_usb_ldo_init()
565 struct twl4030_usb *twl = dev_get_drvdata(dev); in vbus_show()
579 struct twl4030_usb *twl = _twl; in twl4030_usb_irq()
625 struct twl4030_usb *twl = container_of(work, struct twl4030_usb, in twl4030_id_workaround_work()
633 struct twl4030_usb *twl = phy_get_drvdata(phy); in twl4030_phy_init()
685 struct twl4030_usb *twl; in twl4030_usb_probe()
792 struct twl4030_usb *twl = platform_get_drvdata(pdev); in twl4030_usb_remove()