Searched refs:partner_altmode (Results 1 – 4 of 4) sorted by relevance
298 for (i = 0; con->partner_altmode[i]; i++) in ucsi_altmode_update_active()299 typec_altmode_update_active(con->partner_altmode[i], in ucsi_altmode_update_active()300 con->partner_altmode[i] == altmode); in ucsi_altmode_update_active()391 i = ucsi_next_altmode(con->partner_altmode); in ucsi_register_altmode()397 ret = ucsi_altmode_next_mode(con->partner_altmode, desc->svid); in ucsi_register_altmode()409 con->partner_altmode[i] = alt; in ucsi_register_altmode()517 if (recipient == UCSI_RECIPIENT_SOP && con->partner_altmode[0]) in ucsi_register_altmodes()576 adev = con->partner_altmode; in ucsi_unregister_altmodes()666 if (con->partner_altmode[0]) { in ucsi_check_altmodes()667 num_partner_am = ucsi_get_num_altmode(con->partner_altmode); in ucsi_check_altmodes()
354 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES]; member
458 for (i = 0; con->partner_altmode[i]; i++) { in ucsi_ccg_update_set_new_cam_cmd()459 alt = con->partner_altmode[i]; in ucsi_ccg_update_set_new_cam_cmd()
458 struct typec_altmode *partner_altmode[ALTMODE_DISCOVERY_MAX]; member1553 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()1591 port->partner_altmode[i] = altmode; in tcpm_register_partner_altmodes()1618 pdev = typec_match_altmode(port->partner_altmode, ALTMODE_DISCOVERY_MAX, in tcpm_pd_svdm()3687 typec_unregister_altmode(port->partner_altmode[i]); in tcpm_unregister_altmodes()3688 port->partner_altmode[i] = NULL; in tcpm_unregister_altmodes()