| /linux/drivers/md/dm-vdo/ |
| H A D | vdo.c | 90 static bool vdo_is_equal(struct vdo *vdo, const void *context) in vdo_is_equal() argument 92 return (vdo == context); in vdo_is_equal() 104 static struct vdo * __must_check filter_vdos_locked(vdo_filter_fn filter, in filter_vdos_locked() 107 struct vdo *vdo; in filter_vdos_locked() local 109 list_for_each_entry(vdo, ®istry.links, registration) { in filter_vdos_locked() 110 if (filter(vdo, context)) in filter_vdos_locked() 111 return vdo; in filter_vdos_locked() 122 struct vdo *vdo_find_matching(vdo_filter_fn filter, const void *context) in vdo_find_matching() 124 struct vdo *vdo; in vdo_find_matching() local 127 vdo = filter_vdos_locked(filter, context); in vdo_find_matching() [all …]
|
| H A D | dump.c | 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() 76 vdo_dump_hash_zones(vdo->hash_zones); in do_dump() [all …]
|
| H A D | completion.c | 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 | vio.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() 111 enum vio_priority priority, struct vdo *vdo) in initialize_vio() argument 120 vdo_initialize_completion(&vio->completion, vdo, VIO_COMPLETION); in initialize_vio() 197 int __must_check make_vio_pool(struct vdo *vdo, size_t pool_size, size_t block_count,
|
| 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 | 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 | action-manager.h | 83 struct vdo *vdo,
|
| H A D | packer.h | 101 int __must_check vdo_make_packer(struct vdo *vdo, block_count_t bin_count,
|
| H A D | physical-zone.h | 94 int __must_check vdo_make_physical_zones(struct vdo *vdo,
|
| H A D | dedupe.h | 81 int __must_check vdo_make_hash_zones(struct vdo *vdo, struct hash_zones **zones_ptr);
|
| H A D | completion.h | 31 void vdo_initialize_completion(struct vdo_completion *completion, struct vdo *vdo,
|
| H A D | recovery-journal.h | 255 nonce_t nonce, struct vdo *vdo,
|
| H A D | Kconfig | 16 be called dm-vdo.
|
| /linux/include/linux/usb/ |
| H A D | pd_vdo.h | 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 154 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument 155 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument 156 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument 157 #define PD_IDH_DFP_PTYPE(vdo) (((vdo) >> 23) & 0x7) argument [all …]
|
| H A D | typec_altmode.h | 40 u32 vdo; member 73 int (*enter)(struct typec_altmode *altmode, u32 *vdo); 75 void (*attention)(struct typec_altmode *altmode, u32 vdo); 77 const u32 *vdo, int cnt); 83 int typec_altmode_enter(struct typec_altmode *altmode, u32 *vdo); 85 int typec_altmode_attention(struct typec_altmode *altmode, u32 vdo); 87 const u32 header, const u32 *vdo, int count); 100 int (*enter)(struct typec_altmode *altmode, enum typec_plug_index sop, u32 *vdo); 103 const u32 hdr, const u32 *vdo, int cnt); 106 int typec_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop, u32 *vdo); [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | trace.h | 91 __field(u32, vdo) 97 __entry->vdo = alt->vdo; 101 __entry->mode, __entry->vdo)
|
| H A D | displayport.c | 48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument 163 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update() 325 desc->vdo |= DP_CAP_DP_SIGNALLING(0) | DP_CAP_RECEPTACLE; in ucsi_register_displayport() 328 desc->vdo |= all_assignments << 8; in ucsi_register_displayport() 329 desc->vdo |= all_assignments << 16; in ucsi_register_displayport()
|
| /linux/drivers/platform/chrome/ |
| 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 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()
|
| 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
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-typec | 46 What: /sys/bus/typec/devices/.../vdo
|
| /linux/Documentation/ABI/obsolete/ |
| H A D | sysfs-class-typec | 27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 2050 u32 vdo = p[VDO_INDEX_IDH]; in svdm_consume_identity() 2058 port->partner_ident.id_header = vdo; in svdm_consume_identity() 2066 PD_IDH_VID(vdo), in svdm_consume_identity() 2092 port->cable_ident.vdo[0] = p[VDO_INDEX_CABLE_1]; in svdm_consume_identity_sop_prime() 2103 port->cable_ident.vdo[1] = p[VDO_INDEX_CABLE_2]; in svdm_consume_identity_sop_prime() 2213 paltmode->vdo = p[i]; in svdm_consume_modes() 2217 paltmode->mode, paltmode->vdo); in svdm_consume_modes() 3269 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter() 3282 return tcpm_queue_vdm_unlocked(port, header, vdo, vdo in tcpm_altmode_enter() 2049 u32 vdo = p[VDO_INDEX_IDH]; svdm_consume_identity() local 3268 tcpm_altmode_enter(struct typec_altmode * altmode,u32 * vdo) tcpm_altmode_enter() argument 3316 tcpm_cable_altmode_enter(struct typec_altmode * altmode,enum typec_plug_index sop,u32 * vdo) tcpm_cable_altmode_enter() argument 8168 u32 *vdo; tcpm_fw_get_pd_ident() local [all...] |
| /linux/drivers/usb/typec/ |
| H A D | anx7411.c | 552 int svid, int vdo) in anx7411_typec_register_altmode() argument 560 desc.vdo = vdo; in anx7411_typec_register_altmode()
|