Searched refs:palmas_usb (Results 1 – 4 of 4) sorted by relevance
43 struct palmas_usb *palmas_usb = _palmas_usb; in palmas_vbus_irq_handler() local44 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler()47 palmas_read(palmas_usb->palmas, PALMAS_INTERRUPT_BASE, in palmas_vbus_irq_handler()51 if (palmas_usb->linkstat != PALMAS_USB_STATE_VBUS) { in palmas_vbus_irq_handler()52 palmas_usb->linkstat = PALMAS_USB_STATE_VBUS; in palmas_vbus_irq_handler()54 dev_dbg(palmas_usb->dev, "USB cable is attached\n"); in palmas_vbus_irq_handler()56 dev_dbg(palmas_usb->dev, in palmas_vbus_irq_handler()60 if (palmas_usb->linkstat == PALMAS_USB_STATE_VBUS) { in palmas_vbus_irq_handler()61 palmas_usb->linkstat = PALMAS_USB_STATE_DISCONNECT; in palmas_vbus_irq_handler()63 dev_dbg(palmas_usb->dev, "USB cable is detached\n"); in palmas_vbus_irq_handler()[all …]
51 struct palmas_usb;83 struct palmas_usb *usb;567 struct palmas_usb { struct593 #define comparator_to_palmas(x) container_of((x), struct palmas_usb, comparator) argument
433 extcon_usb3: palmas_usb {
395 extcon_usb3: palmas_usb {