Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/ !
Dpd_vdo.h77 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument
78 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument
79 #define PD_VDO_SVDM_VER(vdo) (((vdo) >> 13) & 0x3) argument
80 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument
81 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument
82 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument
148 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument
149 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument
150 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument
151 #define PD_IDH_DFP_PTYPE(vdo) (((vdo) >> 23) & 0x7) 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.h118 u32 vdo[3]; member
137 u32 vdo; member
/linux-6.1.9/drivers/usb/typec/altmodes/ !
Ddisplayport.c96 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
97 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
102 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
103 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure()
192 u32 vdo; in dp_altmode_work() local
208 vdo = 1; in dp_altmode_work()
209 ret = typec_altmode_vdm(dp->alt, header, &vdo, 2); in dp_altmode_work()
234 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention() argument
242 dp->data.status = vdo; in dp_altmode_attention()
261 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm() argument
[all …]
/linux-6.1.9/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.c346 if (desc->vdo == USB_TYPEC_NVIDIA_VLINK_DBG_VDO) in ucsi_register_altmode()
459 desc.vdo = updated[i].mid; in ucsi_register_altmodes_nvidia()
462 desc.vdo = orig[i].mid; in ucsi_register_altmodes_nvidia()
527 desc.vdo = alt[j].mid; in ucsi_register_altmodes()
561 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()
/linux-6.1.9/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
162 pdev->ops->attention(pdev, vdo); in typec_altmode_attention()
178 const u32 header, const u32 *vdo, int count) in typec_altmode_vdm() argument
196 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()
337 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
339 static DEVICE_ATTR_RO(vdo);
529 alt->adev.vdo = desc->vdo; in typec_register_altmode()
2115 u32 svid, vdo; in typec_port_register_altmodes() local
2130 ret = fwnode_property_read_u32(child, "vdo", &vdo); in typec_port_register_altmodes()
2144 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()
/linux-6.1.9/include/dt-bindings/usb/ !
Dpd.h431 #define PD_VDO_AMA_VCONN_REQ(vdo) (((vdo) >> 4) & 1) argument
432 #define PD_VDO_AMA_VBUS_REQ(vdo) (((vdo) >> 3) & 1) argument
/linux-6.1.9/Documentation/devicetree/bindings/memory-controllers/ !
Dmediatek,smi-common.yaml40 - mediatek,mt8188-smi-common-vdo
43 - mediatek,mt8195-smi-common-vdo
134 - mediatek,mt8195-smi-common-vdo
/linux-6.1.9/Documentation/devicetree/bindings/iommu/ !
Dmediatek,iommu.yaml82 - mediatek,mt8195-iommu-vdo # generation two
157 - mediatek,mt8195-iommu-vdo
170 - mediatek,mt8195-iommu-vdo
/linux-6.1.9/Documentation/ABI/obsolete/ !
Dsysfs-class-typec27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
/linux-6.1.9/Documentation/ABI/testing/ !
Dsysfs-bus-typec46 What: /sys/bus/typec/devices/.../vdo
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/typec/tcpm/ !
Dtcpm.c1465 u32 vdo = p[VDO_INDEX_IDH]; in svdm_consume_identity() local
1470 port->partner_ident.id_header = vdo; in svdm_consume_identity()
1477 PD_IDH_VID(vdo), in svdm_consume_identity()
1532 paltmode->vdo = p[i]; in svdm_consume_modes()
1536 paltmode->mode, paltmode->vdo); in svdm_consume_modes()
2186 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter() argument
2196 header = VDO(altmode->svid, vdo ? 2 : 1, svdm_version, CMD_ENTER_MODE); in tcpm_altmode_enter()
2199 tcpm_queue_vdm_unlocked(port, header, vdo, vdo ? 1 : 0); in tcpm_altmode_enter()
/linux-6.1.9/arch/arm64/boot/dts/mediatek/ !
Dmt8195.dtsi2110 compatible = "mediatek,mt8195-smi-common-vdo";
2122 compatible = "mediatek,mt8195-iommu-vdo";
/linux-6.1.9/include/linux/platform_data/ !
Dcros_ec_commands.h5194 uint32_t vdo[6]; /* Mode VDOs */ member