| /Linux-v5.10/include/linux/usb/ |
| D | pd_vdo.h | 75 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument 76 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument 77 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument 78 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument 79 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument 122 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument 123 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument 124 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument 131 #define PD_CSTAT_XID(vdo) (vdo) argument 140 #define PD_PRODUCT_PID(vdo) (((vdo) >> 16) & 0xffff) argument [all …]
|
| D | typec_altmode.h | 28 u32 vdo; member 58 int (*enter)(struct typec_altmode *altmode, u32 *vdo); 60 void (*attention)(struct typec_altmode *altmode, u32 vdo); 62 const u32 *vdo, int cnt); 68 int typec_altmode_enter(struct typec_altmode *altmode, u32 *vdo); 70 void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo); 72 const u32 header, const u32 *vdo, int count);
|
| D | typec.h | 105 u32 vdo[3]; member 124 u32 vdo; member
|
| /Linux-v5.10/drivers/usb/typec/altmodes/ |
| D | displayport.c | 85 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() 86 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure() 91 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() 92 DP_CAP_UFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure() 185 u32 vdo; in dp_altmode_work() local 198 vdo = 1; in dp_altmode_work() 199 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2); in dp_altmode_work() 224 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention() argument 232 dp->data.status = vdo; in dp_altmode_attention() 251 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm() argument [all …]
|
| /Linux-v5.10/drivers/usb/typec/ucsi/ |
| D | trace.h | 92 __field(u32, vdo) 98 __entry->vdo = alt->vdo; 102 __entry->mode, __entry->vdo)
|
| D | displayport.c | 48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument 144 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update() 292 desc->vdo |= DP_CAP_DP_SIGNALING | DP_CAP_RECEPTACLE; in ucsi_register_displayport() 295 desc->vdo |= all_assignments << 8; in ucsi_register_displayport() 296 desc->vdo |= all_assignments << 16; in ucsi_register_displayport()
|
| D | ucsi.c | 276 if (desc->vdo == USB_TYPEC_NVIDIA_VLINK_DBG_VDO) in ucsi_register_altmode() 389 desc.vdo = updated[i].mid; in ucsi_register_altmodes_nvidia() 392 desc.vdo = orig[i].mid; in ucsi_register_altmodes_nvidia() 455 desc.vdo = alt[j].mid; in ucsi_register_altmodes() 489 adev[i]->vdo != USB_TYPEC_NVIDIA_VLINK_DBG_VDO))) { in ucsi_unregister_altmodes()
|
| D | ucsi_ccg.c | 465 (pin & DP_CONF_GET_PIN_ASSIGN(alt->vdo))) { in ucsi_ccg_update_set_new_cam_cmd()
|
| /Linux-v5.10/drivers/usb/typec/ |
| D | bus.c | 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() 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()
|
| D | class.c | 264 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show() 266 static DEVICE_ATTR_RO(vdo); 454 alt->adev.vdo = desc->vdo; in typec_register_altmode()
|
| D | tps6598x.c | 65 u32 vdo[3]; member
|
| /Linux-v5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-typec | 46 What: /sys/bus/typec/devices/.../vdo
|
| /Linux-v5.10/Documentation/ABI/obsolete/ |
| D | sysfs-class-typec | 27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
|
| /Linux-v5.10/drivers/usb/typec/tcpm/ |
| D | tcpm.c | 1066 u32 vdo = p[VDO_INDEX_IDH]; in svdm_consume_identity() local 1071 port->partner_ident.id_header = vdo; in svdm_consume_identity() 1078 PD_IDH_VID(vdo), in svdm_consume_identity() 1133 paltmode->vdo = p[i]; in svdm_consume_modes() 1137 paltmode->mode, paltmode->vdo); in svdm_consume_modes() 1630 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter() argument 1635 header = VDO(altmode->svid, vdo ? 2 : 1, CMD_ENTER_MODE); in tcpm_altmode_enter() 1638 tcpm_queue_vdm_unlocked(port, header, vdo, vdo ? 1 : 0); in tcpm_altmode_enter()
|
| /Linux-v5.10/include/linux/platform_data/ |
| D | cros_ec_commands.h | 5169 uint32_t vdo[6]; /* Mode VDOs */ member
|