/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | pmc.c | 88 pmc->descriptors = kcalloc(num_descriptors, in wil_pmc_alloc() 91 if (!pmc->descriptors) { in wil_pmc_alloc() 97 pmc->descriptors); in wil_pmc_alloc() 145 pmc->descriptors[i].va = dma_alloc_coherent(dev, in wil_pmc_alloc() 147 &pmc->descriptors[i].pa, in wil_pmc_alloc() 150 if (unlikely(!pmc->descriptors[i].va)) { in wil_pmc_alloc() 156 u32 *p = (u32 *)pmc->descriptors[i].va + j; in wil_pmc_alloc() 162 cpu_to_le32(lower_32_bits(pmc->descriptors[i].pa)); in wil_pmc_alloc() 164 cpu_to_le16((u16)upper_32_bits(pmc->descriptors[i].pa)); in wil_pmc_alloc() 196 for (i = 0; i < num_descriptors && pmc->descriptors[i].va; i++) { in wil_pmc_alloc() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget-uvc | 16 Description: Control descriptors 30 Description: Class descriptors 35 Description: Super speed control class descriptors 40 Description: Full speed control class descriptors 45 Description: Terminal descriptors 50 Description: Output terminal descriptors 55 Description: Default output terminal descriptors 72 Description: Camera terminal descriptors 77 Description: Default camera terminal descriptors 97 Description: Processing unit descriptors [all …]
|
/openbmc/linux/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 81 } __attribute__ ((__packed__)) descriptors = { variable 86 .length = cpu_to_le32(sizeof(descriptors)), 91 .bLength = sizeof(descriptors.fs_descs.intf), 98 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 104 .bLength = sizeof(descriptors.fs_descs.bulk_source), 113 .bLength = sizeof(descriptors.hs_descs.intf), 120 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 127 .bLength = sizeof(descriptors.hs_descs.bulk_source), 258 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main()
|
/openbmc/linux/tools/usb/ffs-aio-example/multibuff/device_app/ |
H A D | aio_multibuff.c | 65 } __attribute__ ((__packed__)) descriptors = { variable 70 .length = htole32(sizeof(descriptors)), 75 .bLength = sizeof(descriptors.fs_descs.intf), 82 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 88 .bLength = sizeof(descriptors.fs_descs.bulk_source), 97 .bLength = sizeof(descriptors.hs_descs.intf), 104 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 111 .bLength = sizeof(descriptors.hs_descs.bulk_source), 269 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main()
|
/openbmc/linux/tools/usb/ |
H A D | ffs-test.c | 126 } __attribute__((packed)) descriptors = { variable 132 .length = cpu_to_le32(sizeof descriptors), 137 .bLength = sizeof descriptors.fs_descs.intf, 144 .bLength = sizeof descriptors.fs_descs.sink, 151 .bLength = sizeof descriptors.fs_descs.source, 161 .bLength = sizeof descriptors.fs_descs.intf, 168 .bLength = sizeof descriptors.hs_descs.sink, 175 .bLength = sizeof descriptors.hs_descs.source, 186 .bLength = sizeof descriptors.fs_descs.intf, 193 .bLength = sizeof descriptors.hs_descs.sink, [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_descriptor.c | 109 const AvbDescriptor** descriptors; member 114 data->descriptors[data->descriptor_number++] = descriptor; in set_descriptors() 128 data.descriptors = in avb_descriptor_get_all() 130 if (data.descriptors == NULL) { in avb_descriptor_get_all() 140 return data.descriptors; in avb_descriptor_get_all()
|
H A D | avb_slot_verify.c | 466 const AvbDescriptor** descriptors = NULL; in load_and_verify_vbmeta() local 793 descriptors = in load_and_verify_vbmeta() 798 if (!avb_descriptor_validate_and_byteswap(descriptors[n], &desc)) { in load_and_verify_vbmeta() 811 descriptors[n], in load_and_verify_vbmeta() 837 (AvbChainPartitionDescriptor*)descriptors[n], &chain_desc)) { in load_and_verify_vbmeta() 854 chain_partition_name = ((const uint8_t*)descriptors[n]) + in load_and_verify_vbmeta() 886 (AvbKernelCmdlineDescriptor*)descriptors[n], in load_and_verify_vbmeta() 895 kernel_cmdline = ((const uint8_t*)descriptors[n]) + in load_and_verify_vbmeta() 961 (AvbHashtreeDescriptor*)descriptors[n], &hashtree_desc)) { in load_and_verify_vbmeta() 977 ((const uint8_t*)descriptors[n]) + sizeof(AvbHashtreeDescriptor); in load_and_verify_vbmeta() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0014-add-u3-ss-descriptor-support-for-adb.patch | 46 -} __attribute__((packed)) descriptors = { 49 - .length = cpu_to_le32(sizeof(descriptors)), 194 - .bLength = sizeof(descriptors.fs_descs.intf), 204 - .bLength = sizeof(descriptors.fs_descs.source), 211 - .bLength = sizeof(descriptors.fs_descs.sink), 226 - .bLength = sizeof(descriptors.hs_descs.intf), 236 - .bLength = sizeof(descriptors.hs_descs.source), 243 - .bLength = sizeof(descriptors.hs_descs.sink), 322 - ret = adb_write(h->control, &descriptors, sizeof(descriptors)); 325 - D("[ %s: write descriptors failed: errno=%d ]\n", USB_FFS_ADB_EP0, errno); [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | composite.c | 55 if (!config->fullspeed && function->descriptors) in usb_add_function() 166 struct usb_descriptor_header **descriptors; in config_buf() local 183 if (config->descriptors) { in config_buf() 185 config->descriptors); in config_buf() 195 descriptors = f->hs_descriptors; in config_buf() 197 descriptors = f->descriptors; in config_buf() 198 if (!descriptors) in config_buf() 201 (const struct usb_descriptor_header **) descriptors); in config_buf() 310 struct usb_descriptor_header **descriptors; in set_config() local 370 descriptors = f->hs_descriptors; in set_config() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/google/ |
H A D | gve.rst | 53 entirely different descriptors, which will be described below. 74 - GQI descriptors and datapath registers are Big Endian. 75 - DQO descriptors and datapath registers are Little Endian. 126 fixed-size descriptors. They advance their head pointer using a __be32 128 descriptors in-order and updating a __be32 counter. Both the doorbell 149 - TX and RX buffers queues, which send descriptors to the device, use MMIO 150 doorbells to notify the device of new descriptors. 152 - RX and TX completion queues, which receive descriptors from the device, use a 155 populate received descriptors with the "next generation" which is inverted 161 descriptors posted to HW. [all …]
|
/openbmc/libcper/ |
H A D | ir-parse.c | 41 EFI_ERROR_SECTION_DESCRIPTOR *descriptors[amt_descriptors]; in ir_to_cper() local 43 descriptors[i] = (EFI_ERROR_SECTION_DESCRIPTOR *)calloc( in ir_to_cper() 47 descriptors[i]); in ir_to_cper() 48 fwrite(descriptors[i], sizeof(EFI_ERROR_SECTION_DESCRIPTOR), 1, in ir_to_cper() 63 ir_section_to_cper(section, descriptors[i], out); in ir_to_cper() 70 free(descriptors[i]); in ir_to_cper()
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp.c | 171 u32 index = INDEX(ctx->descriptors[loc]); in get_target() 187 return (INDEX(ctx->descriptors[ctx->bpf_index + off]) - in get_offset() 556 u32 *descp = &ctx->descriptors[ctx->bpf_index]; in setup_jmp() 583 offset = (INDEX(ctx->descriptors[target]) - in setup_jmp() 584 INDEX(ctx->descriptors[origin]) + 1) * sizeof(u32); in setup_jmp() 686 if (CONVERTED(ctx->descriptors[ctx->bpf_index])) { in finish_jmp() 858 u32 *descp = &ctx->descriptors[i]; in build_body() 883 ctx->descriptors[prog->len] = ctx->jit_index; in build_body() 895 ctx->descriptors[i] = INDEX(ctx->descriptors[i]) | flag; in set_convert_flag() 949 ctx.descriptors = kcalloc(prog->len + 1, sizeof(*ctx.descriptors), in bpf_int_jit_compile() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | p2p.c | 43 __le32_to_cpu(noa->descriptors[i].type_count); in ath10k_p2p_noa_ie_fill() 44 noa_attr->desc[i].duration = noa->descriptors[i].duration; in ath10k_p2p_noa_ie_fill() 45 noa_attr->desc[i].interval = noa->descriptors[i].interval; in ath10k_p2p_noa_ie_fill() 46 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; in ath10k_p2p_noa_ie_fill()
|
/openbmc/pldm/fw-update/ |
H A D | inventory_manager.cpp | 29 "Failed to discover file descriptors for endpoint ID {EID} with {ERROR}", in discoverFDs() 102 Descriptors descriptors{}; in queryDeviceIdentifiers() local 124 descriptors.emplace(descriptorType, std::move(descData)); in queryDeviceIdentifiers() 150 descriptors.emplace(descriptorType, in queryDeviceIdentifiers() 162 descriptorMap.emplace(eid, std::move(descriptors)); in queryDeviceIdentifiers() 358 Descriptors descriptors{}; in queryDownstreamIdentifiers() local 368 descriptors.emplace(desc.descriptor_type, std::move(descData)); in queryDownstreamIdentifiers() 395 descriptors.emplace( in queryDownstreamIdentifiers() 408 downstreamDevices->emplace(dev.downstream_device_index, descriptors); in queryDownstreamIdentifiers()
|
H A D | package_parser.cpp | 50 Descriptors descriptors{}; in parseFDIdentificationArea() local 71 descriptors.emplace( in parseFDIdentificationArea() 94 descriptors.emplace( in parseFDIdentificationArea() 132 utils::toString(compImageSetVersionStr), std::move(descriptors), in parseFDIdentificationArea()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_fw_update_cmd.cpp | 447 ordered_json& descriptors, const DescriptorType& descriptorType, 453 ordered_json& descriptors, const DescriptorType& descriptorType, in updateDescriptor() argument 476 for (auto& descriptor : descriptors) in updateDescriptor() 511 descriptors.emplace_back(descriptor); in updateDescriptor() 555 ordered_json descriptors; in parseResponseMsg() local 575 updateDescriptor(descriptors, descriptorType, descData); in parseResponseMsg() 600 updateDescriptor(descriptors, descriptorType, in parseResponseMsg() 610 data["Descriptors"] = descriptors; in parseResponseMsg()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | nhi.c | 247 descriptor = &ring->descriptors[ring->head]; in ring_write_descriptors() 292 if (!(ring->descriptors[ring->tail].flags in ring_work() 299 frame->size = ring->descriptors[ring->tail].length; in ring_work() 300 frame->eof = ring->descriptors[ring->tail].eof; in ring_work() 301 frame->sof = ring->descriptors[ring->tail].sof; in ring_work() 302 frame->flags = ring->descriptors[ring->tail].flags; in ring_work() 360 if (ring->descriptors[ring->tail].flags & RING_DESC_COMPLETED) { in tb_ring_poll() 366 frame->size = ring->descriptors[ring->tail].length; in tb_ring_poll() 367 frame->eof = ring->descriptors[ring->tail].eof; in tb_ring_poll() 368 frame->sof = ring->descriptors[ring->tail].sof; in tb_ring_poll() [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | blockgroup.rst | 38 descriptors that are found in block group 0. Redundant copies of the 39 superblock and group descriptors are written to some of the block groups 45 GDT block” space after the block group descriptors and before the start 71 superblock, group descriptors, data block bitmaps for groups 0-3, inode 76 and group descriptors are always at the beginning of block groups, even 84 descriptors copies are kept in the first block group. Given the default 85 128MiB(2^27 bytes) block group size and 64-byte group descriptors, ext4 96 feature moves the location of the group descriptors from the congested 104 descriptors. Instead, the superblock and a single block group descriptor
|
/openbmc/linux/Documentation/usb/ |
H A D | functionfs.rst | 7 the user space driver has registered by writing descriptors and 17 write descriptors and strings to that file. It does not need 19 simply provide descriptors such as if the function was the 25 When descriptors and strings are written "ep#" files appear 64 filesystems have been mounted and USB descriptors of all functions
|
/openbmc/linux/tools/usb/usbip/src/ |
H A D | usbip_list.c | 260 const char *descriptors; in list_gadget_devices() local 287 descriptors = udev_device_get_sysattr_value(dev, in list_gadget_devices() 290 if (!descriptors) { in list_gadget_devices() 296 d_desc = (const struct usb_device_descriptor *) descriptors; in list_gadget_devices()
|
/openbmc/linux/Documentation/driver-api/pldmfw/ |
H A D | driver-ops.rst | 15 descriptors in the record with information from the device. Many record 16 descriptors are defined by the PLDM standard, but it is also allowed for 17 devices to implement their own descriptors.
|
/openbmc/linux/drivers/mfd/ |
H A D | timberdale.c | 298 .descriptors = 2, 304 .descriptors = 2, 310 .descriptors = 2, 316 .descriptors = 2, 323 .descriptors = 2, 339 .descriptors = 2, 345 .descriptors = 2,
|
/openbmc/phosphor-bmc-code-mgmt/common/pldm/ |
H A D | package_parser.cpp | 70 Descriptors descriptors{}; in parseFDIdentificationArea() local 91 descriptors.emplace( in parseFDIdentificationArea() 114 descriptors.emplace( in parseFDIdentificationArea() 152 utils::toString(compImageSetVersionStr), std::move(descriptors), in parseFDIdentificationArea()
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | composite.c | 56 * function_descriptors() - get function descriptors for speed 60 * Returns the descriptors or NULL if not set. 66 struct usb_descriptor_header **descriptors; in function_descriptors() local 75 descriptors = f->ssp_descriptors; in function_descriptors() 76 if (descriptors) in function_descriptors() 80 descriptors = f->ss_descriptors; in function_descriptors() 81 if (descriptors) in function_descriptors() 85 descriptors = f->hs_descriptors; in function_descriptors() 86 if (descriptors) in function_descriptors() 90 descriptors in function_descriptors() 596 struct usb_descriptor_header **descriptors; config_buf() local 992 struct usb_descriptor_header **descriptors; set_config() local [all...] |
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-bus-usb | 121 What: /sys/bus/usb/devices/.../descriptors 124 Binary file containing cached descriptors of the device. The 126 descriptors for each configuration of the device. 127 Note that the wTotalLength of the config descriptors can not 132 All descriptors read from this file are in bus-endian format
|