Home
last modified time | relevance | path

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

12345678910>>...29

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh_internal.h157 #define HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor) \ argument
158 (0x00005b18 + (descriptor) * 0x20)
196 #define HW_ATL_RDM_DESCDEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument
215 #define HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor) \ argument
216 (0x00005b18 + (descriptor) * 0x20)
235 #define HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor) \ argument
236 (0x00005b08 + (descriptor) * 0x20)
255 #define HW_ATL_RDM_DESCDHD_ADR(descriptor) (0x00005b0c + (descriptor) * 0x20) argument
272 #define HW_ATL_RDM_DESCDLEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument
291 #define HW_ATL_RDM_DESCDRESET_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument
[all …]
Dhw_atl_llh.c328 u32 descriptor) in hw_atl_rdm_rx_desc_data_buff_size_set() argument
330 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor), in hw_atl_rdm_rx_desc_data_buff_size_set()
346 u32 descriptor) in hw_atl_rdm_rx_desc_en_set() argument
348 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDEN_ADR(descriptor), in hw_atl_rdm_rx_desc_en_set()
356 u32 descriptor) in hw_atl_rdm_rx_desc_head_buff_size_set() argument
358 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor), in hw_atl_rdm_rx_desc_head_buff_size_set()
366 u32 descriptor) in hw_atl_rdm_rx_desc_head_splitting_set() argument
368 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor), in hw_atl_rdm_rx_desc_head_splitting_set()
374 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
376 return aq_hw_read_reg_bit(aq_hw, HW_ATL_RDM_DESCDHD_ADR(descriptor), in hw_atl_rdm_rx_desc_head_ptr_get()
[all …]
Dhw_atl_llh.h157 u32 descriptor);
165 u32 descriptor);
170 u32 descriptor);
173 u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor);
177 u32 descriptor);
194 u32 descriptor);
198 u32 descriptor);
222 u32 descriptor);
227 u32 descriptor);
230 u32 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor);
[all …]
/Linux-v5.4/drivers/usb/core/
Dotg_whitelist.h50 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
51 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted()
55 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
56 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) in is_targeted()
64 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted()
68 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted()
74 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
78 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
82 (id->bDeviceClass != dev->descriptor.bDeviceClass)) in is_targeted()
86 (id->bDeviceSubClass != dev->descriptor.bDeviceSubClass)) in is_targeted()
[all …]
Dhub.h52 struct usb_hub_descriptor *descriptor; /* class descriptor */ member
130 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
136 return hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS; in hub_is_superspeed()
141 return (hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS && in hub_is_superspeedplus()
142 le16_to_cpu(hdev->descriptor.bcdUSB) >= 0x0310 && in hub_is_superspeedplus()
148 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()
/Linux-v5.4/drivers/greybus/
Dmanifest.c45 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-v5.4/fs/jbd2/
Drevoke.c528 struct buffer_head *descriptor; in jbd2_journal_write_revoke_records() local
534 descriptor = NULL; in jbd2_journal_write_revoke_records()
549 &descriptor, &offset, record); in jbd2_journal_write_revoke_records()
555 if (descriptor) in jbd2_journal_write_revoke_records()
556 flush_descriptor(journal, descriptor, offset); in jbd2_journal_write_revoke_records()
573 struct buffer_head *descriptor; in write_one_revoke_record() local
583 descriptor = *descriptorp; in write_one_revoke_record()
596 if (descriptor) { in write_one_revoke_record()
598 flush_descriptor(journal, descriptor, offset); in write_one_revoke_record()
599 descriptor = NULL; in write_one_revoke_record()
[all …]
Dcommit.c360 struct buffer_head *descriptor; in jbd2_journal_commit_transaction() local
572 descriptor = NULL; in jbd2_journal_commit_transaction()
602 if (!descriptor) { in jbd2_journal_commit_transaction()
607 descriptor = jbd2_journal_get_descriptor_buffer( in jbd2_journal_commit_transaction()
610 if (!descriptor) { in jbd2_journal_commit_transaction()
616 (unsigned long long)descriptor->b_blocknr, in jbd2_journal_commit_transaction()
617 descriptor->b_data); in jbd2_journal_commit_transaction()
618 tagp = &descriptor->b_data[sizeof(journal_header_t)]; in jbd2_journal_commit_transaction()
619 space_left = descriptor->b_size - in jbd2_journal_commit_transaction()
622 set_buffer_jwrite(descriptor); in jbd2_journal_commit_transaction()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-driver-ufs19 device descriptor parameters. The full information about
20 the descriptor could be found at UFS specifications 2.1.
27 device descriptor parameters. The full information about
28 the descriptor could be found at UFS specifications 2.1.
35 the UFS device descriptor parameters. The full information
36 about the descriptor could be found at UFS specifications 2.1.
43 This is one of the UFS device descriptor parameters.
44 The full information about the descriptor could be found
52 the UFS device descriptor parameters. The full information
53 about the descriptor could be found at UFS specifications 2.1.
[all …]
/Linux-v5.4/include/linux/
Ddynamic_debug.h56 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
64 void __dynamic_dev_dbg(struct _ddebug *descriptor, const struct device *dev,
70 void __dynamic_netdev_dbg(struct _ddebug *descriptor,
77 void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
99 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument
100 static_branch_likely(&descriptor.key.dd_key_true)
104 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument
105 static_branch_unlikely(&descriptor.key.dd_key_false)
113 #define DYNAMIC_DEBUG_BRANCH(descriptor) \ argument
114 likely(descriptor.flags & _DPRINTK_FLAGS_PRINT)
[all …]
/Linux-v5.4/sound/soc/intel/atom/sst/
Dsst_drv_interface.c393 .descriptor[0].max_ch = 2,
394 .descriptor[0].sample_rates[0] = 48000,
395 .descriptor[0].sample_rates[1] = 44100,
396 .descriptor[0].sample_rates[2] = 32000,
397 .descriptor[0].sample_rates[3] = 16000,
398 .descriptor[0].sample_rates[4] = 8000,
399 .descriptor[0].num_sample_rates = 5,
400 .descriptor[0].bit_rate[0] = 320,
401 .descriptor[0].bit_rate[1] = 192,
402 .descriptor[0].num_bitrates = 2,
[all …]
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_adminq.c261 struct gve_device_descriptor *descriptor; in gve_adminq_describe_device() local
269 descriptor = dma_alloc_coherent(&priv->pdev->dev, PAGE_SIZE, in gve_adminq_describe_device()
271 if (!descriptor) in gve_adminq_describe_device()
284 priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries); in gve_adminq_describe_device()
291 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_adminq_describe_device()
302 be64_to_cpu(descriptor->max_registered_pages); in gve_adminq_describe_device()
303 mtu = be16_to_cpu(descriptor->mtu); in gve_adminq_describe_device()
311 priv->num_event_counters = be16_to_cpu(descriptor->counters); in gve_adminq_describe_device()
312 ether_addr_copy(priv->dev->dev_addr, descriptor->mac); in gve_adminq_describe_device()
313 mac = descriptor->mac; in gve_adminq_describe_device()
[all …]
/Linux-v5.4/drivers/acpi/acpica/
Duttrack.c543 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-v5.4/Documentation/devicetree/bindings/fsi/
Dfsi-master-gpio.txt6 - 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
Dfsi-master-ast-cf.txt10 - 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-v5.4/drivers/media/usb/dvb-usb/
Ddibusb-mc-common.c85 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && in dibusb_dib3000mc_frontend_attach()
86 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == in dibusb_dib3000mc_frontend_attach()
124 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && in dibusb_dib3000mc_tuner_attach()
125 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_LITEON_DVB_T_WARM) { in dibusb_dib3000mc_tuner_attach()
137 } else if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_DIBCOM && in dibusb_dib3000mc_tuner_attach()
138 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_DIBCOM_MOD3001_WARM) { in dibusb_dib3000mc_tuner_attach()
/Linux-v5.4/drivers/usb/misc/
Dlvstest.c31 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-v5.4/Documentation/devicetree/bindings/crypto/
Dfsl-sec2.txt14 descriptor pointers each channel fetch fifo can hold.
33 - fsl,descriptor-types-mask : The bitmask representing what descriptors
39 bit 1 = set if SEC supports the ipsec_esp descriptor type
43 bit 5 = set if SEC supports the srtp descriptor type
45 bit 7 = set if SEC supports the pkeu_assemble descriptor type
47 bit 9 = set if SEC supports the pkeu_ptmul descriptor type
49 bit 11 = set if SEC supports the pkeu_ptadd_dbl descriptor type
64 fsl,descriptor-types-mask = <0x12b0ebf>;
/Linux-v5.4/arch/x86/math-emu/
Dget_address.c140 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-v5.4/include/linux/usb/
Dinput.h21 id->vendor = le16_to_cpu(dev->descriptor.idVendor); in usb_to_input_id()
22 id->product = le16_to_cpu(dev->descriptor.idProduct); in usb_to_input_id()
23 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
/Linux-v5.4/drivers/staging/fieldbus/Documentation/ABI/
Dfieldbus-dev-cdev12 Create an I/O context associated with the file descriptor.
16 Clears POLLERR | POLLPRI from the file descriptor.
23 POLLERR | POLLPRI will be set on the file descriptor.
29 with the file descriptor.
/Linux-v5.4/Documentation/security/
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()
90 To specify the template descriptor to be used to generate measurement entries,
93 - select a template descriptor among those supported in the kernel
95 - specify a template descriptor name from the kernel command line through
97 - register a new template descriptor with custom format through the kernel
/Linux-v5.4/sound/soc/sprd/
Dsprd-pcm-compress.c634 codec->descriptor[0].max_ch = 2; in sprd_platform_compr_get_codec_caps()
635 codec->descriptor[0].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps()
636 codec->descriptor[0].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps()
637 codec->descriptor[0].num_bitrates = 2; in sprd_platform_compr_get_codec_caps()
638 codec->descriptor[0].profiles = 0; in sprd_platform_compr_get_codec_caps()
639 codec->descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO; in sprd_platform_compr_get_codec_caps()
640 codec->descriptor[0].formats = 0; in sprd_platform_compr_get_codec_caps()
645 codec->descriptor[1].max_ch = 2; in sprd_platform_compr_get_codec_caps()
646 codec->descriptor[1].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps()
647 codec->descriptor[1].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps()
[all …]
/Linux-v5.4/Documentation/virt/kvm/devices/
Dvfio.txt19 kvm_device_attr.addr points to an int32_t file descriptor
22 kvm_device_attr.addr points to an int32_t file descriptor
34 @groupfd is a file descriptor for a VFIO group;
35 @tablefd is a file descriptor for a TCE table allocated via
/Linux-v5.4/drivers/usb/storage/
Duas-detect.h98 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()

12345678910>>...29