Searched full:sbu_mux (Results 1 – 2 of 2) sorted by relevance
29 struct gpio_sbu_mux *sbu_mux = typec_switch_get_drvdata(sw); in gpio_sbu_switch_set() local33 mutex_lock(&sbu_mux->lock); in gpio_sbu_switch_set()35 enabled = sbu_mux->enabled; in gpio_sbu_switch_set()36 swapped = sbu_mux->swapped; in gpio_sbu_switch_set()50 if (enabled != sbu_mux->enabled) in gpio_sbu_switch_set()51 gpiod_set_value(sbu_mux->enable_gpio, enabled); in gpio_sbu_switch_set()53 if (swapped != sbu_mux->swapped) in gpio_sbu_switch_set()54 gpiod_set_value(sbu_mux->select_gpio, swapped); in gpio_sbu_switch_set()56 sbu_mux->enabled = enabled; in gpio_sbu_switch_set()57 sbu_mux->swapped = swapped; in gpio_sbu_switch_set()[all …]
84 remote-endpoint = <&sbu_mux>;