Searched refs:partner_altmode (Results 1 – 4 of 4) sorted by relevance
278 for (i = 0; con->partner_altmode[i]; i++) in ucsi_altmode_update_active()279 typec_altmode_update_active(con->partner_altmode[i], in ucsi_altmode_update_active()280 con->partner_altmode[i] == altmode); in ucsi_altmode_update_active()371 i = ucsi_next_altmode(con->partner_altmode); in ucsi_register_altmode()377 ret = ucsi_altmode_next_mode(con->partner_altmode, desc->svid); in ucsi_register_altmode()389 con->partner_altmode[i] = alt; in ucsi_register_altmode()497 if (recipient == UCSI_RECIPIENT_SOP && con->partner_altmode[0]) in ucsi_register_altmodes()556 adev = con->partner_altmode; in ucsi_unregister_altmodes()634 if (con->partner_altmode[0]) { in ucsi_check_altmodes()635 num_partner_am = ucsi_get_num_altmode(con->partner_altmode); in ucsi_check_altmodes()
329 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES]; member
451 for (i = 0; con->partner_altmode[i]; i++) { in ucsi_ccg_update_set_new_cam_cmd()452 alt = con->partner_altmode[i]; in ucsi_ccg_update_set_new_cam_cmd()
448 struct typec_altmode *partner_altmode[ALTMODE_DISCOVERY_MAX]; member1513 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()1548 port->partner_altmode[i] = altmode; in tcpm_register_partner_altmodes()1575 pdev = typec_match_altmode(port->partner_altmode, ALTMODE_DISCOVERY_MAX, in tcpm_pd_svdm()3637 typec_unregister_altmode(port->partner_altmode[i]); in tcpm_unregister_altmodes()3638 port->partner_altmode[i] = NULL; in tcpm_unregister_altmodes()