Home
last modified time | relevance | path

Searched refs:vdo (Results 1 – 25 of 40) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dpd_vdo.h77 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument
78 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument
79 #define PD_VDO_SVDM_VER(vdo) (((vdo) >> 13) & 0x3) argument
80 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument
81 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument
82 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument
148 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument
149 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument
150 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument
151 #define PD_IDH_DFP_PTYPE(vdo) (((vdo) >> 23) & 0x7) argument
[all …]
H A Dtypec_altmode.h28 u32 vdo; member
59 int (*enter)(struct typec_altmode *altmode, u32 *vdo);
61 void (*attention)(struct typec_altmode *altmode, u32 vdo);
63 const u32 *vdo, int cnt);
70 int typec_altmode_enter(struct typec_altmode *altmode, u32 *vdo);
72 void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo);
74 const u32 header, const u32 *vdo, int count);
H A Dtypec.h107 u32 vdo[3]; member
126 u32 vdo; member
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dpd_vdo.h77 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument
78 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument
79 #define PD_VDO_SVDM_VER(vdo) (((vdo) >> 13) & 0x3) argument
80 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument
81 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument
82 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument
148 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument
149 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument
150 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument
151 #define PD_IDH_DFP_PTYPE(vdo) (((vdo) >> 23) & 0x7) argument
[all …]
H A Dtypec.h106 u32 vdo[3]; member
125 u32 vdo; member
/OK3568_Linux_fs/kernel/drivers/usb/typec/altmodes/
H A Ddisplayport.c111 pin_assign = DP_CAP_PIN_ASSIGN(dp->alt->vdo); in dp_altmode_configure()
217 u32 vdo; in dp_altmode_work() local
233 vdo = 1; in dp_altmode_work()
234 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2); in dp_altmode_work()
259 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention() argument
267 dp->data.status = vdo; in dp_altmode_attention()
286 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm() argument
311 dp->data.status = *vdo; in dp_altmode_vdm()
382 cap = DP_CAP_CAPABILITY(dp->alt->vdo); in configuration_store()
418 cap = DP_CAP_CAPABILITY(dp->alt->vdo); in configuration_show()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Dtrace.h92 __field(u32, vdo)
98 __entry->vdo = alt->vdo;
102 __entry->mode, __entry->vdo)
H A Ddisplayport.c48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument
158 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update()
318 desc->vdo |= DP_CAP_DP_SIGNALING | DP_CAP_RECEPTACLE; in ucsi_register_displayport()
321 desc->vdo |= all_assignments << 8; in ucsi_register_displayport()
322 desc->vdo |= all_assignments << 16; in ucsi_register_displayport()
H A Ducsi.c280 if (desc->vdo == USB_TYPEC_NVIDIA_VLINK_DBG_VDO) in ucsi_register_altmode()
393 desc.vdo = updated[i].mid; in ucsi_register_altmodes_nvidia()
396 desc.vdo = orig[i].mid; in ucsi_register_altmodes_nvidia()
459 desc.vdo = alt[j].mid; in ucsi_register_altmodes()
493 adev[i]->vdo != USB_TYPEC_NVIDIA_VLINK_DBG_VDO))) { in ucsi_unregister_altmodes()
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dbus.c95 int typec_altmode_enter(struct typec_altmode *adev, u32 *vdo) in typec_altmode_enter() argument
116 return pdev->ops->enter(pdev, vdo); in typec_altmode_enter()
155 void typec_altmode_attention(struct typec_altmode *adev, u32 vdo) in typec_altmode_attention() argument
160 pdev->ops->attention(pdev, vdo); in typec_altmode_attention()
176 const u32 header, const u32 *vdo, int count) in typec_altmode_vdm() argument
194 return pdev->ops->vdm(pdev, header, vdo, count); in typec_altmode_vdm()
H A Dclass.c190 return sysfs_emit(buf, "0x%08x\n", id->vdo[0]); in product_type_vdo1_show()
199 return sysfs_emit(buf, "0x%08x\n", id->vdo[1]); in product_type_vdo2_show()
208 return sysfs_emit(buf, "0x%08x\n", id->vdo[2]); in product_type_vdo3_show()
395 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
397 static DEVICE_ATTR_RO(vdo);
587 alt->adev.vdo = desc->vdo; in typec_register_altmode()
1996 u32 svid, vdo; in typec_port_register_altmodes() local
2011 ret = fwnode_property_read_u32(child, "vdo", &vdo); in typec_port_register_altmodes()
2025 desc.vdo = vdo; in typec_port_register_altmodes()
/OK3568_Linux_fs/kernel/include/dt-bindings/usb/
H A Dpd.h431 #define PD_VDO_AMA_VCONN_REQ(vdo) (((vdo) >> 4) & 1) argument
432 #define PD_VDO_AMA_VBUS_REQ(vdo) (((vdo) >> 3) & 1) argument
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/libblockdev/
H A Dlibblockdev_2.26.bb33 PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo"
/OK3568_Linux_fs/buildroot/package/udisks/
H A Dudisks.mk39 --disable-vdo \
/OK3568_Linux_fs/buildroot/package/libblockdev/
H A Dlibblockdev.mk32 --without-vdo
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2/
H A D0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch42 @@ -42,13 +42,14 @@ VDO="/bin/vdo"
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-bus-typec46 What: /sys/bus/typec/devices/.../vdo
/OK3568_Linux_fs/kernel/Documentation/ABI/obsolete/
H A Dsysfs-class-typec27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588-nvr-demo1-v21.dtsi130 vdo = <0xffffffff>;
H A Drk3588s-evb3-lp4x.dtsi203 vdo = <0xffffffff>;
H A Drk3588-evb4-lp4.dtsi319 vdo = <0xffffffff>;
H A Drk3588-evb6-lp4.dtsi294 vdo = <0xffffffff>;
H A Drk3588-pcie-ep-demo.dtsi342 vdo = <0xffffffff>;
H A Drk3588-evb1-lp4.dtsi445 vdo = <0xffffffff>;
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c1485 u32 vdo = p[VDO_INDEX_IDH]; in svdm_consume_identity() local
1490 port->partner_ident.id_header = vdo; in svdm_consume_identity()
1497 PD_IDH_VID(vdo), in svdm_consume_identity()
1566 paltmode->vdo = p[i]; in svdm_consume_modes()
1570 paltmode->mode, paltmode->vdo); in svdm_consume_modes()
2238 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter() argument
2248 header = VDO(altmode->svid, vdo ? 2 : 1, svdm_version, CMD_ENTER_MODE); in tcpm_altmode_enter()
2251 tcpm_queue_vdm_unlocked(port, header, vdo, vdo ? 1 : 0); in tcpm_altmode_enter()

12