Home
last modified time | relevance | path

Searched refs:palmas_usb (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-palmas.c43 struct palmas_usb *palmas_usb = _palmas_usb; in palmas_vbus_irq_handler() local
44 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 …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dpalmas.h51 struct palmas_usb;
83 struct palmas_usb *usb;
567 struct palmas_usb { struct
593 #define comparator_to_palmas(x) container_of((x), struct palmas_usb, comparator) argument
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap5-cm-t54.dts433 extcon_usb3: palmas_usb {
Domap5-board-common.dtsi395 extcon_usb3: palmas_usb {