Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi.h311 #define UCSI_MAX_ALTMODES (UCSI_MAX_SVID * 6) macro
330 struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES];
331 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES];
Ducsi.c270 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()
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()