Home
last modified time | relevance | path

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

/openbmc/linux/arch/um/drivers/
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dqcom,pmic-typec.yaml32 - description: Type-C VCONN powered
34 - description: Type-C VCONN over-current
53 - const: vconn-oc
122 "vconn-oc",
H A Dst,stusb160x.yaml29 vconn-supply:
30 description: power supply (2.7V-5.5V) used to supply VConn on CC pin in
H A Dti,hd3ss3220.yaml14 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The
/openbmc/linux/include/linux/usb/
H A 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
H A Dtcpm.h74 * @set_vconn: Called to enable or disable VCONN
H A Dtypec.h227 * @vconn_set: Source VCONN
/openbmc/linux/include/dt-bindings/usb/
H A 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
/openbmc/linux/Documentation/ABI/testing/
H A 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
/openbmc/linux/drivers/usb/typec/
H A 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()
H A Dclass.c1594 dev_dbg(dev, "VCONN swap depends on USB Power Delivery\n"); in vconn_source_store()
1599 dev_dbg(dev, "VCONN swapping not supported\n"); in vconn_source_store()
1837 * typec_set_vconn_role - Report VCONN source change
1838 * @port: The USB Type-C Port which VCONN role changed
1839 * @role: Source when @port is sourcing VCONN, or Sink when it's not
1841 * This routine is used by the port drivers to report if the VCONN source is
H A Danx7411.c153 /* 0: VCONN off; 1: VCONN on*/
/openbmc/linux/drivers/usb/typec/tcpm/qcom/
H A 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()
H A Dqcom_pmic_typec.c332 .irq_name = "vconn-oc",
/openbmc/linux/drivers/usb/typec/tcpm/
H A DKconfig89 mode and Power Delivery support both for VBUS and VCONN.
H A Dtcpci_mt6360.c89 /* Enable VCONN Current Limit function */ in mt6360_tcpc_init()
H A 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()
H A 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()
H A Dtcpm.c986 tcpm_log(port, "vconn:=%d", enable); in tcpm_set_vconn()
3378 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_request()
3474 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_pps_request()
3636 * Enable VCONN only if the non-RD port is set to RA. in tcpm_src_attach()
3973 * - Do not drive vconn or vbus in run_state_machine()
4505 * Source Shall stop driving VCONN, Shall remove Rp from the VCONN pin and Shall in run_state_machine()
4566 * - turn off VCONN, reset power supply in run_state_machine()
4568 * - turn on VCONN in run_state_machine()
5369 * tSrcRecover before re-applying VCONN and restoring VBUS to vSafe5V. in _tcpm_pd_vbus_vsafe0v()
H A Dtcpci.c317 /* Handle vendor set vconn */ in tcpci_set_vconn()
/openbmc/linux/drivers/usb/typec/tipd/
H A Dtrace.h137 { TPS_STATUS_VCONN, "VCONN" }, \
/openbmc/linux/drivers/power/supply/
H A Dqcom_pmi8998_charger.c799 * Disable Type-C factory mode and stay in Attached.SRC state when VCONN
/openbmc/u-boot/include/
H A Dec_commands.h4027 #define PD_CTRL_RESP_ROLE_VCONN (1 << 2) /* Vconn status */
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h4930 #define PD_CTRL_RESP_ROLE_VCONN BIT(2) /* Vconn status */