Home
last modified time | relevance | path

Searched full:vconn (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/arch/um/drivers/
Dvde_user.c98 VDECONN *vconn = conn; in vde_user_read() local
101 if (vconn == NULL) in vde_user_read()
104 rv = vde_recv(vconn, buf, len, 0); in vde_user_read()
118 VDECONN *vconn = conn; in vde_user_write() local
120 if (vconn == NULL) in vde_user_write()
123 return vde_send(vconn, buf, len, 0); in vde_user_write()
/linux-6.12.1/include/dt-bindings/usb/
Dpd.h160 * <10:8> :: Vconn power (AMA only)
161 * <7> :: Vconn required (AMA only, 0b == no, 1b == yes)
179 /* Vconn Power (AMA only, set to AMA_VCONN_NOT_REQ if Vconn is not required) */
188 /* Vconn Required (AMA only) */
243 * <12:11> :: cable termination type (11b == both ends active VCONN req)
262 * <12:11> :: cable termination type (10b == Vconn not req, 01b == Vconn req)
278 * <12:11> :: cable termination type (10b == one end active, 11b == both ends active VCONN req)
420 * <7:5> :: Vconn power
421 * <4> :: Vconn power required
/linux-6.12.1/include/linux/usb/
Dpd_vdo.h186 * <10:8> :: Vconn power (AMA only)
187 * <7> :: Vconn required (AMA only, 0b == no, 1b == yes)
207 /* Vconn Power (AMA only, set to AMA_VCONN_NOT_REQ if Vconn is not required) */
216 /* Vconn Required (AMA only) */
273 * <12:11> :: cable termination type (11b == both ends active VCONN req)
292 * <12:11> :: cable termination type (10b == Vconn not req, 01b == Vconn req)
308 * <12:11> :: cable termination type (10b == one end active, 11b == both ends active VCONN req)
453 * <7:5> :: Vconn power
454 * <4> :: Vconn power required
Dtcpm.h74 * @set_vconn: Called to enable or disable VCONN
129 * can implement their own policy to determine if and when a Vconn
131 * Return true when the TCPM is allowed to request a Vconn swap
Dtcpci.h203 * can implement their own policy to determine if and when a Vconn
205 * Return true when the TCPM is allowed to request a Vconn swap
Dtypec.h239 * @vconn_set: Source VCONN
/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dqcom,pmic-typec.yaml46 - description: Type-C VCONN powered
48 - description: Type-C VCONN over-current
68 - const: vconn-oc
163 "vconn-oc",
Dst,stusb160x.yaml29 vconn-supply:
30 description: power supply (2.7V-5.5V) used to supply VConn on CC pin in
Dti,hd3ss3220.yaml14 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-typec55 Shows is the port VCONN Source. This attribute can be used to
56 request VCONN swap to change the VCONN Source during connection
60 The attribute is notified about VCONN source changes so that
61 poll(2) on the attribute wakes up. Change on VCONN source also
66 - "no" when the port is not the VCONN Source
67 - "yes" when the port is the VCONN Source
/linux-6.12.1/drivers/usb/typec/
Dstusb160x.c247 dev_err(chip->dev, "Unable to get Vconn status: %d\n", ret); in stusb160x_get_vconn()
258 /* Manage VCONN input supply */ in stusb160x_set_vconn()
264 "failed to enable vconn supply: %d\n", in stusb160x_set_vconn()
273 /* Manage VCONN monitoring and power path */ in stusb160x_set_vconn()
510 /* Manage Type-C Source Vconn supply */ in stusb160x_chip_init()
676 chip->vconn_supply = devm_regulator_get_optional(chip->dev, "vconn"); in stusb160x_probe()
Dclass.c1656 dev_dbg(dev, "VCONN swap depends on USB Power Delivery\n"); in vconn_source_store()
1661 dev_dbg(dev, "VCONN swapping not supported\n"); in vconn_source_store()
1943 * typec_set_vconn_role - Report VCONN source change
1944 * @port: The USB Type-C Port which VCONN role changed
1945 * @role: Source when @port is sourcing VCONN, or Sink when it's not
1947 * This routine is used by the port drivers to report if the VCONN source is
/linux-6.12.1/drivers/usb/typec/tcpm/qcom/
Dqcom_pmic_typec_port.c548 /* Set VCONN on the inversion of the active CC channel */ in qcom_pmic_typec_port_set_vconn()
564 dev_dbg(dev, "set_vconn: orientation %d control 0x%08x state %s cc %s vconn %s\n", in qcom_pmic_typec_port_set_vconn()
663 /* Configure VCONN for software control */ in qcom_pmic_typec_port_start()
783 .irq_name = "vconn-oc",
/linux-6.12.1/drivers/usb/typec/tcpm/
DKconfig90 mode and Power Delivery support both for VBUS and VCONN.
Dtcpm.c537 * Vconn source and cable plug will use the lower of their two revisions.
1068 tcpm_log(port, "vconn:=%d", enable); in tcpm_set_vconn()
1802 * is the Vconn Source and that the Cable Plugs are powered by in tcpm_can_communicate_sop_prime()
1803 * performing a Vconn swap if necessary. Since it cannot be guaranteed in tcpm_can_communicate_sop_prime()
1804 * that the present Vconn Source is supplying Vconn, the only means to in tcpm_can_communicate_sop_prime()
1806 * communicate with a Cable Plug is to become the Vconn Source. in tcpm_can_communicate_sop_prime()
1810 * is the Vconn source. in tcpm_can_communicate_sop_prime()
1822 * port that is supplying Vconn is allowed to send packets to a Cable in tcpm_can_communicate_sop_prime()
2049 /* Attempt Vconn swap, delay SOP' discovery if necessary */ in tcpm_pd_svdm()
2056 /* Cannot perform Vconn swap */ in tcpm_pd_svdm()
[all …]
Dtcpci_mt6360.c89 /* Enable VCONN Current Limit function */ in mt6360_tcpc_init()
Dfusb302.c557 /* Datasheet says vconn MUST be off when toggling */ in fusb302_set_toggling()
558 WARN(chip->vconn_on, "Vconn is on during toggle start"); in fusb302_set_toggling()
736 fusb302_log(chip, "vconn is already %s", on ? "On" : "Off"); in tcpm_set_vconn()
749 fusb302_log(chip, "vconn := %s", on ? "On" : "Off"); in tcpm_set_vconn()
1302 * - set polarity (measure cc, vconn, tx) in fusb302_handle_togdone_src()
Dwcove.c497 dev_err(wcove->dev, "VCONN Switch Over Temperature!\n"); in wcove_typec_irq()
503 dev_err(wcove->dev, "VCONN Switch Short Circuit!\n"); in wcove_typec_irq()
Dtcpci_maxim_core.c95 /* Vconn Over Current Protection */ in max_tcpci_init_regs()
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dpm4125.dtsi59 "vconn-oc",
Dpm6150.dtsi96 "vconn-oc",
Dpm8150b.dtsi85 "vconn-oc",
Dpmi632.dtsi67 "vconn-oc",
Dpm7250b.dtsi76 "vconn-oc",
/linux-6.12.1/drivers/usb/typec/tipd/
Dtrace.h152 { TPS_STATUS_VCONN, "VCONN" }, \

12