Searched refs:protocols (Results 1 - 11 of 11) sorted by relevance

/u-boot/include/
H A Dscmi_agent-uclass.h18 * @num_protocols: Number of protocols
20 * @protocols: Array of protocol IDs
36 u8 *protocols; member in struct:scmi_agent_priv
70 return ((struct scmi_agent_priv *)dev_get_uclass_plat(dev))->protocols;
H A Dscmi_protocols.h13 * Subset the SCMI protocols definition
136 * @num_protocols: Number of SCMI protocols in @protocol
137 * @protocols: Array of packed SCMI protocol ID's
142 u32 protocols[3]; member in struct:scmi_base_discover_list_protocols_out
224 * @num_protocols: Number of SCMI protocols
227 * of protocols, in @num_agents and @num_protocols respectively, that
281 * base_discover_list_protocols - get list of protocols
283 * @protocols: Pointer to array of SCMI protocols
285 * Obtain the list of protocols provide
[all...]
H A Defi_loader.h373 * @link: link to the list of protocols of a handle
406 * @protocols: linked list with the protocol interfaces installed on this
424 /* The list of protocols */
425 struct list_head protocols; member in struct:efi_object
598 /* Create handles and protocols for the partitions of a block device */
/u-boot/cmd/
H A Dscmi.c115 u8 *agent_name, *protocols; local
144 printf(" # of protocols: %d\n", scmi_num_protocols(agent));
146 protocols = scmi_protocols(agent);
147 if (protocols)
149 printf(" %s\n", get_proto_name(protocols[i]));
350 * Provide user interfaces to SCMI protocols.
/u-boot/drivers/firmware/scmi/
H A Dbase.c71 * @num_protocols: Number of SCMI protocols
74 * of protocols, in @num_agents and @num_protocols respectively, that
247 * scmi_base_discover_list_protocols_int - get list of protocols
249 * @protocols: Pointer to array of SCMI protocols
251 * Obtain the list of protocols provided in @protocols.
252 * The number of elements in @protocols always match to the number of
253 * protocols returned by smci_protocol_attrs() when this function succeeds.
254 * It is a caller's responsibility to free @protocols
259 scmi_base_discover_list_protocols_int(struct udevice *dev, u8 **protocols) argument
583 scmi_base_discover_list_protocols(struct udevice *dev, u8 **protocols) argument
[all...]
H A Dsandbox-scmi_agent.c23 * SCMI protocols embedded in U-Boot. Currently:
68 static u8 protocols[] = { variable
75 #define NUM_PROTOCOLS ARRAY_SIZE(protocols)
326 memcpy(out->protocols, protocols, sizeof(protocols));
422 for (i = 0; i < ARRAY_SIZE(protocols); i++)
423 if (protocols[i] == in->command_id)
426 i == ARRAY_SIZE(protocols))
H A Dscmi_agent-uclass.c67 if (priv->protocols[i] == proto_id)
346 ret = scmi_base_discover_list_protocols(dev, &priv->protocols);
/u-boot/test/dm/
H A Dscmi.c107 u8 *vendor, *agent_name, *protocols; local
161 /* discover protocols */
162 ret = scmi_base_discover_list_protocols(base, &protocols);
164 ut_asserteq_mem(priv->protocols, protocols, sizeof(u8) * num_protocols);
165 free(protocols);
224 * Estimate the number of provided protocols.
247 snprintf(cmd_out, 30, " # of protocols: %d", num_proto);
/u-boot/lib/efi_loader/
H A Defi_boottime.c95 /* GUIDs of the Load File and Load File2 protocols */
222 if (!list_empty(&handle->protocols))
542 * The protocols list is initialized. The handle is added to the list of known
549 INIT_LIST_HEAD(&handle->protocols);
593 list_for_each(lhandle, &efiobj->protocols) {
632 * efi_remove_all_protocols() - delete all protocols from a handle
633 * @handle: handle from which the protocols shall be deleted
646 list_for_each_entry_safe(protocol, pos, &efiobj->protocols, link) {
670 log_err("Handle %p has protocols installed. Unable to delete\n", handle);
1187 list_add_tail(&handler->link, &efiobj->protocols);
[all...]
H A Defi_image_loader.c93 list_for_each_entry(handler, &efiobj->protocols, link) {
/u-boot/drivers/xen/
H A Dpvblock.c31 #include <xen/interface/io/protocols.h>

Completed in 316 milliseconds