| /linux/include/linux/usb/ |
| H A D | pd_vdo.h | 13 * VDO : Vendor Defined Message Object 32 #define VDO(vid, type, ver, custom) \ macro 78 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument 79 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument 80 #define PD_VDO_SVDM_VER(vdo) (((vdo) >> 13) & 0x3) argument 81 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument 82 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument 83 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument 94 * [2] :: Cert Stat VDO 95 * [3] :: (Product | Cable) VDO [all …]
|
| H A D | typec_tbt.h | 17 * @device_mode: Device Discover Mode VDO 18 * @cable_mode: Cable Discover Mode VDO 19 * @enter_vdo: Enter Mode VDO 27 /* TBT3 Device Discover Mode VDO bits */ 38 /* TBT3 Cable Discover Mode VDO bits */ 56 /* TBT3 Device Enter Mode VDO bits */
|
| H A D | typec_dp.h | 39 * @status: Status Update command VDO content 40 * @conf: Configure command VDO content 67 /* DisplayPort Capabilities VDO bits (returned with Discover Modes) */ 93 /* DisplayPort Status Update VDO bits */ 107 /* DisplayPort Configurations VDO bits */
|
| /linux/drivers/usb/typec/altmodes/ |
| H A D | thunderbolt.c | 141 const u32 *vdo, int count) in tbt_cable_altmode_vdm() argument 190 const u32 hdr, const u32 *vdo, int count) in tbt_altmode_vdm() argument 211 data.device_mode = tbt->alt->vdo; in tbt_altmode_vdm() 214 data.cable_mode = tbt->plug[TYPEC_PLUG_SOP_P]->vdo; in tbt_altmode_vdm() 319 u32 vdo; in tbt_ready() local 347 vdo = tbt->alt->vdo & (TBT_VENDOR_SPECIFIC_B0 | TBT_VENDOR_SPECIFIC_B1); in tbt_ready() 348 vdo |= tbt->alt->vdo & TBT_INTEL_SPECIFIC_B0; in tbt_ready() 349 vdo |= TBT_MODE; in tbt_ready() 354 vdo |= TBT_ENTER_MODE_ACTIVE_CABLE; in tbt_ready() 356 vdo |= TBT_ENTER_MODE_CABLE_SPEED(TBT_CABLE_SPEED(plug->vdo)); in tbt_ready() [all …]
|
| H A D | displayport.c | 20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \ 106 signal = DP_CAP_DP_SIGNALLING(dp->port->vdo) & DP_CAP_DP_SIGNALLING(dp->alt->vdo); in dp_altmode_configure() 108 signal &= DP_CAP_DP_SIGNALLING(dp->plug_prime->vdo); in dp_altmode_configure() 117 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() 118 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure() 121 pin_assign &= DP_CAP_DFP_D_PIN_ASSIGN(dp->plug_prime->vdo); in dp_altmode_configure() 126 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure() 127 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure() 130 pin_assign &= DP_CAP_UFP_D_PIN_ASSIGN(dp->plug_prime->vdo); in dp_altmode_configure() 270 u32 vdo; in dp_altmode_work() local [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | dump.c | 20 #include "vdo.h" 55 static void do_dump(struct vdo *vdo, unsigned int dump_options_requested, in do_dump() argument 62 active = get_data_vio_pool_active_requests(vdo->data_vio_pool); in do_dump() 63 maximum = get_data_vio_pool_maximum_requests(vdo->data_vio_pool); in do_dump() 64 outstanding = (atomic64_read(&vdo->stats.bios_submitted) - in do_dump() 65 atomic64_read(&vdo->stats.bios_completed)); in do_dump() 68 vdo_get_device_name(vdo->device_config->owning_target)); in do_dump() 69 if (((dump_options_requested & FLAG_SHOW_QUEUES) != 0) && (vdo->threads != NULL)) { in do_dump() 72 for (id = 0; id < vdo->thread_config.thread_count; id++) in do_dump() 73 vdo_dump_work_queue(vdo->threads[id].queue); in do_dump() [all …]
|
| H A D | vio.h | 18 #include "vdo.h" 58 return vio->completion.vdo->thread_config.bio_threads[vio->bio_zone]; in get_vio_bio_zone_thread_id() 80 int allocate_vio_components(struct vdo *vdo, enum vio_type vio_type, 83 int __must_check create_multi_block_metadata_vio(struct vdo *vdo, enum vio_type vio_type, 88 static inline int __must_check create_metadata_vio(struct vdo *vdo, enum vio_type vio_type, in create_metadata_vio() argument 93 return create_multi_block_metadata_vio(vdo, vio_type, priority, parent, 1, data, in create_metadata_vio() 104 * @block_count: The size of this vio in vdo blocks. 107 * @vdo: The vdo for this vio. 111 enum vio_priority priority, struct vdo *vdo) in initialize_vio() argument 120 vdo_initialize_completion(&vio->completion, vdo, VIO_COMPLETION); in initialize_vio() [all …]
|
| H A D | completion.c | 16 #include "vdo.h" 19 * DOC: vdo completions. 21 * Most of vdo's data structures are lock free, each either belonging to a single "zone," or 52 struct vdo *vdo, in vdo_initialize_completion() argument 56 completion->vdo = vdo; in vdo_initialize_completion() 114 struct vdo *vdo = completion->vdo; in vdo_enqueue_completion() local 117 if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count, in vdo_enqueue_completion() 120 vdo->thread_config.thread_count) != VDO_SUCCESS) in vdo_enqueue_completion() 126 vdo_enqueue_work_queue(vdo->threads[thread_id].queue, completion); in vdo_enqueue_completion()
|
| H A D | statistics.h | 146 /** Counts of error conditions in VDO. */ 148 /* number of times VDO got an invalid dedupe advice PBN from UDS */ 198 /** The statistics of the vdo service. */ 203 /* Number of blocks used for VDO metadata */ 215 /* Number of times the VDO has successfully recovered */ 217 /* Number of times the VDO has recovered from read-only mode */ 219 /* String describing the operating mode of the VDO */ 221 /* Whether the VDO is in recovery mode */ 243 /* The VDO instance */ 255 /* Bios submitted into VDO from above */
|
| H A D | message-stats.h | 11 int vdo_write_config(struct vdo *vdo, char **buf, unsigned int *maxlen); 12 int vdo_write_stats(struct vdo *vdo, char *buf, unsigned int maxlen);
|
| H A D | dump.h | 11 int vdo_dump(struct vdo *vdo, unsigned int argc, char *const *argv, const char *why); 13 void vdo_dump_all(struct vdo *vdo, const char *why);
|
| H A D | status-codes.h | 17 /* VDO-specific status codes. */ 19 /* base of all VDO errors */ 51 /* the VDO is in read-only mode */ 53 /* the VDO is shutting down */ 73 /* the VDO is not in a state to perform an admin operation */
|
| H A D | flush.h | 28 int __must_check vdo_make_flusher(struct vdo *vdo); 38 void vdo_launch_flush(struct vdo *vdo, struct bio *bio);
|
| H A D | Makefile | 5 obj-$(CONFIG_DM_VDO) += dm-vdo.o 7 dm-vdo-objs := \ 14 dm-vdo-target.o \ 40 vdo.o \
|
| H A D | Kconfig | 4 tristate "VDO: deduplication and compression target" 16 be called dm-vdo.
|
| H A D | completion.h | 31 void vdo_initialize_completion(struct vdo_completion *completion, struct vdo *vdo, 35 * vdo_reset_completion() - Reset a completion to a clean state, while keeping the type, vdo and
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | displayport.c | 48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument 94 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_ENTER_MODE); in ucsi_displayport_enter() 139 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_EXIT_MODE); in ucsi_displayport_exit() 155 * We do not actually have access to the Status Update VDO, so we have to guess 160 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update() 232 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, cmd); in ucsi_displayport_vdm() 319 desc->vdo |= DP_CAP_DP_SIGNALLING(0) | DP_CAP_RECEPTACLE; in ucsi_register_displayport() 322 desc->vdo |= all_assignments << 8; in ucsi_register_displayport() 323 desc->vdo |= all_assignments << 16; in ucsi_register_displayport()
|
| H A D | trace.h | 91 __field(u32, vdo) 97 __entry->vdo = alt->vdo; 99 TP_printk("%s alt mode: svid %04x, mode %d vdo %x", 101 __entry->mode, __entry->vdo)
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| H A D | mediatek,iommu.yaml | 82 - mediatek,mt8188-iommu-vdo # generation two 89 - mediatek,mt8195-iommu-vdo # generation two 169 - mediatek,mt8188-iommu-vdo 173 - mediatek,mt8195-iommu-vdo 186 - mediatek,mt8188-iommu-vdo 190 - mediatek,mt8195-iommu-vdo
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-typec | 37 must be done with either mode VDO or the description. 46 What: /sys/bus/typec/devices/.../vdo 50 Shows the VDO in hexadecimal returned by Discover Modes command
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_typec_altmode.c | 58 static int cros_typec_altmode_enter(struct typec_altmode *alt, u32 *vdo) in cros_typec_altmode_enter() argument 92 adata->header = VDO(adata->sid, 1, svdm_version, CMD_ENTER_MODE); in cros_typec_altmode_enter() 131 adata->header = VDO(adata->sid, 1, svdm_version, CMD_EXIT_MODE); in cros_typec_altmode_exit() 167 adata->header = VDO(adata->sid, 1, svdm_version, cmd); in cros_typec_displayport_vdm() 172 * provided VDO yet so just send back an ACK. in cros_typec_displayport_vdm() 225 adata->header = VDO(adata->sid, 1, svdm_version, cmd); in cros_typec_thunderbolt_vdm()
|
| H A D | cros_typec_vdm.c | 95 static int cros_typec_port_amode_enter(struct typec_altmode *amode, u32 *vdo) in cros_typec_port_amode_enter() argument 105 hdr = VDO(amode->svid, 1, SVDM_VER_2_0, CMD_ENTER_MODE); in cros_typec_port_amode_enter() 121 const u32 *vdo, int cnt) in cros_typec_port_amode_vdm() argument 134 vdm_req.vdm_data[i] = vdo[i-1]; in cros_typec_port_amode_vdm()
|
| /linux/Documentation/ABI/obsolete/ |
| H A D | sysfs-class-typec | 17 is the actual index to the mode VDO returned by Discover Modes 27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo 31 Shows the VDO in hexadecimal returned by Discover Modes command
|
| /linux/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 122 description: An array of u32 with each entry, a Vendor Defined Message Object (VDO), 124 definitions and the order of each VDO can be found in 126 chapter 6.4.4.3.1 Discover Identity. User can specify the VDO array via 134 description: An array of u32 with each entry, a Vendor Defined Message Object (VDO), 136 definitions and the order of each VDO can be found in 138 Identity. User can specify the VDO array via VDO_IDH/_CERT/_PRODUCT/_CABLE/_AMA defined in 178 vdo: 180 description: VDO returned by Discover Modes USB PD command. 435 vdo = <0x00001c46>;
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | mediatek,smi-common.yaml | 41 - mediatek,mt8188-smi-common-vdo 44 - mediatek,mt8195-smi-common-vdo 136 - mediatek,mt8195-smi-common-vdo
|