Searched refs:altmodes (Results 1 – 8 of 8) sorted by relevance
417 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument423 if (!altmodes[i]) in typec_match_altmode()425 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()426 return altmodes[i]; in typec_match_altmode()
5 obj-$(CONFIG_TYPEC) += altmodes/
2484 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument2533 altmodes[index] = alt; in typec_port_register_altmodes()2545 void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes, in typec_port_register_cable_ops() argument2551 if (!altmodes[i]) in typec_port_register_cable_ops()2553 altmodes[i]->cable_ops = ops; in typec_port_register_cable_ops()
115 source "drivers/usb/typec/altmodes/Kconfig"
170 struct typec_altmode **altmodes, size_t n);172 void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes,
152 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
545 altmodes {
24390 F: drivers/usb/typec/altmodes/