Home
last modified time | relevance | path

Searched refs:TYPEC_CC_OPEN (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/usb/typec/tcpm/
Dfusb302.c571 chip->cc1 = TYPEC_CC_OPEN; in fusb302_set_toggling()
572 chip->cc2 = TYPEC_CC_OPEN; in fusb302_set_toggling()
580 [TYPEC_CC_OPEN] = "Open",
589 [TYPEC_CC_OPEN] = SRC_CURRENT_DEFAULT,
610 case TYPEC_CC_OPEN: in tcpm_set_cc()
645 chip->cc1 = TYPEC_CC_OPEN; in tcpm_set_cc()
646 chip->cc2 = TYPEC_CC_OPEN; in tcpm_set_cc()
1067 return TYPEC_CC_OPEN; in fusb302_bc_lvl_to_cc()
1205 if (cc_status_active == TYPEC_CC_OPEN) { in fusb302_handle_togdone_snk()
1212 cc_status_active : TYPEC_CC_OPEN; in fusb302_handle_togdone_snk()
[all …]
Dtcpm.c517 #define tcpm_cc_is_open(cc) ((cc) == TYPEC_CC_OPEN)
574 return (!port->attached && port->cc1 == TYPEC_CC_OPEN && in tcpm_port_is_disconnected()
575 port->cc2 == TYPEC_CC_OPEN) || in tcpm_port_is_disconnected()
577 port->cc1 == TYPEC_CC_OPEN) || in tcpm_port_is_disconnected()
579 port->cc2 == TYPEC_CC_OPEN))); in tcpm_port_is_disconnected()
3784 ret = tcpm_set_polarity(port, port->cc2 != TYPEC_CC_OPEN ? in tcpm_snk_attach()
4162 if ((port->cc1 == TYPEC_CC_OPEN && in run_state_machine()
4163 port->cc2 != TYPEC_CC_OPEN) || in run_state_machine()
4164 (port->cc1 != TYPEC_CC_OPEN && in run_state_machine()
4165 port->cc2 == TYPEC_CC_OPEN)) in run_state_machine()
[all …]
Dwcove.c265 return TYPEC_CC_OPEN; in wcove_to_typec_cc()
308 case TYPEC_CC_OPEN: in wcove_set_cc()
Dtcpci.c118 case TYPEC_CC_OPEN: in tcpci_set_cc()
/linux-6.1.9/include/linux/usb/
Dtcpm.h14 TYPEC_CC_OPEN, enumerator
Dtcpci.h229 return TYPEC_CC_OPEN; in tcpci_to_typec_cc()