Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c335 struct typec_cable_desc cable_desc; member
1618 port->cable_desc.type = (enum typec_plug_type) (VDO_TYPEC_CABLE_TYPE(p[VDO_INDEX_CABLE_1]) + in svdm_consume_identity_sop_prime()
1620 port->cable_desc.active = PD_IDH_PTYPE(idh) == IDH_PTYPE_ACABLE ? 1 : 0; in svdm_consume_identity_sop_prime()
1624 port->cable_desc.pd_revision = 0x0300; in svdm_consume_identity_sop_prime()
1625 if (port->cable_desc.active) in svdm_consume_identity_sop_prime()
1629 port->cable_desc.pd_revision = 0x0200; in svdm_consume_identity_sop_prime()
1632 port->cable_desc.pd_revision = 0x0200; in svdm_consume_identity_sop_prime()
1635 port->cable_desc.identity = &port->cable_ident; in svdm_consume_identity_sop_prime()
1637 port->cable = typec_register_cable(port->typec_port, &port->cable_desc); in svdm_consume_identity_sop_prime()