Symbol: descriptor
arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h
26
# a3 = address of boot descriptor block
arch/powerpc/include/asm/vas.h
262
__be64 descriptor;
arch/powerpc/include/asm/vas.h
267
u64 descriptor;
arch/powerpc/platforms/pseries/vas-sysfs.c
182
if (caps->descriptor == VAS_GZIP_QOS_CAPABILITIES) {
arch/powerpc/platforms/pseries/vas-sysfs.c
186
} else if (caps->descriptor == VAS_GZIP_DEFAULT_CAPABILITIES) {
arch/powerpc/platforms/pseries/vas.c
1101
caps_all.descriptor = be64_to_cpu(hv_caps->descriptor);
arch/powerpc/platforms/pseries/vas.c
614
caps->descriptor = be64_to_cpu(hv_caps->descriptor);
arch/powerpc/platforms/pseries/vas.h
55
__be64 descriptor;
arch/powerpc/platforms/pseries/vas.h
71
u64 descriptor;
arch/x86/math-emu/get_address.c
140
struct desc_struct descriptor;
arch/x86/math-emu/get_address.c
162
descriptor = FPU_get_ldt_descriptor(addr->selector);
arch/x86/math-emu/get_address.c
163
base_address = seg_get_base(&descriptor);
arch/x86/math-emu/get_address.c
165
limit = seg_get_limit(&descriptor) + 1;
arch/x86/math-emu/get_address.c
166
limit *= seg_get_granularity(&descriptor);
arch/x86/math-emu/get_address.c
171
if (seg_expands_down(&descriptor)) {
arch/x86/math-emu/get_address.c
172
if (descriptor.g) {
arch/x86/math-emu/get_address.c
187
if (seg_execute_only(&descriptor) ||
arch/x86/math-emu/get_address.c
188
(!seg_writable(&descriptor) && (FPU_modrm & FPU_WRITE_BIT))) {
drivers/acpi/acpica/uttrack.c
543
union acpi_descriptor *descriptor;
drivers/acpi/acpica/uttrack.c
569
descriptor =
drivers/acpi/acpica/uttrack.c
577
descriptor, element->size,
drivers/acpi/acpica/uttrack.c
582
if (ACPI_GET_DESCRIPTOR_TYPE(descriptor) !=
drivers/acpi/acpica/uttrack.c
586
descriptor, element->size,
drivers/acpi/acpica/uttrack.c
589
(descriptor));
drivers/acpi/acpica/uttrack.c
596
descriptor,
drivers/acpi/acpica/uttrack.c
608
(descriptor)) {
drivers/acpi/acpica/uttrack.c
654
(descriptor->object.common.
drivers/acpi/acpica/uttrack.c
656
descriptor->object.common.
drivers/acpi/acpica/uttrack.c
664
descriptor->op.asl.
drivers/acpi/acpica/uttrack.c
672
(&descriptor->
drivers/acpi/utils.c
627
__acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle,
drivers/acpi/utils.c
639
__dynamic_pr_debug(descriptor, "ACPI: %s: %pV", path ? path : "<n/a>", &vaf);
drivers/block/drbd/drbd_polymorph_printk.h
77
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
drivers/block/drbd/drbd_polymorph_printk.h
78
if (DYNAMIC_DEBUG_BRANCH(descriptor)) { \
drivers/block/drbd/drbd_polymorph_printk.h
80
__dynamic_pr_debug(&descriptor, __drbd_printk_ ## struct_name ## _fmt(fmt), \
drivers/bluetooth/ath3k.c
479
if (le16_to_cpu(udev->descriptor.bcdDevice) > 0x0001)
drivers/bluetooth/btusb.c
1490
if (le16_to_cpu(data->udev->descriptor.idVendor) == 0x0a12 &&
drivers/bluetooth/btusb.c
1491
le16_to_cpu(data->udev->descriptor.idProduct) == 0x0001)
drivers/bluetooth/btusb.c
2462
u16 bcdDevice = le16_to_cpu(data->udev->descriptor.bcdDevice);
drivers/bluetooth/btusb.c
4060
if (le16_to_cpu(udev->descriptor.bcdDevice) <= 0x0001 &&
drivers/bluetooth/btusb.c
4354
u16 bcdDevice = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/bluetooth/btusb.c
4364
if (le16_to_cpu(udev->descriptor.idVendor) == 0x0a12 &&
drivers/bluetooth/btusb.c
4365
le16_to_cpu(udev->descriptor.idProduct) == 0x0001)
drivers/bluetooth/btusb.c
4373
if (le16_to_cpu(udev->descriptor.bcdDevice) > 0x997)
drivers/cpufreq/pcc-cpufreq.c
437
mem_resource->descriptor, mem_resource->length,
drivers/cpufreq/pcc-cpufreq.c
53
u8 descriptor;
drivers/cpufreq/pcc-cpufreq.c
63
u8 descriptor;
drivers/crypto/gemini/sl3516-ce-core.c
101
struct descriptor *dd;
drivers/crypto/gemini/sl3516-ce-core.c
110
static struct descriptor *get_desc_rx(struct sl3516_ce_dev *ce)
drivers/crypto/gemini/sl3516-ce-core.c
112
struct descriptor *rdd;
drivers/crypto/gemini/sl3516-ce-core.c
124
struct descriptor *dd, *rdd = NULL;
drivers/crypto/gemini/sl3516-ce-core.c
32
const size_t sz = sizeof(struct descriptor) * MAXDESC;
drivers/crypto/gemini/sl3516-ce-core.c
44
ce->tx[i].next_desc.next_descriptor = ce->dtx + (i + 1) * sizeof(struct descriptor);
drivers/crypto/gemini/sl3516-ce-core.c
50
ce->rx[i].next_desc.next_descriptor = ce->drx + (i + 1) * sizeof(struct descriptor);
drivers/crypto/gemini/sl3516-ce-core.c
69
const size_t sz = sizeof(struct descriptor) * MAXDESC;
drivers/crypto/gemini/sl3516-ce-core.c
99
static struct descriptor *get_desc_tx(struct sl3516_ce_dev *ce)
drivers/crypto/gemini/sl3516-ce.h
238
struct descriptor *tx;
drivers/crypto/gemini/sl3516-ce.h
240
struct descriptor *rx;
drivers/crypto/nx/nx-common-pseries.c
1181
nx_cop_caps.descriptor = be64_to_cpu(hv_nxc->descriptor);
drivers/crypto/nx/nx-common-pseries.c
29
__be64 descriptor;
drivers/crypto/nx/nx-common-pseries.c
39
u64 descriptor;
drivers/cxl/core/mbox.c
940
if (evt->gen_media.media_hdr.descriptor &
drivers/cxl/core/mbox.c
955
if (evt->dram.media_hdr.descriptor &
drivers/cxl/core/trace.h
461
__field(u8, descriptor)
drivers/cxl/core/trace.h
489
__entry->descriptor = rec->media_hdr.descriptor;
drivers/cxl/core/trace.h
509
if (rec->media_hdr.descriptor & CXL_GMER_EVT_DESC_THRESHOLD_EVENT)
drivers/cxl/core/trace.h
524
show_event_desc_flags(__entry->descriptor),
drivers/cxl/core/trace.h
604
__field(u8, descriptor)
drivers/cxl/core/trace.h
637
__entry->descriptor = rec->media_hdr.descriptor;
drivers/cxl/core/trace.h
664
if (rec->media_hdr.descriptor & CXL_GMER_EVT_DESC_THRESHOLD_EVENT)
drivers/cxl/core/trace.h
679
show_event_desc_flags(__entry->descriptor),
drivers/dma/idxd/cdev.c
432
struct dsa_hw_desc descriptor __aligned(64);
drivers/dma/idxd/cdev.c
435
rc = copy_from_user(&descriptor, udesc, sizeof(descriptor));
drivers/dma/idxd/cdev.c
446
if (is_dsa_dev(idxd_dev) && descriptor.opcode == DSA_OPCODE_BATCH &&
drivers/dma/idxd/cdev.c
455
if (!IS_ALIGNED(descriptor.completion_addr, comp_addr_align))
drivers/dma/idxd/cdev.c
459
iosubmit_cmds512(portal, &descriptor, 1);
drivers/dma/idxd/cdev.c
461
descriptor.priv = 0;
drivers/dma/idxd/cdev.c
462
descriptor.pasid = ctx->pasid;
drivers/dma/idxd/cdev.c
463
rc = idxd_enqcmds(wq, portal, &descriptor);
drivers/firewire/core-cdev.c
127
struct fw_descriptor descriptor;
drivers/firewire/core-cdev.c
927
fw_core_remove_descriptor(&r->descriptor);
drivers/firewire/core-cdev.c
954
r->descriptor.length = a->length;
drivers/firewire/core-cdev.c
955
r->descriptor.immediate = a->immediate;
drivers/firewire/core-cdev.c
956
r->descriptor.key = a->key;
drivers/firewire/core-cdev.c
957
r->descriptor.data = r->data;
drivers/firewire/core-cdev.c
959
ret = fw_core_add_descriptor(&r->descriptor);
drivers/firewire/core-cdev.c
966
fw_core_remove_descriptor(&r->descriptor);
drivers/firewire/ohci.c
100
struct descriptor *descriptors;
drivers/firewire/ohci.c
1083
static struct descriptor *context_get_descriptors(struct context *ctx,
drivers/firewire/ohci.c
1086
struct descriptor *d = NULL;
drivers/firewire/ohci.c
111
struct descriptor *d,
drivers/firewire/ohci.c
112
struct descriptor *last);
drivers/firewire/ohci.c
1127
struct descriptor *d, int z, int extra)
drivers/firewire/ohci.c
1131
struct descriptor *d_branch;
drivers/firewire/ohci.c
1198
struct descriptor *d, *last;
drivers/firewire/ohci.c
123
struct descriptor buffer[];
drivers/firewire/ohci.c
1276
BUILD_BUG_ON(sizeof(struct driver_data) > sizeof(struct descriptor));
drivers/firewire/ohci.c
1355
struct descriptor *d,
drivers/firewire/ohci.c
1356
struct descriptor *last)
drivers/firewire/ohci.c
150
struct descriptor *last;
drivers/firewire/ohci.c
156
struct descriptor *prev;
drivers/firewire/ohci.c
2782
struct descriptor *d,
drivers/firewire/ohci.c
2783
struct descriptor *last)
drivers/firewire/ohci.c
2787
struct descriptor *pd;
drivers/firewire/ohci.c
2817
struct descriptor *d,
drivers/firewire/ohci.c
2818
struct descriptor *last)
drivers/firewire/ohci.c
2873
struct descriptor *pd)
drivers/firewire/ohci.c
2910
struct descriptor *d,
drivers/firewire/ohci.c
2911
struct descriptor *last)
drivers/firewire/ohci.c
2915
struct descriptor *pd;
drivers/firewire/ohci.c
3214
struct descriptor *d, *last, *pd;
drivers/firewire/ohci.c
3319
struct descriptor *d, *pd;
drivers/firewire/ohci.c
3399
struct descriptor *d;
drivers/firewire/ohci.c
3638
BUILD_BUG_ON(AR_BUFFERS * sizeof(struct descriptor) > PAGE_SIZE/4);
drivers/firewire/ohci.c
525
struct descriptor *d;
drivers/firewire/ohci.c
854
struct descriptor *d;
drivers/firewire/ohci.c
914
ar_next_buffer_index(i) * sizeof(struct descriptor));
drivers/firewire/ohci.c
933
static struct descriptor *find_branch_descriptor(struct descriptor *d, int z)
drivers/firewire/ohci.c
948
struct descriptor *d, *last;
drivers/gpib/agilent_82357a/agilent_82357a.c
1340
product_id = le16_to_cpu(interface_to_usbdev(a_priv->bus_interface)->descriptor.idProduct);
drivers/gpib/ni_usb/ni_usb_gpib.c
2261
product_id = le16_to_cpu(usb_dev->descriptor.idProduct);
drivers/gpu/drm/amd/display/dc/core/dc.c
152
struct surface_update_descriptor *descriptor,
drivers/gpu/drm/amd/display/dc/core/dc.c
157
if (new_type > descriptor->update_type)
drivers/gpu/drm/amd/display/dc/core/dc.c
158
descriptor->update_type = new_type;
drivers/gpu/drm/amd/display/dc/core/dc.c
160
descriptor->lock_descriptor |= new_locks;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
248
struct dml2_stream_parameters *phantom_stream_descriptor = &stream_programming->phantom_stream.descriptor;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
266
phantom_stream->dst.height = stream_programming->phantom_stream.descriptor.timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h
246
struct dml2_plane_parameters descriptor;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h
281
struct dml2_stream_parameters descriptor;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c
297
memcpy(&programming->stream_programming[stream_index].phantom_stream.descriptor, phantom_stream, sizeof(struct dml2_stream_parameters));
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c
371
memcpy(&programming->plane_programming[main_plane_index].phantom_plane.descriptor, phantom_plane, sizeof(struct dml2_plane_parameters));
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
104
struct cper_section_descriptor *descriptor,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
112
descriptor->revision_minor = CPER_SEC__MINOR_REV_1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
113
descriptor->revision_major = CPER_SEC__MAJOR_REV_22;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
114
descriptor->sec_offset = section_offset;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
115
descriptor->sec_length = section_length;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
116
descriptor->valid_bits.fru_text = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
117
descriptor->flag_bits.primary = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
118
descriptor->severity = (sev == RAS_CPER_SEV_RMA ? RAS_CPER_SEV_FATAL_UE : sev);
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
119
descriptor->sec_type = sec_type;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
123
snprintf(descriptor->fru_text, 20, "OAM%d", dev_info.socket_id);
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
126
descriptor->flag_bits.exceed_err_threshold = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
129
descriptor->flag_bits.latent_err = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
155
runtime->descriptor.error_type = RUNTIME;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
156
runtime->descriptor.ms_chk_bits.err_type_valid = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
158
runtime->descriptor.valid_bits.ms_chk = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
159
runtime->descriptor.ms_chk_bits.err_type = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
160
runtime->descriptor.ms_chk_bits.pcc = 1;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
181
struct cper_section_descriptor *descriptor;
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
189
descriptor = (struct cper_section_descriptor *)((uint8_t *)hdr +
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
194
fill_section_descriptor(ras_core, descriptor, sev, RUNTIME,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
215
fill_section_descriptor(ras_core, &record.descriptor, RAS_CPER_SEV_FATAL_UE,
drivers/gpu/drm/amd/ras/rascore/ras_cper.h
232
struct runtime_descriptor descriptor;
drivers/gpu/drm/amd/ras/rascore/ras_cper.h
278
struct cper_section_descriptor descriptor;
drivers/gpu/drm/drm_edid.c
3073
static bool is_display_descriptor(const struct detailed_timing *descriptor, u8 type)
drivers/gpu/drm/drm_edid.c
3075
BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0);
drivers/gpu/drm/drm_edid.c
3076
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.pad1) != 2);
drivers/gpu/drm/drm_edid.c
3077
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.type) != 3);
drivers/gpu/drm/drm_edid.c
3079
return descriptor->pixel_clock == 0 &&
drivers/gpu/drm/drm_edid.c
3080
descriptor->data.other_data.pad1 == 0 &&
drivers/gpu/drm/drm_edid.c
3081
descriptor->data.other_data.type == type;
drivers/gpu/drm/drm_edid.c
3084
static bool is_detailed_timing_descriptor(const struct detailed_timing *descriptor)
drivers/gpu/drm/drm_edid.c
3086
BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0);
drivers/gpu/drm/drm_edid.c
3088
return descriptor->pixel_clock != 0;
drivers/gpu/drm/drm_edid.c
3151
is_rb(const struct detailed_timing *descriptor, void *data)
drivers/gpu/drm/drm_edid.c
3155
if (!is_display_descriptor(descriptor, EDID_DETAIL_MONITOR_RANGE))
drivers/gpu/drm/drm_edid.c
3158
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3159
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15);
drivers/gpu/drm/drm_edid.c
3161
if (descriptor->data.other_data.data.range.flags == DRM_EDID_CVT_SUPPORT_FLAG &&
drivers/gpu/drm/drm_edid.c
3162
descriptor->data.other_data.data.range.formula.cvt.flags & DRM_EDID_CVT_FLAGS_REDUCED_BLANKING)
drivers/gpu/drm/drm_edid.c
3181
find_gtf2(const struct detailed_timing *descriptor, void *data)
drivers/gpu/drm/drm_edid.c
3185
if (!is_display_descriptor(descriptor, EDID_DETAIL_MONITOR_RANGE))
drivers/gpu/drm/drm_edid.c
3188
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3190
if (descriptor->data.other_data.data.range.flags == DRM_EDID_SECONDARY_GTF_SUPPORT_FLAG)
drivers/gpu/drm/drm_edid.c
3191
*res = descriptor;
drivers/gpu/drm/drm_edid.c
3198
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3200
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3202
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
drivers/gpu/drm/drm_edid.c
3204
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.hfreq_start_khz * 2 : 0;
drivers/gpu/drm/drm_edid.c
3210
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3212
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3214
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
drivers/gpu/drm/drm_edid.c
3216
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.c : 0;
drivers/gpu/drm/drm_edid.c
3222
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3224
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3226
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
drivers/gpu/drm/drm_edid.c
3228
return descriptor ? le16_to_cpu(descriptor->data.other_data.data.range.formula.gtf2.m) : 0;
drivers/gpu/drm/drm_edid.c
3234
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3236
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3238
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
drivers/gpu/drm/drm_edid.c
3240
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.k : 0;
drivers/gpu/drm/drm_edid.c
3246
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3248
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3250
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
drivers/gpu/drm/drm_edid.c
3252
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.j : 0;
drivers/gpu/drm/drm_edid.c
3256
get_timing_level(const struct detailed_timing *descriptor, void *data)
drivers/gpu/drm/drm_edid.c
3260
if (!is_display_descriptor(descriptor, EDID_DETAIL_MONITOR_RANGE))
drivers/gpu/drm/drm_edid.c
3263
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3265
switch (descriptor->data.other_data.data.range.flags) {
drivers/gpu/drm/qxl/qxl_dev.h
808
(image)->descriptor.id = (((uint64_t)_unique) << 32) | _group; \
drivers/gpu/drm/qxl/qxl_dev.h
845
struct qxl_image_descriptor descriptor;
drivers/gpu/drm/qxl/qxl_image.c
197
image->descriptor.id = 0;
drivers/gpu/drm/qxl/qxl_image.c
198
image->descriptor.type = SPICE_IMAGE_TYPE_BITMAP;
drivers/gpu/drm/qxl/qxl_image.c
200
image->descriptor.flags = 0;
drivers/gpu/drm/qxl/qxl_image.c
201
image->descriptor.width = width;
drivers/gpu/drm/qxl/qxl_image.c
202
image->descriptor.height = height;
drivers/gpu/drm/xe/xe_sriov_packet.c
39
return &xe->sriov.pf.vfs[vfid].migration.descriptor;
drivers/gpu/drm/xe/xe_sriov_pf_migration.c
88
xe_sriov_packet_free(migration->descriptor);
drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h
34
struct xe_sriov_packet *descriptor;
drivers/greybus/manifest.c
102
struct manifest_desc *descriptor;
drivers/greybus/manifest.c
160
descriptor = kzalloc_obj(*descriptor);
drivers/greybus/manifest.c
161
if (!descriptor)
drivers/greybus/manifest.c
164
descriptor->size = desc_size;
drivers/greybus/manifest.c
165
descriptor->data = (char *)desc + sizeof(*desc_header);
drivers/greybus/manifest.c
166
descriptor->type = desc_header->type;
drivers/greybus/manifest.c
167
list_add_tail(&descriptor->links, &intf->manifest_descs);
drivers/greybus/manifest.c
188
struct manifest_desc *descriptor;
drivers/greybus/manifest.c
196
list_for_each_entry(descriptor, &intf->manifest_descs, links) {
drivers/greybus/manifest.c
197
if (descriptor->type != GREYBUS_TYPE_STRING)
drivers/greybus/manifest.c
200
desc_string = descriptor->data;
drivers/greybus/manifest.c
217
release_manifest_descriptor(descriptor);
drivers/greybus/manifest.c
45
static void release_manifest_descriptor(struct manifest_desc *descriptor)
drivers/greybus/manifest.c
456
struct manifest_desc *descriptor;
drivers/greybus/manifest.c
47
list_del(&descriptor->links);
drivers/greybus/manifest.c
48
kfree(descriptor);
drivers/greybus/manifest.c
507
list_for_each_entry(descriptor, &intf->manifest_descs, links) {
drivers/greybus/manifest.c
508
if (descriptor->type == GREYBUS_TYPE_INTERFACE)
drivers/greybus/manifest.c
510
interface_desc = descriptor;
drivers/greybus/manifest.c
53
struct manifest_desc *descriptor;
drivers/greybus/manifest.c
56
list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links)
drivers/greybus/manifest.c
57
release_manifest_descriptor(descriptor);
drivers/greybus/manifest.c
78
struct manifest_desc *descriptor;
drivers/greybus/manifest.c
81
list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links)
drivers/greybus/manifest.c
82
if (descriptor->type == GREYBUS_TYPE_BUNDLE)
drivers/greybus/manifest.c
83
return descriptor;
drivers/hid/hid-asus.c
761
le16_to_cpu(udev->descriptor.idProduct));
drivers/hid/hid-elo.c
193
u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice);
drivers/hid/hid-elo.c
204
child_vid = le16_to_cpu(child->descriptor.idVendor);
drivers/hid/hid-elo.c
205
child_pid = le16_to_cpu(child->descriptor.idProduct);
drivers/hid/hid-lg4ff.c
1266
const struct usb_device_descriptor *udesc = &(hid_to_usb_dev(hid)->descriptor);
drivers/hid/hid-logitech-hidpp.c
2832
udesc = &(hid_to_usb_dev(hid)->descriptor);
drivers/hid/usbhid/hid-core.c
1399
hid->vendor = le16_to_cpu(dev->descriptor.idVendor);
drivers/hid/usbhid/hid-core.c
1400
hid->product = le16_to_cpu(dev->descriptor.idProduct);
drivers/hid/usbhid/hid-core.c
1401
hid->version = le16_to_cpu(dev->descriptor.bcdDevice);
drivers/hid/usbhid/hid-core.c
1420
le16_to_cpu(dev->descriptor.idVendor),
drivers/hid/usbhid/hid-core.c
1421
le16_to_cpu(dev->descriptor.idProduct));
drivers/hid/usbhid/hid-core.c
1430
if (usb_string(dev, dev->descriptor.iSerialNumber, hid->uniq, 64) <= 0)
drivers/hid/usbhid/hiddev.c
649
dinfo.vendor = le16_to_cpu(dev->descriptor.idVendor);
drivers/hid/usbhid/hiddev.c
650
dinfo.product = le16_to_cpu(dev->descriptor.idProduct);
drivers/hid/usbhid/hiddev.c
651
dinfo.version = le16_to_cpu(dev->descriptor.bcdDevice);
drivers/hid/usbhid/usbkbd.c
308
le16_to_cpu(dev->descriptor.idVendor),
drivers/hid/usbhid/usbkbd.c
309
le16_to_cpu(dev->descriptor.idProduct));
drivers/hid/usbhid/usbmouse.c
156
le16_to_cpu(dev->descriptor.idVendor),
drivers/hid/usbhid/usbmouse.c
157
le16_to_cpu(dev->descriptor.idProduct));
drivers/i2c/busses/i2c-robotfuzz-osif.c
172
version = le16_to_cpu(priv->usb_dev->descriptor.bcdDevice);
drivers/i2c/busses/i2c-tiny-usb.c
246
version = le16_to_cpu(dev->usb_dev->descriptor.bcdDevice);
drivers/input/joystick/xpad.c
2080
if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) &&
drivers/input/joystick/xpad.c
2081
(le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct))
drivers/input/joystick/xpad.c
2180
if (le16_to_cpu(udev->descriptor.idVendor) == 0x045e) { /* Microsoft controllers */
drivers/input/joystick/xpad.c
2181
if (le16_to_cpu(udev->descriptor.idProduct) == 0x02e3) {
drivers/input/joystick/xpad.c
2186
} else if (le16_to_cpu(udev->descriptor.idProduct) == 0x0b00) {
drivers/input/joystick/xpad.c
2191
if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x0500) {
drivers/input/joystick/xpad.c
2196
} else if (le16_to_cpu(udev->descriptor.bcdDevice) <
drivers/input/misc/keyspan_remote.c
499
le16_to_cpu(udev->descriptor.idVendor),
drivers/input/misc/keyspan_remote.c
500
le16_to_cpu(udev->descriptor.idProduct));
drivers/input/misc/powermate.c
341
switch (le16_to_cpu(udev->descriptor.idProduct)) {
drivers/input/misc/powermate.c
351
le16_to_cpu(udev->descriptor.idProduct));
drivers/input/mouse/bcm5974.c
494
u16 id = le16_to_cpu(udev->descriptor.idProduct);
drivers/input/mouse/synaptics_usb.c
369
le16_to_cpu(udev->descriptor.idVendor),
drivers/input/mouse/synaptics_usb.c
370
le16_to_cpu(udev->descriptor.idProduct));
drivers/input/rmi4/rmi_f34v7.c
887
const struct container_descriptor *descriptor;
drivers/input/rmi4/rmi_f34v7.c
893
descriptor = image + addr;
drivers/input/rmi4/rmi_f34v7.c
894
container_id = le16_to_cpu(descriptor->container_id);
drivers/input/rmi4/rmi_f34v7.c
895
content = image + le32_to_cpu(descriptor->content_address);
drivers/input/rmi4/rmi_f34v7.c
896
length = le32_to_cpu(descriptor->content_length);
drivers/input/rmi4/rmi_f34v7.c
924
const struct container_descriptor *descriptor;
drivers/input/rmi4/rmi_f34v7.c
934
descriptor = image + offset;
drivers/input/rmi4/rmi_f34v7.c
937
offset = le32_to_cpu(descriptor->content_address);
drivers/input/rmi4/rmi_f34v7.c
938
num_of_containers = le32_to_cpu(descriptor->content_length) / 4;
drivers/input/rmi4/rmi_f34v7.c
943
descriptor = image + addr;
drivers/input/rmi4/rmi_f34v7.c
944
container_id = le16_to_cpu(descriptor->container_id);
drivers/input/rmi4/rmi_f34v7.c
945
content = image + le32_to_cpu(descriptor->content_address);
drivers/input/rmi4/rmi_f34v7.c
946
length = le32_to_cpu(descriptor->content_length);
drivers/input/tablet/acecad.c
189
le16_to_cpu(dev->descriptor.idVendor),
drivers/input/tablet/acecad.c
190
le16_to_cpu(dev->descriptor.idProduct));
drivers/input/tablet/acecad.c
200
le16_to_cpu(dev->descriptor.idVendor),
drivers/input/tablet/acecad.c
201
le16_to_cpu(dev->descriptor.idProduct));
drivers/input/tablet/hanwang.c
302
if (le16_to_cpu(dev->descriptor.idProduct) ==
drivers/input/tablet/pegasus_notetaker.c
357
le16_to_cpu(dev->descriptor.idVendor),
drivers/input/tablet/pegasus_notetaker.c
358
le16_to_cpu(dev->descriptor.idProduct));
drivers/input/touchscreen/usbtouchscreen.c
1518
le16_to_cpu(udev->descriptor.idVendor),
drivers/input/touchscreen/usbtouchscreen.c
1519
le16_to_cpu(udev->descriptor.idProduct));
drivers/isdn/hardware/mISDN/hfcsusb.c
1927
if ((le16_to_cpu(dev->descriptor.idVendor)
drivers/isdn/hardware/mISDN/hfcsusb.c
1929
(le16_to_cpu(dev->descriptor.idProduct)
drivers/isdn/hardware/mISDN/hfcsusb.c
2087
hw->ctrl_paksize = dev->descriptor.bMaxPacketSize0; /* control size */
drivers/md/dm-vdo/block-map.c
1914
key.descriptor = (struct page_descriptor) {
drivers/md/dm-vdo/block-map.c
55
struct page_descriptor descriptor;
drivers/media/common/siano/smsir.c
69
dev->input_id.vendor = le16_to_cpu(dev->udev->descriptor.idVendor);
drivers/media/common/siano/smsir.c
70
dev->input_id.product = le16_to_cpu(dev->udev->descriptor.idProduct);
drivers/media/mc/mc-device.c
907
mdev->hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/media/pci/saa7164/saa7164-types.h
113
void *descriptor;
drivers/media/rc/ati_remote.c
872
le16_to_cpu(ati_remote->udev->descriptor.idVendor),
drivers/media/rc/ati_remote.c
873
le16_to_cpu(ati_remote->udev->descriptor.idProduct));
drivers/media/rc/imon.c
2260
ictx->vendor = le16_to_cpu(ictx->usbdev_intf0->descriptor.idVendor);
drivers/media/rc/imon.c
2261
ictx->product = le16_to_cpu(ictx->usbdev_intf0->descriptor.idProduct);
drivers/media/rc/imon.c
2432
vendor = le16_to_cpu(usbdev->descriptor.idVendor);
drivers/media/rc/imon.c
2433
product = le16_to_cpu(usbdev->descriptor.idProduct);
drivers/media/rc/mceusb.c
1625
switch (le16_to_cpu(udev->descriptor.idVendor)) {
drivers/media/rc/mceusb.c
1750
if (dev->descriptor.iManufacturer
drivers/media/rc/mceusb.c
1751
&& usb_string(dev, dev->descriptor.iManufacturer,
drivers/media/rc/mceusb.c
1754
if (dev->descriptor.iProduct
drivers/media/rc/mceusb.c
1755
&& usb_string(dev, dev->descriptor.iProduct,
drivers/media/rc/redrat3.c
929
u16 prod = le16_to_cpu(rr3->udev->descriptor.idProduct);
drivers/media/rc/xbox_remote.c
242
le16_to_cpu(xbox_remote->udev->descriptor.idVendor),
drivers/media/rc/xbox_remote.c
243
le16_to_cpu(xbox_remote->udev->descriptor.idProduct));
drivers/media/test-drivers/vidtv/vidtv_channel.c
106
s302m->streams->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_channel.c
111
if (!s302m->streams->descriptor)
drivers/media/test-drivers/vidtv/vidtv_channel.c
123
s302m->events->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_channel.c
128
if (!s302m->events->descriptor)
drivers/media/test-drivers/vidtv/vidtv_channel.c
188
desc = vidtv_psi_desc_clone(curr->descriptor);
drivers/media/test-drivers/vidtv/vidtv_channel.c
189
vidtv_psi_desc_assign(&tail->descriptor, desc);
drivers/media/test-drivers/vidtv/vidtv_channel.c
236
desc = vidtv_psi_desc_clone(curr->descriptor);
drivers/media/test-drivers/vidtv/vidtv_channel.c
239
vidtv_psi_desc_assign(&tail->descriptor, desc);
drivers/media/test-drivers/vidtv/vidtv_channel.c
348
desc = vidtv_psi_desc_clone(s->descriptor);
drivers/media/test-drivers/vidtv/vidtv_channel.c
349
vidtv_psi_desc_assign(&tail->descriptor,
drivers/media/test-drivers/vidtv/vidtv_channel.c
382
struct vidtv_psi_desc *desc = s->descriptor;
drivers/media/test-drivers/vidtv/vidtv_channel.c
387
if (s->descriptor->type != SERVICE_DESCRIPTOR)
drivers/media/test-drivers/vidtv/vidtv_channel.c
82
s302m->service->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_channel.c
87
if (!s302m->service->descriptor)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1078
desc_loop_len = vidtv_psi_desc_comp_loop_len(stream->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1103
vidtv_psi_desc_destroy(tmp_stream->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1178
desc_loop_len = vidtv_psi_desc_comp_loop_len(pmt->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1191
struct vidtv_psi_desc *table_descriptor = args->pmt->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1258
stream_descriptor = stream->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1287
vidtv_psi_desc_destroy(pmt->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1400
service_desc = service->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1477
vidtv_psi_desc_destroy(tmp->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1581
desc_loop_len = vidtv_psi_desc_comp_loop_len(nit->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1596
desc_loop_len = vidtv_psi_desc_comp_loop_len(t->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1647
nit->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1649
if (!nit->descriptor)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1655
transport->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1657
if (!transport->descriptor)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1667
vidtv_psi_desc_destroy((struct vidtv_psi_desc *)nit->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1704
struct vidtv_psi_desc *table_descriptor = args->nit->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1754
transport_descriptor = transport->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1789
vidtv_psi_desc_destroy(tmp_t->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1796
vidtv_psi_desc_destroy(nit->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1819
desc_loop_len = vidtv_psi_desc_comp_loop_len(e->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1946
event_descriptor = event->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
2042
vidtv_psi_desc_destroy(tmp_e->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
834
desc_loop_len = vidtv_psi_desc_comp_loop_len(pmt->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
845
desc_loop_len = vidtv_psi_desc_comp_loop_len(s->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
878
desc_loop_len = vidtv_psi_desc_comp_loop_len(s->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.h
192
struct vidtv_psi_desc *descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.h
234
struct vidtv_psi_desc *descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.h
246
struct vidtv_psi_desc *descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.h
656
struct vidtv_psi_desc *descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.h
673
struct vidtv_psi_desc *descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.h
726
struct vidtv_psi_desc *descriptor;
drivers/media/usb/au0828/au0828-core.c
658
le16_to_cpu(usbdev->descriptor.idVendor),
drivers/media/usb/au0828/au0828-core.c
659
le16_to_cpu(usbdev->descriptor.idProduct),
drivers/media/usb/au0828/au0828-input.c
328
rc->input_id.vendor = le16_to_cpu(dev->usbdev->descriptor.idVendor);
drivers/media/usb/au0828/au0828-input.c
329
rc->input_id.product = le16_to_cpu(dev->usbdev->descriptor.idProduct);
drivers/media/usb/cx231xx/cx231xx-cards.c
1781
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/cx231xx/cx231xx-cards.c
1782
le16_to_cpu(udev->descriptor.idProduct),
drivers/media/usb/dvb-usb-v2/af9015.c
1242
u16 vid = le16_to_cpu(d->udev->descriptor.idVendor);
drivers/media/usb/dvb-usb-v2/af9015.c
1268
usb_string(d->udev, d->udev->descriptor.iManufacturer,
drivers/media/usb/dvb-usb-v2/af9015.c
1355
usb_string(udev, udev->descriptor.iManufacturer,
drivers/media/usb/dvb-usb-v2/af9015.c
1374
if ((le16_to_cpu(udev->descriptor.idVendor) == USB_VID_TERRATEC) &&
drivers/media/usb/dvb-usb-v2/af9015.c
1375
(le16_to_cpu(udev->descriptor.idProduct) == 0x0099)) {
drivers/media/usb/dvb-usb-v2/af9015.c
524
if (le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_AVERMEDIA &&
drivers/media/usb/dvb-usb-v2/af9015.c
525
((le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_AVERMEDIA_A850) ||
drivers/media/usb/dvb-usb-v2/af9015.c
526
(le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_AVERMEDIA_A850T))) {
drivers/media/usb/dvb-usb-v2/af9035.c
1002
le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_AVERMEDIA)
drivers/media/usb/dvb-usb-v2/af9035.c
1004
switch (le16_to_cpu(d->udev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb-v2/af9035.c
1653
if ((le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_DEXATEK &&
drivers/media/usb/dvb-usb-v2/af9035.c
1654
le16_to_cpu(d->udev->descriptor.idProduct) == 0x0100) ||
drivers/media/usb/dvb-usb-v2/af9035.c
1655
(le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_TERRATEC &&
drivers/media/usb/dvb-usb-v2/af9035.c
1656
le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_TERRATEC_CINERGY_TC2_STICK))
drivers/media/usb/dvb-usb-v2/af9035.c
1981
usb_string(udev, udev->descriptor.iManufacturer,
drivers/media/usb/dvb-usb-v2/af9035.c
2000
if ((le16_to_cpu(udev->descriptor.idVendor) == USB_VID_TERRATEC) &&
drivers/media/usb/dvb-usb-v2/af9035.c
2001
(le16_to_cpu(udev->descriptor.idProduct) == 0x0099)) {
drivers/media/usb/dvb-usb-v2/af9035.c
874
if ((le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_AVERMEDIA) &&
drivers/media/usb/dvb-usb-v2/af9035.c
875
(le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_AVERMEDIA_TD310)) {
drivers/media/usb/dvb-usb-v2/dvbsky.c
544
if (le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_MYGICA_T230C2 ||
drivers/media/usb/dvb-usb-v2/dvbsky.c
545
le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_MYGICA_T230C2_LITE ||
drivers/media/usb/dvb-usb-v2/dvbsky.c
546
le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_MYGICA_T230A)
drivers/media/usb/dvb-usb-v2/dvbsky.c
558
if (le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_MYGICA_T230) {
drivers/media/usb/dvb-usb-v2/dvbsky.c
582
if (le16_to_cpu(d->udev->descriptor.idProduct) == USB_PID_MYGICA_T230A) {
drivers/media/usb/dvb-usb-v2/lmedm04.c
1179
if (!(le16_to_cpu(d->udev->descriptor.idProduct)
drivers/media/usb/dvb-usb-v2/lmedm04.c
692
switch (le16_to_cpu(udev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb-v2/lmedm04.c
970
switch (le16_to_cpu(d->udev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb/a800.c
35
*cold = udev->descriptor.iManufacturer != 1;
drivers/media/usb/dvb-usb/cxusb.c
1366
*cold = udev->descriptor.bDeviceClass == 0xff &&
drivers/media/usb/dvb-usb/cxusb.c
1367
udev->descriptor.bDeviceSubClass == 0xff &&
drivers/media/usb/dvb-usb/cxusb.c
1368
udev->descriptor.bDeviceProtocol == 0xff;
drivers/media/usb/dvb-usb/cxusb.c
1407
le16_to_cpu(udev->descriptor.idProduct) + 1;
drivers/media/usb/dvb-usb/cxusb.c
1409
le16_to_cpu(udev->descriptor.idProduct) >> 8;
drivers/media/usb/dvb-usb/cxusb.c
189
if (le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_MEDION)
drivers/media/usb/dvb-usb/dib0700_devices.c
1044
struct usb_device_descriptor *p = &adap->dev->udev->descriptor;
drivers/media/usb/dvb-usb/dib0700_devices.c
125
if (adap->dev->udev->descriptor.idVendor == cpu_to_le16(USB_VID_HAUPPAUGE) &&
drivers/media/usb/dvb-usb/dib0700_devices.c
126
adap->dev->udev->descriptor.idProduct == cpu_to_le16(USB_PID_HAUPPAUGE_NOVA_T_500_2)) {
drivers/media/usb/dvb-usb/dib0700_devices.c
456
struct usb_device_descriptor *desc = &adap->dev->udev->descriptor;
drivers/media/usb/dvb-usb/dib0700_devices.c
749
if (adap->dev->udev->descriptor.idVendor == cpu_to_le16(USB_VID_HAUPPAUGE) &&
drivers/media/usb/dvb-usb/dib0700_devices.c
750
adap->dev->udev->descriptor.idProduct == cpu_to_le16(USB_PID_HAUPPAUGE_NOVA_T_STICK)) {
drivers/media/usb/dvb-usb/dib0700_devices.c
986
struct usb_device_descriptor *p = &adap->dev->udev->descriptor;
drivers/media/usb/dvb-usb/dibusb-mc-common.c
125
if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON &&
drivers/media/usb/dvb-usb/dibusb-mc-common.c
126
le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_LITEON_DVB_T_WARM) {
drivers/media/usb/dvb-usb/dibusb-mc-common.c
138
} else if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_DIBCOM &&
drivers/media/usb/dvb-usb/dibusb-mc-common.c
139
le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_DIBCOM_MOD3001_WARM) {
drivers/media/usb/dvb-usb/dibusb-mc-common.c
86
if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON &&
drivers/media/usb/dvb-usb/dibusb-mc-common.c
87
le16_to_cpu(adap->dev->udev->descriptor.idProduct) ==
drivers/media/usb/dvb-usb/digitv.c
102
*cold = udev->descriptor.iManufacturer == 0 && udev->descriptor.iProduct == 0;
drivers/media/usb/dvb-usb/dvb-usb-init.c
221
if (props->devices[i].cold_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) &&
drivers/media/usb/dvb-usb/dvb-usb-init.c
222
props->devices[i].cold_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb/dvb-usb-init.c
234
if (props->devices[i].warm_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) &&
drivers/media/usb/dvb-usb/dvb-usb-init.c
235
props->devices[i].warm_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb/dw2102.c
1883
switch (le16_to_cpu(dev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb/dw2102.c
1926
switch (le16_to_cpu(dev->descriptor.idProduct)) {
drivers/media/usb/dvb-usb/dw2102.c
1983
if (le16_to_cpu(dev->descriptor.idProduct) == 0x2101)
drivers/media/usb/dvb-usb/dw2102.c
684
le16_to_cpu(udev->descriptor.idProduct) == 0x7500 ? 0x92 : 0x90,
drivers/media/usb/dvb-usb/gp8psk.c
186
int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct);
drivers/media/usb/dvb-usb/gp8psk.c
231
int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct);
drivers/media/usb/dvb-usb/gp8psk.c
287
int id = le16_to_cpu(d->udev->descriptor.idProduct);
drivers/media/usb/dvb-usb/gp8psk.c
308
le16_to_cpu(udev->descriptor.idProduct));
drivers/media/usb/dvb-usb/opera1.c
559
if (le16_to_cpu(udev->descriptor.idProduct) == USB_PID_OPERA1_WARM &&
drivers/media/usb/dvb-usb/opera1.c
560
le16_to_cpu(udev->descriptor.idVendor) == USB_VID_OPERA1 &&
drivers/media/usb/dvb-usb/ttusb2.c
475
*cold = udev->descriptor.iManufacturer == 0 && udev->descriptor.iProduct == 0;
drivers/media/usb/em28xx/em28xx-cards.c
3619
if (le16_to_cpu(udev->descriptor.idVendor) == 0xeb1a) {
drivers/media/usb/em28xx/em28xx-cards.c
3620
__le16 idProd = udev->descriptor.idProduct;
drivers/media/usb/em28xx/em28xx-cards.c
3898
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/em28xx/em28xx-cards.c
3899
le16_to_cpu(udev->descriptor.idProduct),
drivers/media/usb/em28xx/em28xx-cards.c
3963
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/em28xx/em28xx-cards.c
3964
le16_to_cpu(udev->descriptor.idProduct),
drivers/media/usb/go7007/go7007-loader.c
48
if (usbdev->descriptor.bNumConfigurations != 1) {
drivers/media/usb/go7007/go7007-loader.c
53
vendor = le16_to_cpu(usbdev->descriptor.idVendor);
drivers/media/usb/go7007/go7007-loader.c
54
product = le16_to_cpu(usbdev->descriptor.idProduct);
drivers/media/usb/gspca/gspca.c
1202
le16_to_cpu(gspca_dev->dev->descriptor.idVendor),
drivers/media/usb/gspca/gspca.c
1203
le16_to_cpu(gspca_dev->dev->descriptor.idProduct));
drivers/media/usb/gspca/gspca.c
1597
if (dev->descriptor.bNumConfigurations != 1) {
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
2138
if (le16_to_cpu(hdw->usb_dev->descriptor.idVendor) == 0x2040 &&
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
2139
(le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7502 ||
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
2140
le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7510)) {
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4037
if (le16_to_cpu(hdw->usb_dev->descriptor.idVendor) == 0x2040 &&
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4038
(le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7502 ||
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4039
le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7510)) {
drivers/media/usb/pwc/pwc-if.c
1022
usb_string(udev, udev->descriptor.iSerialNumber, serial_number, 29);
drivers/media/usb/pwc/pwc-if.c
1025
if (udev->descriptor.bNumConfigurations > 1)
drivers/media/usb/pwc/pwc-if.c
1067
pdev->release = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/media/usb/pwc/pwc-if.c
782
vendor_id = le16_to_cpu(udev->descriptor.idVendor);
drivers/media/usb/pwc/pwc-if.c
783
product_id = le16_to_cpu(udev->descriptor.idProduct);
drivers/media/usb/stk1160/stk1160-core.c
236
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/stk1160/stk1160-core.c
237
le16_to_cpu(udev->descriptor.idProduct),
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
1520
switch(le16_to_cpu(ttusb->dev->descriptor.idProduct)) {
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
1579
le16_to_cpu(ttusb->dev->descriptor.idVendor),
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
1580
le16_to_cpu(ttusb->dev->descriptor.idProduct));
drivers/media/usb/ttusb-dec/ttusb_dec.c
1692
le16_to_cpu(dec->udev->descriptor.idVendor),
drivers/media/usb/ttusb-dec/ttusb_dec.c
1693
le16_to_cpu(dec->udev->descriptor.idProduct));
drivers/media/usb/uvc/uvc_driver.c
2225
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/uvc/uvc_driver.c
2226
le16_to_cpu(udev->descriptor.idProduct));
drivers/media/usb/uvc/uvc_driver.c
2254
dev->mdev.hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/media/usb/uvc/uvc_driver.c
2275
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/uvc/uvc_driver.c
2276
le16_to_cpu(udev->descriptor.idProduct));
drivers/media/usb/uvc/uvc_driver.c
901
switch (le16_to_cpu(udev->descriptor.idVendor)) {
drivers/mmc/host/sdhci.h
920
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
drivers/mmc/host/sdhci.h
921
if (DYNAMIC_DEBUG_BRANCH(descriptor) || SDHCI_DBG_ANYWAY) \
drivers/mmc/host/vub300.c
2098
usb_string(udev, udev->descriptor.iManufacturer, manufacturer,
drivers/mmc/host/vub300.c
2100
usb_string(udev, udev->descriptor.iProduct, product, sizeof(product));
drivers/mmc/host/vub300.c
2101
usb_string(udev, udev->descriptor.iSerialNumber, serial_number,
drivers/mmc/host/vub300.c
2104
le16_to_cpu(udev->descriptor.idVendor),
drivers/mmc/host/vub300.c
2105
le16_to_cpu(udev->descriptor.idProduct),
drivers/most/most_usb.c
1048
le16_to_cpu(usb_dev->descriptor.idVendor),
drivers/most/most_usb.c
1049
le16_to_cpu(usb_dev->descriptor.idProduct),
drivers/most/most_usb.c
1064
if (le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81118 ||
drivers/most/most_usb.c
1065
le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81119 ||
drivers/most/most_usb.c
1066
le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81210) {
drivers/net/can/usb/esd_usb.c
1051
if (le16_to_cpu(priv->usb->udev->descriptor.idProduct) ==
drivers/net/can/usb/esd_usb.c
1238
switch (le16_to_cpu(dev->udev->descriptor.idProduct)) {
drivers/net/can/usb/gs_usb.c
1445
if (dev->udev->descriptor.idVendor == cpu_to_le16(USB_GS_USB_1_VENDOR_ID) &&
drivers/net/can/usb/gs_usb.c
1446
dev->udev->descriptor.idProduct == cpu_to_le16(USB_GS_USB_1_PRODUCT_ID) &&
drivers/net/can/usb/peak_usb/pcan_usb_core.c
993
tmp16 = le16_to_cpu(usb_dev->descriptor.bcdDevice);
drivers/net/can/usb/usb_8dev.c
912
if (usb_string(usbdev, usbdev->descriptor.iProduct, buf,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1127
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1129
aq_hw_write_reg_bit(aq_hw, HW_ATL_RPO_DESCDVL_STRIP_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1320
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1322
aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DESCDEN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1328
u32 hw_atl_tdm_tx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1330
return aq_hw_read_reg_bit(aq_hw, HW_ATL_TDM_DESCDHD_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1336
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1338
aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DESCDLEN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1355
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1357
aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DESCDWRB_THRESH_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
416
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
418
aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
434
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
436
aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDEN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
444
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
446
aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
454
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
456
aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
462
u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
464
return aq_hw_read_reg_bit(aq_hw, HW_ATL_RDM_DESCDHD_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
470
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
472
aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDLEN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
478
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
480
aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDRESET_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
546
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
548
aq_hw_write_reg(aq_hw, HW_ATL_RX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
554
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
556
aq_hw_write_reg(aq_hw, HW_ATL_RX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
560
u32 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
562
return aq_hw_read_reg(aq_hw, HW_ATL_RX_DMA_DESC_STAT_ADR(descriptor));
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
567
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
569
aq_hw_write_reg(aq_hw, HW_ATL_RX_DMA_DESC_TAIL_PTR_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
616
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
618
aq_hw_write_reg(aq_hw, HW_ATL_TX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
624
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
626
aq_hw_write_reg(aq_hw, HW_ATL_TX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
632
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
634
aq_hw_write_reg(aq_hw, HW_ATL_TX_DMA_DESC_TAIL_PTR_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
197
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
205
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
210
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
213
u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
217
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
234
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
238
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
262
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
267
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
270
u32 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
275
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
304
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
309
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
314
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
546
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
611
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
624
u32 hw_atl_tdm_tx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
628
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
637
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1501
#define HW_ATL_RPO_DESCDVL_STRIP_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1502
(0x00005b08 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1667
#define HW_ATL_TDM_DESCDEN_ADR(descriptor) (0x00007c08 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1686
#define HW_ATL_TDM_DESCDHD_ADR(descriptor) (0x00007c0c + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1703
#define HW_ATL_TDM_DESCDLEN_ADR(descriptor) (0x00007c08 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1740
#define HW_ATL_TDM_DESCDWRB_THRESH_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
1741
(0x00007c18 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2001
#define HW_ATL_TDM_DESC_DEN_ADR(descriptor) (0x00007C08 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2020
#define HW_ATL_TDM_DESC_DHD_ADR(descriptor) (0x00007C0C + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2037
#define HW_ATL_TDM_DESC_DLEN_ADR(descriptor) (0x00007C08 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2056
#define HW_ATL_TDM_DESC_DWRB_THRESH_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2057
(0x00007C18 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
220
#define HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
221
(0x00005b18 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
259
#define HW_ATL_RDM_DESCDEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2737
#define HW_ATL_TX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
2738
(0x00007c04u + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
278
#define HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
279
(0x00005b18 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
298
#define HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
299
(0x00005b08 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
318
#define HW_ATL_RDM_DESCDHD_ADR(descriptor) (0x00005b0c + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
335
#define HW_ATL_RDM_DESCDLEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
354
#define HW_ATL_RDM_DESCDRESET_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
509
#define HW_ATL_RX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
510
(0x00005b00u + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
517
#define HW_ATL_RX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
518
(0x00005b04u + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
525
#define HW_ATL_RX_DMA_DESC_STAT_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
526
(0x00005b14u + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
533
#define HW_ATL_RX_DMA_DESC_TAIL_PTR_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
534
(0x00005b10u + (descriptor) * 0x20)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
591
#define HW_ATL_TX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
592
(0x00007c00u + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
599
#define HW_ATL_TX_DMA_DESC_TAIL_PTR_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
600
(0x00007c10u + (descriptor) * 0x40)
drivers/net/ethernet/google/gve/gve_adminq.c
1057
struct gve_device_descriptor *descriptor;
drivers/net/ethernet/google/gve/gve_adminq.c
1066
descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL,
drivers/net/ethernet/google/gve/gve_adminq.c
1068
if (!descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1082
err = gve_process_device_options(priv, descriptor, &dev_op_gqi_rda,
drivers/net/ethernet/google/gve/gve_adminq.c
1126
gve_set_default_desc_cnt(priv, descriptor);
drivers/net/ethernet/google/gve/gve_adminq.c
1135
be64_to_cpu(descriptor->max_registered_pages);
drivers/net/ethernet/google/gve/gve_adminq.c
1136
mtu = be16_to_cpu(descriptor->mtu);
drivers/net/ethernet/google/gve/gve_adminq.c
1143
priv->num_event_counters = be16_to_cpu(descriptor->counters);
drivers/net/ethernet/google/gve/gve_adminq.c
1144
eth_hw_addr_set(priv->dev, descriptor->mac);
drivers/net/ethernet/google/gve/gve_adminq.c
1145
mac = descriptor->mac;
drivers/net/ethernet/google/gve/gve_adminq.c
1147
priv->tx_pages_per_qpl = be16_to_cpu(descriptor->tx_pages_per_qpl);
drivers/net/ethernet/google/gve/gve_adminq.c
1148
priv->default_num_queues = be16_to_cpu(descriptor->default_num_queues);
drivers/net/ethernet/google/gve/gve_adminq.c
1157
dma_pool_free(priv->adminq_pool, descriptor, descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1472
struct gve_query_flow_rules_descriptor *descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1478
total_memory_len = be32_to_cpu(descriptor->total_length);
drivers/net/ethernet/google/gve/gve_adminq.c
1479
num_queried_rules = be32_to_cpu(descriptor->num_queried_rules);
drivers/net/ethernet/google/gve/gve_adminq.c
1480
rule_info = (void *)(descriptor + 1);
drivers/net/ethernet/google/gve/gve_adminq.c
1485
if (sizeof(*descriptor) + rule_info_len != total_memory_len) {
drivers/net/ethernet/google/gve/gve_adminq.c
1495
if (sizeof(*descriptor) + rule_info_len != total_memory_len) {
drivers/net/ethernet/google/gve/gve_adminq.c
1504
priv->num_flow_rules = be32_to_cpu(descriptor->num_flow_rules);
drivers/net/ethernet/google/gve/gve_adminq.c
1505
priv->max_flow_rules = be32_to_cpu(descriptor->max_flow_rules);
drivers/net/ethernet/google/gve/gve_adminq.c
1516
struct gve_query_flow_rules_descriptor *descriptor;
drivers/net/ethernet/google/gve/gve_adminq.c
1522
descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1523
if (!descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1537
err = gve_adminq_process_flow_rules_query(priv, query_opcode, descriptor);
drivers/net/ethernet/google/gve/gve_adminq.c
1540
dma_pool_free(priv->adminq_pool, descriptor, descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1545
struct gve_query_rss_descriptor *descriptor,
drivers/net/ethernet/google/gve/gve_adminq.c
1554
total_memory_length = be32_to_cpu(descriptor->total_length);
drivers/net/ethernet/google/gve/gve_adminq.c
1557
if (sizeof(*descriptor) + priv->rss_key_size + hash_lut_length != total_memory_length) {
drivers/net/ethernet/google/gve/gve_adminq.c
1563
rxfh->hfunc = descriptor->hash_alg;
drivers/net/ethernet/google/gve/gve_adminq.c
1565
rss_info_addr = (void *)(descriptor + 1);
drivers/net/ethernet/google/gve/gve_adminq.c
1584
struct gve_query_rss_descriptor *descriptor;
drivers/net/ethernet/google/gve/gve_adminq.c
1589
descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1590
if (!descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1603
err = gve_adminq_process_rss_query(priv, descriptor, rxfh);
drivers/net/ethernet/google/gve/gve_adminq.c
1606
dma_pool_free(priv->adminq_pool, descriptor, descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
24
struct gve_device_option *gve_get_next_option(struct gve_device_descriptor *descriptor,
drivers/net/ethernet/google/gve/gve_adminq.c
258
struct gve_device_descriptor *descriptor,
drivers/net/ethernet/google/gve/gve_adminq.c
270
const int num_options = be16_to_cpu(descriptor->num_device_options);
drivers/net/ethernet/google/gve/gve_adminq.c
275
dev_opt = (void *)(descriptor + 1);
drivers/net/ethernet/google/gve/gve_adminq.c
279
next_opt = gve_get_next_option(descriptor, dev_opt);
drivers/net/ethernet/google/gve/gve_adminq.c
286
gve_parse_device_option(priv, descriptor, dev_opt,
drivers/net/ethernet/google/gve/gve_adminq.c
30
descriptor_end = (void *)descriptor + be16_to_cpu(descriptor->total_length);
drivers/net/ethernet/google/gve/gve_adminq.c
924
const struct gve_device_descriptor *descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
926
priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries);
drivers/net/ethernet/google/gve/gve_adminq.c
927
priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries);
drivers/net/ethernet/microchip/lan743x_main.c
1572
struct lan743x_tx_descriptor *descriptor = NULL;
drivers/net/ethernet/microchip/lan743x_main.c
1576
descriptor = &tx->ring_cpu_ptr[descriptor_index];
drivers/net/ethernet/microchip/lan743x_main.c
1581
descriptor_type = le32_to_cpu(descriptor->data0) &
drivers/net/ethernet/microchip/lan743x_main.c
1631
memset(descriptor, 0, sizeof(*descriptor));
drivers/net/ethernet/microchip/lan743x_main.c
2324
struct lan743x_rx_descriptor *descriptor;
drivers/net/ethernet/microchip/lan743x_main.c
2330
descriptor = &rx->ring_cpu_ptr[index];
drivers/net/ethernet/microchip/lan743x_main.c
2342
if (le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_LS_)
drivers/net/ethernet/microchip/lan743x_main.c
2348
(le32_to_cpu(descriptor->data0)),
drivers/net/ethernet/microchip/lan743x_main.c
2364
descriptor->data1 = cpu_to_le32(DMA_ADDR_LOW32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2365
descriptor->data2 = cpu_to_le32(DMA_ADDR_HIGH32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2366
descriptor->data3 = 0;
drivers/net/ethernet/microchip/lan743x_main.c
2367
descriptor->data0 = cpu_to_le32((RX_DESC_DATA0_OWN_ |
drivers/net/ethernet/microchip/lan743x_main.c
2377
struct lan743x_rx_descriptor *descriptor;
drivers/net/ethernet/microchip/lan743x_main.c
2379
descriptor = &rx->ring_cpu_ptr[index];
drivers/net/ethernet/microchip/lan743x_main.c
2382
descriptor->data1 = cpu_to_le32(DMA_ADDR_LOW32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2383
descriptor->data2 = cpu_to_le32(DMA_ADDR_HIGH32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2384
descriptor->data3 = 0;
drivers/net/ethernet/microchip/lan743x_main.c
2385
descriptor->data0 = cpu_to_le32((RX_DESC_DATA0_OWN_ |
drivers/net/ethernet/microchip/lan743x_main.c
2394
struct lan743x_rx_descriptor *descriptor;
drivers/net/ethernet/microchip/lan743x_main.c
2396
descriptor = &rx->ring_cpu_ptr[index];
drivers/net/ethernet/microchip/lan743x_main.c
2399
memset(descriptor, 0, sizeof(*descriptor));
drivers/net/ethernet/microchip/lan743x_main.c
2435
struct lan743x_rx_descriptor *descriptor, *desc_ext;
drivers/net/ethernet/microchip/lan743x_main.c
2454
descriptor = &rx->ring_cpu_ptr[rx->last_head];
drivers/net/ethernet/microchip/lan743x_main.c
2455
if (le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_OWN_)
drivers/net/ethernet/microchip/lan743x_main.c
2459
is_last = le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_LS_;
drivers/net/ethernet/microchip/lan743x_main.c
2460
is_first = le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_FS_;
drivers/net/ethernet/microchip/lan743x_main.c
2462
if (is_last && le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_EXT_) {
drivers/net/ethernet/microchip/lan743x_main.c
2485
RX_DESC_DATA0_FRAME_LENGTH_GET_(le32_to_cpu(descriptor->data0));
drivers/net/ethernet/microchip/lan743x_main.c
2487
is_ice = le32_to_cpu(descriptor->data1) & RX_DESC_DATA1_STATUS_ICE_;
drivers/net/ethernet/microchip/lan743x_main.c
2488
is_tce = le32_to_cpu(descriptor->data1) & RX_DESC_DATA1_STATUS_TCE_;
drivers/net/ethernet/microchip/lan743x_main.c
2489
is_icsm = le32_to_cpu(descriptor->data1) & RX_DESC_DATA1_STATUS_ICSM_;
drivers/net/usb/catc.c
835
if (le16_to_cpu(usbdev->descriptor.idVendor) == 0x0423 &&
drivers/net/usb/catc.c
836
le16_to_cpu(usbdev->descriptor.idProduct) == 0xa &&
drivers/net/usb/catc.c
837
le16_to_cpu(catc->usbdev->descriptor.bcdDevice) == 0x0130) {
drivers/net/usb/ch9200.c
314
le16_to_cpu(dev->udev->descriptor.idVendor),
drivers/net/usb/ch9200.c
315
le16_to_cpu(dev->udev->descriptor.idProduct));
drivers/net/usb/cx82310_eth.c
152
if (usb_string(udev, udev->descriptor.iProduct, buf, sizeof(buf)) > 0
drivers/net/usb/kaweth.c
896
udev->devnum, le16_to_cpu(udev->descriptor.idVendor),
drivers/net/usb/kaweth.c
897
le16_to_cpu(udev->descriptor.idProduct),
drivers/net/usb/kaweth.c
898
le16_to_cpu(udev->descriptor.bcdDevice));
drivers/net/usb/kaweth.c
903
(int)udev->descriptor.bLength,
drivers/net/usb/kaweth.c
904
(int)udev->descriptor.bDescriptorType);
drivers/net/usb/kaweth.c
933
if (le16_to_cpu(udev->descriptor.bcdDevice) >> 8) {
drivers/net/usb/pegasus.c
1136
struct usb_device_descriptor *udd = &udev->descriptor;
drivers/net/usb/qmi_wwan.c
1522
le16_to_cpu(dev->descriptor.idVendor) == 0x05c6 &&
drivers/net/usb/qmi_wwan.c
1523
le16_to_cpu(dev->descriptor.idProduct) == 0x9215 &&
drivers/net/usb/qmi_wwan.c
822
le16_to_cpu(dev->udev->descriptor.bcdUSB) >= 0x0201) {
drivers/net/usb/qmi_wwan.c
859
if (le16_to_cpu(dev->udev->descriptor.bcdUSB) >= 0x0201) {
drivers/net/usb/r8152.c
10090
num_configs = udev->descriptor.bNumConfigurations;
drivers/net/usb/r8152.c
9746
int parent_vendor_id = le16_to_cpu(udev->parent->descriptor.idVendor);
drivers/net/usb/r8152.c
9747
int product_id = le16_to_cpu(udev->descriptor.idProduct);
drivers/net/usb/r8152.c
9748
int vendor_id = le16_to_cpu(udev->descriptor.idVendor);
drivers/net/usb/r8152.c
9845
if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 && udev->serial &&
drivers/net/wireless/ath/ath10k/usb.c
1020
vendor_id = le16_to_cpu(dev->descriptor.idVendor);
drivers/net/wireless/ath/ath10k/usb.c
1021
product_id = le16_to_cpu(dev->descriptor.idProduct);
drivers/net/wireless/ath/ath6kl/usb.c
1129
vendor_id = le16_to_cpu(dev->descriptor.idVendor);
drivers/net/wireless/ath/ath6kl/usb.c
1130
product_id = le16_to_cpu(dev->descriptor.idProduct);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1378
if (usb->descriptor.bNumConfigurations != 1) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1380
usb->descriptor.bNumConfigurations);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1385
if ((usb->descriptor.bDeviceClass != USB_CLASS_VENDOR_SPEC) &&
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1386
(usb->descriptor.bDeviceClass != USB_CLASS_MISC) &&
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1387
(usb->descriptor.bDeviceClass != USB_CLASS_WIRELESS_CONTROLLER)) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1389
usb->descriptor.bDeviceClass);
drivers/net/wireless/intel/iwlwifi/fw/api/dhc.h
154
__le32 descriptor;
drivers/net/wireless/marvell/libertas/if_usb.c
219
le16_to_cpu(udev->descriptor.bcdUSB),
drivers/net/wireless/marvell/libertas/if_usb.c
220
udev->descriptor.bDeviceClass,
drivers/net/wireless/marvell/libertas/if_usb.c
221
udev->descriptor.bDeviceSubClass,
drivers/net/wireless/marvell/libertas/if_usb.c
222
udev->descriptor.bDeviceProtocol);
drivers/net/wireless/marvell/libertas/if_usb.c
277
cardp->boot2_version = udev->descriptor.bcdDevice;
drivers/net/wireless/marvell/libertas/if_usb.c
527
if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) {
drivers/net/wireless/marvell/libertas_tf/if_usb.c
169
le16_to_cpu(udev->descriptor.bcdUSB),
drivers/net/wireless/marvell/libertas_tf/if_usb.c
170
udev->descriptor.bDeviceClass,
drivers/net/wireless/marvell/libertas_tf/if_usb.c
171
udev->descriptor.bDeviceSubClass,
drivers/net/wireless/marvell/libertas_tf/if_usb.c
172
udev->descriptor.bDeviceProtocol);
drivers/net/wireless/marvell/libertas_tf/if_usb.c
221
cardp->boot2_version = udev->descriptor.bcdDevice;
drivers/net/wireless/marvell/libertas_tf/if_usb.c
498
if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) {
drivers/net/wireless/marvell/mwifiex/usb.c
1309
switch (le16_to_cpu(card->udev->descriptor.idProduct)) {
drivers/net/wireless/marvell/mwifiex/usb.c
401
id_vendor = le16_to_cpu(udev->descriptor.idVendor);
drivers/net/wireless/marvell/mwifiex/usb.c
402
id_product = le16_to_cpu(udev->descriptor.idProduct);
drivers/net/wireless/marvell/mwifiex/usb.c
403
bcd_device = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/net/wireless/marvell/mwifiex/usb.c
431
le16_to_cpu(udev->descriptor.bcdUSB),
drivers/net/wireless/marvell/mwifiex/usb.c
432
udev->descriptor.bDeviceClass,
drivers/net/wireless/marvell/mwifiex/usb.c
433
udev->descriptor.bDeviceSubClass,
drivers/net/wireless/marvell/mwifiex/usb.c
434
udev->descriptor.bDeviceProtocol);
drivers/net/wireless/purelifi/plfxlc/chip.c
49
le16_to_cpu(udev->descriptor.idVendor),
drivers/net/wireless/purelifi/plfxlc/chip.c
50
le16_to_cpu(udev->descriptor.idProduct),
drivers/net/wireless/purelifi/plfxlc/chip.c
51
le16_to_cpu(udev->descriptor.bcdDevice),
drivers/net/wireless/purelifi/plfxlc/firmware.c
41
if ((le16_to_cpu(udev->descriptor.idVendor) ==
drivers/net/wireless/purelifi/plfxlc/firmware.c
43
(le16_to_cpu(udev->descriptor.idProduct) ==
drivers/net/wireless/purelifi/plfxlc/firmware.c
48
} else if ((le16_to_cpu(udev->descriptor.idVendor)) ==
drivers/net/wireless/purelifi/plfxlc/firmware.c
50
(le16_to_cpu(udev->descriptor.idProduct) ==
drivers/net/wireless/purelifi/plfxlc/usb.c
625
if ((le16_to_cpu(interface_to_usbdev(intf)->descriptor.idVendor) ==
drivers/net/wireless/purelifi/plfxlc/usb.c
627
(le16_to_cpu(interface_to_usbdev(intf)->descriptor.idProduct) ==
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
1452
u16 product_id = le16_to_cpu(udev->descriptor.idProduct);
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1237
le16_to_cpu(udev->descriptor.idVendor),
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1238
le16_to_cpu(udev->descriptor.idProduct),
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
124
return le16_to_cpu(udev->descriptor.bcdDevice);
drivers/platform/x86/uniwill/uniwill-acpi.c
2150
const struct uniwill_device_descriptor *descriptor;
drivers/platform/x86/uniwill/uniwill-acpi.c
2174
descriptor = id->driver_data;
drivers/platform/x86/uniwill/uniwill-acpi.c
2175
device_descriptor = *descriptor;
drivers/s390/block/dasd_eckd.h
336
__u8 descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4175
Mpi2RequestDescriptorUnion_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4176
u64 *request = (u64 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4185
descriptor.SCSIIO.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO;
drivers/scsi/mpt3sas/mpt3sas_base.c
4186
descriptor.SCSIIO.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4187
descriptor.SCSIIO.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4188
descriptor.SCSIIO.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_base.c
4189
descriptor.SCSIIO.LMID = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4203
Mpi2RequestDescriptorUnion_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4204
u64 *request = (u64 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4207
descriptor.SCSIIO.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO;
drivers/scsi/mpt3sas/mpt3sas_base.c
4208
descriptor.SCSIIO.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4209
descriptor.SCSIIO.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4210
descriptor.SCSIIO.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_base.c
4211
descriptor.SCSIIO.LMID = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4226
Mpi2RequestDescriptorUnion_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4227
u64 *request = (u64 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4229
descriptor.SCSIIO.RequestFlags =
drivers/scsi/mpt3sas/mpt3sas_base.c
4231
descriptor.SCSIIO.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4232
descriptor.SCSIIO.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4233
descriptor.SCSIIO.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_base.c
4234
descriptor.SCSIIO.LMID = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4249
Mpi2RequestDescriptorUnion_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4264
request = (u64 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4266
descriptor.HighPriority.RequestFlags =
drivers/scsi/mpt3sas/mpt3sas_base.c
4268
descriptor.HighPriority.MSIxIndex = msix_task;
drivers/scsi/mpt3sas/mpt3sas_base.c
4269
descriptor.HighPriority.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4270
descriptor.HighPriority.LMID = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4271
descriptor.HighPriority.Reserved1 = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4290
Mpi2RequestDescriptorUnion_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4291
u64 *request = (u64 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4293
descriptor.Default.RequestFlags =
drivers/scsi/mpt3sas/mpt3sas_base.c
4295
descriptor.Default.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4296
descriptor.Default.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4297
descriptor.Default.LMID = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4298
descriptor.Default.DescriptorTypeDependent = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4311
Mpi2RequestDescriptorUnion_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4325
request = (u64 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4326
descriptor.Default.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE;
drivers/scsi/mpt3sas/mpt3sas_base.c
4327
descriptor.Default.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4328
descriptor.Default.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4329
descriptor.Default.LMID = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4330
descriptor.Default.DescriptorTypeDependent = 0;
drivers/scsi/mpt3sas/mpt3sas_base.c
4353
Mpi26AtomicRequestDescriptor_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4354
u32 *request = (u32 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4356
descriptor.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO;
drivers/scsi/mpt3sas/mpt3sas_base.c
4357
descriptor.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4358
descriptor.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4375
Mpi26AtomicRequestDescriptor_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4376
u32 *request = (u32 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4378
descriptor.RequestFlags = MPI25_REQ_DESCRIPT_FLAGS_FAST_PATH_SCSI_IO;
drivers/scsi/mpt3sas/mpt3sas_base.c
4379
descriptor.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4380
descriptor.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4398
Mpi26AtomicRequestDescriptor_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4399
u32 *request = (u32 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4401
descriptor.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY;
drivers/scsi/mpt3sas/mpt3sas_base.c
4402
descriptor.MSIxIndex = msix_task;
drivers/scsi/mpt3sas/mpt3sas_base.c
4403
descriptor.SMID = cpu_to_le16(smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4419
Mpi26AtomicRequestDescriptor_t descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4420
u32 *request = (u32 *)&descriptor;
drivers/scsi/mpt3sas/mpt3sas_base.c
4422
descriptor.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE;
drivers/scsi/mpt3sas/mpt3sas_base.c
4423
descriptor.MSIxIndex = _base_set_and_get_msix_index(ioc, smid);
drivers/scsi/mpt3sas/mpt3sas_base.c
4424
descriptor.SMID = cpu_to_le16(smid);
drivers/scsi/ses.c
182
int i, j, count = 0, descriptor = ecomp->number;
drivers/scsi/ses.c
196
if (count++ == descriptor) {
drivers/scsi/ses.c
212
int i, j, count = 0, descriptor = ecomp->number;
drivers/scsi/ses.c
227
if (count++ == descriptor)
drivers/staging/vme_user/vme_tsi148.c
1621
if ((unsigned long)&entry->descriptor & 0x7) {
drivers/staging/vme_user/vme_tsi148.c
1623
&entry->descriptor);
drivers/staging/vme_user/vme_tsi148.c
1631
memset(&entry->descriptor, 0, sizeof(entry->descriptor));
drivers/staging/vme_user/vme_tsi148.c
1638
entry->descriptor.dsal = cpu_to_be32(pattern_attr->pattern);
drivers/staging/vme_user/vme_tsi148.c
1649
entry->descriptor.dsat = cpu_to_be32(val);
drivers/staging/vme_user/vme_tsi148.c
1655
entry->descriptor.dsau = cpu_to_be32(address_high);
drivers/staging/vme_user/vme_tsi148.c
1656
entry->descriptor.dsal = cpu_to_be32(address_low);
drivers/staging/vme_user/vme_tsi148.c
1657
entry->descriptor.dsat = cpu_to_be32(TSI148_LCSR_DSAT_TYP_PCI);
drivers/staging/vme_user/vme_tsi148.c
1663
entry->descriptor.dsau = cpu_to_be32(address_high);
drivers/staging/vme_user/vme_tsi148.c
1664
entry->descriptor.dsal = cpu_to_be32(address_low);
drivers/staging/vme_user/vme_tsi148.c
1665
entry->descriptor.dsat = cpu_to_be32(TSI148_LCSR_DSAT_TYP_VME);
drivers/staging/vme_user/vme_tsi148.c
1668
&entry->descriptor.dsat,
drivers/staging/vme_user/vme_tsi148.c
1682
entry->descriptor.dnlau = cpu_to_be32(0);
drivers/staging/vme_user/vme_tsi148.c
1683
entry->descriptor.dnlal = cpu_to_be32(TSI148_LCSR_DNLAL_LLA);
drivers/staging/vme_user/vme_tsi148.c
1692
entry->descriptor.ddau = cpu_to_be32(address_high);
drivers/staging/vme_user/vme_tsi148.c
1693
entry->descriptor.ddal = cpu_to_be32(address_low);
drivers/staging/vme_user/vme_tsi148.c
1694
entry->descriptor.ddat = cpu_to_be32(TSI148_LCSR_DDAT_TYP_PCI);
drivers/staging/vme_user/vme_tsi148.c
1701
entry->descriptor.ddau = cpu_to_be32(address_high);
drivers/staging/vme_user/vme_tsi148.c
1702
entry->descriptor.ddal = cpu_to_be32(address_low);
drivers/staging/vme_user/vme_tsi148.c
1703
entry->descriptor.ddat = cpu_to_be32(TSI148_LCSR_DDAT_TYP_VME);
drivers/staging/vme_user/vme_tsi148.c
1706
&entry->descriptor.ddat,
drivers/staging/vme_user/vme_tsi148.c
1720
entry->descriptor.dcnt = cpu_to_be32((u32)count);
drivers/staging/vme_user/vme_tsi148.c
1726
&entry->descriptor,
drivers/staging/vme_user/vme_tsi148.c
1727
sizeof(entry->descriptor),
drivers/staging/vme_user/vme_tsi148.c
1741
prev->descriptor.dnlau = cpu_to_be32(address_high);
drivers/staging/vme_user/vme_tsi148.c
1742
prev->descriptor.dnlal = cpu_to_be32(address_low);
drivers/staging/vme_user/vme_tsi148.h
73
struct tsi148_dma_descriptor descriptor;
drivers/thunderbolt/nhi.c
243
struct ring_desc *descriptor;
drivers/thunderbolt/nhi.c
248
descriptor = &ring->descriptors[ring->head];
drivers/thunderbolt/nhi.c
249
descriptor->phys = frame->buffer_phy;
drivers/thunderbolt/nhi.c
250
descriptor->time = 0;
drivers/thunderbolt/nhi.c
251
descriptor->flags = RING_DESC_POSTED | RING_DESC_INTERRUPT;
drivers/thunderbolt/nhi.c
253
descriptor->length = frame->size;
drivers/thunderbolt/nhi.c
254
descriptor->eof = frame->eof;
drivers/thunderbolt/nhi.c
255
descriptor->sof = frame->sof;
drivers/ufs/core/ufshcd.c
2449
if (hba->dev_cmd.query.descriptor &&
drivers/ufs/core/ufshcd.c
2462
memcpy(hba->dev_cmd.query.descriptor, descp, resp_len);
drivers/ufs/core/ufshcd.c
2859
memcpy(ucd_req_ptr + 1, query->descriptor, len);
drivers/ufs/core/ufshcd.c
3603
hba->dev_cmd.query.descriptor = desc_buf;
drivers/ufs/core/ufshcd.c
3632
hba->dev_cmd.query.descriptor = NULL;
drivers/usb/atm/cxacru.c
1011
__le16 signature[] = { usb_dev->descriptor.idVendor,
drivers/usb/atm/cxacru.c
1012
usb_dev->descriptor.idProduct };
drivers/usb/atm/cxacru.c
1361
if (usb_dev->descriptor.bDeviceClass == USB_CLASS_VENDOR_SPEC
drivers/usb/atm/cxacru.c
1362
&& usb_string(usb_dev, usb_dev->descriptor.iProduct,
drivers/usb/atm/speedtch.c
352
const u16 bcdDevice = le16_to_cpu(interface_to_usbdev(intf)->descriptor.bcdDevice);
drivers/usb/atm/speedtch.c
661
if (usb_string(usb_dev, usb_dev->descriptor.iSerialNumber, mac_str, sizeof(mac_str)) == 12) {
drivers/usb/atm/speedtch.c
780
if (usb_dev->descriptor.bDeviceClass != USB_CLASS_VENDOR_SPEC) {
drivers/usb/atm/speedtch.c
781
usb_err(usbatm, "%s: wrong device class %d\n", __func__, usb_dev->descriptor.bDeviceClass);
drivers/usb/atm/ueagle-atm.c
2420
(sc->usb_dev, sc->usb_dev->descriptor.iSerialNumber, mac_str,
drivers/usb/atm/ueagle-atm.c
2541
(sc->usb_dev->descriptor.bcdDevice) & 0x80) ? ANNEXB : ANNEXA;
drivers/usb/atm/ueagle-atm.c
2594
le16_to_cpu(usb->descriptor.idVendor),
drivers/usb/atm/ueagle-atm.c
2595
le16_to_cpu(usb->descriptor.idProduct),
drivers/usb/atm/ueagle-atm.c
2596
le16_to_cpu(usb->descriptor.bcdDevice),
drivers/usb/atm/usbatm.c
1039
if ((i = usb_string(usb_dev, usb_dev->descriptor.iProduct, buf, length)) < 0)
drivers/usb/class/usblp.c
1189
le16_to_cpu(dev->descriptor.idVendor),
drivers/usb/class/usblp.c
1190
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/class/usblp.c
1197
le16_to_cpu(dev->descriptor.idVendor),
drivers/usb/class/usblp.c
1198
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/class/usblp.c
1234
le16_to_cpu(usblp->dev->descriptor.idVendor),
drivers/usb/class/usblp.c
1235
le16_to_cpu(usblp->dev->descriptor.idProduct));
drivers/usb/class/usblp.c
614
le16_to_cpu(usblp->dev->descriptor.idVendor) != 0x03F0 ||
drivers/usb/class/usblp.c
664
twoints[0] = le16_to_cpu(usblp->dev->descriptor.idVendor);
drivers/usb/class/usblp.c
665
twoints[1] = le16_to_cpu(usblp->dev->descriptor.idProduct);
drivers/usb/core/config.c
1012
dev->descriptor.bNumConfigurations = cfgno;
drivers/usb/core/config.c
301
bcdUSB = le16_to_cpu(udev->descriptor.bcdUSB);
drivers/usb/core/config.c
887
for (i = 0; i < dev->descriptor.bNumConfigurations; i++)
drivers/usb/core/config.c
894
for (c = 0; c < dev->descriptor.bNumConfigurations; c++) {
drivers/usb/core/config.c
918
int ncfg = dev->descriptor.bNumConfigurations;
drivers/usb/core/config.c
927
dev->descriptor.bNumConfigurations = ncfg = USB_MAXCONFIG;
drivers/usb/core/config.c
932
dev->descriptor.bNumConfigurations = 1;
drivers/usb/core/config.c
964
dev->descriptor.bNumConfigurations = cfgno;
drivers/usb/core/devices.c
368
start = usb_dump_device_descriptor(start, end, &dev->descriptor);
drivers/usb/core/devices.c
372
for (i = 0; i < dev->descriptor.bNumConfigurations; i++) {
drivers/usb/core/devio.c
335
memcpy(&temp_desc, &dev->descriptor, sizeof(dev->descriptor));
drivers/usb/core/devio.c
356
for (i = 0; nbytes && i < dev->descriptor.bNumConfigurations; i++) {
drivers/usb/core/driver.c
654
id->idVendor != le16_to_cpu(dev->descriptor.idVendor))
drivers/usb/core/driver.c
658
id->idProduct != le16_to_cpu(dev->descriptor.idProduct))
drivers/usb/core/driver.c
664
(id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice)))
drivers/usb/core/driver.c
668
(id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice)))
drivers/usb/core/driver.c
672
(id->bDeviceClass != dev->descriptor.bDeviceClass))
drivers/usb/core/driver.c
676
(id->bDeviceSubClass != dev->descriptor.bDeviceSubClass))
drivers/usb/core/driver.c
680
(id->bDeviceProtocol != dev->descriptor.bDeviceProtocol))
drivers/usb/core/driver.c
694
if (dev->descriptor.bDeviceClass == USB_CLASS_VENDOR_SPEC &&
drivers/usb/core/driver.c
941
le16_to_cpu(usb_dev->descriptor.idVendor),
drivers/usb/core/driver.c
942
le16_to_cpu(usb_dev->descriptor.idProduct),
drivers/usb/core/driver.c
943
le16_to_cpu(usb_dev->descriptor.bcdDevice)))
drivers/usb/core/driver.c
948
usb_dev->descriptor.bDeviceClass,
drivers/usb/core/driver.c
949
usb_dev->descriptor.bDeviceSubClass,
drivers/usb/core/driver.c
950
usb_dev->descriptor.bDeviceProtocol))
drivers/usb/core/generic.c
176
else if (udev->descriptor.bDeviceClass !=
drivers/usb/core/generic.c
80
num_configs = udev->descriptor.bNumConfigurations;
drivers/usb/core/hcd.c
975
usb_dev->descriptor = *descr;
drivers/usb/core/hcd.c
978
if (le16_to_cpu(usb_dev->descriptor.bcdUSB) >= 0x0201) {
drivers/usb/core/hub.c
1477
hub->descriptor = kzalloc_obj(*hub->descriptor);
drivers/usb/core/hub.c
1478
if (!hub->descriptor) {
drivers/usb/core/hub.c
1487
ret = get_hub_descriptor(hdev, hub->descriptor);
drivers/usb/core/hub.c
1497
if (hub->descriptor->bNbrPorts > maxchild) {
drivers/usb/core/hub.c
1501
} else if (hub->descriptor->bNbrPorts == 0) {
drivers/usb/core/hub.c
1512
u32 delay = __le16_to_cpu(hub->descriptor->u.ss.wHubDelay);
drivers/usb/core/hub.c
1521
maxchild = hub->descriptor->bNbrPorts;
drivers/usb/core/hub.c
1531
wHubCharacteristics = le16_to_cpu(hub->descriptor->wHubCharacteristics);
drivers/usb/core/hub.c
1546
portstr[i] = hub->descriptor->u.hs.DeviceRemovable
drivers/usb/core/hub.c
1583
switch (hdev->descriptor.bDeviceProtocol) {
drivers/usb/core/hub.c
1605
hdev->descriptor.bDeviceProtocol);
drivers/usb/core/hub.c
1612
if (hdev->descriptor.bDeviceProtocol != 0) {
drivers/usb/core/hub.c
1646
hub->descriptor->bPwrOn2PwrGood * 2);
drivers/usb/core/hub.c
1670
hub->descriptor->bHubContrCurrent;
drivers/usb/core/hub.c
1673
hub->descriptor->bHubContrCurrent);
drivers/usb/core/hub.c
1764
usb_hub_adjust_deviceremovable(hdev, hub->descriptor);
drivers/usb/core/hub.c
1832
kfree(hub->descriptor);
drivers/usb/core/hub.c
1879
if (hdev->descriptor.bNumConfigurations > 1 ||
drivers/usb/core/hub.c
237
hub->descriptor->u.ss.bHubHdrDecLat * 100;
drivers/usb/core/hub.c
2406
u16 bcdDevice = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/usb/core/hub.c
2410
le16_to_cpu(udev->descriptor.idVendor),
drivers/usb/core/hub.c
2411
le16_to_cpu(udev->descriptor.idProduct),
drivers/usb/core/hub.c
2415
udev->descriptor.iManufacturer,
drivers/usb/core/hub.c
2416
udev->descriptor.iProduct,
drivers/usb/core/hub.c
2417
udev->descriptor.iSerialNumber);
drivers/usb/core/hub.c
245
total_mel += (__le16_to_cpu(hub->descriptor->u.ss.wHubDelay) +
drivers/usb/core/hub.c
2537
udev->product = usb_cache_string(udev, udev->descriptor.iProduct);
drivers/usb/core/hub.c
2539
udev->descriptor.iManufacturer);
drivers/usb/core/hub.c
2540
udev->serial = usb_cache_string(udev, udev->descriptor.iSerialNumber);
drivers/usb/core/hub.c
2600
wHubCharacteristics = le16_to_cpu(hub->descriptor->wHubCharacteristics);
drivers/usb/core/hub.c
2606
if (le16_to_cpu(hub->descriptor->u.ss.DeviceRemovable)
drivers/usb/core/hub.c
2610
if (hub->descriptor->u.hs.DeviceRemovable[port / 8] & (1 << (port % 8)))
drivers/usb/core/hub.c
5050
maxp0 != udev->descriptor.bMaxPacketSize0) {
drivers/usb/core/hub.c
5122
if (!initial && maxp0 != udev->descriptor.bMaxPacketSize0) {
drivers/usb/core/hub.c
5185
udev->descriptor = *descr;
drivers/usb/core/hub.c
5197
(le16_to_cpu(udev->descriptor.bcdUSB) < 0x0300)) {
drivers/usb/core/hub.c
5206
if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0201) {
drivers/usb/core/hub.c
5268
remaining = hdev->bus_mA - hub->descriptor->bHubContrCurrent;
drivers/usb/core/hub.c
5318
if (memcmp(&udev->descriptor, new_device_descriptor,
drivers/usb/core/hub.c
5342
for (index = 0; index < udev->descriptor.bNumConfigurations; index++) {
drivers/usb/core/hub.c
5352
for (index = 0; index < udev->descriptor.bNumConfigurations; index++) {
drivers/usb/core/hub.c
5374
length = usb_string(udev, udev->descriptor.iSerialNumber,
drivers/usb/core/hub.c
5513
if (udev->descriptor.bDeviceClass == USB_CLASS_HUB
drivers/usb/core/hub.c
5540
if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0200
drivers/usb/core/hub.c
6175
struct usb_device_descriptor descriptor;
drivers/usb/core/hub.c
6215
ret = hub_port_init(parent_hub, udev, port1, i, &descriptor);
drivers/usb/core/hub.c
6225
if (descriptors_changed(udev, &descriptor, bos)) {
drivers/usb/core/hub.h
149
hcs = hub->descriptor->wHubCharacteristics;
drivers/usb/core/hub.h
155
return hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS;
drivers/usb/core/hub.h
160
return (hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS &&
drivers/usb/core/hub.h
161
le16_to_cpu(hdev->descriptor.bcdUSB) >= 0x0310 &&
drivers/usb/core/hub.h
167
unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2;
drivers/usb/core/hub.h
53
struct usb_hub_descriptor *descriptor; /* class descriptor */
drivers/usb/core/message.c
1143
if (dev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/core/message.c
1898
le16_to_cpu(usb_dev->descriptor.idVendor),
drivers/usb/core/message.c
1899
le16_to_cpu(usb_dev->descriptor.idProduct),
drivers/usb/core/message.c
1900
le16_to_cpu(usb_dev->descriptor.bcdDevice),
drivers/usb/core/message.c
1901
usb_dev->descriptor.bDeviceClass,
drivers/usb/core/message.c
1902
usb_dev->descriptor.bDeviceSubClass,
drivers/usb/core/message.c
1903
usb_dev->descriptor.bDeviceProtocol,
drivers/usb/core/message.c
2065
for (i = 0; i < dev->descriptor.bNumConfigurations; i++) {
drivers/usb/core/of.c
59
struct usb_device_descriptor *ddesc = &udev->descriptor;
drivers/usb/core/otg_productlist.h
46
if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a &&
drivers/usb/core/otg_productlist.h
47
le16_to_cpu(dev->descriptor.idProduct) == 0xbadd))
drivers/usb/core/otg_productlist.h
51
if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a &&
drivers/usb/core/otg_productlist.h
52
le16_to_cpu(dev->descriptor.idProduct) == 0x0200))
drivers/usb/core/otg_productlist.h
60
id->idVendor != le16_to_cpu(dev->descriptor.idVendor))
drivers/usb/core/otg_productlist.h
64
id->idProduct != le16_to_cpu(dev->descriptor.idProduct))
drivers/usb/core/otg_productlist.h
70
(id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice)))
drivers/usb/core/otg_productlist.h
74
(id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice)))
drivers/usb/core/otg_productlist.h
78
(id->bDeviceClass != dev->descriptor.bDeviceClass))
drivers/usb/core/otg_productlist.h
82
(id->bDeviceSubClass != dev->descriptor.bDeviceSubClass))
drivers/usb/core/otg_productlist.h
86
(id->bDeviceProtocol != dev->descriptor.bDeviceProtocol))
drivers/usb/core/otg_productlist.h
97
le16_to_cpu(dev->descriptor.idVendor),
drivers/usb/core/otg_productlist.h
98
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/core/quirks.c
678
for (i = 0; i < udev->descriptor.bNumConfigurations; ++i) {
drivers/usb/core/quirks.c
732
u16 vid = le16_to_cpu(udev->descriptor.idVendor);
drivers/usb/core/quirks.c
733
u16 pid = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/core/quirks.c
776
if (udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/core/sysfs.c
1171
le16_to_cpu(udev->descriptor.idVendor),
drivers/usb/core/sysfs.c
1172
le16_to_cpu(udev->descriptor.idProduct),
drivers/usb/core/sysfs.c
1173
le16_to_cpu(udev->descriptor.bcdDevice),
drivers/usb/core/sysfs.c
1174
udev->descriptor.bDeviceClass,
drivers/usb/core/sysfs.c
1175
udev->descriptor.bDeviceSubClass,
drivers/usb/core/sysfs.c
1176
udev->descriptor.bDeviceProtocol,
drivers/usb/core/sysfs.c
237
bcdUSB = le16_to_cpu(udev->descriptor.bcdUSB);
drivers/usb/core/sysfs.c
330
if (udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/core/sysfs.c
355
if (udev->descriptor.bDeviceClass != USB_CLASS_HUB)
drivers/usb/core/sysfs.c
699
le16_to_cpu(udev->descriptor.field)); \
drivers/usb/core/sysfs.c
715
return sysfs_emit(buf, format_string, udev->descriptor.field); \
drivers/usb/core/sysfs.c
871
for (cfgno = -1; cfgno < udev->descriptor.bNumConfigurations &&
drivers/usb/core/sysfs.c
874
src = &udev->descriptor;
drivers/usb/core/usb.c
1161
le16_to_cpu(udev->descriptor.bcdUSB) == 0x220 &&
drivers/usb/host/r8a66597-hcd.c
2026
udev->parent->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/host/xhci.c
4667
udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/host/xhci.c
4766
udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/image/mdc800.c
439
if (dev->descriptor.bNumConfigurations != 1)
drivers/usb/image/microtek.c
673
le16_to_cpu(dev->descriptor.idProduct),
drivers/usb/image/microtek.c
674
le16_to_cpu(dev->descriptor.idVendor) );
drivers/usb/misc/adutux.c
720
if (!usb_string(udev, udev->descriptor.iSerialNumber, dev->serial_number,
drivers/usb/misc/adutux.c
744
le16_to_cpu(udev->descriptor.idProduct), dev->serial_number,
drivers/usb/misc/apple-mfi-fastcharge.c
172
idProduct = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/misc/chaoskey.c
184
if (le16_to_cpu(udev->descriptor.idVendor) != ALEA_VENDOR_ID)
drivers/usb/misc/chaoskey.c
567
if (le16_to_cpu(udev->descriptor.idVendor) == ALEA_VENDOR_ID)
drivers/usb/misc/ehset.c
75
u16 test_pid = le16_to_cpu(dev->descriptor.idProduct);
drivers/usb/misc/iowarrior.c
578
info.vendor = le16_to_cpu(dev->udev->descriptor.idVendor);
drivers/usb/misc/iowarrior.c
580
info.revision = le16_to_cpu(dev->udev->descriptor.bcdDevice);
drivers/usb/misc/iowarrior.c
797
dev->product_id = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/misc/iowarrior.c
868
usb_string(udev, udev->descriptor.iSerialNumber, dev->chip_serial,
drivers/usb/misc/ldusb.c
669
if ((le16_to_cpu(udev->descriptor.idVendor) == USB_VENDOR_ID_LD) &&
drivers/usb/misc/ldusb.c
670
((le16_to_cpu(udev->descriptor.idProduct) == USB_DEVICE_ID_LD_CASSY) ||
drivers/usb/misc/ldusb.c
671
(le16_to_cpu(udev->descriptor.idProduct) == USB_DEVICE_ID_LD_COM3LAB)) &&
drivers/usb/misc/ldusb.c
672
(le16_to_cpu(udev->descriptor.bcdDevice) <= 0x103)) {
drivers/usb/misc/ldusb.c
709
udev->descriptor.bMaxPacketSize0;
drivers/usb/misc/lvstest.c
260
struct usb_device_descriptor *descriptor;
drivers/usb/misc/lvstest.c
263
descriptor = kmalloc_obj(*descriptor);
drivers/usb/misc/lvstest.c
264
if (!descriptor)
drivers/usb/misc/lvstest.c
276
0, descriptor, sizeof(*descriptor),
drivers/usb/misc/lvstest.c
284
kfree(descriptor);
drivers/usb/misc/lvstest.c
31
struct usb_hub_descriptor descriptor;
drivers/usb/misc/lvstest.c
332
struct usb_hub_descriptor *descriptor = &lvs->descriptor;
drivers/usb/misc/lvstest.c
338
for (i = 1; i <= descriptor->bNbrPorts; i++) {
drivers/usb/misc/lvstest.c
410
if (hdev->descriptor.bDeviceProtocol != USB_HUB_PR_SS || hdev->parent) {
drivers/usb/misc/lvstest.c
425
USB_DT_SS_HUB << 8, 0, &lvs->descriptor,
drivers/usb/misc/usblcd.c
174
bcdDevice = le16_to_cpu((dev->udev)->descriptor.bcdDevice);
drivers/usb/misc/usblcd.c
338
if (le16_to_cpu(dev->udev->descriptor.idProduct) != 0x0001) {
drivers/usb/misc/usblcd.c
376
i = le16_to_cpu(dev->udev->descriptor.bcdDevice);
drivers/usb/misc/usbtest.c
1335
len = 1024 - udev->descriptor.bMaxPacketSize0;
drivers/usb/misc/usbtest.c
1341
len = udev->descriptor.bMaxPacketSize0;
drivers/usb/misc/usbtest.c
1360
if (le16_to_cpu(udev->descriptor.bcdUSB) < 0x0201)
drivers/usb/misc/usbtest.c
2778
if (!vendor || le16_to_cpu(udev->descriptor.idVendor) != (u16)vendor)
drivers/usb/misc/usbtest.c
2780
if (product && le16_to_cpu(udev->descriptor.idProduct) != (u16)product)
drivers/usb/misc/usbtest.c
2784
le16_to_cpu(udev->descriptor.idVendor),
drivers/usb/misc/usbtest.c
2785
le16_to_cpu(udev->descriptor.idProduct));
drivers/usb/misc/usbtest.c
868
if (!realworld || udev->descriptor.bNumConfigurations != 1) {
drivers/usb/misc/usbtest.c
888
dev->buf, sizeof(udev->descriptor));
drivers/usb/misc/usbtest.c
889
if (retval != sizeof(udev->descriptor)) {
drivers/usb/misc/usbtest.c
898
if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0210) {
drivers/usb/misc/usbtest.c
979
for (i = 0; i < udev->descriptor.bNumConfigurations; i++) {
drivers/usb/misc/usbtest.c
995
if (le16_to_cpu(udev->descriptor.bcdUSB) == 0x0200) {
drivers/usb/misc/uss720.c
683
le16_to_cpu(usbdev->descriptor.idVendor),
drivers/usb/misc/uss720.c
684
le16_to_cpu(usbdev->descriptor.idProduct));
drivers/usb/serial/ark3116.c
53
if (le16_to_cpu(dev->descriptor.idVendor) == 0x18ec &&
drivers/usb/serial/ark3116.c
54
le16_to_cpu(dev->descriptor.idProduct) == 0x3118)
drivers/usb/serial/belkin_sa.c
127
(le16_to_cpu(dev->descriptor.bcdDevice) <= 0x0206) ? 1 : 0;
drivers/usb/serial/belkin_sa.c
129
le16_to_cpu(dev->descriptor.bcdDevice),
drivers/usb/serial/cypress_m8.c
228
return ((le16_to_cpu(dev->descriptor.idVendor) == VENDOR_ID_FRWD) &&
drivers/usb/serial/cypress_m8.c
229
(le16_to_cpu(dev->descriptor.idProduct) == PRODUCT_ID_CYPHIDCOM_FRWD));
drivers/usb/serial/cypress_m8.c
516
if (serial->dev->descriptor.idProduct !=
drivers/usb/serial/ftdi_sio.c
1498
version = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/usb/serial/ftdi_sio.c
1515
if (udev->descriptor.iSerialNumber == 0 &&
drivers/usb/serial/io_edgeport.c
2713
static const __u32 descriptor[3] = { EDGE_COMPATIBILITY_MASK0,
drivers/usb/serial/io_edgeport.c
2729
i = usb_string(dev, dev->descriptor.iManufacturer,
drivers/usb/serial/io_edgeport.c
2734
usb_string(dev, dev->descriptor.iProduct,
drivers/usb/serial/io_edgeport.c
2742
memcpy(&edge_serial->epic_descriptor.Supports, descriptor,
drivers/usb/serial/io_edgeport.c
435
product_info->ProductId = (__u16)(le16_to_cpu(edge_serial->serial->dev->descriptor.idProduct) & ~ION_DEVICE_ID_80251_NETCHIP);
drivers/usb/serial/io_edgeport.c
456
if (le16_to_cpu(edge_serial->serial->dev->descriptor.idProduct)
drivers/usb/serial/io_ti.c
1394
if (le16_to_cpu(serial->serial->dev->descriptor.idVendor)
drivers/usb/serial/io_ti.c
1397
le16_to_cpu(serial->serial->dev->descriptor.idVendor));
drivers/usb/serial/io_ti.c
2518
edge_serial->serial->dev->descriptor.idProduct);
drivers/usb/serial/keyspan.c
1608
le16_to_cpu(serial->dev->descriptor.bcdDevice),
drivers/usb/serial/keyspan.c
1609
le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/keyspan.c
1611
if ((le16_to_cpu(serial->dev->descriptor.bcdDevice) & 0x8000)
drivers/usb/serial/keyspan.c
1618
switch (le16_to_cpu(serial->dev->descriptor.idProduct)) {
drivers/usb/serial/keyspan.c
1669
le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/keyspan.c
2783
le16_to_cpu(serial->dev->descriptor.idProduct))
drivers/usb/serial/keyspan.c
2787
__func__, le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/keyspan_pda.c
614
unsigned int vid = le16_to_cpu(serial->dev->descriptor.idVendor);
drivers/usb/serial/kobil_sct.c
139
priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mct_u232.c
124
if (le16_to_cpu(serial->dev->descriptor.idProduct) == MCT_U232_SITECOM_PID
drivers/usb/serial/mct_u232.c
125
|| le16_to_cpu(serial->dev->descriptor.idProduct) == MCT_U232_BELKIN_F5U109_PID) {
drivers/usb/serial/mct_u232.c
426
if (le16_to_cpu(serial->dev->descriptor.idProduct)
drivers/usb/serial/metro-usb.c
60
u16 product_id = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mos7720.c
1635
product = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mos7720.c
1670
if (le16_to_cpu(serial->dev->descriptor.idProduct)
drivers/usb/serial/mos7720.c
823
u16 product = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mxuport.c
1050
u16 productid = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/pl2303.c
406
struct usb_device_descriptor *desc = &serial->dev->descriptor;
drivers/usb/serial/quatech2.c
244
if (d.product_id == le16_to_cpu(serial->dev->descriptor.idProduct))
drivers/usb/serial/safe_serial.c
263
if (serial->dev->descriptor.bDeviceClass != CDC_DEVICE_CLASS)
drivers/usb/serial/ti_usb_3410_5052.c
1582
if (le16_to_cpu(dev->descriptor.idVendor) == MXU1_VENDOR_ID) {
drivers/usb/serial/ti_usb_3410_5052.c
1586
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/serial/ti_usb_3410_5052.c
1594
le16_to_cpu(dev->descriptor.idVendor),
drivers/usb/serial/ti_usb_3410_5052.c
1595
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/serial/ti_usb_3410_5052.c
1600
if (le16_to_cpu(dev->descriptor.idVendor) == MTS_VENDOR_ID) {
drivers/usb/serial/ti_usb_3410_5052.c
1601
switch (le16_to_cpu(dev->descriptor.idProduct)) {
drivers/usb/serial/ti_usb_3410_5052.c
518
__func__, le16_to_cpu(dev->descriptor.idProduct),
drivers/usb/serial/ti_usb_3410_5052.c
519
dev->descriptor.bNumConfigurations,
drivers/usb/serial/ti_usb_3410_5052.c
536
vid = le16_to_cpu(dev->descriptor.idVendor);
drivers/usb/serial/ti_usb_3410_5052.c
537
pid = le16_to_cpu(dev->descriptor.idProduct);
drivers/usb/serial/ti_usb_3410_5052.c
551
if (dev->descriptor.bNumConfigurations == 1 && num_endpoints == 1) {
drivers/usb/serial/usb-serial.c
567
le16_to_cpu(serial->dev->descriptor.idVendor),
drivers/usb/serial/usb-serial.c
568
le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/visor.c
445
serial->dev->descriptor.bDeviceClass == USB_CLASS_COMM &&
drivers/usb/serial/visor.c
446
serial->dev->descriptor.bDeviceSubClass ==
drivers/usb/serial/visor.c
467
unsigned int vid = le16_to_cpu(serial->dev->descriptor.idVendor);
drivers/usb/storage/cypress_atacb.c
258
if (device->descriptor.iManufacturer != 0x38 ||
drivers/usb/storage/cypress_atacb.c
259
device->descriptor.iProduct != 0x4e ||
drivers/usb/storage/cypress_atacb.c
260
device->descriptor.iSerialNumber != 0x64) {
drivers/usb/storage/onetouch.c
215
le16_to_cpu(udev->descriptor.idVendor),
drivers/usb/storage/onetouch.c
216
le16_to_cpu(udev->descriptor.idProduct));
drivers/usb/storage/scsiglue.c
144
switch (le16_to_cpu(us->pusb_dev->descriptor.idVendor)) {
drivers/usb/storage/uas-detect.h
100
le16_to_cpu(udev->descriptor.idProduct) == 0x55aa)) {
drivers/usb/storage/uas-detect.h
116
if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2)
drivers/usb/storage/uas-detect.h
126
if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bda &&
drivers/usb/storage/uas-detect.h
127
le16_to_cpu(udev->descriptor.idProduct) == 0x9210 &&
drivers/usb/storage/uas-detect.h
98
if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c &&
drivers/usb/storage/uas-detect.h
99
(le16_to_cpu(udev->descriptor.idProduct) == 0x5106 ||
drivers/usb/storage/usb.c
362
u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice);
drivers/usb/storage/usb.c
529
le16_to_cpu(us->pusb_dev->descriptor.idVendor),
drivers/usb/storage/usb.c
530
le16_to_cpu(us->pusb_dev->descriptor.idProduct),
drivers/usb/storage/usb.c
531
le16_to_cpu(us->pusb_dev->descriptor.bcdDevice));
drivers/usb/storage/usb.c
560
u16 vid = le16_to_cpu(udev->descriptor.idVendor);
drivers/usb/storage/usb.c
561
u16 pid = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/storage/usb.c
703
le16_to_cpu(dev->descriptor.idVendor),
drivers/usb/storage/usb.c
704
le16_to_cpu(dev->descriptor.idProduct),
drivers/usb/storage/usb.c
718
struct usb_device_descriptor *ddesc = &dev->descriptor;
drivers/usb/storage/usual-tables.c
83
vid = le16_to_cpu(udev->descriptor.idVendor);
drivers/usb/storage/usual-tables.c
84
pid = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/storage/usual-tables.c
85
bcd = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/usb/usbip/stub_dev.c
347
if (udev->descriptor.bDeviceClass == USB_CLASS_HUB) {
drivers/video/fbdev/smscufx.c
1614
le16_to_cpu(usbdev->descriptor.idVendor),
drivers/video/fbdev/smscufx.c
1615
le16_to_cpu(usbdev->descriptor.idProduct),
drivers/video/fbdev/smscufx.c
1616
le16_to_cpu(usbdev->descriptor.bcdDevice), dev);
drivers/xen/xen-acpi-processor.c
194
dst_pct->descriptor = pct->descriptor;
fs/crypto/keyring.c
313
memcmp(mk->mk_spec.u.descriptor,
fs/crypto/keyring.c
314
mk_spec->u.descriptor,
fs/crypto/keysetup_v1.c
84
const u8 descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE],
fs/crypto/keysetup_v1.c
94
FSCRYPT_KEY_DESCRIPTOR_SIZE, descriptor);
fs/crypto/policy.c
44
memcpy(key_spec->u.descriptor, policy->v1.master_key_descriptor,
fs/jbd2/commit.c
353
struct buffer_head *descriptor;
fs/jbd2/commit.c
575
descriptor = NULL;
fs/jbd2/commit.c
605
if (!descriptor) {
fs/jbd2/commit.c
610
descriptor = jbd2_journal_get_descriptor_buffer(
fs/jbd2/commit.c
613
if (!descriptor) {
fs/jbd2/commit.c
619
(unsigned long long)descriptor->b_blocknr,
fs/jbd2/commit.c
620
descriptor->b_data);
fs/jbd2/commit.c
621
tagp = &descriptor->b_data[sizeof(journal_header_t)];
fs/jbd2/commit.c
622
space_left = descriptor->b_size -
fs/jbd2/commit.c
625
set_buffer_jwrite(descriptor);
fs/jbd2/commit.c
626
set_buffer_dirty(descriptor);
fs/jbd2/commit.c
627
wbuf[bufs++] = descriptor;
fs/jbd2/commit.c
631
BUFFER_TRACE(descriptor, "ph3: file as descriptor");
fs/jbd2/commit.c
632
jbd2_file_log_bh(&log_bufs, descriptor);
fs/jbd2/commit.c
707
if (descriptor)
fs/jbd2/commit.c
709
descriptor);
fs/jbd2/commit.c
733
descriptor = NULL;
fs/jbd2/revoke.c
534
struct buffer_head *descriptor;
fs/jbd2/revoke.c
540
descriptor = NULL;
fs/jbd2/revoke.c
555
&descriptor, &offset, record);
fs/jbd2/revoke.c
561
if (descriptor)
fs/jbd2/revoke.c
562
flush_descriptor(journal, descriptor, offset);
fs/jbd2/revoke.c
579
struct buffer_head *descriptor;
fs/jbd2/revoke.c
589
descriptor = *descriptorp;
fs/jbd2/revoke.c
602
if (descriptor) {
fs/jbd2/revoke.c
604
flush_descriptor(journal, descriptor, offset);
fs/jbd2/revoke.c
605
descriptor = NULL;
fs/jbd2/revoke.c
609
if (!descriptor) {
fs/jbd2/revoke.c
610
descriptor = jbd2_journal_get_descriptor_buffer(transaction,
fs/jbd2/revoke.c
612
if (!descriptor)
fs/jbd2/revoke.c
616
BUFFER_TRACE(descriptor, "file in log_bufs");
fs/jbd2/revoke.c
617
jbd2_file_log_bh(log_bufs, descriptor);
fs/jbd2/revoke.c
620
*descriptorp = descriptor;
fs/jbd2/revoke.c
624
* ((__be64 *)(&descriptor->b_data[offset])) =
fs/jbd2/revoke.c
627
* ((__be32 *)(&descriptor->b_data[offset])) =
fs/jbd2/revoke.c
642
struct buffer_head *descriptor,
fs/jbd2/revoke.c
650
header = (jbd2_journal_revoke_header_t *)descriptor->b_data;
fs/jbd2/revoke.c
652
jbd2_descriptor_block_csum_set(journal, descriptor);
fs/jbd2/revoke.c
654
set_buffer_jwrite(descriptor);
fs/jbd2/revoke.c
655
BUFFER_TRACE(descriptor, "write");
fs/jbd2/revoke.c
656
set_buffer_dirty(descriptor);
fs/jbd2/revoke.c
657
write_dirty_buffer(descriptor, JBD2_JOURNAL_REQ_FLAGS);
include/acpi/cppc_acpi.h
47
u8 descriptor;
include/acpi/processor.h
112
u8 descriptor;
include/acpi/processor.h
153
u8 descriptor;
include/acpi/processor.h
59
u8 descriptor;
include/cxl/event.h
30
u8 descriptor;
include/linux/acpi.h
1245
void __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const char *fmt, ...);
include/linux/dev_printk.h
240
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
include/linux/dev_printk.h
241
if (DYNAMIC_DEBUG_BRANCH(descriptor) && \
include/linux/dev_printk.h
243
__dynamic_dev_dbg(&descriptor, dev, dev_fmt(fmt), \
include/linux/dynamic_debug.h
142
void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
include/linux/dynamic_debug.h
147
void __dynamic_dev_dbg(struct _ddebug *descriptor, const struct device *dev,
include/linux/dynamic_debug.h
153
void __dynamic_netdev_dbg(struct _ddebug *descriptor,
include/linux/dynamic_debug.h
160
void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
include/linux/dynamic_debug.h
194
#define DYNAMIC_DEBUG_BRANCH(descriptor) \
include/linux/dynamic_debug.h
195
static_branch_likely(&descriptor.key.dd_key_true)
include/linux/dynamic_debug.h
199
#define DYNAMIC_DEBUG_BRANCH(descriptor) \
include/linux/dynamic_debug.h
200
static_branch_unlikely(&descriptor.key.dd_key_false)
include/linux/dynamic_debug.h
208
#define DYNAMIC_DEBUG_BRANCH(descriptor) \
include/linux/dynamic_debug.h
209
likely(descriptor.flags & _DPRINTK_FLAGS_PRINT)
include/linux/dynamic_debug.h
211
#define DYNAMIC_DEBUG_BRANCH(descriptor) \
include/linux/dynamic_debug.h
212
unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)
include/linux/dynamic_debug.h
316
#define DYNAMIC_DEBUG_BRANCH(descriptor) false
include/linux/hyperv.h
367
struct vmpacket_descriptor descriptor;
include/linux/net.h
291
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
include/linux/net.h
292
if (DYNAMIC_DEBUG_BRANCH(descriptor) && \
include/linux/net.h
294
__dynamic_pr_debug(&descriptor, pr_fmt(fmt), \
include/linux/printk.h
745
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, pr_fmt(fmt)); \
include/linux/printk.h
746
if (DYNAMIC_DEBUG_BRANCH(descriptor) && \
include/linux/printk.h
748
__dynamic_pr_debug(&descriptor, pr_fmt(fmt), ##__VA_ARGS__); \
include/linux/usb.h
681
struct usb_device_descriptor descriptor;
include/linux/usb/input.h
17
id->vendor = le16_to_cpu(dev->descriptor.idVendor);
include/linux/usb/input.h
18
id->product = le16_to_cpu(dev->descriptor.idProduct);
include/linux/usb/input.h
19
id->version = le16_to_cpu(dev->descriptor.bcdDevice);
include/rdma/ib_verbs.h
122
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
include/rdma/ib_verbs.h
123
if (DYNAMIC_DEBUG_BRANCH(descriptor) && __ratelimit(&_rs)) \
include/rdma/ib_verbs.h
124
__dynamic_ibdev_dbg(&descriptor, ibdev, fmt, \
include/uapi/linux/fscrypt.h
111
__u8 descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE];
include/uapi/sound/compress_offload.h
134
struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS];
include/ufs/ufshcd.h
231
u8 *descriptor;
include/xen/interface/platform.h
368
uint8_t descriptor;
lib/dynamic_debug.c
865
void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...)
lib/dynamic_debug.c
871
BUG_ON(!descriptor);
lib/dynamic_debug.c
879
printk(KERN_DEBUG "%s%pV", dynamic_emit_prefix(descriptor, buf), &vaf);
lib/dynamic_debug.c
885
void __dynamic_dev_dbg(struct _ddebug *descriptor,
lib/dynamic_debug.c
891
BUG_ON(!descriptor);
lib/dynamic_debug.c
905
dynamic_emit_prefix(descriptor, buf),
lib/dynamic_debug.c
916
void __dynamic_netdev_dbg(struct _ddebug *descriptor,
lib/dynamic_debug.c
922
BUG_ON(!descriptor);
lib/dynamic_debug.c
935
dynamic_emit_prefix(descriptor, buf),
lib/dynamic_debug.c
955
void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
lib/dynamic_debug.c
971
dynamic_emit_prefix(descriptor, buf),
mm/page_alloc.c
6831
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
mm/page_alloc.c
6833
if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
net/caif/caif_usb.c
150
le16_to_cpu(usbdev->descriptor.idVendor),
net/caif/caif_usb.c
151
le16_to_cpu(usbdev->descriptor.idProduct));
net/caif/caif_usb.c
154
if (!(le16_to_cpu(usbdev->descriptor.idVendor) == STE_USB_VID &&
net/caif/caif_usb.c
155
le16_to_cpu(usbdev->descriptor.idProduct) == STE_USB_PID_CAIF))
sound/soc/fsl/fsl_asrc_m2m.c
598
codec->descriptor[j].max_ch = cap.chan_max;
sound/soc/fsl/fsl_asrc_m2m.c
599
memcpy(codec->descriptor[j].sample_rates,
sound/soc/fsl/fsl_asrc_m2m.c
602
codec->descriptor[j].num_sample_rates = cap.rate_in_count;
sound/soc/fsl/fsl_asrc_m2m.c
603
codec->descriptor[j].formats = (__force __u32)k;
sound/soc/fsl/fsl_asrc_m2m.c
604
codec->descriptor[j].pcm_formats = cap.fmt_out;
sound/soc/fsl/fsl_asrc_m2m.c
605
codec->descriptor[j].src.out_sample_rate_min = cap.rate_out[0];
sound/soc/fsl/fsl_asrc_m2m.c
606
codec->descriptor[j].src.out_sample_rate_max =
sound/soc/intel/atom/sst/sst_drv_interface.c
375
.descriptor[0].max_ch = 2,
sound/soc/intel/atom/sst/sst_drv_interface.c
376
.descriptor[0].sample_rates[0] = 48000,
sound/soc/intel/atom/sst/sst_drv_interface.c
377
.descriptor[0].sample_rates[1] = 44100,
sound/soc/intel/atom/sst/sst_drv_interface.c
378
.descriptor[0].sample_rates[2] = 32000,
sound/soc/intel/atom/sst/sst_drv_interface.c
379
.descriptor[0].sample_rates[3] = 16000,
sound/soc/intel/atom/sst/sst_drv_interface.c
380
.descriptor[0].sample_rates[4] = 8000,
sound/soc/intel/atom/sst/sst_drv_interface.c
381
.descriptor[0].num_sample_rates = 5,
sound/soc/intel/atom/sst/sst_drv_interface.c
382
.descriptor[0].bit_rate[0] = 320,
sound/soc/intel/atom/sst/sst_drv_interface.c
383
.descriptor[0].bit_rate[1] = 192,
sound/soc/intel/atom/sst/sst_drv_interface.c
384
.descriptor[0].num_bitrates = 2,
sound/soc/intel/atom/sst/sst_drv_interface.c
385
.descriptor[0].profiles = 0,
sound/soc/intel/atom/sst/sst_drv_interface.c
386
.descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO,
sound/soc/intel/atom/sst/sst_drv_interface.c
387
.descriptor[0].formats = 0,
sound/soc/intel/atom/sst/sst_drv_interface.c
392
.descriptor[1].max_ch = 2,
sound/soc/intel/atom/sst/sst_drv_interface.c
393
.descriptor[0].sample_rates[0] = 48000,
sound/soc/intel/atom/sst/sst_drv_interface.c
394
.descriptor[0].sample_rates[1] = 44100,
sound/soc/intel/atom/sst/sst_drv_interface.c
395
.descriptor[0].sample_rates[2] = 32000,
sound/soc/intel/atom/sst/sst_drv_interface.c
396
.descriptor[0].sample_rates[3] = 16000,
sound/soc/intel/atom/sst/sst_drv_interface.c
397
.descriptor[0].sample_rates[4] = 8000,
sound/soc/intel/atom/sst/sst_drv_interface.c
398
.descriptor[0].num_sample_rates = 5,
sound/soc/intel/atom/sst/sst_drv_interface.c
399
.descriptor[1].bit_rate[0] = 320,
sound/soc/intel/atom/sst/sst_drv_interface.c
400
.descriptor[1].bit_rate[1] = 192,
sound/soc/intel/atom/sst/sst_drv_interface.c
401
.descriptor[1].num_bitrates = 2,
sound/soc/intel/atom/sst/sst_drv_interface.c
402
.descriptor[1].profiles = 0,
sound/soc/intel/atom/sst/sst_drv_interface.c
403
.descriptor[1].modes = 0,
sound/soc/intel/atom/sst/sst_drv_interface.c
404
.descriptor[1].formats =
sound/soc/qcom/qdsp6/q6apm-dai.c
40
.descriptor[0].max_ch = 2,
sound/soc/qcom/qdsp6/q6apm-dai.c
41
.descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
sound/soc/qcom/qdsp6/q6apm-dai.c
44
.descriptor[0].num_sample_rates = 13,
sound/soc/qcom/qdsp6/q6apm-dai.c
45
.descriptor[0].bit_rate[0] = 320,
sound/soc/qcom/qdsp6/q6apm-dai.c
46
.descriptor[0].bit_rate[1] = 128,
sound/soc/qcom/qdsp6/q6apm-dai.c
47
.descriptor[0].num_bitrates = 2,
sound/soc/qcom/qdsp6/q6apm-dai.c
48
.descriptor[0].profiles = 0,
sound/soc/qcom/qdsp6/q6apm-dai.c
49
.descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO,
sound/soc/qcom/qdsp6/q6apm-dai.c
50
.descriptor[0].formats = 0,
sound/soc/qcom/qdsp6/q6asm-dai.c
166
.descriptor[0].max_ch = 2,
sound/soc/qcom/qdsp6/q6asm-dai.c
167
.descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
sound/soc/qcom/qdsp6/q6asm-dai.c
170
.descriptor[0].num_sample_rates = 13,
sound/soc/qcom/qdsp6/q6asm-dai.c
171
.descriptor[0].bit_rate[0] = 320,
sound/soc/qcom/qdsp6/q6asm-dai.c
172
.descriptor[0].bit_rate[1] = 128,
sound/soc/qcom/qdsp6/q6asm-dai.c
173
.descriptor[0].num_bitrates = 2,
sound/soc/qcom/qdsp6/q6asm-dai.c
174
.descriptor[0].profiles = 0,
sound/soc/qcom/qdsp6/q6asm-dai.c
175
.descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO,
sound/soc/qcom/qdsp6/q6asm-dai.c
176
.descriptor[0].formats = 0,
sound/soc/sprd/sprd-pcm-compress.c
631
codec->descriptor[0].max_ch = 2;
sound/soc/sprd/sprd-pcm-compress.c
632
codec->descriptor[0].bit_rate[0] = 320;
sound/soc/sprd/sprd-pcm-compress.c
633
codec->descriptor[0].bit_rate[1] = 128;
sound/soc/sprd/sprd-pcm-compress.c
634
codec->descriptor[0].num_bitrates = 2;
sound/soc/sprd/sprd-pcm-compress.c
635
codec->descriptor[0].profiles = 0;
sound/soc/sprd/sprd-pcm-compress.c
636
codec->descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO;
sound/soc/sprd/sprd-pcm-compress.c
637
codec->descriptor[0].formats = 0;
sound/soc/sprd/sprd-pcm-compress.c
642
codec->descriptor[1].max_ch = 2;
sound/soc/sprd/sprd-pcm-compress.c
643
codec->descriptor[1].bit_rate[0] = 320;
sound/soc/sprd/sprd-pcm-compress.c
644
codec->descriptor[1].bit_rate[1] = 128;
sound/soc/sprd/sprd-pcm-compress.c
645
codec->descriptor[1].num_bitrates = 2;
sound/soc/sprd/sprd-pcm-compress.c
646
codec->descriptor[1].profiles = 0;
sound/soc/sprd/sprd-pcm-compress.c
647
codec->descriptor[1].modes = 0;
sound/soc/sprd/sprd-pcm-compress.c
648
codec->descriptor[1].formats = 0;
sound/soc/uniphier/aio-compress.c
400
.descriptor[0].max_ch = 8,
sound/soc/uniphier/aio-compress.c
401
.descriptor[0].num_sample_rates = 0,
sound/soc/uniphier/aio-compress.c
402
.descriptor[0].num_bitrates = 0,
sound/soc/uniphier/aio-compress.c
403
.descriptor[0].profiles = SND_AUDIOPROFILE_IEC61937_SPDIF,
sound/soc/uniphier/aio-compress.c
404
.descriptor[0].modes = SND_AUDIOMODE_IEC_AC3 |
sound/soc/uniphier/aio-compress.c
408
.descriptor[0].formats = 0,
sound/usb/caiaq/device.c
415
cdev->chip.usb_id = USB_ID(le16_to_cpu(usb_dev->descriptor.idVendor),
sound/usb/caiaq/device.c
416
le16_to_cpu(usb_dev->descriptor.idProduct));
sound/usb/caiaq/device.c
471
usb_string(usb_dev, usb_dev->descriptor.iManufacturer,
sound/usb/caiaq/device.c
474
usb_string(usb_dev, usb_dev->descriptor.iProduct,
sound/usb/card.c
634
if (!dev->descriptor.iProduct ||
sound/usb/card.c
635
usb_string(dev, dev->descriptor.iProduct,
sound/usb/card.c
675
if (dev->descriptor.iManufacturer)
sound/usb/card.c
676
usb_string(dev, dev->descriptor.iManufacturer,
sound/usb/card.c
931
id = USB_ID(le16_to_cpu(dev->descriptor.idVendor),
sound/usb/card.c
932
le16_to_cpu(dev->descriptor.idProduct));
sound/usb/line6/driver.c
751
if (usbdev->descriptor.bNumConfigurations != 1)
sound/usb/midi.c
2523
usb_id = USB_ID(le16_to_cpu(umidi->dev->descriptor.idVendor),
sound/usb/midi.c
2524
le16_to_cpu(umidi->dev->descriptor.idProduct));
sound/usb/midi2.c
1049
else if (!*ump->info.name && dev->descriptor.iProduct)
sound/usb/midi2.c
1050
fill_ump_ep_name(ump, dev, dev->descriptor.iProduct);
sound/usb/midi2.c
1060
if (!*ump->info.product_id && dev->descriptor.iSerialNumber)
sound/usb/midi2.c
1061
usb_string(dev, dev->descriptor.iSerialNumber,
sound/usb/quirks.c
1290
if (new_device_descriptor->bNumConfigurations > dev->descriptor.bNumConfigurations)
sound/usb/quirks.c
1294
memcpy(&dev->descriptor, new_device_descriptor, sizeof(dev->descriptor));
sound/usb/quirks.c
2044
switch (le16_to_cpu(chip->dev->descriptor.bcdDevice)) {
sound/usb/quirks.c
576
if (new_device_descriptor->bNumConfigurations > dev->descriptor.bNumConfigurations)
sound/usb/quirks.c
580
memcpy(&dev->descriptor, new_device_descriptor, sizeof(dev->descriptor));
sound/usb/quirks.c
955
if (new_device_descriptor->bNumConfigurations > dev->descriptor.bNumConfigurations)
sound/usb/quirks.c
959
memcpy(&dev->descriptor, new_device_descriptor, sizeof(dev->descriptor));
sound/usb/usx2y/us122l.c
490
le16_to_cpu(device->descriptor.idVendor),
sound/usb/usx2y/us122l.c
491
le16_to_cpu(device->descriptor.idProduct),
sound/usb/usx2y/us144mkii.c
517
if (le16_to_cpu(dev->descriptor.idProduct) == USB_PID_TASCAM_US144) {
sound/usb/usx2y/us144mkii.c
520
} else if (le16_to_cpu(dev->descriptor.idProduct) == USB_PID_TASCAM_US144MKII) {
sound/usb/usx2y/us144mkii.c
528
card->shortname, USB_VID_TASCAM, dev->descriptor.idProduct,
sound/usb/usx2y/usX2Yhwdep.c
144
le16_to_cpu(dev->descriptor.idProduct) == USB_ID_US428 ?
sound/usb/usx2y/usX2Yhwdep.c
92
switch (le16_to_cpu(us428->dev->descriptor.idProduct)) {
sound/usb/usx2y/usbusx2y.c
389
le16_to_cpu(device->descriptor.idVendor),
sound/usb/usx2y/usbusx2y.c
390
le16_to_cpu(device->descriptor.idProduct),
sound/usb/usx2y/usbusx2y.c
446
if (le16_to_cpu(device->descriptor.idVendor) != 0x1604 ||
sound/usb/usx2y/usbusx2y.c
447
(le16_to_cpu(device->descriptor.idProduct) != USB_ID_US122 &&
sound/usb/usx2y/usbusx2y.c
448
le16_to_cpu(device->descriptor.idProduct) != USB_ID_US224 &&
sound/usb/usx2y/usbusx2y.c
449
le16_to_cpu(device->descriptor.idProduct) != USB_ID_US428))
sound/usb/usx2y/usbusx2yaudio.c
1000
if (le16_to_cpu(usx2y(card)->dev->descriptor.idProduct) == USB_ID_US428) {
sound/usb/usx2y/usbusx2yaudio.c
1005
if (le16_to_cpu(usx2y(card)->dev->descriptor.idProduct) != USB_ID_US122)
tools/include/uapi/linux/fscrypt.h
111
__u8 descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE];
tools/testing/cxl/test/mem.c
418
.descriptor = CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT,
tools/testing/cxl/test/mem.c
448
.descriptor = CXL_GMER_EVT_DESC_THRESHOLD_EVENT,