Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi.h409 #define UCSI_MAX_ALTMODES (UCSI_MAX_SVID * 6) macro
430 struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES];
431 struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES];
432 struct typec_altmode *plug_altmode[UCSI_MAX_ALTMODES];
Ducsi.c327 if (cur < UCSI_MAX_ALTMODES) in ucsi_altmode_update_active()
355 for (i = 0; i < UCSI_MAX_ALTMODES; i++) in ucsi_next_altmode()
366 for (i = 0; i < UCSI_MAX_ALTMODES; i++) in ucsi_get_num_altmode()
482 int max_altmodes = UCSI_MAX_ALTMODES; in ucsi_register_altmodes_nvidia()
485 struct ucsi_altmode orig[UCSI_MAX_ALTMODES]; in ucsi_register_altmodes_nvidia()
486 struct ucsi_altmode updated[UCSI_MAX_ALTMODES]; in ucsi_register_altmodes_nvidia()
557 int max_altmodes = UCSI_MAX_ALTMODES; in ucsi_register_altmodes()
Ducsi_ccg.c227 struct ucsi_ccg_altmode orig[UCSI_MAX_ALTMODES];
228 struct ucsi_ccg_altmode updated[UCSI_MAX_ALTMODES];
415 for (i = 0; i < UCSI_MAX_ALTMODES; i++) { in ucsi_ccg_update_altmodes()
422 for (i = 0; i < UCSI_MAX_ALTMODES; i++) { in ucsi_ccg_update_altmodes()
442 for (j = i + 1; j < UCSI_MAX_ALTMODES; j++) { in ucsi_ccg_update_altmodes()