Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vconn.c17 struct rockchip_vconn *vconn; member
263 struct rockchip_vconn *vconn = vconn_dev->vconn; in rockchip_virtual_encoder_enable() local
265 dev_info(vconn->dev, "encoder enable for output%d\n", ffs(vconn_dev->if_id) - 1); in rockchip_virtual_encoder_enable()
271 struct rockchip_vconn *vconn = vconn_dev->vconn; in rockchip_virtual_encoder_disable() local
277 dev_info(vconn->dev, "encoder disable for output%d\n", ffs(vconn_dev->if_id) - 1); in rockchip_virtual_encoder_disable()
294 struct rockchip_vconn *vconn = vconn_dev->vconn; in rockchip_virtual_encoder_mode_set() local
301 dev_info(vconn->dev, "mode set for output%d\n", ffs(vconn_dev->if_id) - 1); in rockchip_virtual_encoder_mode_set()
352 static int rockchip_virtual_connector_register(struct rockchip_vconn *vconn) in rockchip_virtual_connector_register() argument
359 list_for_each_entry_safe(vconn_dev, n, &vconn->list_head, list) { in rockchip_virtual_connector_register()
364 ret = drm_simple_encoder_init(vconn->drm_dev, encoder, vconn_dev->encoder_type); in rockchip_virtual_connector_register()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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)
444 * <7:5> :: Vconn power
445 * <4> :: Vconn power required
H A Dtcpm.h74 * @set_vconn: Called to enable or disable VCONN
H A Dtypec.h223 * @vconn_set: Source VCONN
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
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)
444 * <7:5> :: Vconn power
445 * <4> :: Vconn power required
H A Dtcpm.h74 * @set_vconn: Called to enable or disable VCONN
H A Dtypec.h222 * @vconn_set: Source VCONN
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/
H A D0003-ensure-valid-sentinals-for-gst_structure_get-etc.patch69 - g_object_get (videosrc, "connection", &vconn, NULL);
70 + g_object_get (videosrc, "connection", &vconn, (void *) NULL);
73 switch (vconn) {
/OK3568_Linux_fs/kernel/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.c1490 dev_dbg(dev, "VCONN swap depends on USB Power Delivery\n"); in vconn_source_store()
1495 dev_dbg(dev, "VCONN swapping not supported\n"); in vconn_source_store()
1731 * typec_set_vconn_role - Report VCONN source change
1732 * @port: The USB Type-C Port which VCONN role changed
1733 * @role: Source when @port is sourcing VCONN, or Sink when it's not
1735 * This routine is used by the port drivers to report if the VCONN source is
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/
H A Drockchip,virtual-connector.txt16 vconn {
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dti,hd3ss3220.yaml14 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The
/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dfusb302.c402 /* Datasheet says vconn MUST be off when toggling */ in fusb302_set_toggling()
404 printf("%s: Vconn is on during toggle start\n", __func__); in fusb302_set_toggling()
571 printf("vconn is already %s\n", on ? "On" : "Off"); in tcpm_set_vconn()
583 debug("%s: vconn := %s\n", __func__, on ? "On" : "Off"); in tcpm_set_vconn()
1149 * - set polarity (measure cc, vconn, tx) in fusb302_handle_togdone_src()
H A Dtcpm.c649 debug("%s: vconn = %d\n", __func__, enable); in tcpm_set_vconn()
1790 debug("cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d\n", in tcpm_pd_build_request()
1896 debug("cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d\n", in tcpm_pd_build_pps_request()
2031 * Enable VCONN only if the non-RD port is set to RA. in tcpm_src_attach()
2566 * - turn off VCONN, reset power supply in run_state_machine()
2568 * - turn on VCONN in run_state_machine()
H A Dtcpci.c314 /* Handle vendor set vconn */ in tcpci_set_vconn()
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dfusb302.c565 /* Datasheet says vconn MUST be off when toggling */ in fusb302_set_toggling()
566 WARN(chip->vconn_on, "Vconn is on during toggle start"); in fusb302_set_toggling()
744 fusb302_log(chip, "vconn is already %s", on ? "On" : "Off"); in tcpm_set_vconn()
757 fusb302_log(chip, "vconn := %s", on ? "On" : "Off"); in tcpm_set_vconn()
1310 * - 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 Dtcpci_mt6360.c96 /* Enable VCONN Current Limit function */ in mt6360_tcpc_init()
H A Dtcpm.c973 tcpm_log(port, "vconn:=%d", enable); in tcpm_set_vconn()
3386 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_request()
3498 tcpm_log(port, "cc=%d cc1=%d cc2=%d vbus=%d vconn=%s polarity=%d", in tcpm_pd_build_pps_request()
3650 * Enable VCONN only if the non-RD port is set to RA. in tcpm_src_attach()
3951 * - Do not drive vconn or vbus in run_state_machine()
4516 * Source Shall stop driving VCONN, Shall remove Rp from the VCONN pin and Shall in run_state_machine()
4576 * - turn off VCONN, reset power supply in run_state_machine()
4578 * - turn on VCONN in run_state_machine()
5374 * tSrcRecover before re-applying VCONN and restoring VBUS to vSafe5V. in _tcpm_pd_vbus_vsafe0v()
H A Dtcpci.c352 /* Handle vendor set vconn */ in tcpci_set_vconn()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dcros_ec_commands.h4892 #define PD_CTRL_RESP_ROLE_VCONN BIT(2) /* Vconn status */