Home
last modified time | relevance | path

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

/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-4.19/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-4.19/Documentation/ABI/testing/
Dsysfs-class-typec52 Shows is the port VCONN Source. This attribute can be used to
53 request VCONN swap to change the VCONN Source during connection
57 The attribute is notified about VCONN source changes so that
58 poll(2) on the attribute wakes up. Change on VCONN source also
62 - "no" when the port is not the VCONN Source
63 - "yes" when the port is the VCONN Source
/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-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.c1181 dev_dbg(dev, "VCONN swap depends on USB Power Delivery\n"); in vconn_source_store()
1186 dev_dbg(dev, "VCONN swapping not supported\n"); in vconn_source_store()
1394 * typec_set_vconn_role - Report VCONN source change
1395 * @port: The USB Type-C Port which VCONN role changed
1396 * @role: Source when @port is sourcing VCONN, or Sink when it's not
1398 * This routine is used by the port drivers to report if the VCONN source is
/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-4.19/include/linux/usb/
Dpd_vdo.h160 * <12:11> :: cable termination type (11b == both ends active VCONN req)
199 * <7:5> :: Vconn power
200 * <4> :: Vconn power required
Dtcpm.h117 * @set_vconn: Called to enable or disable VCONN
Dtypec.h185 * @vconn_set: Set VCONN Role
/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-4.19/drivers/usb/typec/
Dclass.c1168 dev_dbg(dev, "VCONN swap depends on USB Power Delivery\n"); in vconn_source_store()
1173 dev_dbg(dev, "VCONN swapping not supported\n"); in vconn_source_store()
1325 * typec_set_pwr_role - Report VCONN source change
1326 * @port: The USB Type-C Port which VCONN role changed
1327 * @role: Source when @port is sourcing VCONN, or Sink when it's not
1329 * This routine is used by the port drivers to report if the VCONN source is
Dtypec_wcove.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()
Dtcpm.c705 tcpm_log(port, "vconn:=%d", enable); in tcpm_set_vconn()
2385 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_request()
2492 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_pps_request()
2645 * Enable VCONN only if the non-RD port is set to RA. in tcpm_src_attach()
2900 * - Do not drive vconn or vbus in run_state_machine()
3345 * - turn off VCONN, reset power supply in run_state_machine()
3347 * - turn on VCONN in run_state_machine()
Dtcpci.c218 /* Handle vendor set vconn */ in tcpci_set_vconn()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
Dtcpci_mt6360.c91 /* 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()
734 fusb302_log(chip, "vconn is already %s", on ? "On" : "Off"); in tcpm_set_vconn()
747 fusb302_log(chip, "vconn := %s", on ? "On" : "Off"); in tcpm_set_vconn()
1293 * - 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()
Dtcpm.c762 tcpm_log(port, "vconn:=%d", enable); in tcpm_set_vconn()
2569 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_request()
2675 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_pps_request()
2830 * Enable VCONN only if the non-RD port is set to RA. in tcpm_src_attach()
3095 * - Do not drive vconn or vbus in run_state_machine()
3506 * Source Shall stop driving VCONN, Shall remove Rp from the VCONN pin and Shall in run_state_machine()
3560 * - turn off VCONN, reset power supply in run_state_machine()
3562 * - turn on VCONN in run_state_machine()
4148 * tSrcRecover before re-applying VCONN and restoring VBUS to vSafe5V. in _tcpm_pd_vbus_off()
Dtcpci.c274 /* Handle vendor set vconn */ in tcpci_set_vconn()
/kernel/linux/linux-4.19/drivers/usb/typec/fusb302/
Dfusb302.c644 /* Datasheet says vconn MUST be off when toggling */ in fusb302_set_toggling()
645 WARN(chip->vconn_on, "Vconn is on during toggle start"); in fusb302_set_toggling()
815 fusb302_log(chip, "vconn is already %s", on ? "On" : "Off"); in tcpm_set_vconn()
828 fusb302_log(chip, "vconn := %s", on ? "On" : "Off"); in tcpm_set_vconn()
1337 * - set polarity (measure cc, vconn, tx) in fusb302_handle_togdone_src()
/kernel/linux/linux-4.19/include/linux/mfd/
Dcros_ec_commands.h3037 #define PD_CTRL_RESP_ROLE_VCONN BIT(2) /* Vconn status */
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_commands.h4892 #define PD_CTRL_RESP_ROLE_VCONN BIT(2) /* Vconn status */