/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 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/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh_internal.h | 215 * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 220 #define HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor) \ argument 221 (0x00005b18 + (descriptor) * 0x20) 254 * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 259 #define HW_ATL_RDM_DESCDEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument 273 * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 278 #define HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor) \ argument 279 (0x00005b18 + (descriptor) * 0x20) 293 * parameter: descriptor { 298 HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor) global() argument 318 HW_ATL_RDM_DESCDHD_ADR(descriptor) global() argument 335 HW_ATL_RDM_DESCDLEN_ADR(descriptor) global() argument 354 HW_ATL_RDM_DESCDRESET_ADR(descriptor) global() argument 509 HW_ATL_RX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor) global() argument 517 HW_ATL_RX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor) global() argument 525 HW_ATL_RX_DMA_DESC_STAT_ADR(descriptor) global() argument 533 HW_ATL_RX_DMA_DESC_TAIL_PTR_ADR(descriptor) global() argument 591 HW_ATL_TX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor) global() argument 599 HW_ATL_TX_DMA_DESC_TAIL_PTR_ADR(descriptor) global() argument 1501 HW_ATL_RPO_DESCDVL_STRIP_ADR(descriptor) global() argument 1667 HW_ATL_TDM_DESCDEN_ADR(descriptor) global() argument 1686 HW_ATL_TDM_DESCDHD_ADR(descriptor) global() argument 1703 HW_ATL_TDM_DESCDLEN_ADR(descriptor) global() argument 1740 HW_ATL_TDM_DESCDWRB_THRESH_ADR(descriptor) global() argument 2001 HW_ATL_TDM_DESC_DEN_ADR(descriptor) global() argument 2020 HW_ATL_TDM_DESC_DHD_ADR(descriptor) global() argument 2037 HW_ATL_TDM_DESC_DLEN_ADR(descriptor) global() argument 2056 HW_ATL_TDM_DESC_DWRB_THRESH_ADR(descriptor) global() argument 2737 HW_ATL_TX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor) global() argument [all...] |
H A D | hw_atl_llh.c | 416 u32 descriptor) in hw_atl_rdm_rx_desc_data_buff_size_set() argument 418 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor), in hw_atl_rdm_rx_desc_data_buff_size_set() 434 u32 descriptor) in hw_atl_rdm_rx_desc_en_set() argument 436 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDEN_ADR(descriptor), in hw_atl_rdm_rx_desc_en_set() 444 u32 descriptor) in hw_atl_rdm_rx_desc_head_buff_size_set() argument 446 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor), in hw_atl_rdm_rx_desc_head_buff_size_set() 454 u32 descriptor) in hw_atl_rdm_rx_desc_head_splitting_set() argument 456 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor), in hw_atl_rdm_rx_desc_head_splitting_set() 462 u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor) in hw_atl_rdm_rx_desc_head_ptr_get() argument 464 return aq_hw_read_reg_bit(aq_hw, HW_ATL_RDM_DESCDHD_ADR(descriptor), in hw_atl_rdm_rx_desc_head_ptr_get() 470 hw_atl_rdm_rx_desc_len_set(struct aq_hw_s * aq_hw,u32 rx_desc_len,u32 descriptor) hw_atl_rdm_rx_desc_len_set() argument 478 hw_atl_rdm_rx_desc_res_set(struct aq_hw_s * aq_hw,u32 rx_desc_res,u32 descriptor) hw_atl_rdm_rx_desc_res_set() argument 546 hw_atl_reg_rx_dma_desc_base_addresslswset(struct aq_hw_s * aq_hw,u32 rx_dma_desc_base_addrlsw,u32 descriptor) hw_atl_reg_rx_dma_desc_base_addresslswset() argument 554 hw_atl_reg_rx_dma_desc_base_addressmswset(struct aq_hw_s * aq_hw,u32 rx_dma_desc_base_addrmsw,u32 descriptor) hw_atl_reg_rx_dma_desc_base_addressmswset() argument 560 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s * aq_hw,u32 descriptor) hw_atl_reg_rx_dma_desc_status_get() argument 567 hw_atl_reg_rx_dma_desc_tail_ptr_set(struct aq_hw_s * aq_hw,u32 rx_dma_desc_tail_ptr,u32 descriptor) hw_atl_reg_rx_dma_desc_tail_ptr_set() argument 616 hw_atl_reg_tx_dma_desc_base_addresslswset(struct aq_hw_s * aq_hw,u32 tx_dma_desc_base_addrlsw,u32 descriptor) hw_atl_reg_tx_dma_desc_base_addresslswset() argument 624 hw_atl_reg_tx_dma_desc_base_addressmswset(struct aq_hw_s * aq_hw,u32 tx_dma_desc_base_addrmsw,u32 descriptor) hw_atl_reg_tx_dma_desc_base_addressmswset() argument 632 hw_atl_reg_tx_dma_desc_tail_ptr_set(struct aq_hw_s * aq_hw,u32 tx_dma_desc_tail_ptr,u32 descriptor) hw_atl_reg_tx_dma_desc_tail_ptr_set() argument 1127 hw_atl_rpo_rx_desc_vlan_stripping_set(struct aq_hw_s * aq_hw,u32 rx_desc_vlan_stripping,u32 descriptor) hw_atl_rpo_rx_desc_vlan_stripping_set() argument 1320 hw_atl_tdm_tx_desc_en_set(struct aq_hw_s * aq_hw,u32 tx_desc_en,u32 descriptor) hw_atl_tdm_tx_desc_en_set() argument 1328 hw_atl_tdm_tx_desc_head_ptr_get(struct aq_hw_s * aq_hw,u32 descriptor) hw_atl_tdm_tx_desc_head_ptr_get() argument 1336 hw_atl_tdm_tx_desc_len_set(struct aq_hw_s * aq_hw,u32 tx_desc_len,u32 descriptor) hw_atl_tdm_tx_desc_len_set() argument 1355 hw_atl_tdm_tx_desc_wr_wb_threshold_set(struct aq_hw_s * aq_hw,u32 tx_desc_wr_wb_threshold,u32 descriptor) hw_atl_tdm_tx_desc_wr_wb_threshold_set() argument [all...] |
H A D | hw_atl_llh.h | 194 /* set rx descriptor data buffer size */ 197 u32 descriptor); 199 /* set rx descriptor dca enable */ 203 /* set rx descriptor enable */ 205 u32 descriptor); 207 /* set rx descriptor header splitting */ 210 u32 descriptor); 212 /* get rx descriptor head pointer */ 213 u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor); 215 /* set rx descriptor lengt [all...] |
/linux/drivers/greybus/ |
H A D | manifest.c | 34 * the interface descriptor). As each is processed we remove it from 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 in get_next_bundle_desc() 102 struct manifest_desc *descriptor; identify_descriptor() local 188 struct manifest_desc *descriptor; gb_string_get() local 457 struct manifest_desc *descriptor; gb_manifest_parse() local [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() 567 * Write out one revoke record. We need to create a new descriptor 579 struct buffer_head *descriptor; in write_one_revoke_record() local 589 descriptor = *descriptorp; in write_one_revoke_record() 601 /* Make sure we have a descriptor with space left for the record */ in write_one_revoke_record() 602 if (descriptor) { in write_one_revoke_record() 642 flush_descriptor(journal_t * journal,struct buffer_head * descriptor,int offset) flush_descriptor() argument [all...] |
/linux/include/linux/ |
H A D | dynamic_debug.h | 141 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...); 146 void __dynamic_dev_dbg(struct _ddebug *descriptor, const struct device *dev, 152 void __dynamic_netdev_dbg(struct _ddebug *descriptor, 159 void __dynamic_ibdev_dbg(struct _ddebug *descriptor, 187 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument 188 static_branch_likely(&descriptor.key.dd_key_true) 192 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument 193 static_branch_unlikely(&descriptor.key.dd_key_false) 201 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument 202 likely(descriptor 204 DYNAMIC_DEBUG_BRANCH(descriptor) global() argument 305 DYNAMIC_DEBUG_BRANCH(descriptor) global() argument [all...] |
/linux/sound/soc/intel/atom/sst/ |
H A D | sst_drv_interface.c | 374 .descriptor[0].max_ch = 2, 375 .descriptor[0].sample_rates[0] = 48000, 376 .descriptor[0].sample_rates[1] = 44100, 377 .descriptor[0].sample_rates[2] = 32000, 378 .descriptor[0].sample_rates[3] = 16000, 379 .descriptor[0].sample_rates[4] = 8000, 380 .descriptor[0].num_sample_rates = 5, 381 .descriptor[0].bit_rate[0] = 320, 382 .descriptor[0].bit_rate[1] = 192, 383 .descriptor[ [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() 274 /* The options struct directly follows the device descriptor. */ 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() 924 const struct gve_device_descriptor *descriptor) in gve_set_default_desc_cnt() argument 1053 struct gve_device_descriptor *descriptor; gve_adminq_describe_device() local 1468 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 1512 struct gve_query_flow_rules_descriptor *descriptor; gve_adminq_query_flow_rules() local 1541 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 1580 struct gve_query_rss_descriptor *descriptor; gve_adminq_query_rss_config() local [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() 603 /* Validate the descriptor type using Type field and length */ in acpi_ut_dump_allocations() 605 descriptor_type = 0; /* Not a valid descriptor type */ in acpi_ut_dump_allocations() 608 (descriptor)) { in acpi_ut_dump_allocations() [all...] |
/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi-master-gpio.txt | 6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 10 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 11 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 12 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
|
H A D | fsi-master-ast-cf.txt | 10 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 11 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 12 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 13 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 14 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
|
/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 coul [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/media/test-drivers/vidtv/ |
H A D | vidtv_channel.c | 82 s302m->service->descriptor = (struct vidtv_psi_desc *) in vidtv_channel_s302m_init() 87 if (!s302m->service->descriptor) in vidtv_channel_s302m_init() 106 s302m->streams->descriptor = (struct vidtv_psi_desc *) in vidtv_channel_s302m_init() 111 if (!s302m->streams->descriptor) in vidtv_channel_s302m_init() 123 s302m->events->descriptor = (struct vidtv_psi_desc *) in vidtv_channel_s302m_init() 128 if (!s302m->events->descriptor) in vidtv_channel_s302m_init() 188 desc = vidtv_psi_desc_clone(curr->descriptor); in vidtv_channel_eit_event_cat_into_new() 189 vidtv_psi_desc_assign(&tail->descriptor, desc); in vidtv_channel_eit_event_cat_into_new() 236 desc = vidtv_psi_desc_clone(curr->descriptor); in vidtv_channel_sdt_serv_cat_into_new() 239 vidtv_psi_desc_assign(&tail->descriptor, des in vidtv_channel_sdt_serv_cat_into_new() [all...] |
/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 | 30 /* class descriptor */ 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() 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/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/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/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.
|
/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()
|