/openbmc/phosphor-power/test/ |
H A D | file_descriptor_tests.cpp | 58 FileDescriptor descriptor; in TEST() local 59 EXPECT_EQ(descriptor(), -1); in TEST() 60 EXPECT_FALSE(descriptor.operator bool()); in TEST() 66 FileDescriptor descriptor{fd}; in TEST() local 67 EXPECT_EQ(descriptor(), fd); in TEST() 68 EXPECT_TRUE(descriptor.operator bool()); in TEST() 129 FileDescriptor descriptor{fd}; in TEST() local 130 EXPECT_EQ(descriptor(), fd); in TEST() 134 descriptor = static_cast<FileDescriptor&&>(descriptor); in TEST() 137 EXPECT_EQ(descriptor(), fd); in TEST() [all …]
|
/openbmc/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 | 52 struct usb_hub_descriptor *descriptor; /* class descriptor */ member 145 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable() 151 return hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS; in hub_is_superspeed() 156 return (hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS && in hub_is_superspeedplus() 157 le16_to_cpu(hdev->descriptor.bcdUSB) >= 0x0310 && in hub_is_superspeedplus() 163 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh_internal.h | 188 #define HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor) \ argument 189 (0x00005b18 + (descriptor) * 0x20) 227 #define HW_ATL_RDM_DESCDEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument 246 #define HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor) \ argument 247 (0x00005b18 + (descriptor) * 0x20) 266 #define HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor) \ argument 267 (0x00005b08 + (descriptor) * 0x20) 286 #define HW_ATL_RDM_DESCDHD_ADR(descriptor) (0x00005b0c + (descriptor) * 0x20) argument 303 #define HW_ATL_RDM_DESCDLEN_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument 322 #define HW_ATL_RDM_DESCDRESET_ADR(descriptor) (0x00005b08 + (descriptor) * 0x20) argument [all …]
|
H A D | hw_atl_llh.c | 373 u32 descriptor) in hw_atl_rdm_rx_desc_data_buff_size_set() argument 375 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDDATA_SIZE_ADR(descriptor), in hw_atl_rdm_rx_desc_data_buff_size_set() 391 u32 descriptor) in hw_atl_rdm_rx_desc_en_set() argument 393 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDEN_ADR(descriptor), in hw_atl_rdm_rx_desc_en_set() 401 u32 descriptor) in hw_atl_rdm_rx_desc_head_buff_size_set() argument 403 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SIZE_ADR(descriptor), in hw_atl_rdm_rx_desc_head_buff_size_set() 411 u32 descriptor) in hw_atl_rdm_rx_desc_head_splitting_set() argument 413 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DESCDHDR_SPLIT_ADR(descriptor), in hw_atl_rdm_rx_desc_head_splitting_set() 419 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 421 return aq_hw_read_reg_bit(aq_hw, HW_ATL_RDM_DESCDHD_ADR(descriptor), in hw_atl_rdm_rx_desc_head_ptr_get() [all …]
|
H A D | hw_atl_llh.h | 176 u32 descriptor); 184 u32 descriptor); 189 u32 descriptor); 192 u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor); 196 u32 descriptor); 213 u32 descriptor); 217 u32 descriptor); 241 u32 descriptor); 246 u32 descriptor); 249 u32 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor); [all …]
|
/openbmc/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 …]
|
/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign.c | 197 if (ctx->descriptor.image_family != ctx->current_image_family && in validate_transition() 198 ctx->descriptor.image_family != IMAGE_FAMILY_ALL && in validate_transition() 210 if (intf->is_production_mode() && (ctx->descriptor.image_type == IMAGE_DEV)) in validate_transition() 297 image_size = ctx->descriptor.image_size; in validate_payload_regions() 298 region_count = ctx->descriptor.region_count; in validate_payload_regions() 352 if ((ctx->descriptor.descriptor_area_size > in validate_payload_regions() 370 rv = get_hash_digest_size(ctx->descriptor.hash_type, &digest_size); in validate_payload_regions() 389 rv = intf->hash_init(ctx, ctx->descriptor.hash_type); in validate_payload_regions() 415 hash_start += ctx->descriptor.descriptor_area_size; in validate_payload_regions() 654 rv = intf->read(ctx, offset, sizeof(ctx->descriptor), in validate_descriptor() [all …]
|
/openbmc/libcper/ |
H A D | ir-parse.c | 20 EFI_ERROR_SECTION_DESCRIPTOR *descriptor); 22 EFI_ERROR_SECTION_DESCRIPTOR *descriptor, FILE *out); 163 EFI_ERROR_SECTION_DESCRIPTOR *descriptor, FILE *out) in ir_section_to_cper() argument 171 &descriptor->SectionType) && in ir_section_to_cper() 202 EFI_ERROR_SECTION_DESCRIPTOR *descriptor) in ir_section_descriptor_to_cper() argument 205 descriptor->SectionOffset = (UINT32)json_object_get_uint64( in ir_section_descriptor_to_cper() 207 descriptor->SectionLength = (UINT32)json_object_get_uint64( in ir_section_descriptor_to_cper() 217 descriptor->Revision = minor + (major << 8); in ir_section_descriptor_to_cper() 223 descriptor->SectionFlags = ir_to_bitfield( in ir_section_descriptor_to_cper() 230 string_to_guid(&descriptor->SectionType, in ir_section_descriptor_to_cper() [all …]
|
/openbmc/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 …]
|
/openbmc/libcper/generator/ |
H A D | cper-generate.c | 128 EFI_ERROR_SECTION_DESCRIPTOR *descriptor = in generate_section_descriptor() local 133 descriptor->Resv1 = 0; in generate_section_descriptor() 134 descriptor->SectionFlags &= 0xFF; in generate_section_descriptor() 137 descriptor->SecValidMask = 0x3; in generate_section_descriptor() 140 descriptor->Severity = rand() % 4; in generate_section_descriptor() 143 descriptor->SectionLength = (UINT32)lengths[index]; in generate_section_descriptor() 144 descriptor->SectionOffset = in generate_section_descriptor() 148 descriptor->SectionOffset += lengths[i]; in generate_section_descriptor() 154 descriptor->FruString[i] = rand() % 127 + 1; in generate_section_descriptor() 158 descriptor->FruString[i] = 0x0; in generate_section_descriptor() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/asio/ |
H A D | sd_event.hpp | 37 evt(nullptr), descriptor(io), io(io) in sd_event_wrapper() 42 descriptor.assign(sd_event_get_fd(evt)); in sd_event_wrapper() 47 evt(evt), descriptor(io), io(io) in sd_event_wrapper() 52 descriptor.assign(sd_event_get_fd(evt)); in sd_event_wrapper() 60 descriptor.release(); in ~sd_event_wrapper() 116 descriptor.async_wait(boost::asio::posix::stream_descriptor::wait_read, in async_wait() 125 boost::asio::posix::stream_descriptor descriptor; member in sdbusplus::asio::sd_event_wrapper
|
/openbmc/linux/sound/soc/intel/atom/sst/ |
H A D | sst_drv_interface.c | 387 .descriptor[0].max_ch = 2, 388 .descriptor[0].sample_rates[0] = 48000, 389 .descriptor[0].sample_rates[1] = 44100, 390 .descriptor[0].sample_rates[2] = 32000, 391 .descriptor[0].sample_rates[3] = 16000, 392 .descriptor[0].sample_rates[4] = 8000, 393 .descriptor[0].num_sample_rates = 5, 394 .descriptor[0].bit_rate[0] = 320, 395 .descriptor[0].bit_rate[1] = 192, 396 .descriptor[0].num_bitrates = 2, [all …]
|
/openbmc/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.flags & _DPRINTK_FLAGS_PRINT) [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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() 162 struct gve_device_descriptor *descriptor, in gve_process_device_options() argument 169 const int num_options = be16_to_cpu(descriptor->num_device_options); in gve_process_device_options() 174 dev_opt = (void *)(descriptor + 1); in gve_process_device_options() 178 next_opt = gve_get_next_option(descriptor, dev_opt); in gve_process_device_options() 185 gve_parse_device_option(priv, descriptor, dev_opt, in gve_process_device_options() 697 struct gve_device_descriptor *descriptor) in gve_set_desc_cnt() argument 699 priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries); in gve_set_desc_cnt() 705 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt() [all …]
|
/openbmc/u-boot/common/ |
H A D | usb.c | 939 memcpy(&dev->descriptor, tmpbuf, sizeof(dev->descriptor)); in get_descriptor_len() 963 dev->descriptor.bMaxPacketSize0 = 8; in usb_setup_descriptor() 966 dev->descriptor.bMaxPacketSize0 = 64; in usb_setup_descriptor() 969 dev->epmaxpacketin[0] = dev->descriptor.bMaxPacketSize0; in usb_setup_descriptor() 970 dev->epmaxpacketout[0] = dev->descriptor.bMaxPacketSize0; in usb_setup_descriptor() 996 dev->epmaxpacketin[0] = dev->descriptor.bMaxPacketSize0; in usb_setup_descriptor() 997 dev->epmaxpacketout[0] = dev->descriptor.bMaxPacketSize0; in usb_setup_descriptor() 998 switch (dev->descriptor.bMaxPacketSize0) { in usb_setup_descriptor() 1078 le16_to_cpus(&dev->descriptor.bcdUSB); in usb_select_config() 1079 le16_to_cpus(&dev->descriptor.idVendor); in usb_select_config() [all …]
|
/openbmc/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
|
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/ |
H A D | 0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch | 19 @@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null 23 -Open file descriptor ...: /tmp/data2 24 +Open file descriptor ...: ... 27 -Open file descriptor ...: /tmp/data1 28 +Open file descriptor ...: ...
|
/openbmc/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()
|
/openbmc/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, desc); in vidtv_channel_sdt_serv_cat_into_new() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | usb.c | 152 uint packet_size = dev->descriptor.bMaxPacketSize0; in usb_display_desc() 154 if (dev->descriptor.bDescriptorType == USB_DT_DEVICE) { in usb_display_desc() 157 (dev->descriptor.bcdUSB>>8) & 0xff, in usb_display_desc() 158 dev->descriptor.bcdUSB & 0xff); in usb_display_desc() 164 if (dev->descriptor.bDeviceClass) { in usb_display_desc() 166 usb_display_class_sub(dev->descriptor.bDeviceClass, in usb_display_desc() 167 dev->descriptor.bDeviceSubClass, in usb_display_desc() 168 dev->descriptor.bDeviceProtocol); in usb_display_desc() 175 if (dev->descriptor.bcdUSB >= cpu_to_le16(0x0300)) in usb_display_desc() 178 packet_size, dev->descriptor.bNumConfigurations); in usb_display_desc() [all …]
|
/openbmc/qemu/qapi/ |
H A D | misc.json | 24 # @fdname: file descriptor name previously passed via 'getfd' command 249 # Receive a file descriptor via SCM rights and assign it a name 251 # @fdname: file descriptor name 255 # .. note:: If @fdname already exists, the file descriptor assigned to 256 # it will be closed and replaced by the received file descriptor. 259 # descriptor when it is no longer needed. 274 # descriptor) 278 # @fdname: file descriptor name 282 # .. note:: If @fdname already exists, the file descriptor assigned to 283 # it will be closed and replaced by the received file descriptor. [all …]
|