Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dclass.c637 partner->usb_capability |= BIT(mode - 1); in typec_partner_set_usb_mode()
651 if (!(BIT(i - 1) & partner->usb_capability)) in usb_mode_show()
750 if (!partner->usb_capability) in typec_partner_attr_is_visible()
828 u8 usb_capability = partner->usb_capability; in typec_partner_set_identity() local
840 usb_capability |= USB_CAPABILITY_USB2; in typec_partner_set_identity()
842 usb_capability |= USB_CAPABILITY_USB3; in typec_partner_set_identity()
844 usb_capability |= USB_CAPABILITY_USB4; in typec_partner_set_identity()
846 usb_capability = PD_VDO_DFP_HOSTCAP(id->vdo[0]); in typec_partner_set_identity()
849 if (partner->usb_capability != usb_capability) { in typec_partner_set_identity()
850 partner->usb_capability = usb_capability; in typec_partner_set_identity()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1608 cap->usb_capability |= USB_CAPABILITY_USB2; in ucsi_register_port()
1610 cap->usb_capability |= USB_CAPABILITY_USB3; in ucsi_register_port()
1612 cap->usb_capability |= USB_CAPABILITY_USB4; in ucsi_register_port()