Home
last modified time | relevance | path

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

/openbmc/linux/drivers/extcon/
H A Dextcon-rt8973a.c222 unsigned int con_sw, bool attached) in rt8973a_muic_set_path() argument
234 con_sw = DM_DP_SWITCH_UART; in rt8973a_muic_set_path()
236 switch (con_sw) { in rt8973a_muic_set_path()
243 con_sw); in rt8973a_muic_set_path()
252 con_sw); in rt8973a_muic_set_path()
299 unsigned int con_sw = DM_DP_SWITCH_UART; in rt8973a_muic_cable_handler() local
331 con_sw = DM_DP_SWITCH_USB; in rt8973a_muic_cable_handler()
335 con_sw = DM_DP_SWITCH_OPEN; in rt8973a_muic_cable_handler()
340 con_sw = DM_DP_SWITCH_USB; in rt8973a_muic_cable_handler()
345 con_sw = DM_DP_SWITCH_UART; in rt8973a_muic_cable_handler()
[all …]
H A Dextcon-sm5502.c305 unsigned int con_sw, unsigned int vbus_sw, in sm5502_muic_set_path() argument
311 con_sw = DM_DP_SWITCH_OPEN; in sm5502_muic_set_path()
315 switch (con_sw) { in sm5502_muic_set_path()
323 con_sw); in sm5502_muic_set_path()
332 con_sw); in sm5502_muic_set_path()
474 unsigned int con_sw = DM_DP_SWITCH_OPEN; in sm5502_muic_cable_handler() local
489 con_sw = DM_DP_SWITCH_USB; in sm5502_muic_cable_handler()
494 con_sw = DM_DP_SWITCH_OPEN; in sm5502_muic_cable_handler()
500 con_sw = DM_DP_SWITCH_USB; in sm5502_muic_cable_handler()
510 ret = sm5502_muic_set_path(info, con_sw, vbus_sw, attached); in sm5502_muic_cable_handler()