Home
last modified time | relevance | path

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

/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c283 int typec_mode; in tusb320_typec_irq_handler() local
306 typec_mode = TYPEC_MODE_USB2; in tusb320_typec_irq_handler()
312 typec_mode = TYPEC_MODE_USB2; in tusb320_typec_irq_handler()
324 typec_mode = TYPEC_MODE_AUDIO; in tusb320_typec_irq_handler()
331 typec_mode = TYPEC_MODE_DEBUG; in tusb320_typec_irq_handler()
338 typec_mode = TYPEC_MODE_DEBUG; in tusb320_typec_irq_handler()
350 typec_mode = TYPEC_MODE_USB2; in tusb320_typec_irq_handler()
360 typec_set_mode(port, typec_mode); in tusb320_typec_irq_handler()
/linux/sound/soc/codecs/
H A Dwcd939x.c185 unsigned long typec_mode; member
3168 unsigned int previous_mode = wcd939x->typec_mode; in wcd939x_typec_mux_set()
3173 if (wcd939x->typec_mode != state->mode) { in wcd939x_typec_mux_set()
3174 wcd939x->typec_mode = state->mode; in wcd939x_typec_mux_set()
3176 if (wcd939x->typec_mode == TYPEC_MODE_AUDIO) in wcd939x_typec_mux_set()