Searched full:altmodes (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi_yoga_c630.c | 117 * EC can return AltModes present on CON1 (port0, right) for CON2 in yoga_c630_ucsi_sync_control() 123 dev_dbg(ucsi->dev, "ignoring altmodes for con2\n"); in yoga_c630_ucsi_sync_control() 150 /* EC is nice and repeats altmodes again and again. Ignore copies. */ in yoga_c630_ucsi_update_altmodes() 153 dev_dbg(ucsi->dev, "Found duplicate altmodes, starting from %d\n", i); in yoga_c630_ucsi_update_altmodes()
|
H A D | ucsi_ccg.c | 414 * Copy original connector altmodes to new structure. in ucsi_ccg_update_altmodes() 416 * checks for duplicate altmodes. in ucsi_ccg_update_altmodes() 540 * and SOP altmodes since NVIDIA GPU connector has order of vdo=0x1
|
/linux/drivers/usb/typec/ |
H A 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()
|
H A D | Makefile | 5 obj-$(CONFIG_TYPEC) += altmodes/
|
H A D | class.c | 919 * typec_partner_set_num_altmodes - Set the number of available partner altmodes 921 * @num_altmodes: The number of altmodes we want to specify as available. 1149 * typec_plug_set_num_altmodes - Set the number of available plug altmodes 1151 * @num_altmodes: The number of altmodes we want to specify as available. 2498 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument 2509 device_get_named_child_node(&port->dev, "altmodes"); in typec_port_register_altmodes() 2512 return; /* No altmodes specified */ in typec_port_register_altmodes() 2547 altmodes[index] = alt; in typec_port_register_altmodes() 2554 * typec_port_register_cable_ops - Register typec_cable_ops to port altmodes 2555 * @altmodes: USB Type-C Port's altmode vector [all …]
|
H A D | Kconfig | 115 source "drivers/usb/typec/altmodes/Kconfig"
|
/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 511 dev_err(dev, "Failed to register port altmodes\n"); in cros_typec_init_ports() 882 * Helper function to register partner/plug altmodes. 1036 dev_err(typec->dev, "Failed to register plug altmodes, port: %d\n", port_num); in cros_typec_handle_sop_prime_disc() 1085 dev_err(typec->dev, "Failed to register partner altmodes, port: %d\n", port_num); in cros_typec_handle_sop_disc()
|
H A D | Kconfig | 244 Selectable symbol to enable altmodes.
|
/linux/include/linux/usb/ |
H A D | typec_altmode.h | 152 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 279 int altmodes; /* number of alternate modes */ member 1824 if (pmdata->altmodes >= ARRAY_SIZE(port->plug_prime_altmode)) { in svdm_consume_modes() 1831 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes() 1841 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes() 1849 pmdata->altmodes, paltmode->svid, in svdm_consume_modes() 1852 pmdata->altmodes++; in svdm_consume_modes() 1865 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes() 1883 typec_plug_set_num_altmodes(port->plug_prime, modep->altmodes); in tcpm_register_plug_altmodes() 1885 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_plug_altmodes() 4492 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3576-armsom-sige5.dts | 717 altmodes {
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8395-genio-1200-evk.dts | 471 altmodes {
|
H A D | mt8390-genio-common.dtsi | 427 altmodes {
|
/linux/ |
H A D | MAINTAINERS | 26661 F: drivers/usb/typec/altmodes/
|