Lines Matching refs:port_type
350 enum typec_port_type port_type;
606 (port)->port_type == TYPEC_PORT_DRP)
610 (port)->port_type == TYPEC_PORT_DRP)
629 if (port->port_type == TYPEC_PORT_DRP) {
635 } else if (port->port_type == TYPEC_PORT_SNK) {
3486 if (port->port_type != TYPEC_PORT_DRP) {
4220 ret = port->tcpc->start_toggling(port->tcpc, port->port_type, cc);
4521 if (port->port_type == TYPEC_PORT_DRP) {
4526 } else if (port->port_type == TYPEC_PORT_SRC) {
4632 if (port->port_type == TYPEC_PORT_DRP)
4891 if (port->port_type == TYPEC_PORT_DRP)
5008 port->port_type == TYPEC_PORT_DRP ?
5764 if (port->port_type == TYPEC_PORT_SRC)
6087 if (port->port_type == TYPEC_PORT_SRC)
6144 if (port->port_type == TYPEC_PORT_SRC)
6336 return port->port_type == TYPEC_PORT_DRP && port->state == TOGGLING;
6356 if (!port->connected || port->port_type != TYPEC_PORT_DRP ||
6490 if (port->port_type != TYPEC_PORT_DRP) {
6821 if (type == port->port_type)
6824 port->port_type = type;
7063 port->port_type = port->typec_caps.type;
7082 if (port->port_type == TYPEC_PORT_DRP) {
7138 if (port->port_type != TYPEC_PORT_SNK) {
7166 if (port->port_type != TYPEC_PORT_SRC) {