Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A Dtypec.h155 void typec_partner_set_pd_revision(struct typec_partner *partner, u16 pd_revision);
205 * @pd_revision: USB Power Delivery Specification revision if supported
213 u16 pd_revision; /* 0300H = "3.0" */
222 * @pd_revision: USB Power Delivery Specification Revision if supported
231 * @pd_revision is based on the setting of the "Specification Revision" field
240 u16 pd_revision; /* 0300H = "3.0" */
283 * @pd_revision: USB Power Delivery Specification revision if supported
299 u16 pd_revision; /* 0300H = "3.0" */
202 u16 pd_revision; /* 0300H = "3.0" */ global() member
228 u16 pd_revision; /* 0300H = "3.0" */ global() member
281 u16 pd_revision; /* 0300H = "3.0" */ global() member
/linux/drivers/usb/typec/
H A Dclass.c867 void typec_partner_set_pd_revision(struct typec_partner *partner, u16 pd_revision) in typec_partner_set_pd_revision() argument
869 if (partner->pd_revision == pd_revision) in typec_partner_set_pd_revision()
872 partner->pd_revision = pd_revision; in typec_partner_set_pd_revision()
874 if (pd_revision != 0 && !partner->usb_pd) { in typec_partner_set_pd_revision()
1025 partner->pd_revision = desc->pd_revision; in typec_register_partner()
1370 cable->pd_revision = desc->pd_revision; in typec_register_cable()
1834 if (!port->cap->pd_revision) { in vconn_source_store()
1908 rev = partner->pd_revision; in usb_power_delivery_revision_show()
1912 rev = cable->pd_revision; in usb_power_delivery_revision_show()
1916 rev = p->cap->pd_revision; in usb_power_delivery_revision_show()
[all …]
H A Drt1719.c243 data->partner_desc.pd_revision = spec_rev; in rt1719_register_partner()
885 typec_cap.pd_revision = 0x300; /* USB-PD spec release 3.0 */ in rt1719_probe()
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c962 desc.pd_revision = UCSI_CABLE_PROP_FLAG_PD_MAJOR_REV_AS_BCD(cable_prop.flags); in ucsi_register_cable()
989 u64 pd_revision; in ucsi_check_connector_capability() local
1003 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1); in ucsi_check_connector_capability()
1004 typec_partner_set_pd_revision(con->partner, UCSI_SPEC_REVISION_TO_BCD(pd_revision)); in ucsi_check_connector_capability()
1065 u64 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1); in ucsi_register_partner() local
1066 desc.pd_revision = UCSI_SPEC_REVISION_TO_BCD(pd_revision); in ucsi_register_partner()
1598 cap->pd_revision = ucsi->cap.pd_version; in ucsi_register_port()
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c842 … 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
888 c_desc.pd_revision = pd_revision; in cros_typec_handle_sop_prime_disc()
918 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
936 typec_partner_set_pd_revision(port->partner, pd_revision); in cros_typec_handle_sop_disc()
/linux/drivers/usb/typec/tipd/
H A Dcore.c850 typec_cap.pd_revision = 0x200; in tps6598x_register_port()
1267 typec_cap.pd_revision = 0x300; in tps25750_register_port()