| /linux/drivers/usb/core/ |
| H A D | otg_productlist.h | 46 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 D | hub.h | 53 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/include/linux/ |
| H A D | dynamic_debug.h | 142 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 D | sysfs-bus-pci-drivers-xhci_hcd | 32 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/drivers/net/ethernet/google/gve/ |
| H A D | gve_adminq.c | 24 struct gve_device_option *gve_get_next_option(struct gve_device_descriptor *descriptor, in gve_get_next_option() argument 30 descriptor_end = (void *)descriptor + be16_to_cpu(descriptor->total_length); in gve_get_next_option() 258 struct gve_device_descriptor *descriptor, in gve_process_device_options() argument 270 const int num_options = be16_to_cpu(descriptor->num_device_options); in gve_process_device_options() 275 dev_opt = (void *)(descriptor + 1); in gve_process_device_options() 279 next_opt = gve_get_next_option(descriptor, dev_opt); in gve_process_device_options() 286 gve_parse_device_option(priv, descriptor, dev_opt, in gve_process_device_options() 1034 struct gve_device_descriptor *descriptor; in gve_adminq_describe_device() local 1041 descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, in gve_adminq_describe_device() 1043 if (!descriptor) in gve_adminq_describe_device() [all …]
|
| /linux/drivers/usb/storage/ |
| H A D | uas-detect.h | 98 if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c && in uas_use_uas_driver() 99 (le16_to_cpu(udev->descriptor.idProduct) == 0x5106 || in uas_use_uas_driver() 100 le16_to_cpu(udev->descriptor.idProduct) == 0x55aa)) { in uas_use_uas_driver() 116 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2) in uas_use_uas_driver() 126 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bda && in uas_use_uas_driver() 127 le16_to_cpu(udev->descriptor.idProduct) == 0x9210 && in uas_use_uas_driver()
|
| H A D | usual-tables.c | 83 vid = le16_to_cpu(udev->descriptor.idVendor); in usb_usual_ignore_device() 84 pid = le16_to_cpu(udev->descriptor.idProduct); in usb_usual_ignore_device() 85 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
|
| /linux/drivers/media/usb/dvb-usb/ |
| H A D | dibusb-mc-common.c | 86 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/drivers/usb/misc/ |
| H A D | lvstest.c | 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() 284 kfree(descriptor); in get_dev_desc_store() 332 struct usb_hub_descriptor *descriptor = &lvs->descriptor; in lvs_rh_work() local 338 for (i = 1; i <= descriptor->bNbrPorts; i++) { in lvs_rh_work() 410 if (hdev->descriptor.bDeviceProtocol != USB_HUB_PR_SS || hdev->parent) { in lvs_rh_probe() 425 USB_DT_SS_HUB << 8, 0, &lvs->descriptor, in lvs_rh_probe()
|
| /linux/Documentation/usb/ |
| H A D | functionfs-desc.rst | 11 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 D | vfio.rst | 26 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/userspace-api/media/mediactl/ |
| H A D | request-func-close.rst | 13 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 D | request-func-poll.rst | 13 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 D | media-func-close.rst | 28 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.
|
| H A D | media-ioc-request-alloc.rst | 26 File descriptor returned by :c:func:`open()`. 36 ``errno`` is set to ``ENOTTY``. A request is accessed through a file descriptor 39 If the request was successfully allocated, then the request file descriptor 49 Finally, the file descriptor can be :ref:`polled <request-func-poll>` to wait
|
| /linux/include/linux/usb/ |
| H A D | input.h | 17 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/filesystems/ext4/ |
| H A D | group_descr.rst | 10 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/sound/soc/sprd/ |
| H A D | sprd-pcm-compress.c | 631 codec->descriptor[0].max_ch = 2; in sprd_platform_compr_get_codec_caps() 632 codec->descriptor[0].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps() 633 codec->descriptor[0].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps() 634 codec->descriptor[0].num_bitrates = 2; in sprd_platform_compr_get_codec_caps() 635 codec->descriptor[0].profiles = 0; in sprd_platform_compr_get_codec_caps() 636 codec->descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO; in sprd_platform_compr_get_codec_caps() 637 codec->descriptor[0].formats = 0; in sprd_platform_compr_get_codec_caps() 642 codec->descriptor[1].max_ch = 2; in sprd_platform_compr_get_codec_caps() 643 codec->descriptor[1].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps() 644 codec->descriptor[1].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps() [all …]
|
| /linux/Documentation/security/ |
| H A D | IMA-templates.rst | 25 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/Documentation/userspace-api/media/cec/ |
| H A D | cec-func-close.rst | 28 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.
|
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | client.rst | 23 - 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/security/tpm/ |
| H A D | tpm_vtpm_proxy.rst | 25 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/devicetree/bindings/soc/ti/ |
| H A D | keystone-navigator-qmss.txt | 6 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/userspace-api/media/v4l/ |
| H A D | func-close.rst | 28 File descriptor returned by :c:func:`open()`. 34 associated with the file descriptor are freed. However data format 45 ``fd`` is not a valid open file descriptor.
|
| /linux/Documentation/filesystems/ |
| H A D | autofs-mount-control.rst | 13 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 …]
|