Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi.c273 for (i = 0; con->partner_altmode[i]; i++) in ucsi_altmode_update_active()
274 typec_altmode_update_active(con->partner_altmode[i], in ucsi_altmode_update_active()
275 con->partner_altmode[i] == altmode); in ucsi_altmode_update_active()
366 i = ucsi_next_altmode(con->partner_altmode); in ucsi_register_altmode()
372 ret = ucsi_altmode_next_mode(con->partner_altmode, desc->svid); in ucsi_register_altmode()
384 con->partner_altmode[i] = alt; in ucsi_register_altmode()
492 if (recipient == UCSI_RECIPIENT_SOP && con->partner_altmode[0]) in ucsi_register_altmodes()
551 adev = con->partner_altmode; in ucsi_unregister_altmodes()
627 if (con->partner_altmode[0]) { in ucsi_check_altmodes()
628 num_partner_am = ucsi_get_num_altmode(con->partner_altmode); in ucsi_check_altmodes()
Ducsi.h331 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES]; member
Ducsi_ccg.c456 for (i = 0; con->partner_altmode[i]; i++) { in ucsi_ccg_update_set_new_cam_cmd()
457 alt = con->partner_altmode[i]; in ucsi_ccg_update_set_new_cam_cmd()
/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c456 struct typec_altmode *partner_altmode[ALTMODE_DISCOVERY_MAX]; member
1521 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()
1556 port->partner_altmode[i] = altmode; in tcpm_register_partner_altmodes()
1583 pdev = typec_match_altmode(port->partner_altmode, ALTMODE_DISCOVERY_MAX, in tcpm_pd_svdm()
3697 typec_unregister_altmode(port->partner_altmode[i]); in tcpm_unregister_altmodes()
3698 port->partner_altmode[i] = NULL; in tcpm_unregister_altmodes()