Lines Matching refs:attached
346 bool attached;
643 return (!port->attached && port->cc1 == TYPEC_CC_OPEN &&
645 (port->attached && ((port->polarity == TYPEC_POLARITY_CC1 &&
1119 static int tcpm_set_attached_state(struct tcpm_port *port, bool attached)
1121 return port->tcpc->set_roles(port->tcpc, attached, port->pwr_role,
1125 static int tcpm_set_roles(struct tcpm_port *port, bool attached,
1166 ret = port->tcpc->set_roles(port->tcpc, attached, role, data);
2449 /* Only transmit VDM if attached */
2450 if (!port->attached) {
3603 port->attached);
3605 if (port->attached) {
4276 if (port->attached)
4315 port->attached = true;
4388 port->attached = false;
4430 if (!port->attached)
4450 if (port->attached)
4468 port->attached = true;
4484 if (port->attached)
4496 port->attached = true;
6113 if (port->pwr_role == TYPEC_SINK && port->attached)