Searched full:altmodes (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/drivers/usb/typec/ |
D | bus.c | 409 * @altmodes: Array of alternate modes 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()
|
D | Makefile | 5 obj-$(CONFIG_TYPEC) += altmodes/
|
D | class.c | 809 * typec_partner_set_num_altmodes - Set the number of available partner altmodes 811 * @num_altmodes: The number of altmodes we want to specify as available. 1020 * typec_plug_set_num_altmodes - Set the number of available plug altmodes 1022 * @num_altmodes: The number of altmodes we want to specify as available. 2294 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument 2305 device_get_named_child_node(&port->dev, "altmodes"); in typec_port_register_altmodes() 2308 return; /* No altmodes specified */ in typec_port_register_altmodes() 2343 altmodes[index] = alt; in typec_port_register_altmodes() 2350 * typec_port_register_cable_ops - Register typec_cable_ops to port altmodes 2351 * @altmodes: USB Type-C Port's altmode vector [all …]
|
D | Kconfig | 115 source "drivers/usb/typec/altmodes/Kconfig"
|
/linux-6.12.1/include/linux/usb/ |
D | typec.h | 159 struct typec_altmode **altmodes, size_t n); 161 void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes,
|
D | typec_altmode.h | 152 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
|
/linux-6.12.1/Documentation/devicetree/bindings/connector/ |
D | usb-connector.yaml | 156 altmodes: 349 altmodes {
|
/linux-6.12.1/drivers/platform/chrome/ |
D | cros_ec_typec.c | 395 dev_err(dev, "Failed to register port altmodes\n"); in cros_typec_init_ports() 752 * Helper function to register partner/plug altmodes. 906 dev_err(typec->dev, "Failed to register plug altmodes, port: %d\n", port_num); in cros_typec_handle_sop_prime_disc() 955 dev_err(typec->dev, "Failed to register partner altmodes, port: %d\n", port_num); in cros_typec_handle_sop_disc()
|
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 411 * Copy original connector altmodes to new structure. in ucsi_ccg_update_altmodes() 413 * checks for duplicate altmodes. in ucsi_ccg_update_altmodes() 537 * and SOP altmodes since NVIDIA GPU connector has order of vdo=0x1
|
D | ucsi.c | 510 * We are collecting all altmodes first and then registering. in ucsi_register_altmodes_nvidia() 517 /* We got all altmodes, now break out and register them */ in ucsi_register_altmodes_nvidia() 527 * multiple DP altmodes. in ucsi_register_altmodes_nvidia() 532 /* now register altmodes */ in ucsi_register_altmodes_nvidia()
|
D | ucsi.h | 66 * @update_altmodes: Squashes duplicate DP altmodes
|
/linux-6.12.1/drivers/platform/x86/intel/ |
D | chtwc_int33fe.c | 134 .name = "altmodes",
|
/linux-6.12.1/drivers/usb/typec/tcpm/ |
D | tcpm.c | 275 int altmodes; /* number of alternate modes */ member 1713 if (pmdata->altmodes >= ARRAY_SIZE(port->plug_prime_altmode)) { in svdm_consume_modes() 1720 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes() 1730 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes() 1738 pmdata->altmodes, paltmode->svid, in svdm_consume_modes() 1741 pmdata->altmodes++; in svdm_consume_modes() 1754 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes() 1772 typec_plug_set_num_altmodes(port->plug_prime, modep->altmodes); in tcpm_register_plug_altmodes() 1774 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_plug_altmodes() 4363 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sm8150-hdk.dts | 545 altmodes {
|
D | qrb5165-rb5.dts | 1525 altmodes {
|
/linux-6.12.1/ |
D | MAINTAINERS | 24068 F: drivers/usb/typec/altmodes/
|