Searched refs:UCSI_MAX_ALTMODES (Results 1 – 3 of 3) sorted by relevance
311 #define UCSI_MAX_ALTMODES (UCSI_MAX_SVID * 6) macro330 struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES];331 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES];
270 if (cur < UCSI_MAX_ALTMODES) in ucsi_altmode_update_active()298 for (i = 0; i < UCSI_MAX_ALTMODES; i++) in ucsi_next_altmode()309 for (i = 0; i < UCSI_MAX_ALTMODES; i++) in ucsi_get_num_altmode()404 int max_altmodes = UCSI_MAX_ALTMODES; in ucsi_register_altmodes_nvidia()407 struct ucsi_altmode orig[UCSI_MAX_ALTMODES]; in ucsi_register_altmodes_nvidia()408 struct ucsi_altmode updated[UCSI_MAX_ALTMODES]; in ucsi_register_altmodes_nvidia()479 int max_altmodes = UCSI_MAX_ALTMODES; in ucsi_register_altmodes()
223 struct ucsi_ccg_altmode orig[UCSI_MAX_ALTMODES];224 struct ucsi_ccg_altmode updated[UCSI_MAX_ALTMODES];374 for (i = 0; i < UCSI_MAX_ALTMODES; i++) { in ucsi_ccg_update_altmodes()381 for (i = 0; i < UCSI_MAX_ALTMODES; i++) { in ucsi_ccg_update_altmodes()401 for (j = i + 1; j < UCSI_MAX_ALTMODES; j++) { in ucsi_ccg_update_altmodes()