Searched refs:id_det_gpio (Results 1 – 1 of 1) sorted by relevance
132 struct gpio_desc *id_det_gpio; member407 if (data->id_det_gpio) in sun4i_usb_phy0_get_id_det()408 return gpiod_get_value_cansleep(data->id_det_gpio); in sun4i_usb_phy0_get_id_det()445 if ((data->id_det_gpio && data->id_det_irq <= 0) || in sun4i_usb_phy0_poll()743 data->id_det_gpio = devm_gpiod_get_optional(dev, "usb0_id_det", in sun4i_usb_phy_probe()745 if (IS_ERR(data->id_det_gpio)) { in sun4i_usb_phy_probe()747 return PTR_ERR(data->id_det_gpio); in sun4i_usb_phy_probe()856 data->id_det_irq = gpiod_to_irq(data->id_det_gpio); in sun4i_usb_phy_probe()