Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dqcom,pmic-typec.yaml32 - description: Type-C VCONN powered
34 - description: Type-C VCONN over-current
53 - const: vconn-oc
122 "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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/include/linux/usb/
Dpd_vdo.h179 * <10:8> :: Vconn power (AMA only)
180 * <7> :: Vconn required (AMA only, 0b == no, 1b == yes)
200 /* Vconn Power (AMA only, set to AMA_VCONN_NOT_REQ if Vconn is not required) */
209 /* Vconn Required (AMA only) */
266 * <12:11> :: cable termination type (11b == both ends active VCONN req)
285 * <12:11> :: cable termination type (10b == Vconn not req, 01b == Vconn req)
301 * <12:11> :: cable termination type (10b == one end active, 11b == both ends active VCONN req)
445 * <7:5> :: Vconn power
446 * <4> :: Vconn power required
Dtcpm.h74 * @set_vconn: Called to enable or disable VCONN
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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.c1187 dev_dbg(dev, "VCONN swap depends on USB Power Delivery\n"); in vconn_source_store()
1192 dev_dbg(dev, "VCONN swapping not supported\n"); in vconn_source_store()
1400 * typec_set_vconn_role - Report VCONN source change
1401 * @port: The USB Type-C Port which VCONN role changed
1402 * @role: Source when @port is sourcing VCONN, or Sink when it's not
1404 * This routine is used by the port drivers to report if the VCONN source is
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/usb/
Dpd_vdo.h183 * <12:11> :: cable termination type (11b == both ends active VCONN req)
222 * <7:5> :: Vconn power
223 * <4> :: Vconn power required
Dtcpm.h68 * @set_vconn: Called to enable or disable VCONN
Dtypec.h195 * @vconn_set: Source VCONN
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/qcom/
Dqcom_pmic_typec_port.c357 /* Set VCONN on the inversion of the active CC channel */ in qcom_pmic_typec_port_set_vconn()
373 dev_dbg(dev, "set_vconn: orientation %d control 0x%08x state %s cc %s vconn %s\n", in qcom_pmic_typec_port_set_vconn()
469 /* Configure VCONN for software control */ in qcom_pmic_typec_port_start()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dti,hd3ss3220.yaml14 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
DKconfig89 mode and Power Delivery support both for VBUS and VCONN.
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()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
Dtcpci_mt6360.c96 /* 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()
1295 * - set polarity (measure cc, vconn, tx) in fusb302_handle_togdone_src()
Dwcove.c496 dev_err(wcove->dev, "VCONN Switch Over Temperature!\n"); in wcove_typec_irq()
502 dev_err(wcove->dev, "VCONN Switch Short Circuit!\n"); in wcove_typec_irq()

12