Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/usb/
Dpd_vdo.h84 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument
85 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument
86 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument
87 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument
88 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument
131 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument
132 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument
133 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument
140 #define PD_CSTAT_XID(vdo) (vdo) argument
149 #define PD_PRODUCT_PID(vdo) (((vdo) >> 16) & 0xffff) argument
[all …]
Dtypec_altmode.h28 u32 vdo; member
60 void (*attention)(struct typec_altmode *altmode, u32 vdo);
62 const u32 *vdo, int cnt);
70 void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo);
72 const u32 header, const u32 *vdo, int count);
Dtypec.h105 u32 vdo; member
/Linux-v4.19/drivers/usb/typec/altmodes/
Ddisplayport.c88 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
89 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
94 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
95 DP_CAP_UFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
188 u32 vdo; in dp_altmode_work() local
201 vdo = 1; in dp_altmode_work()
202 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2); in dp_altmode_work()
227 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention() argument
235 dp->data.status = vdo; in dp_altmode_attention()
254 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm() argument
[all …]
/Linux-v4.19/drivers/usb/typec/
Dbus.c149 void typec_altmode_attention(struct typec_altmode *adev, u32 vdo) in typec_altmode_attention() argument
154 pdev->ops->attention(pdev, vdo); in typec_altmode_attention()
170 const u32 header, const u32 *vdo, int count) in typec_altmode_vdm() argument
188 return pdev->ops->vdm(pdev, header, vdo, count); in typec_altmode_vdm()
Dclass.c320 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
322 static DEVICE_ATTR_RO(vdo);
489 alt->adev.vdo = desc->vdo; in typec_register_altmode()
Dtps6598x.c62 u32 vdo[3]; member
Dtcpm.c945 u32 vdo = le32_to_cpu(payload[VDO_INDEX_IDH]); in svdm_consume_identity() local
950 port->partner_ident.id_header = vdo; in svdm_consume_identity()
957 PD_IDH_VID(vdo), in svdm_consume_identity()
1015 paltmode->vdo = le32_to_cpu(payload[i]); in svdm_consume_modes()
1019 paltmode->mode, paltmode->vdo); in svdm_consume_modes()
/Linux-v4.19/Documentation/ABI/obsolete/
Dsysfs-class-typec27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-typec46 What: /sys/bus/typec/devices/.../vdo