Lines Matching refs:twl6030_writeb
104 static inline int twl6030_writeb(struct twl6030_usb *twl, u8 module, in twl6030_writeb() function
135 twl6030_writeb(twl, TWL_MODULE_USB, 0x24, USB_VBUS_CTRL_SET); in twl6030_start_srp()
136 twl6030_writeb(twl, TWL_MODULE_USB, 0x84, USB_VBUS_CTRL_SET); in twl6030_start_srp()
139 twl6030_writeb(twl, TWL_MODULE_USB, 0xa0, USB_VBUS_CTRL_CLR); in twl6030_start_srp()
147 twl6030_writeb(twl, TWL6030_MODULE_ID0, 0x1, TWL6030_BACKUP_REG); in twl6030_usb_ldo_init()
150 twl6030_writeb(twl, TWL6030_MODULE_ID0, 0x1, TWL6030_CFG_LDO_PD2); in twl6030_usb_ldo_init()
153 twl6030_writeb(twl, TWL6030_MODULE_ID0, 0x10, TWL6030_MISC2); in twl6030_usb_ldo_init()
160 twl6030_writeb(twl, TWL_MODULE_USB, 0x4, USB_VBUS_CTRL_SET); in twl6030_usb_ldo_init()
166 twl6030_writeb(twl, TWL_MODULE_USB, 0x14, USB_ID_CTRL_SET); in twl6030_usb_ldo_init()
262 twl6030_writeb(twl, TWL_MODULE_USB, 0x1, USB_ID_INT_EN_HI_CLR); in twl6030_usbotg_irq()
263 twl6030_writeb(twl, TWL_MODULE_USB, 0x10, USB_ID_INT_EN_HI_SET); in twl6030_usbotg_irq()
270 twl6030_writeb(twl, TWL_MODULE_USB, 0x10, USB_ID_INT_EN_HI_CLR); in twl6030_usbotg_irq()
271 twl6030_writeb(twl, TWL_MODULE_USB, 0x1, USB_ID_INT_EN_HI_SET); in twl6030_usbotg_irq()
273 twl6030_writeb(twl, TWL_MODULE_USB, status, USB_ID_INT_LATCH_CLR); in twl6030_usbotg_irq()
289 twl6030_writeb(twl, TWL_MODULE_USB, 0x1, USB_ID_INT_EN_HI_SET); in twl6030_enable_irq()
312 twl6030_writeb(twl, TWL_MODULE_MAIN_CHARGE, 0x40, in otg_set_vbus_work()
315 twl6030_writeb(twl, TWL_MODULE_MAIN_CHARGE, 0x00, in otg_set_vbus_work()