| /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/drivers/greybus/ |
| H A D | manifest.c | 45 static void release_manifest_descriptor(struct manifest_desc *descriptor) in release_manifest_descriptor() argument 47 list_del(&descriptor->links); in release_manifest_descriptor() 48 kfree(descriptor); in release_manifest_descriptor() 53 struct manifest_desc *descriptor; in release_manifest_descriptors() local 56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors() 57 release_manifest_descriptor(descriptor); in release_manifest_descriptors() 78 struct manifest_desc *descriptor; in get_next_bundle_desc() local 81 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in get_next_bundle_desc() 82 if (descriptor->type == GREYBUS_TYPE_BUNDLE) in get_next_bundle_desc() 83 return descriptor; in get_next_bundle_desc() [all …]
|
| /linux/fs/jbd2/ |
| H A D | revoke.c | 534 struct buffer_head *descriptor; in jbd2_journal_write_revoke_records() local 540 descriptor = NULL; in jbd2_journal_write_revoke_records() 555 &descriptor, &offset, record); in jbd2_journal_write_revoke_records() 561 if (descriptor) in jbd2_journal_write_revoke_records() 562 flush_descriptor(journal, descriptor, offset); in jbd2_journal_write_revoke_records() 579 struct buffer_head *descriptor; in write_one_revoke_record() local 589 descriptor = *descriptorp; in write_one_revoke_record() 602 if (descriptor) { in write_one_revoke_record() 604 flush_descriptor(journal, descriptor, offset); in write_one_revoke_record() 605 descriptor = NULL; in write_one_revoke_record() [all …]
|
| /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/drivers/acpi/acpica/ |
| H A D | uttrack.c | 543 union acpi_descriptor *descriptor; in acpi_ut_dump_allocations() local 569 descriptor = in acpi_ut_dump_allocations() 577 descriptor, element->size, in acpi_ut_dump_allocations() 582 if (ACPI_GET_DESCRIPTOR_TYPE(descriptor) != in acpi_ut_dump_allocations() 586 descriptor, element->size, in acpi_ut_dump_allocations() 589 (descriptor)); in acpi_ut_dump_allocations() 596 descriptor, in acpi_ut_dump_allocations() 608 (descriptor)) { in acpi_ut_dump_allocations() 654 (descriptor->object.common. in acpi_ut_dump_allocations() 656 descriptor->object.common. in acpi_ut_dump_allocations() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-ufs | 20 device descriptor parameters. The full information about 21 the descriptor could be found at UFS specifications 2.1. 30 device descriptor parameters. The full information about 31 the descriptor could be found at UFS specifications 2.1. 40 the UFS device descriptor parameters. The full information 41 about the descriptor could be found at UFS specifications 2.1. 50 This is one of the UFS device descriptor parameters. 51 The full information about the descriptor could be found 61 the UFS device descriptor parameters. The full information 62 about the descriptor could be found at UFS specifications 2.1. [all …]
|
| 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
|
| /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()
|
| /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(sizeof(*descriptor), GFP_KERNEL); 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/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/arch/x86/math-emu/ |
| H A D | get_address.c | 140 struct desc_struct descriptor; in pm_address() local 162 descriptor = FPU_get_ldt_descriptor(addr->selector); in pm_address() 163 base_address = seg_get_base(&descriptor); in pm_address() 165 limit = seg_get_limit(&descriptor) + 1; in pm_address() 166 limit *= seg_get_granularity(&descriptor); in pm_address() 171 if (seg_expands_down(&descriptor)) { in pm_address() 172 if (descriptor.g) { in pm_address() 187 if (seg_execute_only(&descriptor) || in pm_address() 188 (!seg_writable(&descriptor) && (FPU_modrm & FPU_WRITE_BIT))) { in pm_address()
|
| /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.
|
| /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/driver-api/dmaengine/ |
| H A D | client.rst | 23 - Get a descriptor for transaction 76 3. Get a descriptor for transaction 97 A non-NULL return of this transfer API represents a "descriptor" for 140 Once a descriptor has been obtained, the callback information can be 141 added and the descriptor must then be submitted. Some DMA engine 167 **Optional: per descriptor metadata** 174 attached to the descriptor. 189 after their transfer completion callback has run for the descriptor. 216 1. prepare the descriptor (dmaengine_prep_*) 219 descriptor [all …]
|
| /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 30 block group descriptor was only 32 bytes long and therefore ends at 32 block group descriptor expands to at least the 64 bytes described below; 37 descriptor structure. If metadata_csum is set, then the block group 39 number, and the group descriptor structure. Both block and inode bitmap 43 The block group descriptor is laid out in ``struct ext4_group_desc``. 102 - Group descriptor checksum; crc16(sb_uuid+group_num+bg_desc) if the
|
| /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/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/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/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 …]
|
| /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.
|