Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/usb/
Dpd_vdo.h75 #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 …]
Dtypec_altmode.h28 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);
Dtypec.h105 u32 vdo[3]; member
124 u32 vdo; member
/Linux-v5.10/drivers/usb/typec/altmodes/
Ddisplayport.c85 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/
Dtrace.h92 __field(u32, vdo)
98 __entry->vdo = alt->vdo;
102 __entry->mode, __entry->vdo)
Ddisplayport.c48 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()
Ducsi.c276 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()
Ducsi_ccg.c465 (pin & DP_CONF_GET_PIN_ASSIGN(alt->vdo))) { in ucsi_ccg_update_set_new_cam_cmd()
/Linux-v5.10/drivers/usb/typec/
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()
Dclass.c264 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()
Dtps6598x.c65 u32 vdo[3]; member
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-bus-typec46 What: /sys/bus/typec/devices/.../vdo
/Linux-v5.10/Documentation/ABI/obsolete/
Dsysfs-class-typec27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
/Linux-v5.10/drivers/usb/typec/tcpm/
Dtcpm.c1066 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/
Dcros_ec_commands.h5169 uint32_t vdo[6]; /* Mode VDOs */ member