Home
last modified time | relevance | path

Searched refs:UCSI_MAX_ALTMODES (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi.h334 #define UCSI_MAX_ALTMODES (UCSI_MAX_SVID * 6) macro
353 struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES];
354 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES];
H A Ducsi.c295 if (cur < UCSI_MAX_ALTMODES) in ucsi_altmode_update_active()
323 for (i = 0; i < UCSI_MAX_ALTMODES; i++) in ucsi_next_altmode()
334 for (i = 0; i < UCSI_MAX_ALTMODES; i++) in ucsi_get_num_altmode()
429 int max_altmodes = UCSI_MAX_ALTMODES; in ucsi_register_altmodes_nvidia()
432 struct ucsi_altmode orig[UCSI_MAX_ALTMODES]; in ucsi_register_altmodes_nvidia()
433 struct ucsi_altmode updated[UCSI_MAX_ALTMODES]; in ucsi_register_altmodes_nvidia()
504 int max_altmodes = UCSI_MAX_ALTMODES; in ucsi_register_altmodes()
H A Ducsi_ccg.c223 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()