Home
last modified time | relevance | path

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

/Linux-v5.4/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
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-v5.4/drivers/usb/typec/altmodes/
Ddisplayport.c84 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
85 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
90 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
91 DP_CAP_UFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
184 u32 vdo; in dp_altmode_work() local
197 vdo = 1; in dp_altmode_work()
198 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2); in dp_altmode_work()
223 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention() argument
231 dp->data.status = vdo; in dp_altmode_attention()
250 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm() argument
[all …]
/Linux-v5.4/drivers/usb/typec/ucsi/
Dtrace.h145 __field(u32, vdo)
151 __entry->vdo = alt->vdo;
155 __entry->mode, __entry->vdo)
Ddisplayport.c146 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update()
291 desc->vdo |= DP_CAP_DP_SIGNALING | DP_CAP_RECEPTACLE; in ucsi_register_displayport()
294 desc->vdo |= all_assignments << 8; in ucsi_register_displayport()
295 desc->vdo |= all_assignments << 16; in ucsi_register_displayport()
Ducsi.c386 desc.vdo = alt[j].mid; in ucsi_register_altmodes()
/Linux-v5.4/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.c326 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
328 static DEVICE_ATTR_RO(vdo);
495 alt->adev.vdo = desc->vdo; in typec_register_altmode()
Dtps6598x.c64 u32 vdo[3]; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-typec46 What: /sys/bus/typec/devices/.../vdo
/Linux-v5.4/Documentation/ABI/obsolete/
Dsysfs-class-typec27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
/Linux-v5.4/drivers/usb/typec/tcpm/
Dtcpm.c956 u32 vdo = le32_to_cpu(payload[VDO_INDEX_IDH]); in svdm_consume_identity() local
961 port->partner_ident.id_header = vdo; in svdm_consume_identity()
968 PD_IDH_VID(vdo), in svdm_consume_identity()
1026 paltmode->vdo = le32_to_cpu(payload[i]); in svdm_consume_modes()
1030 paltmode->mode, paltmode->vdo); in svdm_consume_modes()
/Linux-v5.4/include/linux/platform_data/
Dcros_ec_commands.h5003 uint32_t vdo[6]; /* Mode VDOs */ member