Home
last modified time | relevance | path

Searched refs:vbus_gpio (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/udc/
Dpch_udc.c360 struct pch_vbus_gpio_data vbus_gpio; member
1260 if (dev->vbus_gpio.port) in pch_vbus_gpio_get_value()
1261 vbus = gpiod_get_value(dev->vbus_gpio.port) ? 1 : 0; in pch_vbus_gpio_get_value()
1276 struct pch_vbus_gpio_data *vbus_gpio = container_of(irq_work, in pch_vbus_gpio_work_fall() local
1279 container_of(vbus_gpio, struct pch_udc_dev, vbus_gpio); in pch_vbus_gpio_work_fall()
1284 if (!dev->vbus_gpio.port) in pch_vbus_gpio_work_fall()
1298 if (dev->vbus_gpio.intr) in pch_vbus_gpio_work_fall()
1317 struct pch_vbus_gpio_data *vbus_gpio = container_of(irq_work, in pch_vbus_gpio_work_rise() local
1320 container_of(vbus_gpio, struct pch_udc_dev, vbus_gpio); in pch_vbus_gpio_work_rise()
1323 if (!dev->vbus_gpio.port) in pch_vbus_gpio_work_rise()
[all …]
/linux-6.1.9/drivers/staging/emxx_udc/
Demxx_udc.c37 static struct gpio_desc *vbus_gpio; variable
2219 reg_dt = gpiod_get_value(vbus_gpio); in _nbu2ss_check_vbus()
2246 reg_dt = gpiod_get_value(vbus_gpio); in _nbu2ss_check_vbus()
2310 reg_dt = gpiod_get_value(vbus_gpio); in _nbu2ss_int_usb_suspend()
2350 if (gpiod_get_value(vbus_gpio) == 0) { in _nbu2ss_udc_irq()
2359 if (gpiod_get_value(vbus_gpio) == 0) { in _nbu2ss_udc_irq()
2747 data = gpiod_get_value(vbus_gpio); in nbu2ss_ep_fifo_status()
2787 data = gpiod_get_value(vbus_gpio); in nbu2ss_ep_fifo_flush()
2829 data = gpiod_get_value(vbus_gpio); in nbu2ss_gad_get_frame()
2851 data = gpiod_get_value(vbus_gpio); in nbu2ss_gad_wakeup()
[all …]