Home
last modified time | relevance | path

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

/drivers/usb/typec/
Dclass.h26 u16 pd_revision; /* 0300H = "3.0" */ member
37 u16 pd_revision; /* 0300H = "3.0" */ member
Dclass.c712 void typec_partner_set_pd_revision(struct typec_partner *partner, u16 pd_revision) in typec_partner_set_pd_revision() argument
714 if (partner->pd_revision == pd_revision) in typec_partner_set_pd_revision()
717 partner->pd_revision = pd_revision; in typec_partner_set_pd_revision()
719 if (pd_revision != 0 && !partner->usb_pd) { in typec_partner_set_pd_revision()
850 partner->pd_revision = desc->pd_revision; in typec_register_partner()
1168 cable->pd_revision = desc->pd_revision; in typec_register_cable()
1571 if (!port->cap->pd_revision) { in vconn_source_store()
1645 rev = partner->pd_revision; in usb_power_delivery_revision_show()
1649 rev = cable->pd_revision; in usb_power_delivery_revision_show()
1653 rev = p->cap->pd_revision; in usb_power_delivery_revision_show()
[all …]
Drt1719.c249 data->partner_desc.pd_revision = spec_rev; in rt1719_register_partner()
890 typec_cap.pd_revision = 0x300; /* USB-PD spec release 3.0 */ in rt1719_probe()
/drivers/platform/chrome/
Dcros_ec_typec.c824 … int cros_typec_handle_sop_prime_disc(struct cros_typec_data *typec, int port_num, u16 pd_revision) in cros_typec_handle_sop_prime_disc() argument
870 c_desc.pd_revision = pd_revision; in cros_typec_handle_sop_prime_disc()
900 static int cros_typec_handle_sop_disc(struct cros_typec_data *typec, int port_num, u16 pd_revision) in cros_typec_handle_sop_disc() argument
918 typec_partner_set_pd_revision(port->partner, pd_revision); in cros_typec_handle_sop_disc()
/drivers/usb/typec/tipd/
Dcore.c781 typec_cap.pd_revision = 0x200; in tps6598x_probe()
/drivers/usb/typec/ucsi/
Ducsi.c1104 cap->pd_revision = ucsi->cap.pd_version; in ucsi_register_port()
/drivers/usb/typec/tcpm/
Dtcpm.c6270 struct usb_power_delivery_desc desc = { port->typec_caps.pd_revision }; in tcpm_port_register_pd()
6858 port->typec_caps.pd_revision = 0x0300; /* USB-PD spec release 3.0 */ in tcpm_register_port()