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
183
if (caps->descriptor == VAS_GZIP_QOS_CAPABILITIES) {
arch/powerpc/platforms/pseries/vas-sysfs.c
187
} 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;
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/btmtk.c
1340
u16 vid = le16_to_cpu(btmtk_data->udev->descriptor.idVendor);
drivers/bluetooth/btmtk.c
1341
u16 pid = le16_to_cpu(btmtk_data->udev->descriptor.idProduct);
drivers/bluetooth/btusb.c
1537
if (le16_to_cpu(data->udev->descriptor.idVendor) == 0x0a12 &&
drivers/bluetooth/btusb.c
1538
le16_to_cpu(data->udev->descriptor.idProduct) == 0x0001)
drivers/bluetooth/btusb.c
2509
u16 bcdDevice = le16_to_cpu(data->udev->descriptor.bcdDevice);
drivers/bluetooth/btusb.c
4101
if (le16_to_cpu(udev->descriptor.bcdDevice) <= 0x0001 &&
drivers/bluetooth/btusb.c
4376
u16 bcdDevice = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/bluetooth/btusb.c
4386
if (le16_to_cpu(udev->descriptor.idVendor) == 0x0a12 &&
drivers/bluetooth/btusb.c
4387
le16_to_cpu(udev->descriptor.idProduct) == 0x0001)
drivers/bluetooth/btusb.c
4395
if (le16_to_cpu(udev->descriptor.bcdDevice) > 0x997)
drivers/cpufreq/pcc-cpufreq.c
439
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
941
if (evt->gen_media.media_hdr.descriptor &
drivers/cxl/core/mbox.c
956
if (evt->dram.media_hdr.descriptor &
drivers/cxl/core/trace.h
469
__field(u8, descriptor)
drivers/cxl/core/trace.h
497
__entry->descriptor = rec->media_hdr.descriptor;
drivers/cxl/core/trace.h
517
if (rec->media_hdr.descriptor & CXL_GMER_EVT_DESC_THRESHOLD_EVENT)
drivers/cxl/core/trace.h
532
show_event_desc_flags(__entry->descriptor),
drivers/cxl/core/trace.h
612
__field(u8, descriptor)
drivers/cxl/core/trace.h
645
__entry->descriptor = rec->media_hdr.descriptor;
drivers/cxl/core/trace.h
672
if (rec->media_hdr.descriptor & CXL_GMER_EVT_DESC_THRESHOLD_EVENT)
drivers/cxl/core/trace.h
687
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
942
fw_core_remove_descriptor(&r->descriptor);
drivers/firewire/core-cdev.c
969
r->descriptor.length = a->length;
drivers/firewire/core-cdev.c
970
r->descriptor.immediate = a->immediate;
drivers/firewire/core-cdev.c
971
r->descriptor.key = a->key;
drivers/firewire/core-cdev.c
972
r->descriptor.data = r->data;
drivers/firewire/core-cdev.c
974
ret = fw_core_add_descriptor(&r->descriptor);
drivers/firewire/core-cdev.c
981
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
154
struct surface_update_descriptor *descriptor,
drivers/gpu/drm/amd/display/dc/core/dc.c
159
if (new_type > descriptor->update_type)
drivers/gpu/drm/amd/display/dc/core/dc.c
160
descriptor->update_type = new_type;
drivers/gpu/drm/amd/display/dc/core/dc.c
162
descriptor->lock_descriptor |= new_locks;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
249
struct dml2_stream_parameters *phantom_stream_descriptor = &stream_programming->phantom_stream.descriptor;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
267
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
249
struct dml2_plane_parameters descriptor;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h
284
struct dml2_stream_parameters descriptor;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c
411
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
485
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
3096
static bool is_display_descriptor(const struct detailed_timing *descriptor, u8 type)
drivers/gpu/drm/drm_edid.c
3098
BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0);
drivers/gpu/drm/drm_edid.c
3099
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.pad1) != 2);
drivers/gpu/drm/drm_edid.c
3100
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.type) != 3);
drivers/gpu/drm/drm_edid.c
3102
return descriptor->pixel_clock == 0 &&
drivers/gpu/drm/drm_edid.c
3103
descriptor->data.other_data.pad1 == 0 &&
drivers/gpu/drm/drm_edid.c
3104
descriptor->data.other_data.type == type;
drivers/gpu/drm/drm_edid.c
3107
static bool is_detailed_timing_descriptor(const struct detailed_timing *descriptor)
drivers/gpu/drm/drm_edid.c
3109
BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0);
drivers/gpu/drm/drm_edid.c
3111
return descriptor->pixel_clock != 0;
drivers/gpu/drm/drm_edid.c
3174
is_rb(const struct detailed_timing *descriptor, void *data)
drivers/gpu/drm/drm_edid.c
3178
if (!is_display_descriptor(descriptor, EDID_DETAIL_MONITOR_RANGE))
drivers/gpu/drm/drm_edid.c
3181
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3182
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15);
drivers/gpu/drm/drm_edid.c
3184
if (descriptor->data.other_data.data.range.flags == DRM_EDID_CVT_SUPPORT_FLAG &&
drivers/gpu/drm/drm_edid.c
3185
descriptor->data.other_data.data.range.formula.cvt.flags & DRM_EDID_CVT_FLAGS_REDUCED_BLANKING)
drivers/gpu/drm/drm_edid.c
3204
find_gtf2(const struct detailed_timing *descriptor, void *data)
drivers/gpu/drm/drm_edid.c
3208
if (!is_display_descriptor(descriptor, EDID_DETAIL_MONITOR_RANGE))
drivers/gpu/drm/drm_edid.c
3211
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3213
if (descriptor->data.other_data.data.range.flags == DRM_EDID_SECONDARY_GTF_SUPPORT_FLAG)
drivers/gpu/drm/drm_edid.c
3214
*res = descriptor;
drivers/gpu/drm/drm_edid.c
3221
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3223
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3225
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
drivers/gpu/drm/drm_edid.c
3227
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.hfreq_start_khz * 2 : 0;
drivers/gpu/drm/drm_edid.c
3233
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3235
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3237
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
drivers/gpu/drm/drm_edid.c
3239
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.c : 0;
drivers/gpu/drm/drm_edid.c
3245
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3247
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3249
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
drivers/gpu/drm/drm_edid.c
3251
return descriptor ? le16_to_cpu(descriptor->data.other_data.data.range.formula.gtf2.m) : 0;
drivers/gpu/drm/drm_edid.c
3257
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3259
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3261
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
drivers/gpu/drm/drm_edid.c
3263
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.k : 0;
drivers/gpu/drm/drm_edid.c
3269
const struct detailed_timing *descriptor = NULL;
drivers/gpu/drm/drm_edid.c
3271
drm_for_each_detailed_block(drm_edid, find_gtf2, &descriptor);
drivers/gpu/drm/drm_edid.c
3273
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
drivers/gpu/drm/drm_edid.c
3275
return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.j : 0;
drivers/gpu/drm/drm_edid.c
3279
get_timing_level(const struct detailed_timing *descriptor, void *data)
drivers/gpu/drm/drm_edid.c
3283
if (!is_display_descriptor(descriptor, EDID_DETAIL_MONITOR_RANGE))
drivers/gpu/drm/drm_edid.c
3286
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3288
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/bpf/progs/hid_bpf_helpers.h
480
#define hid_bpf_for_each_input_report(descriptor, report_var) \
drivers/hid/bpf/progs/hid_bpf_helpers.h
481
__hid_bpf_for_each_array((descriptor)->input_reports, \
drivers/hid/bpf/progs/hid_bpf_helpers.h
482
(descriptor)->num_input_reports, \
drivers/hid/bpf/progs/hid_bpf_helpers.h
486
#define hid_bpf_for_each_feature_report(descriptor, report_var) \
drivers/hid/bpf/progs/hid_bpf_helpers.h
487
__hid_bpf_for_each_array((descriptor)->feature_reports, \
drivers/hid/bpf/progs/hid_bpf_helpers.h
488
(descriptor)->num_feature_reports, \
drivers/hid/bpf/progs/hid_bpf_helpers.h
492
#define hid_bpf_for_each_output_report(descriptor, report_var) \
drivers/hid/bpf/progs/hid_bpf_helpers.h
493
__hid_bpf_for_each_array((descriptor)->output_reports, \
drivers/hid/bpf/progs/hid_bpf_helpers.h
494
(descriptor)->num_output_reports, \
drivers/hid/hid-asus.c
760
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
2842
udesc = &(hid_to_usb_dev(hid)->descriptor);
drivers/hid/usbhid/hid-core.c
1400
hid->vendor = le16_to_cpu(dev->descriptor.idVendor);
drivers/hid/usbhid/hid-core.c
1401
hid->product = le16_to_cpu(dev->descriptor.idProduct);
drivers/hid/usbhid/hid-core.c
1402
hid->version = le16_to_cpu(dev->descriptor.bcdDevice);
drivers/hid/usbhid/hid-core.c
1421
le16_to_cpu(dev->descriptor.idVendor),
drivers/hid/usbhid/hid-core.c
1422
le16_to_cpu(dev->descriptor.idProduct));
drivers/hid/usbhid/hid-core.c
1432
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
312
le16_to_cpu(dev->descriptor.idVendor),
drivers/hid/usbhid/usbkbd.c
313
le16_to_cpu(dev->descriptor.idProduct));
drivers/hid/usbhid/usbmouse.c
160
le16_to_cpu(dev->descriptor.idVendor),
drivers/hid/usbhid/usbmouse.c
161
le16_to_cpu(dev->descriptor.idProduct));
drivers/i2c/busses/i2c-robotfuzz-osif.c
171
version = le16_to_cpu(priv->usb_dev->descriptor.bcdDevice);
drivers/i2c/busses/i2c-tiny-usb.c
240
version = le16_to_cpu(dev->usb_dev->descriptor.bcdDevice);
drivers/input/joystick/xpad.c
2053
if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) &&
drivers/input/joystick/xpad.c
2054
(le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct))
drivers/input/joystick/xpad.c
2153
if (le16_to_cpu(udev->descriptor.idVendor) == 0x045e) { /* Microsoft controllers */
drivers/input/joystick/xpad.c
2154
if (le16_to_cpu(udev->descriptor.idProduct) == 0x02e3) {
drivers/input/joystick/xpad.c
2159
} else if (le16_to_cpu(udev->descriptor.idProduct) == 0x0b00) {
drivers/input/joystick/xpad.c
2164
if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x0500) {
drivers/input/joystick/xpad.c
2169
} else if (le16_to_cpu(udev->descriptor.bcdDevice) <
drivers/input/misc/keyspan_remote.c
481
le16_to_cpu(udev->descriptor.idVendor),
drivers/input/misc/keyspan_remote.c
482
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
350
le16_to_cpu(udev->descriptor.idVendor),
drivers/input/mouse/synaptics_usb.c
351
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
354
le16_to_cpu(dev->descriptor.idVendor),
drivers/input/tablet/pegasus_notetaker.c
355
le16_to_cpu(dev->descriptor.idProduct));
drivers/input/touchscreen/usbtouchscreen.c
1512
le16_to_cpu(udev->descriptor.idVendor),
drivers/input/touchscreen/usbtouchscreen.c
1513
le16_to_cpu(udev->descriptor.idProduct));
drivers/md/dm-vdo/block-map.c
1913
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
2264
ictx->vendor = le16_to_cpu(ictx->usbdev_intf0->descriptor.idVendor);
drivers/media/rc/imon.c
2265
ictx->product = le16_to_cpu(ictx->usbdev_intf0->descriptor.idProduct);
drivers/media/rc/imon.c
2434
vendor = le16_to_cpu(usbdev->descriptor.idVendor);
drivers/media/rc/imon.c
2435
product = le16_to_cpu(usbdev->descriptor.idProduct);
drivers/media/rc/mceusb.c
1627
switch (le16_to_cpu(udev->descriptor.idVendor)) {
drivers/media/rc/mceusb.c
1752
if (dev->descriptor.iManufacturer
drivers/media/rc/mceusb.c
1753
&& usb_string(dev, dev->descriptor.iManufacturer,
drivers/media/rc/mceusb.c
1756
if (dev->descriptor.iProduct
drivers/media/rc/mceusb.c
1757
&& 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
246
le16_to_cpu(xbox_remote->udev->descriptor.idVendor),
drivers/media/rc/xbox_remote.c
247
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
352
desc = vidtv_psi_desc_clone(s->descriptor);
drivers/media/test-drivers/vidtv/vidtv_channel.c
353
vidtv_psi_desc_assign(&tail->descriptor,
drivers/media/test-drivers/vidtv/vidtv_channel.c
386
struct vidtv_psi_desc *desc = s->descriptor;
drivers/media/test-drivers/vidtv/vidtv_channel.c
391
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
1023
desc_loop_len = vidtv_psi_desc_comp_loop_len(stream->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1048
vidtv_psi_desc_destroy(tmp_stream->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1123
desc_loop_len = vidtv_psi_desc_comp_loop_len(pmt->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1136
struct vidtv_psi_desc *table_descriptor = args->pmt->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1203
stream_descriptor = stream->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1232
vidtv_psi_desc_destroy(pmt->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1345
service_desc = service->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1422
vidtv_psi_desc_destroy(tmp->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1526
desc_loop_len = vidtv_psi_desc_comp_loop_len(nit->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1541
desc_loop_len = vidtv_psi_desc_comp_loop_len(t->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1592
nit->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1594
if (!nit->descriptor)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1600
transport->descriptor = (struct vidtv_psi_desc *)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1602
if (!transport->descriptor)
drivers/media/test-drivers/vidtv/vidtv_psi.c
1612
vidtv_psi_desc_destroy((struct vidtv_psi_desc *)nit->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1649
struct vidtv_psi_desc *table_descriptor = args->nit->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1699
transport_descriptor = transport->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1734
vidtv_psi_desc_destroy(tmp_t->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1741
vidtv_psi_desc_destroy(nit->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1764
desc_loop_len = vidtv_psi_desc_comp_loop_len(e->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1891
event_descriptor = event->descriptor;
drivers/media/test-drivers/vidtv/vidtv_psi.c
1987
vidtv_psi_desc_destroy(tmp_e->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
779
desc_loop_len = vidtv_psi_desc_comp_loop_len(pmt->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
790
desc_loop_len = vidtv_psi_desc_comp_loop_len(s->descriptor);
drivers/media/test-drivers/vidtv/vidtv_psi.c
823
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
329
rc->input_id.vendor = le16_to_cpu(dev->usbdev->descriptor.idVendor);
drivers/media/usb/au0828/au0828-input.c
330
rc->input_id.product = le16_to_cpu(dev->usbdev->descriptor.idProduct);
drivers/media/usb/cx231xx/cx231xx-cards.c
1783
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/cx231xx/cx231xx-cards.c
1784
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
3822
if (le16_to_cpu(udev->descriptor.idVendor) == 0xeb1a) {
drivers/media/usb/em28xx/em28xx-cards.c
3823
__le16 idProd = udev->descriptor.idProduct;
drivers/media/usb/em28xx/em28xx-cards.c
4122
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/em28xx/em28xx-cards.c
4123
le16_to_cpu(udev->descriptor.idProduct),
drivers/media/usb/em28xx/em28xx-cards.c
4187
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/em28xx/em28xx-cards.c
4188
le16_to_cpu(udev->descriptor.idProduct),
drivers/media/usb/go7007/go7007-loader.c
46
if (usbdev->descriptor.bNumConfigurations != 1) {
drivers/media/usb/go7007/go7007-loader.c
51
vendor = le16_to_cpu(usbdev->descriptor.idVendor);
drivers/media/usb/go7007/go7007-loader.c
52
product = le16_to_cpu(usbdev->descriptor.idProduct);
drivers/media/usb/gspca/gspca.c
1197
le16_to_cpu(gspca_dev->dev->descriptor.idVendor),
drivers/media/usb/gspca/gspca.c
1198
le16_to_cpu(gspca_dev->dev->descriptor.idProduct));
drivers/media/usb/gspca/gspca.c
1592
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
1031
usb_string(udev, udev->descriptor.iSerialNumber, serial_number, 29);
drivers/media/usb/pwc/pwc-if.c
1034
if (udev->descriptor.bNumConfigurations > 1)
drivers/media/usb/pwc/pwc-if.c
1076
pdev->release = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/media/usb/pwc/pwc-if.c
791
vendor_id = le16_to_cpu(udev->descriptor.idVendor);
drivers/media/usb/pwc/pwc-if.c
792
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
2226
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/uvc/uvc_driver.c
2227
le16_to_cpu(udev->descriptor.idProduct));
drivers/media/usb/uvc/uvc_driver.c
2255
dev->mdev.hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/media/usb/uvc/uvc_driver.c
2276
le16_to_cpu(udev->descriptor.idVendor),
drivers/media/usb/uvc/uvc_driver.c
2277
le16_to_cpu(udev->descriptor.idProduct));
drivers/media/usb/uvc/uvc_driver.c
902
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
2106
usb_string(udev, udev->descriptor.iManufacturer, manufacturer,
drivers/mmc/host/vub300.c
2108
usb_string(udev, udev->descriptor.iProduct, product, sizeof(product));
drivers/mmc/host/vub300.c
2109
usb_string(udev, udev->descriptor.iSerialNumber, serial_number,
drivers/mmc/host/vub300.c
2112
le16_to_cpu(udev->descriptor.idVendor),
drivers/mmc/host/vub300.c
2113
le16_to_cpu(udev->descriptor.idProduct),
drivers/most/most_usb.c
1046
le16_to_cpu(usb_dev->descriptor.idVendor),
drivers/most/most_usb.c
1047
le16_to_cpu(usb_dev->descriptor.idProduct),
drivers/most/most_usb.c
1062
if (le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81118 ||
drivers/most/most_usb.c
1063
le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81119 ||
drivers/most/most_usb.c
1064
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
992
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/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
328
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
331
HW_ATL2_RPF_TIMESTAMP_REQ_DESCD_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
364
u32 enable, u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
366
aq_hw_write_reg_bit(aq_hw, HW_ATL2_TDM_DESCD_TS_WRB_EN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
372
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
374
aq_hw_write_reg_bit(aq_hw, HW_ATL2_TDM_DESCD_TS_EN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
380
u32 descriptor)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
382
aq_hw_write_reg_bit(aq_hw, HW_ATL2_TDM_DESCD_AVB_EN_ADR(descriptor),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h
120
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h
124
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h
127
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h
142
u32 descriptor);
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
202
#define HW_ATL2_TDM_DESCD_TS_WRB_EN_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
203
(0x00007C08 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
208
#define HW_ATL2_TDM_DESCD_TS_EN_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
209
(0x00007C08 + (descriptor) * 0x40)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
214
#define HW_ATL2_TDM_DESCD_AVB_EN_ADR(descriptor) \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
215
(0x00007C08 + (descriptor) * 0x40)
drivers/net/ethernet/google/gve/gve_adminq.c
1047
struct gve_device_descriptor *descriptor;
drivers/net/ethernet/google/gve/gve_adminq.c
1056
descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL,
drivers/net/ethernet/google/gve/gve_adminq.c
1058
if (!descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1072
err = gve_process_device_options(priv, descriptor, &dev_op_gqi_rda,
drivers/net/ethernet/google/gve/gve_adminq.c
1116
gve_set_default_desc_cnt(priv, descriptor);
drivers/net/ethernet/google/gve/gve_adminq.c
1129
be64_to_cpu(descriptor->max_registered_pages);
drivers/net/ethernet/google/gve/gve_adminq.c
1130
mtu = be16_to_cpu(descriptor->mtu);
drivers/net/ethernet/google/gve/gve_adminq.c
1137
priv->num_event_counters = be16_to_cpu(descriptor->counters);
drivers/net/ethernet/google/gve/gve_adminq.c
1138
eth_hw_addr_set(priv->dev, descriptor->mac);
drivers/net/ethernet/google/gve/gve_adminq.c
1139
mac = descriptor->mac;
drivers/net/ethernet/google/gve/gve_adminq.c
1141
priv->tx_pages_per_qpl = be16_to_cpu(descriptor->tx_pages_per_qpl);
drivers/net/ethernet/google/gve/gve_adminq.c
1142
priv->default_num_queues = be16_to_cpu(descriptor->default_num_queues);
drivers/net/ethernet/google/gve/gve_adminq.c
1151
dma_pool_free(priv->adminq_pool, descriptor, descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1466
struct gve_query_flow_rules_descriptor *descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1472
total_memory_len = be32_to_cpu(descriptor->total_length);
drivers/net/ethernet/google/gve/gve_adminq.c
1473
num_queried_rules = be32_to_cpu(descriptor->num_queried_rules);
drivers/net/ethernet/google/gve/gve_adminq.c
1474
rule_info = (void *)(descriptor + 1);
drivers/net/ethernet/google/gve/gve_adminq.c
1479
if (sizeof(*descriptor) + rule_info_len != total_memory_len) {
drivers/net/ethernet/google/gve/gve_adminq.c
1489
if (sizeof(*descriptor) + rule_info_len != total_memory_len) {
drivers/net/ethernet/google/gve/gve_adminq.c
1498
priv->num_flow_rules = be32_to_cpu(descriptor->num_flow_rules);
drivers/net/ethernet/google/gve/gve_adminq.c
1499
priv->max_flow_rules = be32_to_cpu(descriptor->max_flow_rules);
drivers/net/ethernet/google/gve/gve_adminq.c
1510
struct gve_query_flow_rules_descriptor *descriptor;
drivers/net/ethernet/google/gve/gve_adminq.c
1516
descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1517
if (!descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1531
err = gve_adminq_process_flow_rules_query(priv, query_opcode, descriptor);
drivers/net/ethernet/google/gve/gve_adminq.c
1534
dma_pool_free(priv->adminq_pool, descriptor, descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1539
struct gve_query_rss_descriptor *descriptor,
drivers/net/ethernet/google/gve/gve_adminq.c
1548
total_memory_length = be32_to_cpu(descriptor->total_length);
drivers/net/ethernet/google/gve/gve_adminq.c
1551
if (sizeof(*descriptor) + priv->rss_key_size + hash_lut_length != total_memory_length) {
drivers/net/ethernet/google/gve/gve_adminq.c
1557
rxfh->hfunc = descriptor->hash_alg;
drivers/net/ethernet/google/gve/gve_adminq.c
1559
rss_info_addr = (void *)(descriptor + 1);
drivers/net/ethernet/google/gve/gve_adminq.c
1578
struct gve_query_rss_descriptor *descriptor;
drivers/net/ethernet/google/gve/gve_adminq.c
1583
descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus);
drivers/net/ethernet/google/gve/gve_adminq.c
1584
if (!descriptor)
drivers/net/ethernet/google/gve/gve_adminq.c
1597
err = gve_adminq_process_rss_query(priv, descriptor, rxfh);
drivers/net/ethernet/google/gve/gve_adminq.c
1600
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
1610
struct lan743x_tx_descriptor *descriptor = NULL;
drivers/net/ethernet/microchip/lan743x_main.c
1614
descriptor = &tx->ring_cpu_ptr[descriptor_index];
drivers/net/ethernet/microchip/lan743x_main.c
1619
descriptor_type = le32_to_cpu(descriptor->data0) &
drivers/net/ethernet/microchip/lan743x_main.c
1669
memset(descriptor, 0, sizeof(*descriptor));
drivers/net/ethernet/microchip/lan743x_main.c
2362
struct lan743x_rx_descriptor *descriptor;
drivers/net/ethernet/microchip/lan743x_main.c
2368
descriptor = &rx->ring_cpu_ptr[index];
drivers/net/ethernet/microchip/lan743x_main.c
2380
if (le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_LS_)
drivers/net/ethernet/microchip/lan743x_main.c
2386
(le32_to_cpu(descriptor->data0)),
drivers/net/ethernet/microchip/lan743x_main.c
2402
descriptor->data1 = cpu_to_le32(DMA_ADDR_LOW32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2403
descriptor->data2 = cpu_to_le32(DMA_ADDR_HIGH32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2404
descriptor->data3 = 0;
drivers/net/ethernet/microchip/lan743x_main.c
2405
descriptor->data0 = cpu_to_le32((RX_DESC_DATA0_OWN_ |
drivers/net/ethernet/microchip/lan743x_main.c
2415
struct lan743x_rx_descriptor *descriptor;
drivers/net/ethernet/microchip/lan743x_main.c
2417
descriptor = &rx->ring_cpu_ptr[index];
drivers/net/ethernet/microchip/lan743x_main.c
2420
descriptor->data1 = cpu_to_le32(DMA_ADDR_LOW32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2421
descriptor->data2 = cpu_to_le32(DMA_ADDR_HIGH32(buffer_info->dma_ptr));
drivers/net/ethernet/microchip/lan743x_main.c
2422
descriptor->data3 = 0;
drivers/net/ethernet/microchip/lan743x_main.c
2423
descriptor->data0 = cpu_to_le32((RX_DESC_DATA0_OWN_ |
drivers/net/ethernet/microchip/lan743x_main.c
2432
struct lan743x_rx_descriptor *descriptor;
drivers/net/ethernet/microchip/lan743x_main.c
2434
descriptor = &rx->ring_cpu_ptr[index];
drivers/net/ethernet/microchip/lan743x_main.c
2437
memset(descriptor, 0, sizeof(*descriptor));
drivers/net/ethernet/microchip/lan743x_main.c
2473
struct lan743x_rx_descriptor *descriptor, *desc_ext;
drivers/net/ethernet/microchip/lan743x_main.c
2492
descriptor = &rx->ring_cpu_ptr[rx->last_head];
drivers/net/ethernet/microchip/lan743x_main.c
2493
if (le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_OWN_)
drivers/net/ethernet/microchip/lan743x_main.c
2497
is_last = le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_LS_;
drivers/net/ethernet/microchip/lan743x_main.c
2498
is_first = le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_FS_;
drivers/net/ethernet/microchip/lan743x_main.c
2500
if (is_last && le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_EXT_) {
drivers/net/ethernet/microchip/lan743x_main.c
2523
RX_DESC_DATA0_FRAME_LENGTH_GET_(le32_to_cpu(descriptor->data0));
drivers/net/ethernet/microchip/lan743x_main.c
2525
is_ice = le32_to_cpu(descriptor->data1) & RX_DESC_DATA1_STATUS_ICE_;
drivers/net/ethernet/microchip/lan743x_main.c
2526
is_tce = le32_to_cpu(descriptor->data1) & RX_DESC_DATA1_STATUS_TCE_;
drivers/net/ethernet/microchip/lan743x_main.c
2527
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
1524
le16_to_cpu(dev->descriptor.idVendor) == 0x05c6 &&
drivers/net/usb/qmi_wwan.c
1525
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
10105
int parent_vendor_id = le16_to_cpu(udev->parent->descriptor.idVendor);
drivers/net/usb/r8152.c
10106
int product_id = le16_to_cpu(udev->descriptor.idProduct);
drivers/net/usb/r8152.c
10107
int vendor_id = le16_to_cpu(udev->descriptor.idVendor);
drivers/net/usb/r8152.c
10209
if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 && udev->serial &&
drivers/net/usb/r8152.c
10469
num_configs = udev->descriptor.bNumConfigurations;
drivers/net/wireless/ath/ath10k/usb.c
1019
vendor_id = le16_to_cpu(dev->descriptor.idVendor);
drivers/net/wireless/ath/ath10k/usb.c
1020
product_id = le16_to_cpu(dev->descriptor.idProduct);
drivers/net/wireless/ath/ath6kl/usb.c
1127
vendor_id = le16_to_cpu(dev->descriptor.idVendor);
drivers/net/wireless/ath/ath6kl/usb.c
1128
product_id = le16_to_cpu(dev->descriptor.idProduct);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1381
if (usb->descriptor.bNumConfigurations != 1) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1383
usb->descriptor.bNumConfigurations);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1388
if ((usb->descriptor.bDeviceClass != USB_CLASS_VENDOR_SPEC) &&
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1389
(usb->descriptor.bDeviceClass != USB_CLASS_MISC) &&
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1390
(usb->descriptor.bDeviceClass != USB_CLASS_WIRELESS_CONTROLLER)) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1392
usb->descriptor.bDeviceClass);
drivers/net/wireless/intel/iwlwifi/fw/api/dhc.h
154
__le32 descriptor;
drivers/net/wireless/marvell/libertas/if_usb.c
218
le16_to_cpu(udev->descriptor.bcdUSB),
drivers/net/wireless/marvell/libertas/if_usb.c
219
udev->descriptor.bDeviceClass,
drivers/net/wireless/marvell/libertas/if_usb.c
220
udev->descriptor.bDeviceSubClass,
drivers/net/wireless/marvell/libertas/if_usb.c
221
udev->descriptor.bDeviceProtocol);
drivers/net/wireless/marvell/libertas/if_usb.c
279
cardp->boot2_version = udev->descriptor.bcdDevice;
drivers/net/wireless/marvell/libertas/if_usb.c
536
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
217
cardp->boot2_version = udev->descriptor.bcdDevice;
drivers/net/wireless/marvell/libertas_tf/if_usb.c
492
if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) {
drivers/net/wireless/marvell/mwifiex/usb.c
1305
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/dell/dell-wmi-descriptor.c
118
ret = wmidev_query_block(wdev, 0, &buffer, sizeof(struct descriptor));
drivers/platform/x86/dell/dell-wmi-descriptor.c
124
struct descriptor *desc __free(kfree) = buffer.data;
drivers/platform/x86/uniwill/uniwill-acpi.c
2719
const struct uniwill_device_descriptor *descriptor;
drivers/platform/x86/uniwill/uniwill-acpi.c
2741
descriptor = id->driver_data;
drivers/platform/x86/uniwill/uniwill-acpi.c
2742
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
237
struct ring_desc *descriptor;
drivers/thunderbolt/nhi.c
242
descriptor = &ring->descriptors[ring->head];
drivers/thunderbolt/nhi.c
243
descriptor->phys = frame->buffer_phy;
drivers/thunderbolt/nhi.c
244
descriptor->time = 0;
drivers/thunderbolt/nhi.c
245
descriptor->flags = RING_DESC_POSTED | RING_DESC_INTERRUPT;
drivers/thunderbolt/nhi.c
247
descriptor->length = frame->size;
drivers/thunderbolt/nhi.c
248
descriptor->eof = frame->eof;
drivers/thunderbolt/nhi.c
249
descriptor->sof = frame->sof;
drivers/ufs/core/ufshcd.c
2467
if (hba->dev_cmd.query.descriptor &&
drivers/ufs/core/ufshcd.c
2480
memcpy(hba->dev_cmd.query.descriptor, descp, resp_len);
drivers/ufs/core/ufshcd.c
2878
memcpy(ucd_req_ptr + 1, query->descriptor, len);
drivers/ufs/core/ufshcd.c
3683
hba->dev_cmd.query.descriptor = desc_buf;
drivers/ufs/core/ufshcd.c
3712
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
2384
(sc->usb_dev, sc->usb_dev->descriptor.iSerialNumber, mac_str,
drivers/usb/atm/ueagle-atm.c
2503
(sc->usb_dev->descriptor.bcdDevice) & 0x80) ? ANNEXB : ANNEXA;
drivers/usb/atm/ueagle-atm.c
2556
le16_to_cpu(usb->descriptor.idVendor),
drivers/usb/atm/ueagle-atm.c
2557
le16_to_cpu(usb->descriptor.idProduct),
drivers/usb/atm/ueagle-atm.c
2558
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
1004
dev->descriptor.bNumConfigurations = cfgno;
drivers/usb/core/config.c
293
bcdUSB = le16_to_cpu(udev->descriptor.bcdUSB);
drivers/usb/core/config.c
879
for (i = 0; i < dev->descriptor.bNumConfigurations; i++)
drivers/usb/core/config.c
886
for (c = 0; c < dev->descriptor.bNumConfigurations; c++) {
drivers/usb/core/config.c
910
int ncfg = dev->descriptor.bNumConfigurations;
drivers/usb/core/config.c
919
dev->descriptor.bNumConfigurations = ncfg = USB_MAXCONFIG;
drivers/usb/core/config.c
924
dev->descriptor.bNumConfigurations = 1;
drivers/usb/core/config.c
956
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
1145
if (dev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/core/message.c
1900
le16_to_cpu(usb_dev->descriptor.idVendor),
drivers/usb/core/message.c
1901
le16_to_cpu(usb_dev->descriptor.idProduct),
drivers/usb/core/message.c
1902
le16_to_cpu(usb_dev->descriptor.bcdDevice),
drivers/usb/core/message.c
1903
usb_dev->descriptor.bDeviceClass,
drivers/usb/core/message.c
1904
usb_dev->descriptor.bDeviceSubClass,
drivers/usb/core/message.c
1905
usb_dev->descriptor.bDeviceProtocol,
drivers/usb/core/message.c
2067
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
688
for (i = 0; i < udev->descriptor.bNumConfigurations; ++i) {
drivers/usb/core/quirks.c
742
u16 vid = le16_to_cpu(udev->descriptor.idVendor);
drivers/usb/core/quirks.c
743
u16 pid = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/core/quirks.c
786
if (udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/core/sysfs.c
1177
le16_to_cpu(udev->descriptor.idVendor),
drivers/usb/core/sysfs.c
1178
le16_to_cpu(udev->descriptor.idProduct),
drivers/usb/core/sysfs.c
1179
le16_to_cpu(udev->descriptor.bcdDevice),
drivers/usb/core/sysfs.c
1180
udev->descriptor.bDeviceClass,
drivers/usb/core/sysfs.c
1181
udev->descriptor.bDeviceSubClass,
drivers/usb/core/sysfs.c
1182
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
4679
udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/host/xhci.c
4778
udev->descriptor.bDeviceClass == USB_CLASS_HUB)
drivers/usb/image/mdc800.c
439
if (dev->descriptor.bNumConfigurations != 1)
drivers/usb/image/microtek.c
649
le16_to_cpu(dev->descriptor.idProduct),
drivers/usb/image/microtek.c
650
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
566
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
568
info.vendor = le16_to_cpu(dev->udev->descriptor.idVendor);
drivers/usb/misc/iowarrior.c
570
info.revision = le16_to_cpu(dev->udev->descriptor.bcdDevice);
drivers/usb/misc/iowarrior.c
778
dev->product_id = le16_to_cpu(udev->descriptor.idProduct);
drivers/usb/misc/iowarrior.c
849
usb_string(udev, udev->descriptor.iSerialNumber, dev->chip_serial,
drivers/usb/misc/ldusb.c
667
if ((le16_to_cpu(udev->descriptor.idVendor) == USB_VENDOR_ID_LD) &&
drivers/usb/misc/ldusb.c
668
((le16_to_cpu(udev->descriptor.idProduct) == USB_DEVICE_ID_LD_CASSY) ||
drivers/usb/misc/ldusb.c
669
(le16_to_cpu(udev->descriptor.idProduct) == USB_DEVICE_ID_LD_COM3LAB)) &&
drivers/usb/misc/ldusb.c
670
(le16_to_cpu(udev->descriptor.bcdDevice) <= 0x103)) {
drivers/usb/misc/ldusb.c
707
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
52
if (le16_to_cpu(dev->descriptor.idVendor) == 0x18ec &&
drivers/usb/serial/ark3116.c
53
le16_to_cpu(dev->descriptor.idProduct) == 0x3118)
drivers/usb/serial/belkin_sa.c
125
(le16_to_cpu(dev->descriptor.bcdDevice) <= 0x0206) ? 1 : 0;
drivers/usb/serial/belkin_sa.c
127
le16_to_cpu(dev->descriptor.bcdDevice),
drivers/usb/serial/cypress_m8.c
226
return ((le16_to_cpu(dev->descriptor.idVendor) == VENDOR_ID_FRWD) &&
drivers/usb/serial/cypress_m8.c
227
(le16_to_cpu(dev->descriptor.idProduct) == PRODUCT_ID_CYPHIDCOM_FRWD));
drivers/usb/serial/cypress_m8.c
522
if (serial->dev->descriptor.idProduct !=
drivers/usb/serial/ftdi_sio.c
1499
version = le16_to_cpu(udev->descriptor.bcdDevice);
drivers/usb/serial/ftdi_sio.c
1516
if (udev->descriptor.iSerialNumber == 0 &&
drivers/usb/serial/io_edgeport.c
2714
static const __u32 descriptor[3] = { EDGE_COMPATIBILITY_MASK0,
drivers/usb/serial/io_edgeport.c
2730
i = usb_string(dev, dev->descriptor.iManufacturer,
drivers/usb/serial/io_edgeport.c
2735
usb_string(dev, dev->descriptor.iProduct,
drivers/usb/serial/io_edgeport.c
2743
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
1403
if (le16_to_cpu(serial->serial->dev->descriptor.idVendor)
drivers/usb/serial/io_ti.c
1406
le16_to_cpu(serial->serial->dev->descriptor.idVendor));
drivers/usb/serial/io_ti.c
2533
edge_serial->serial->dev->descriptor.idProduct);
drivers/usb/serial/keyspan.c
1610
le16_to_cpu(serial->dev->descriptor.bcdDevice),
drivers/usb/serial/keyspan.c
1611
le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/keyspan.c
1613
if ((le16_to_cpu(serial->dev->descriptor.bcdDevice) & 0x8000)
drivers/usb/serial/keyspan.c
1620
switch (le16_to_cpu(serial->dev->descriptor.idProduct)) {
drivers/usb/serial/keyspan.c
1671
le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/keyspan.c
2785
le16_to_cpu(serial->dev->descriptor.idProduct))
drivers/usb/serial/keyspan.c
2789
__func__, le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/keyspan_pda.c
638
unsigned int vid = le16_to_cpu(serial->dev->descriptor.idVendor);
drivers/usb/serial/kobil_sct.c
137
priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mct_u232.c
122
if (le16_to_cpu(serial->dev->descriptor.idProduct) == MCT_U232_SITECOM_PID
drivers/usb/serial/mct_u232.c
123
|| le16_to_cpu(serial->dev->descriptor.idProduct) == MCT_U232_BELKIN_F5U109_PID) {
drivers/usb/serial/mct_u232.c
393
pid = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/metro-usb.c
57
u16 product_id = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mos7720.c
1636
product = le16_to_cpu(serial->dev->descriptor.idProduct);
drivers/usb/serial/mos7720.c
1671
if (le16_to_cpu(serial->dev->descriptor.idProduct)
drivers/usb/serial/mos7720.c
824
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
403
struct usb_device_descriptor *desc = &serial->dev->descriptor;
drivers/usb/serial/quatech2.c
242
if (d.product_id == le16_to_cpu(serial->dev->descriptor.idProduct))
drivers/usb/serial/safe_serial.c
262
if (serial->dev->descriptor.bDeviceClass != CDC_DEVICE_CLASS)
drivers/usb/serial/ti_usb_3410_5052.c
1580
if (le16_to_cpu(dev->descriptor.idVendor) == MXU1_VENDOR_ID) {
drivers/usb/serial/ti_usb_3410_5052.c
1584
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/serial/ti_usb_3410_5052.c
1592
le16_to_cpu(dev->descriptor.idVendor),
drivers/usb/serial/ti_usb_3410_5052.c
1593
le16_to_cpu(dev->descriptor.idProduct));
drivers/usb/serial/ti_usb_3410_5052.c
1598
if (le16_to_cpu(dev->descriptor.idVendor) == MTS_VENDOR_ID) {
drivers/usb/serial/ti_usb_3410_5052.c
1599
switch (le16_to_cpu(dev->descriptor.idProduct)) {
drivers/usb/serial/ti_usb_3410_5052.c
516
__func__, le16_to_cpu(dev->descriptor.idProduct),
drivers/usb/serial/ti_usb_3410_5052.c
517
dev->descriptor.bNumConfigurations,
drivers/usb/serial/ti_usb_3410_5052.c
534
vid = le16_to_cpu(dev->descriptor.idVendor);
drivers/usb/serial/ti_usb_3410_5052.c
535
pid = le16_to_cpu(dev->descriptor.idProduct);
drivers/usb/serial/ti_usb_3410_5052.c
549
if (dev->descriptor.bNumConfigurations == 1 && num_endpoints == 1) {
drivers/usb/serial/usb-serial.c
564
le16_to_cpu(serial->dev->descriptor.idVendor),
drivers/usb/serial/usb-serial.c
565
le16_to_cpu(serial->dev->descriptor.idProduct));
drivers/usb/serial/visor.c
441
serial->dev->descriptor.bDeviceClass == USB_CLASS_COMM &&
drivers/usb/serial/visor.c
442
serial->dev->descriptor.bDeviceSubClass ==
drivers/usb/serial/visor.c
463
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
292
memcmp(mk->mk_spec.u.descriptor,
fs/crypto/keyring.c
293
mk_spec->u.descriptor,
fs/crypto/keysetup_v1.c
41
const u8 descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE],
fs/crypto/keysetup_v1.c
51
FSCRYPT_KEY_DESCRIPTOR_SIZE, descriptor);
fs/crypto/policy.c
44
memcpy(key_spec->u.descriptor, policy->v1.master_key_descriptor,
fs/jbd2/commit.c
381
struct buffer_head *descriptor;
fs/jbd2/commit.c
601
descriptor = NULL;
fs/jbd2/commit.c
631
if (!descriptor) {
fs/jbd2/commit.c
636
descriptor = jbd2_journal_get_descriptor_buffer(
fs/jbd2/commit.c
639
if (!descriptor) {
fs/jbd2/commit.c
645
(unsigned long long)descriptor->b_blocknr,
fs/jbd2/commit.c
646
descriptor->b_data);
fs/jbd2/commit.c
647
tagp = &descriptor->b_data[sizeof(journal_header_t)];
fs/jbd2/commit.c
648
space_left = descriptor->b_size -
fs/jbd2/commit.c
651
set_buffer_jwrite(descriptor);
fs/jbd2/commit.c
652
set_buffer_dirty(descriptor);
fs/jbd2/commit.c
653
wbuf[bufs++] = descriptor;
fs/jbd2/commit.c
657
BUFFER_TRACE(descriptor, "ph3: file as descriptor");
fs/jbd2/commit.c
658
jbd2_file_log_bh(&log_bufs, descriptor);
fs/jbd2/commit.c
733
if (descriptor)
fs/jbd2/commit.c
735
descriptor);
fs/jbd2/commit.c
759
descriptor = NULL;
fs/jbd2/revoke.c
536
struct buffer_head *descriptor;
fs/jbd2/revoke.c
542
descriptor = NULL;
fs/jbd2/revoke.c
557
&descriptor, &offset, record);
fs/jbd2/revoke.c
563
if (descriptor)
fs/jbd2/revoke.c
564
flush_descriptor(journal, descriptor, offset);
fs/jbd2/revoke.c
581
struct buffer_head *descriptor;
fs/jbd2/revoke.c
591
descriptor = *descriptorp;
fs/jbd2/revoke.c
604
if (descriptor) {
fs/jbd2/revoke.c
606
flush_descriptor(journal, descriptor, offset);
fs/jbd2/revoke.c
607
descriptor = NULL;
fs/jbd2/revoke.c
611
if (!descriptor) {
fs/jbd2/revoke.c
612
descriptor = jbd2_journal_get_descriptor_buffer(transaction,
fs/jbd2/revoke.c
614
if (!descriptor)
fs/jbd2/revoke.c
618
BUFFER_TRACE(descriptor, "file in log_bufs");
fs/jbd2/revoke.c
619
jbd2_file_log_bh(log_bufs, descriptor);
fs/jbd2/revoke.c
622
*descriptorp = descriptor;
fs/jbd2/revoke.c
626
* ((__be64 *)(&descriptor->b_data[offset])) =
fs/jbd2/revoke.c
629
* ((__be32 *)(&descriptor->b_data[offset])) =
fs/jbd2/revoke.c
644
struct buffer_head *descriptor,
fs/jbd2/revoke.c
652
header = (jbd2_journal_revoke_header_t *)descriptor->b_data;
fs/jbd2/revoke.c
654
jbd2_descriptor_block_csum_set(journal, descriptor);
fs/jbd2/revoke.c
656
set_buffer_jwrite(descriptor);
fs/jbd2/revoke.c
657
BUFFER_TRACE(descriptor, "write");
fs/jbd2/revoke.c
658
set_buffer_dirty(descriptor);
fs/jbd2/revoke.c
659
write_dirty_buffer(descriptor, JBD2_JOURNAL_REQ_FLAGS);
include/acpi/cppc_acpi.h
54
u8 descriptor;
include/acpi/processor.h
110
u8 descriptor;
include/acpi/processor.h
151
u8 descriptor;
include/acpi/processor.h
57
u8 descriptor;
include/cxl/event.h
30
u8 descriptor;
include/linux/acpi.h
1279
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
315
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
include/linux/net.h
316
if (DYNAMIC_DEBUG_BRANCH(descriptor) && \
include/linux/net.h
318
__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
682
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
123
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
include/rdma/ib_verbs.h
124
if (DYNAMIC_DEBUG_BRANCH(descriptor) && __ratelimit(&_rs)) \
include/rdma/ib_verbs.h
125
__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
6949
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
mm/page_alloc.c
6951
if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
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
41
.descriptor[0].max_ch = 2,
sound/soc/qcom/qdsp6/q6apm-dai.c
42
.descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
sound/soc/qcom/qdsp6/q6apm-dai.c
45
.descriptor[0].num_sample_rates = 13,
sound/soc/qcom/qdsp6/q6apm-dai.c
46
.descriptor[0].bit_rate[0] = 320,
sound/soc/qcom/qdsp6/q6apm-dai.c
47
.descriptor[0].bit_rate[1] = 128,
sound/soc/qcom/qdsp6/q6apm-dai.c
48
.descriptor[0].num_bitrates = 2,
sound/soc/qcom/qdsp6/q6apm-dai.c
49
.descriptor[0].profiles = 0,
sound/soc/qcom/qdsp6/q6apm-dai.c
50
.descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO,
sound/soc/qcom/qdsp6/q6apm-dai.c
51
.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
390
.descriptor[0].max_ch = 8,
sound/soc/uniphier/aio-compress.c
391
.descriptor[0].num_sample_rates = 0,
sound/soc/uniphier/aio-compress.c
392
.descriptor[0].num_bitrates = 0,
sound/soc/uniphier/aio-compress.c
393
.descriptor[0].profiles = SND_AUDIOPROFILE_IEC61937_SPDIF,
sound/soc/uniphier/aio-compress.c
394
.descriptor[0].modes = SND_AUDIOMODE_IEC_AC3 |
sound/soc/uniphier/aio-compress.c
398
.descriptor[0].formats = 0,
sound/usb/caiaq/device.c
439
cdev->chip.usb_id = USB_ID(le16_to_cpu(usb_dev->descriptor.idVendor),
sound/usb/caiaq/device.c
440
le16_to_cpu(usb_dev->descriptor.idProduct));
sound/usb/caiaq/device.c
495
usb_string(usb_dev, usb_dev->descriptor.iManufacturer,
sound/usb/caiaq/device.c
498
usb_string(usb_dev, usb_dev->descriptor.iProduct,
sound/usb/card.c
932
id = USB_ID(le16_to_cpu(dev->descriptor.idVendor),
sound/usb/card.c
933
le16_to_cpu(dev->descriptor.idProduct));
sound/usb/line6/driver.c
751
if (usbdev->descriptor.bNumConfigurations != 1)
sound/usb/midi.c
2531
usb_id = USB_ID(le16_to_cpu(umidi->dev->descriptor.idVendor),
sound/usb/midi.c
2532
le16_to_cpu(umidi->dev->descriptor.idProduct));
sound/usb/midi2.c
1058
else if (!*ump->info.name && dev->descriptor.iProduct)
sound/usb/midi2.c
1059
fill_ump_ep_name(ump, dev, dev->descriptor.iProduct);
sound/usb/quirks.c
1293
if (new_device_descriptor->bNumConfigurations > dev->descriptor.bNumConfigurations)
sound/usb/quirks.c
1297
memcpy(&dev->descriptor, new_device_descriptor, sizeof(dev->descriptor));
sound/usb/quirks.c
2047
switch (le16_to_cpu(chip->dev->descriptor.bcdDevice)) {
sound/usb/quirks.c
579
if (new_device_descriptor->bNumConfigurations > dev->descriptor.bNumConfigurations)
sound/usb/quirks.c
583
memcpy(&dev->descriptor, new_device_descriptor, sizeof(dev->descriptor));
sound/usb/quirks.c
958
if (new_device_descriptor->bNumConfigurations > dev->descriptor.bNumConfigurations)
sound/usb/quirks.c
962
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
521
if (le16_to_cpu(dev->descriptor.idProduct) == USB_PID_TASCAM_US144) {
sound/usb/usx2y/us144mkii.c
524
} else if (le16_to_cpu(dev->descriptor.idProduct) == USB_PID_TASCAM_US144MKII) {
sound/usb/usx2y/us144mkii.c
532
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
396
le16_to_cpu(device->descriptor.idVendor),
sound/usb/usx2y/usbusx2y.c
397
le16_to_cpu(device->descriptor.idProduct),
sound/usb/usx2y/usbusx2y.c
453
if (le16_to_cpu(device->descriptor.idVendor) != 0x1604 ||
sound/usb/usx2y/usbusx2y.c
454
(le16_to_cpu(device->descriptor.idProduct) != USB_ID_US122 &&
sound/usb/usx2y/usbusx2y.c
455
le16_to_cpu(device->descriptor.idProduct) != USB_ID_US224 &&
sound/usb/usx2y/usbusx2y.c
456
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
422
.descriptor = CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT,
tools/testing/cxl/test/mem.c
452
.descriptor = CXL_GMER_EVT_DESC_THRESHOLD_EVENT,