Home
last modified time | relevance | path

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

/drivers/usb/typec/altmodes/
Ddisplayport.c97 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
98 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
103 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
104 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure()
213 u32 vdo; in dp_altmode_work() local
229 vdo = 1; in dp_altmode_work()
230 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2); in dp_altmode_work()
255 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention() argument
263 dp->data.status = vdo; in dp_altmode_attention()
282 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm() argument
[all …]
/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
158 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update()
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()
Ducsi.c349 if (desc->vdo == USB_TYPEC_NVIDIA_VLINK_DBG_VDO) in ucsi_register_altmode()
462 desc.vdo = updated[i].mid; in ucsi_register_altmodes_nvidia()
465 desc.vdo = orig[i].mid; in ucsi_register_altmodes_nvidia()
530 desc.vdo = alt[j].mid; in ucsi_register_altmodes()
564 adev[i]->vdo != USB_TYPEC_NVIDIA_VLINK_DBG_VDO))) { in ucsi_unregister_altmodes()
Ducsi_ccg.c470 (pin & DP_CONF_GET_PIN_ASSIGN(alt->vdo))) { in ucsi_ccg_update_set_new_cam_cmd()
/drivers/usb/typec/
Dbus.c97 int typec_altmode_enter(struct typec_altmode *adev, u32 *vdo) in typec_altmode_enter() argument
118 return pdev->ops->enter(pdev, vdo); in typec_altmode_enter()
157 void typec_altmode_attention(struct typec_altmode *adev, u32 vdo) in typec_altmode_attention() argument
175 pdev->ops->attention(pdev, vdo); in typec_altmode_attention()
191 const u32 header, const u32 *vdo, int count) in typec_altmode_vdm() argument
209 return pdev->ops->vdm(pdev, header, vdo, count); in typec_altmode_vdm()
Dclass.c132 return sysfs_emit(buf, "0x%08x\n", id->vdo[0]); in product_type_vdo1_show()
141 return sysfs_emit(buf, "0x%08x\n", id->vdo[1]); in product_type_vdo2_show()
150 return sysfs_emit(buf, "0x%08x\n", id->vdo[2]); in product_type_vdo3_show()
339 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
341 static DEVICE_ATTR_RO(vdo);
532 alt->adev.vdo = desc->vdo; in typec_register_altmode()
2122 u32 svid, vdo; in typec_port_register_altmodes() local
2137 ret = fwnode_property_read_u32(child, "vdo", &vdo); in typec_port_register_altmodes()
2151 desc.vdo = vdo; in typec_port_register_altmodes()
Danx7411.c549 int svid, int vdo) in anx7411_typec_register_altmode() argument
557 desc.vdo = vdo; in anx7411_typec_register_altmode()
/drivers/platform/chrome/
Dcros_ec_typec.c340 desc.vdo = DP_PORT_VDO, in cros_typec_register_port_altmodes()
754 desc.vdo = sop_disc->svids[i].mode_vdo[j]; in cros_typec_register_altmodes()
821 id->vdo[i - 3] = disc->discovery_vdo[i]; in cros_typec_parse_pd_identity()
849 cable_plug_type = VDO_TYPEC_CABLE_TYPE(port->c_identity.vdo[0]); in cros_typec_handle_sop_prime_disc()
/drivers/usb/typec/tcpm/
Dtcpm.c1499 u32 vdo = p[VDO_INDEX_IDH]; in svdm_consume_identity() local
1504 port->partner_ident.id_header = vdo; in svdm_consume_identity()
1511 PD_IDH_VID(vdo), in svdm_consume_identity()
1580 paltmode->vdo = p[i]; in svdm_consume_modes()
1584 paltmode->mode, paltmode->vdo); in svdm_consume_modes()
2240 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter() argument
2250 header = VDO(altmode->svid, vdo ? 2 : 1, svdm_version, CMD_ENTER_MODE); in tcpm_altmode_enter()
2253 tcpm_queue_vdm_unlocked(port, header, vdo, vdo ? 1 : 0); in tcpm_altmode_enter()