Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c711 struct ec_response_typec_discovery *sop_disc = port->disc_data; in cros_typec_register_altmodes() local
719 for (i = 0; i < sop_disc->svid_count; i++) { in cros_typec_register_altmodes()
720 for (j = 0; j < sop_disc->svids[i].mode_count; j++) { in cros_typec_register_altmodes()
722 desc.svid = sop_disc->svids[i].svid; in cros_typec_register_altmodes()
724 desc.vdo = sop_disc->svids[i].mode_vdo[j]; in cros_typec_register_altmodes()
873 struct ec_response_typec_discovery *sop_disc = port->disc_data; in cros_typec_handle_sop_disc() local
890 memset(sop_disc, 0, EC_PROTO2_MAX_RESPONSE_SIZE); in cros_typec_handle_sop_disc()
892 sop_disc, EC_PROTO2_MAX_RESPONSE_SIZE); in cros_typec_handle_sop_disc()
898 cros_typec_parse_pd_identity(&port->p_identity, sop_disc); in cros_typec_handle_sop_disc()