Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A Dpd_vdo.h154 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) macro
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c569 } else if (PD_IDH_PTYPE(port->c_identity.id_header) == IDH_PTYPE_PCABLE) { in cros_typec_enable_dp()
883 c_desc.active = PD_IDH_PTYPE(port->c_identity.id_header) == IDH_PTYPE_ACABLE; in cros_typec_handle_sop_prime_disc()
/linux/drivers/usb/typec/
H A Dclass.c85 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type()
90 ptype = product_type_cable[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1620 port->cable_desc.active = PD_IDH_PTYPE(idh) == IDH_PTYPE_ACABLE ? 1 : 0; in svdm_consume_identity_sop_prime()