Searched refs:altmodes (Results 1 – 15 of 15) sorted by relevance
| /linux-6.15/drivers/usb/typec/ |
| H A D | bus.c | 417 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument 423 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()
|
| H A D | Makefile | 5 obj-$(CONFIG_TYPEC) += altmodes/
|
| H A D | class.c | 2498 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument 2547 altmodes[index] = alt; in typec_port_register_altmodes() 2559 void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes, in typec_port_register_cable_ops() argument 2565 if (!altmodes[i]) in typec_port_register_cable_ops() 2567 altmodes[i]->cable_ops = ops; in typec_port_register_cable_ops()
|
| H A D | Kconfig | 115 source "drivers/usb/typec/altmodes/Kconfig"
|
| /linux-6.15/include/linux/usb/ |
| H A D | typec.h | 172 struct typec_altmode **altmodes, size_t n); 174 void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes,
|
| H A D | typec_altmode.h | 152 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-class-chromeos | 53 to enter Type-C altmodes or USB4 mode.
|
| /linux-6.15/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 278 int altmodes; /* number of alternate modes */ member 1759 if (pmdata->altmodes >= ARRAY_SIZE(port->plug_prime_altmode)) { in svdm_consume_modes() 1766 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes() 1776 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes() 1784 pmdata->altmodes, paltmode->svid, in svdm_consume_modes() 1787 pmdata->altmodes++; in svdm_consume_modes() 1800 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes() 1818 typec_plug_set_num_altmodes(port->plug_prime, modep->altmodes); in tcpm_register_plug_altmodes() 1820 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_plug_altmodes() 4430 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 156 altmodes: 396 altmodes {
|
| /linux-6.15/arch/arm64/boot/dts/qcom/ |
| H A D | sm8150-hdk.dts | 545 altmodes {
|
| H A D | qrb5165-rb5.dts | 1530 altmodes {
|
| /linux-6.15/drivers/platform/chrome/ |
| H A D | Kconfig | 243 Selectable symbol to enable altmodes.
|
| /linux-6.15/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8395-genio-1200-evk.dts | 376 altmodes {
|
| H A D | mt8390-genio-common.dtsi | 334 altmodes {
|
| /linux-6.15/ |
| H A D | MAINTAINERS | 25328 F: drivers/usb/typec/altmodes/
|