Searched refs:vbus_gpio (Results 1 – 2 of 2) sorted by relevance
360 struct pch_vbus_gpio_data vbus_gpio; member1260 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() local1279 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() local1320 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 …]
37 static struct gpio_desc *vbus_gpio; variable2219 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 …]