Lines Matching defs:twl4030_usb
3 * twl4030_usb - TWL4030 USB transceiver, talking to OMAP OTG controller
146 struct twl4030_usb {
173 #define phy_to_twl(x) container_of((x), struct twl4030_usb, phy)
177 static int twl4030_i2c_write_u8_verify(struct twl4030_usb *twl,
204 static inline int twl4030_usb_write(struct twl4030_usb *twl,
216 static inline int twl4030_readb(struct twl4030_usb *twl, u8 module, u8 address)
232 static inline int twl4030_usb_read(struct twl4030_usb *twl, u8 address)
240 twl4030_usb_set_bits(struct twl4030_usb *twl, u8 reg, u8 bits)
246 twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits)
253 static bool twl4030_is_driving_vbus(struct twl4030_usb *twl)
273 twl4030_usb_linkstat(struct twl4030_usb *twl)
325 static void twl4030_usb_set_mode(struct twl4030_usb *twl, int mode)
348 static void twl4030_i2c_access(struct twl4030_usb *twl, int on)
378 static void __twl4030_phy_power(struct twl4030_usb *twl, int on)
395 struct twl4030_usb *twl = dev_get_drvdata(dev);
414 struct twl4030_usb *twl = dev_get_drvdata(dev);
430 struct twl4030_usb *twl = dev_get_drvdata(dev);
446 struct twl4030_usb *twl = dev_get_drvdata(dev);
494 struct twl4030_usb *twl = phy_get_drvdata(phy);
503 struct twl4030_usb *twl = phy_get_drvdata(phy);
514 static int twl4030_usb_ldo_init(struct twl4030_usb *twl)
566 struct twl4030_usb *twl = dev_get_drvdata(dev);
580 struct twl4030_usb *twl = _twl;
626 struct twl4030_usb *twl = container_of(work, struct twl4030_usb,
634 struct twl4030_usb *twl = phy_get_drvdata(phy);
686 struct twl4030_usb *twl;
772 IRQF_TRIGGER_RISING | IRQF_ONESHOT, "twl4030_usb", twl);
793 struct twl4030_usb *twl = platform_get_drvdata(pdev);
839 .name = "twl4030_usb",
857 MODULE_ALIAS("platform:twl4030_usb");