Home
last modified time | relevance | path

Searched full:descriptor (Results 1 – 25 of 3521) sorted by relevance

12345678910>>...141

/openbmc/phosphor-power/test/
H A Dfile_descriptor_tests.cpp31 * Returns whether the specified file descriptor is valid/open.
33 * @param[in] fd - File descriptor
34 * @return true if descriptor is valid/open, false otherwise
42 * Creates an open file descriptor.
44 * Verifies the file descriptor is valid.
46 * @return file descriptor
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
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-uclogic-rdesc.h22 /* Size of the original descriptor of WPXXXXU tablets */
25 /* Fixed WP4030U report descriptor */
29 /* Fixed WP5540U report descriptor */
33 /* Fixed WP8060U report descriptor */
37 /* Size of the original descriptor of the new WP5540U tablet */
40 /* Size of the original descriptor of WP1062 tablet */
43 /* Fixed WP1062 report descriptor */
47 /* Size of the original descriptor of PF1209 tablet */
50 /* Fixed PF1209 report descriptor */
59 /* Fixed PID 0522 tablet report descriptor, interface 0 (stylus) */
[all …]
/openbmc/openpower-hw-diags/util/
H A Dfile_descriptor.hpp11 * This class manages an open file descriptor.
13 * The file descriptor can be closed by calling close(). Otherwise it will be
29 * @param[in] fd - File descriptor
36 * Transfers ownership of a file descriptor.
48 * Closes the file descriptor owned by this object, if any. Then transfers
49 * ownership of the file descriptor owned by the other object.
67 * Closes the file descriptor if necessary.
75 * Returns the file descriptor.
77 * @return File descriptor. Returns -1 if this object does not contain an
78 * open file descriptor.
[all …]
/openbmc/phosphor-power/
H A Dfile_descriptor.hpp11 * This class manages an open file descriptor.
13 * The file descriptor can be closed by calling close(). Otherwise it will be
29 * @param[in] fd - File descriptor
36 * Transfers ownership of a file descriptor.
48 * Closes the file descriptor owned by this object, if any. Then transfers
49 * ownership of the file descriptor owned by the other object.
67 * Closes the file descriptor if necessary.
75 * Returns the file descriptor.
77 * @return File descriptor. Returns -1 if this object does not contain an
78 * open file descriptor.
[all …]
/openbmc/openpower-debug-collector/watchdog/
H A Dfile_descriptor.hpp13 * This class manages an open file descriptor.
15 * The file descriptor can be closed by calling close(). Otherwise it will be
31 * @param[in] fd - File descriptor
38 * @details description ownership of a file descriptor.
50 * @details description the file descriptor owned by this object, if any.
51 * Then transfers ownership of the file descriptor owned by the other
70 * @details Closes the file descriptor if necessary.
78 * @brief Returns the file descriptor.
80 * @return File descriptor. Returns -1 if this object does not contain an
81 * open file descriptor.
[all …]
/openbmc/linux/drivers/greybus/
H A Dmanifest.c34 * 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->type == GREYBUS_TYPE_BUNDLE) in get_next_bundle_desc()
[all …]
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign.c40 // Descriptor alignment on the external EEPROM.
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()
270 // - That the image descriptor resides in a static region
273 // validates the hash. d_offset is the absolute image descriptor offset
297 image_size = ctx->descriptor.image_size; in validate_payload_regions()
298 region_count = ctx->descriptor.region_count; in validate_payload_regions()
306 "%s: ctx->descriptor.region_count is greater " in validate_payload_regions()
345 // The image descriptor must be part of a static region. in validate_payload_regions()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_dma.h14 __be32 eclndar; /* Current link descriptor extended addr reg */
15 __be32 clndar; /* Current link descriptor address register */
21 __be32 enlndar; /* Next link descriptor extended address reg */
22 __be32 nlndar; /* Next link descriptor address register */
24 __be32 eclsdar; /* Current list descriptor extended addr reg */
25 __be32 clsdar; /* Current list descriptor address register */
26 __be32 enlsdar; /* Next list descriptor extended address reg */
27 __be32 nlsdar; /* Next list descriptor address register */
96 * List Descriptor for extended chaining mode DMA operations.
99 * Descriptor. Each object must be aligned on a 32-byte boundary. Each
[all …]
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_hw_queue_defs.h204 /* Descriptor packing macros */
208 * hw_desc_init() - Init a HW descriptor struct
209 * @pdesc: pointer to HW descriptor struct
220 * @pdesc: Pointer to HW descriptor struct
228 * set_din_type() - Set the DIN field of a HW descriptor
230 * @pdesc: Pointer to HW descriptor struct
250 * set_din_no_dma() - Set the DIN field of a HW descriptor to NO DMA mode.
251 * Used for NOP descriptor, register patches and other special modes.
253 * @pdesc: Pointer to HW descriptor struct
264 * set_cpp_crypto_key() - Setup the special CPP descriptor
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh.h173 /* set rx descriptor data buffer size */
176 u32 descriptor);
178 /* set rx descriptor dca enable */
182 /* set rx descriptor enable */
184 u32 descriptor);
186 /* set rx descriptor header splitting */
189 u32 descriptor);
191 /* get rx descriptor head pointer */
192 u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor);
194 /* set rx descriptor length */
[all …]
/openbmc/linux/include/soc/fsl/
H A Ddpaa2-fd.h14 * DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2
37 * This structure represents the basic Frame Descriptor used in the system.
99 * dpaa2_fd_get_addr() - get the addr field of frame descriptor
100 * @fd: the given frame descriptor
102 * Return the address in the frame descriptor.
110 * dpaa2_fd_set_addr() - Set the addr field of frame descriptor
111 * @fd: the given frame descriptor
112 * @addr: the address needs to be set in frame descriptor
120 * dpaa2_fd_get_frc() - Get the frame context in the frame descriptor
121 * @fd: the given frame descriptor
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-ufs20 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/gpioplus/src/gpioplus/internal/
H A Dfd.hpp18 /** @brief Opens a file and holds the file descriptor
27 /** @brief Duplicates and holds a file descriptor
28 * Does not automatically close the input descriptor
30 * @param[in] fd - File descriptor being duplicated
36 /** @brief Holds the input file descriptor
37 * Becomes the sole owner of the file descriptor
39 * @param[in] fd - File descriptor being duplicated
51 /** @brief Gets the managed file descriptor
53 * @return The file descriptor
69 /** @brief Sets flags on the file descriptor
[all …]
/openbmc/linux/include/linux/dma/
H A Dti-cppi5.h16 * struct cppi5_desc_hdr_t - Descriptor header, present in all types of
31 * struct cppi5_host_desc_t - Host-mode packet and buffer descriptor definition
32 * @hdr: Descriptor header
66 * 0 - located in the descriptor,
93 * the descriptor and beginning to transfer data.
98 * 0 = Descriptor must be returned to tail of queue
99 * 1 = Descriptor must be returned to head of queue
119 * struct cppi5_desc_epib_t - Host Packet Descriptor Extended Packet Info Block
133 * struct cppi5_monolithic_desc_t - Monolithic-mode packet descriptor
134 * @hdr: Descriptor header
[all …]
/openbmc/linux/kernel/printk/
H A Dprintk_ringbuffer.c28 * The internal state information of a descriptor is the key element to allow
34 * Descriptor Ring
36 * The descriptor ring is an array of descriptors. A descriptor contains
39 * "Data Rings" below). Each descriptor is assigned an ID that maps
40 * directly to index values of the descriptor array and has a state. The ID
41 * and the state are bitwise combined into a single descriptor field named
52 * descriptor (transitioning it back to reserved), but in the committed
57 * writer cannot reopen the descriptor.
64 * descriptor to query. This can yield a possible fifth (pseudo) state:
67 * The descriptor being queried has an unexpected ID.
[all …]
H A Dprintk_ringbuffer.h54 * A descriptor: the complete meta-data for a record.
56 * @state_var: A bitwise combination of descriptor ID and descriptor state.
98 * @id: ID of the reserved descriptor.
112 /* The possible responses of a descriptor state-query. */
140 * Descriptor Bootstrap
142 * The descriptor array is minimally initialized to allow immediate usage
143 * by readers and writers. The requirements that the descriptor array
147 * The tail must point to an existing (committed or reusable) descriptor.
156 * To satisfy Req1, the tail initially points to a descriptor that is
160 * To satisfy Req2, the initial tail descriptor is initialized to the
[all …]
/openbmc/openpower-occ-control/
H A Docc_errors.hpp59 /** @class Descriptor
62 class Descriptor class in open_power::occ::Error
65 Descriptor(const Descriptor&) = default;
66 Descriptor& operator=(const Descriptor&) = default;
67 Descriptor(Descriptor&&) = default;
68 Descriptor& operator=(Descriptor&&) = default;
70 Descriptor() : log(false), err(0), callout(nullptr), path(nullptr) {} in Descriptor() function in open_power::occ::Error::Descriptor
72 /** @brief Constructs the Descriptor object
80 Descriptor(const char* path, int err = 0, const char* callout = nullptr, in Descriptor() function in open_power::occ::Error::Descriptor
129 * @param[in] fd - Associated File descriptor
[all …]
/openbmc/linux/drivers/usb/core/
H A Dotg_productlist.h46 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 …]
/openbmc/linux/drivers/usb/gadget/
H A Depautoconf.c21 * descriptor and ep companion descriptor
23 * @desc: Endpoint descriptor, with endpoint direction and transfer mode
27 * @ep_comp: Endpoint companion descriptor, with the required
36 * By choosing an endpoint to use with the specified descriptor,
39 * passed later to usb_ep_enable(), along with some descriptor.
41 * That second descriptor won't always be the same as the first one.
53 * descriptor bEndpointAddress. For bulk endpoints, the wMaxPacket value
55 * the bmAttribute field in the ep companion descriptor is
61 * On failure, this returns a null endpoint descriptor.
119 * descriptor
[all …]
/openbmc/linux/Documentation/devicetree/bindings/crypto/
H A Dfsl-sec2.txt14 descriptor pointers each channel fetch fifo can hold.
17 should be encoded following the SEC's Descriptor Header Dword
33 - fsl,descriptor-types-mask : The bitmask representing what descriptors
34 are available. It's a single 32-bit cell. Descriptor type information
35 should be encoded following the SEC's Descriptor Header Dword DESC_TYPE
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
[all …]
/openbmc/libcper/
H A Dir-parse.c20 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()
200 //Converts a single CPER-JSON IR section descriptor into a CPER structure.
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()
[all …]
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_desc_dqo.h7 /* GVE DQO Descriptor formats */
21 /* Basic TX descriptor (DTYPE 0x0C) */
28 /* Denotes the last descriptor of a packet. */
32 /* If set, will generate a descriptor completion for this descriptor. */
55 * descriptor of a TX packet, and they must be spaced apart with at least this
97 /* General context descriptor for sending metadata. */
118 /* Logical structure of metadata which is packed into context descriptor flex
146 /* TX completion descriptor */
157 /* Flipped by HW to notify the descriptor is populated. */
160 /* For descriptor completions, this is the last index fetched
[all …]
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_io_defs.h71 * follows this descriptor (no buffer descriptors).
74 * 7 : meta_desc - Indicates metadata descriptor.
83 * 2 : first - Indicates first descriptor in
85 * 3 : last - Indicates last descriptor in
89 * for the first descriptor
119 * Tx queue buffer descriptor, for any transport type. Preceded by metadata
120 * descriptor.
181 * Rx buffer descriptor; RX WQE is composed of one or more RX buffer
201 * 30 : first - Indicates first descriptor in WQE
202 * 31 : last - Indicates last descriptor in WQE
[all …]
/openbmc/linux/include/uapi/scsi/fc/
H A Dfc_els.h218 * Link Service TLV Descriptor Tag Values
222 /* Link Service Request Information Descriptor */
224 /* Link Fault Capability Descriptor */
226 /* Congestion Signaling Capability Descriptor */
228 /* Link Integrity Notification Descriptor */
230 /* Delivery Notification Descriptor */
232 /* Peer Congestion Notification Descriptor */
234 /* Congestion Notification Descriptor */
236 /* FPIN Registration Descriptor */
256 * Generic Link Service TLV Descriptor format
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dconfig.c25 * @src: Array of descriptor pointers, terminated by null pointer.
42 /* fill buffer from src[] until null descriptor ptr */ in usb_descriptor_fillbuf()
57 * usb_gadget_config_buf - builts a complete configuration descriptor
58 * @config: Header for the descriptor, including characteristics such
62 * @buf: Buffer for the resulting configuration descriptor.
64 * entire configuration descriptor, an error code will be returned.
66 * This copies descriptors into the response buffer, building a descriptor
69 * of the result, but other descriptor fields (including power usage and
72 * Gadget drivers could use this when constructing a config descriptor
86 /* config descriptor first */ in usb_gadget_config_buf()
[all …]

12345678910>>...141