| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | pd_vdo.h | 12 * VDO : Vendor Defined Message Object 31 #define VDO(vid, type, ver, custom) \ macro 77 #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 92 * [2] :: Cert Stat VDO 93 * [3] :: (Product | Cable) VDO [all …]
|
| H A D | typec_tbt.h | 16 * @device_mode: Device Discover Mode VDO 17 * @cable_mode: Cable Discover Mode VDO 18 * @enter_vdo: Enter Mode VDO 26 /* TBT3 Device Discover Mode VDO bits */ 37 /* TBT3 Cable Discover Mode VDO bits */ 53 /* TBT3 Device Enter Mode VDO bits */
|
| H A D | typec_altmode.h | 19 * @vdo: VDO returned by Discover Modes USB PD command 28 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 D | typec.h | 93 * @id_header: ID Header VDO 94 * @cert_stat: Cert Stat VDO 95 * @product: Product VDO 96 * @vdo: Product Type Specific VDOs 107 u32 vdo[3]; member 117 * @vdo: VDO returned by Discover Modes USB PD command 126 u32 vdo; member 180 * @type: The plug type from USB PD Cable VDO
|
| H A D | typec_dp.h | 38 * @status: Status Update command VDO content 39 * @conf: Configure command VDO content 65 /* DisplayPort Capabilities VDO bits (returned with Discover Modes) */ 82 /* DisplayPort Status Update VDO bits */ 96 /* DisplayPort Configurations VDO bits */
|
| /OK3568_Linux_fs/u-boot/include/power/power_delivery/ |
| H A D | pd_vdo.h | 12 * VDO : Vendor Defined Message Object 31 #define VDO(vid, type, ver, custom) \ macro 77 #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 92 * [2] :: Cert Stat VDO 93 * [3] :: (Product | Cable) VDO [all …]
|
| H A D | typec.h | 92 * @id_header: ID Header VDO 93 * @cert_stat: Cert Stat VDO 94 * @product: Product VDO 95 * @vdo: Product Type Specific VDOs 106 u32 vdo[3]; member 116 * @vdo: VDO returned by Discover Modes USB PD command 125 u32 vdo; member 179 * @type: The plug type from USB PD Cable VDO
|
| /OK3568_Linux_fs/kernel/include/dt-bindings/usb/ |
| H A D | pd.h | 138 * Cert Stat VDO 145 * Product VDO 153 * UFP VDO (PD Revision 3.0+ only) 155 * <31:29> :: UFP VDO version 166 /* UFP VDO Version */ 214 * DFP VDO (PD Revision 3.0+ only) 216 * <31:29> :: DFP VDO version 235 * Cable VDO (for both Passive and Active Cable VDO in PD Rev2.0) 253 * Passive Cable VDO (PD Rev3.0+) 257 * <23:21> :: VDO version [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/altmodes/ |
| H A D | displayport.c | 20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \ 111 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ |
| H A D | bus.c | 88 * @vdo: VDO for the Enter Mode command 92 * Enter Mode command. If the alternate mode does not require VDO, @vdo must be 95 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() 151 * @vdo: VDO for the Attention command 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() 168 * @vdo: Array of Vendor Defined Data Objects 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 D | class.c | 190 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() 2013 dev_err(&port->dev, "Error reading vdo for altmode %s\n", in typec_port_register_altmodes() 2025 desc.vdo = vdo; in typec_port_register_altmodes()
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/ |
| H A D | displayport.c | 48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument 93 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_ENTER_MODE); in ucsi_displayport_enter() 137 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_EXIT_MODE); in ucsi_displayport_exit() 153 * We do not actually have access to the Status Update VDO, so we have to guess 158 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update() 229 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, cmd); in ucsi_displayport_vdm() 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 D | trace.h | 92 __field(u32, vdo) 98 __entry->vdo = alt->vdo; 100 TP_printk("%s alt mode: svid %04x, mode %d vdo %x", 102 __entry->mode, __entry->vdo)
|
| H A D | ucsi_ccg.c | 465 (pin & DP_CONF_GET_PIN_ASSIGN(alt->vdo))) { in ucsi_ccg_update_set_new_cam_cmd() 485 * Change the order of vdo values of NVIDIA test device FTB 486 * (Function Test Board) which reports altmode list with vdo=0x3 487 * first and then vdo=0x. Current logic to assign mode value is 489 * and SOP altmodes since NVIDIA GPU connector has order of vdo=0x1 490 * first and then vdo=0x3
|
| H A D | ucsi.c | 280 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/Documentation/ABI/testing/ |
| H A D | sysfs-class-typec | 212 directory exists, it will have an attribute file for every VDO 280 directory exists, it will have an attribute file for every VDO 287 ID Header VDO part of Discover Identity command result. The 295 Cert Stat VDO part of Discover Identity command result. The 303 Product VDO part of Discover Identity command result. The value 311 1st Product Type VDO of Discover Identity command result. 313 available and a valid Product Type VDO is returned. 319 2nd Product Type VDO of Discover Identity command result. 321 available and a valid Product Type VDO is returned. 327 3rd Product Type VDO of Discover Identity command result. [all …]
|
| H A D | sysfs-bus-typec | 37 must be done with either mode VDO or the description. 46 What: /sys/bus/typec/devices/.../vdo 50 Shows the VDO in hexadecimal returned by Discover Modes command
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/obsolete/ |
| H A D | sysfs-class-typec | 17 is the actual index to the mode VDO returned by Discover Modes 27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo 31 Shows the VDO in hexadecimal returned by Discover Modes command
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 129 description: An array of u32 with each entry, a Vendor Defined Message Object (VDO), 131 definitions and the order of each VDO can be found in 133 chapter 6.4.4.3.1 Discover Identity. User can specify the VDO array via 141 description: An array of u32 with each entry, a Vendor Defined Message Object (VDO), 143 definitions and the order of each VDO can be found in 145 Identity. User can specify the VDO array via VDO_IDH/_CERT/_PRODUCT/_CABLE/_AMA defined in
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/libblockdev/ |
| H A D | libblockdev_2.26.bb | 33 PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo"
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2/ |
| H A D | 0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch | 42 @@ -42,13 +42,14 @@ VDO="/bin/vdo"
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 425 /* Device Discover Mode VDO */ in cros_typec_enable_tbt() 431 /* Cable Discover Mode VDO */ in cros_typec_enable_tbt() 443 /* Enter Mode VDO */ in cros_typec_enable_tbt() 482 /* Status VDO. */ in cros_typec_enable_dp() 489 /* Configuration VDO. */ in cros_typec_enable_dp()
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 438 /* VDO to retry if UFP responder replied busy */ 1445 * VDM/VDO handling functions 1485 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() 1531 * PD3.0 Spec 6.4.4.3.2: The SVIDs are returned 2 per VDO (see Table in svdm_consume_svids() 1535 * SVIDs VDO is returned ending either with a SVID value of 0x0000 in in svdm_consume_svids() 1536 * the last part of the last VDO or with a VDO containing two SVIDs in svdm_consume_svids() 1540 * 0x0000 in the last VDO, so we need to break the Discover SVIDs in svdm_consume_svids() 1566 paltmode->vdo = p[i]; in svdm_consume_modes() [all …]
|
| /OK3568_Linux_fs/buildroot/package/udisks/ |
| H A D | udisks.mk | 39 --disable-vdo \
|
| /OK3568_Linux_fs/buildroot/package/libblockdev/ |
| H A D | libblockdev.mk | 32 --without-vdo
|