Searched refs:partner_altmode (Results 1 – 4 of 4) sorted by relevance
330 for (i = 0; con->partner_altmode[i]; i++) in ucsi_altmode_update_active()331 typec_altmode_update_active(con->partner_altmode[i], in ucsi_altmode_update_active()332 con->partner_altmode[i] == altmode); in ucsi_altmode_update_active()423 i = ucsi_next_altmode(con->partner_altmode); in ucsi_register_altmode()429 ret = ucsi_altmode_next_mode(con->partner_altmode, desc->svid); in ucsi_register_altmode()441 con->partner_altmode[i] = alt; in ucsi_register_altmode()570 if (recipient == UCSI_RECIPIENT_SOP && con->partner_altmode[0]) in ucsi_register_altmodes()629 adev = con->partner_altmode; in ucsi_unregister_altmodes()816 if (con->partner_altmode[0]) { in ucsi_check_altmodes()817 num_partner_am = ucsi_get_num_altmode(con->partner_altmode); in ucsi_check_altmodes()
431 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES]; member
499 for (i = 0; con->partner_altmode[i]; i++) { in ucsi_ccg_update_set_new_cam_cmd()500 alt = con->partner_altmode[i]; in ucsi_ccg_update_set_new_cam_cmd()
482 struct typec_altmode *partner_altmode[ALTMODE_DISCOVERY_MAX]; member1720 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()1762 port->partner_altmode[i] = altmode; in tcpm_register_partner_altmodes()1913 pdev = typec_match_altmode(port->partner_altmode, in tcpm_pd_svdm()1923 pdev = typec_match_altmode(port->partner_altmode, in tcpm_pd_svdm()4364 typec_unregister_altmode(port->partner_altmode[i]); in tcpm_unregister_altmodes()4365 port->partner_altmode[i] = NULL; in tcpm_unregister_altmodes()