Searched refs:otg_mode_en_io (Results 1 – 2 of 2) sorted by relevance
113 struct gpio_desc *otg_mode_en_io; member932 bq->otg_mode_en_io = devm_gpiod_get_optional(bq->dev, in bq25890_fw_probe()935 if (!IS_ERR_OR_NULL(bq->otg_mode_en_io)) in bq25890_fw_probe()936 gpiod_direction_output(bq->otg_mode_en_io, 0); in bq25890_fw_probe()1088 if (!IS_ERR_OR_NULL(bq->otg_mode_en_io)) in bq25890_set_otg_vbus()1089 gpiod_direction_output(bq->otg_mode_en_io, enable); in bq25890_set_otg_vbus()1118 if (!IS_ERR_OR_NULL(bq->otg_mode_en_io)) in bq25890_otg_vbus_is_enabled()1119 gpio_status = gpiod_get_value(bq->otg_mode_en_io); in bq25890_otg_vbus_is_enabled()
191 struct gpio_desc *otg_mode_en_io; member1512 if (!IS_ERR_OR_NULL(charger->otg_mode_en_io)) in bq25700_set_otg_vbus()1513 gpiod_direction_output(charger->otg_mode_en_io, enable); in bq25700_set_otg_vbus()1796 if (!IS_ERR_OR_NULL(charger->otg_mode_en_io)) in bq25700_otg_vbus_is_enabled()1797 gpio_status = gpiod_get_value(charger->otg_mode_en_io); in bq25700_otg_vbus_is_enabled()1927 charger->otg_mode_en_io = devm_gpiod_get_optional(charger->dev, in bq25700_parse_dt()1930 if (!IS_ERR_OR_NULL(charger->otg_mode_en_io)) in bq25700_parse_dt()1931 gpiod_direction_output(charger->otg_mode_en_io, 0); in bq25700_parse_dt()