Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/linux/drivers/usb/core/
H A Dotg_productlist.h46 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
47 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted()
51 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
52 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) in is_targeted()
60 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted()
64 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted()
70 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
74 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
78 (id->bDeviceClass != dev->descriptor.bDeviceClass)) in is_targeted()
82 (id->bDeviceSubClass != dev->descriptor.bDeviceSubClass)) in is_targeted()
[all …]
H A Dhub.h53 struct usb_hub_descriptor *descriptor; /* class descriptor */ member
149 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
155 return hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS; in hub_is_superspeed()
160 return (hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS && in hub_is_superspeedplus()
161 le16_to_cpu(hdev->descriptor.bcdUSB) >= 0x0310 && in hub_is_superspeedplus()
167 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()
/linux/tools/objtool/tests/generic/
H A Dtest-checksum-data.sh45 check WHICH_FUNC descriptor
46 check WHICH_STR descriptor
48 check STR_CONTENT descriptor
50 check WHICH_SLOT descriptor
53 check WHICH_PRIV descriptor
59 assert_checksum_matches descriptor
/linux/include/linux/
H A Ddynamic_debug.h142 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
147 void __dynamic_dev_dbg(struct _ddebug *descriptor, const struct device *dev,
153 void __dynamic_netdev_dbg(struct _ddebug *descriptor,
160 void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
194 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument
195 static_branch_likely(&descriptor.key.dd_key_true)
199 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument
200 static_branch_unlikely(&descriptor.key.dd_key_false)
208 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument
209 likely(descriptor.flags & _DPRINTK_FLAGS_PRINT)
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-drivers-xhci_hcd32 presented in the USB device descriptor by this xhci debug
35 disabled state to prevent USB device descriptor change while
45 presented in the USB device descriptor by this xhci debug
48 disabled state to prevent USB device descriptor change while
57 presented in the USB device descriptor by this xhci debug
60 disabled state to prevent USB device descriptor change while
70 presented in the USB Interface descriptor by the xhci debug
73 disabled state to prevent USB descriptor change while
94 string descriptor presented by the debug device when a host
95 requests a string descriptor with iSerialNumber index.
[all …]
/linux/tools/objtool/tests/generic/fixtures/
H A Dchecksum_data.c89 const struct desc descriptor = { variable
114 return descriptor.fn(x) + plain + sized[0] + (int)descriptor.str[0] + in target()
115 *descriptor.slot + *descriptor.priv; in target()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c26 struct gve_device_option *gve_get_next_option(struct gve_device_descriptor *descriptor, in gve_get_next_option()
32 descriptor_end = (void *)descriptor + be16_to_cpu(descriptor->total_length); in gve_get_next_option()
262 struct gve_device_descriptor *descriptor, in gve_process_device_options()
274 const int num_options = be16_to_cpu(descriptor->num_device_options); in gve_process_device_options()
278 /* The options struct directly follows the device descriptor. */ in gve_process_device_options()
279 dev_opt = (void *)(descriptor + 1); in gve_process_device_options()
283 next_opt = gve_get_next_option(descriptor, dev_opt); in gve_process_device_options()
290 gve_parse_device_option(priv, descriptor, dev_opt, in gve_process_device_options()
1062 struct gve_device_descriptor *descriptor) in gve_adminq_describe_device()
24 gve_get_next_option(struct gve_device_descriptor * descriptor,struct gve_device_option * option) gve_get_next_option() argument
258 gve_process_device_options(struct gve_priv * priv,struct gve_device_descriptor * descriptor,struct gve_device_option_gqi_rda ** dev_op_gqi_rda,struct gve_device_option_gqi_qpl ** dev_op_gqi_qpl,struct gve_device_option_dqo_rda ** dev_op_dqo_rda,struct gve_device_option_jumbo_frames ** dev_op_jumbo_frames,struct gve_device_option_dqo_qpl ** dev_op_dqo_qpl,struct gve_device_option_buffer_sizes ** dev_op_buffer_sizes,struct gve_device_option_flow_steering ** dev_op_flow_steering,struct gve_device_option_rss_config ** dev_op_rss_config,struct gve_device_option_nic_timestamp ** dev_op_nic_timestamp,struct gve_device_option_modify_ring ** dev_op_modify_ring) gve_process_device_options() argument
1034 struct gve_device_descriptor *descriptor; gve_adminq_describe_device() local
1434 gve_adminq_process_flow_rules_query(struct gve_priv * priv,u16 query_opcode,struct gve_query_flow_rules_descriptor * descriptor) gve_adminq_process_flow_rules_query() argument
1478 struct gve_query_flow_rules_descriptor *descriptor; gve_adminq_query_flow_rules() local
1507 gve_adminq_process_rss_query(struct gve_priv * priv,struct gve_query_rss_descriptor * descriptor,struct ethtool_rxfh_param * rxfh) gve_adminq_process_rss_query() argument
1546 struct gve_query_rss_descriptor *descriptor; gve_adminq_query_rss_config() local
[all...]
/linux/drivers/usb/storage/
H A Duas-detect.h100 if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c && in uas_use_uas_driver()
101 (le16_to_cpu(udev->descriptor.idProduct) == 0x5106 || in uas_use_uas_driver()
102 le16_to_cpu(udev->descriptor.idProduct) == 0x55aa)) { in uas_use_uas_driver()
122 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2) in uas_use_uas_driver()
132 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bda && in uas_use_uas_driver()
133 le16_to_cpu(udev->descriptor.idProduct) == 0x9210 && in uas_use_uas_driver()
/linux/drivers/usb/misc/
H A Dlvstest.c30 /* class descriptor */
31 struct usb_hub_descriptor descriptor; member
260 struct usb_device_descriptor *descriptor; in get_dev_desc_store() local
263 descriptor = kmalloc_obj(*descriptor); in get_dev_desc_store()
264 if (!descriptor) in get_dev_desc_store()
276 0, descriptor, sizeof(*descriptor), in get_dev_desc_store()
279 dev_err(dev, "can't read device descriptor %d\n", ret); in get_dev_desc_store()
284 kfree(descriptor); in get_dev_desc_store()
332 struct usb_hub_descriptor *descriptor = &lvs->descriptor; lvs_rh_work() local
[all...]
/linux/drivers/media/usb/dvb-usb/
H A Ddibusb-mc-common.c86 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && in dibusb_dib3000mc_frontend_attach()
87 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == in dibusb_dib3000mc_frontend_attach()
125 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && in dibusb_dib3000mc_tuner_attach()
126 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_LITEON_DVB_T_WARM) { in dibusb_dib3000mc_tuner_attach()
138 } else if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_DIBCOM && in dibusb_dib3000mc_tuner_attach()
139 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_DIBCOM_MOD3001_WARM) { in dibusb_dib3000mc_tuner_attach()
/linux/Documentation/usb/
H A Dfunctionfs-desc.rst11 following the descriptor header.
20 most recent interface descriptor determines what type of class-specific
27 most recent interface descriptor. The following are some of the
34 is USB_SUBCLASS_DFU, a DFU functional descriptor can be provided.
35 The DFU functional descriptor is a described in the USB specification for
/linux/Documentation/virt/kvm/devices/
H A Dvfio.rst26 kvm_device_attr.addr points to an int32_t file descriptor for the
32 kvm_device_attr.addr points to an int32_t file descriptor for the
51 - @groupfd is a file descriptor for a VFIO group;
52 - @tablefd is a file descriptor for a TCE table allocated via
56 device file descriptor via VFIO_GROUP_GET_DEVICE_FD in order to support
58 callback. It is the same for device file descriptor via character device
/linux/Documentation/filesystems/ext4/
H A Dgroup_descr.rst10 the block group descriptor table unless the sparse_super feature flag
13 Notice how the group descriptor records the location of both bitmaps and
16 and the group descriptor table. The flex_bg mechanism uses this
23 however, the superblock and a single block group descriptor block is
29 block group descriptor was only 32 bytes long and therefore ends at
31 block group descriptor expands to at least the 64 bytes described below;
36 descriptor structure. If metadata_csum is set, then the block group
38 number, and the group descriptor structure. Both block and inode bitmap
42 The block group descriptor is laid out in ``struct ext4_group_desc``.
101 - Group descriptor checksum; crc16(sb_uuid+group_num+bg_desc) if the
/linux/Documentation/userspace-api/media/mediactl/
H A Drequest-func-close.rst13 request-close - Close a request file descriptor
28 File descriptor returned by :ref:`MEDIA_IOC_REQUEST_ALLOC`.
33 Closes the request file descriptor. Resources associated with the request
45 ``fd`` is not a valid open file descriptor.
H A Drequest-func-poll.rst13 request-poll - Wait for some event on a file descriptor
28 List of file descriptor events to be watched
31 Number of file descriptor events at the \*ufds array
45 is non-zero). Request file descriptor set the ``POLLPRI`` flag in ``revents``
63 descriptor.
H A Dmedia-func-close.rst28 File descriptor returned by :c:func:`open()`.
33 Closes the media device. Resources associated with the file descriptor
43 ``fd`` is not a valid open file descriptor.
/linux/sound/soc/sprd/
H A Dsprd-pcm-compress.c645 codec->descriptor[0].max_ch = 2; in sprd_platform_compr_get_codec_caps()
646 codec->descriptor[0].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps()
647 codec->descriptor[0].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps()
648 codec->descriptor[0].num_bitrates = 2; in sprd_platform_compr_get_codec_caps()
649 codec->descriptor[0].profiles = 0; in sprd_platform_compr_get_codec_caps()
650 codec->descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO; in sprd_platform_compr_get_codec_caps()
651 codec->descriptor[0].formats = 0; in sprd_platform_compr_get_codec_caps()
656 codec->descriptor[1].max_ch = 2; in sprd_platform_compr_get_codec_caps()
657 codec->descriptor[1].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps()
658 codec->descriptor[ in sprd_platform_compr_get_codec_caps()
[all...]
/linux/include/linux/usb/
H A Dinput.h17 id->vendor = le16_to_cpu(dev->descriptor.idVendor); in usb_to_input_id()
18 id->product = le16_to_cpu(dev->descriptor.idProduct); in usb_to_input_id()
19 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
/linux/Documentation/security/
H A DIMA-templates.rst25 definition of two new data structures: a template descriptor, to determine
32 measurement entries. Defining a new template descriptor requires
35 parameter. At boot time, IMA initializes the chosen template descriptor
42 descriptor chosen through the kernel configuration or through the newly
47 fields associated to the chosen template descriptor and store the result
52 the template descriptor used to produce that entry and call the show()
103 To specify the template descriptor to be used to generate measurement entries,
106 - select a template descriptor among those supported in the kernel
108 - specify a template descriptor name from the kernel command line through
110 - register a new template descriptor with custom format through the kernel
/linux/fs/jbd2/
H A Dcommit.c381 struct buffer_head *descriptor; in jbd2_journal_commit_transaction() local
601 descriptor = NULL; in jbd2_journal_commit_transaction()
620 * any descriptor buffers which may have been in jbd2_journal_commit_transaction()
628 /* Make sure we have a descriptor block in which to in jbd2_journal_commit_transaction()
631 if (!descriptor) { in jbd2_journal_commit_transaction()
634 jbd2_debug(4, "JBD2: get descriptor\n"); in jbd2_journal_commit_transaction()
636 descriptor = jbd2_journal_get_descriptor_buffer( in jbd2_journal_commit_transaction()
639 if (!descriptor) { in jbd2_journal_commit_transaction()
645 (unsigned long long)descriptor->b_blocknr, in jbd2_journal_commit_transaction()
646 descriptor in jbd2_journal_commit_transaction()
[all...]
/linux/Documentation/driver-api/dmaengine/
H A Dclient.rst23 - Get a descriptor for transaction
76 3. Get a descriptor for transaction
101 A non-NULL return of this transfer API represents a "descriptor" for
149 Once a descriptor has been obtained, the callback information can be
150 added and the descriptor must then be submitted. Some DMA engine
176 **Optional: per descriptor metadata**
183 attached to the descriptor.
198 after their transfer completion callback has run for the descriptor.
225 1. prepare the descriptor (dmaengine_prep_*)
228 descriptor
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-qmss.txt6 processors(PDSP), linking RAM, descriptor pools and infrastructure
10 reading descriptor address to a particular memory mapped location. The PDSPs
13 descriptor RAM. Descriptor RAM is configurable as internal or external memory.
15 queue pool management (allocation, push, pop and notify) and descriptor
53 as free descriptor queues or the
72 the buffer for descriptor information. This firmware
81 entries : Size of the accumulator descriptor list
91 - descriptor-regions : child node describing the memory regions for keystone
97 <"# of descriptors" "descriptor size">.
99 descriptor in the region.
[all …]
/linux/Documentation/security/tpm/
H A Dtpm_vtpm_proxy.rst25 descriptor. The former is moved into the container by creating a character
26 device with the appropriate major and minor numbers while the file descriptor
29 commands via the file descriptor and use it for sending back responses.
35 The result of the ioctl are the file descriptor for the 'server side'
41 to the TPM. All commands from the driver can be read from the file descriptor
/linux/Documentation/filesystems/
H A Dautofs-mount-control.rst13 During normal operation autofs uses a file descriptor opened on the
15 operations. Using a file descriptor gives ioctl operations access to
21 file descriptor for these operations if we don't already have one open.
107 The current autofs implementation uses an ioctl file descriptor opened
109 descriptor are accounted for in checks made to determine if a mount is
202 The ioctlfd field is a mount point file descriptor of an autofs mount
206 mount point file descriptor, and when requesting the uid and gid of the
230 not a valid descriptor or doesn't correspond to an autofs mount point
231 an error of -EBADF, -ENOTTY or -EINVAL (not an autofs descriptor) is
261 with the ioctlfd field set to a valid autofs mount point descriptor
[all …]
/linux/Documentation/userspace-api/media/cec/
H A Dcec-func-close.rst28 File descriptor returned by :c:func:`open()`.
33 Closes the cec device. Resources associated with the file descriptor are
43 ``fd`` is not a valid open file descriptor.

12345678910>>...23