/openbmc/u-boot/drivers/clk/imx/ |
H A D | clk-imx8.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <clk-uclass.h> 12 #include <dt-bindings/clock/imx8qxp-clock.h> 13 #include <dt-bindings/soc/imx_rsrc.h> 17 ulong id; member 49 u16 resource; in imx8_clk_get_rate() local 52 debug("%s(#%lu)\n", __func__, clk->id); in imx8_clk_get_rate() 54 switch (clk->id) { in imx8_clk_get_rate() 56 resource = SC_R_A35; in imx8_clk_get_rate() 60 resource = SC_R_I2C_0; in imx8_clk_get_rate() [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | devices.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 8 #include <linux/dma-mapping.h> 11 #include <linux/platform_data/i2c-pxa.h> 15 #include <linux/platform_data/video-pxafb.h> 16 #include <linux/platform_data/mmc-pxamci.h> 18 #include <linux/platform_data/usb-ohci-pxa27x.h> 21 #include "regs-ost.h" 30 dev->dev.platform_data = data; in pxa_register_device() 34 dev_err(&dev->dev, "unable to register device: %d\n", ret); in pxa_register_device() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | resource.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * struct devlink_resource - devlink resource 11 * @name: name of the resource 12 * @id: id, per devlink instance 13 * @size: size of the resource 14 * @size_new: updated size of the resource, reload is needed 15 * @size_valid: valid in case the total size of the resource is valid 17 * @parent: parent resource 26 u64 id; member 40 struct devlink_resource *resource, u64 resource_id) in devlink_resource_find() argument [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | twl4030-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <linux/mfd/twl4030-audio.h> 36 struct twl4030_audio_resource resource[TWL4030_AUDIO_RES_MAX]; member 41 * Modify the resource, the function returns the content of the register 44 static int twl4030_audio_set_resource(enum twl4030_audio_res id, int enable) in twl4030_audio_set_resource() argument 50 audio->resource[id].reg); in twl4030_audio_set_resource() 53 val |= audio->resource[id].mask; in twl4030_audio_set_resource() 55 val &= ~audio->resource[id].mask; in twl4030_audio_set_resource() 58 val, audio->resource[id].reg); in twl4030_audio_set_resource() 63 static inline int twl4030_audio_get_resource(enum twl4030_audio_res id) in twl4030_audio_get_resource() argument [all …]
|
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/ |
H A D | dump_manager_resource.cpp | 10 #include <phosphor-logging/elog-errors.hpp> 11 #include <phosphor-logging/elog.hpp> 12 #include <phosphor-logging/lg2.hpp> 18 namespace resource namespace 33 // If there is an entry with invalid id update that. in notify() 34 // If there a completed one with same source id ignore it in notify() 35 // if there is no invalid id, create new entry in notify() 36 openpower::dump::resource::Entry* upEntry = NULL; in notify() 39 openpower::dump::resource::Entry* resEntry = in notify() 40 dynamic_cast<openpower::dump::resource::Entry*>(entry.second.get()); in notify() [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_lock_management.robot | 5 Resource ../../lib/resource.robot testcase 6 Resource ../../lib/openbmc_ffdc.robot testcase 7 Resource ../../lib/bmc_redfish_utils.robot testcase 8 Resource ../../lib/external_intf/management_console_utils.robot testcase 9 Resource ../../lib/rest_response_code.robot testcase 31 [Template] Acquire Lock On Resource 34 HMCID-01 ReadCase1 False 35 HMCID-01 ReadCase2 False 36 HMCID-01 ReadCase3 False 37 HMCID-01 WriteCase1 False [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | cmd-db.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2018, 2020, The Linux Foundation. All rights reserved. 18 #include <soc/qcom/cmd-db.h> 30 * @id: resource's identifier 32 * @addr: the address of the resource 37 u8 id[8]; member 45 * struct rsc_hdr: resource header information 47 * @slv_id: id for the resource 88 * based accelerator is a 'slave' (shared resource) and has slave id indicating 95 * Drivers have a stringified key to a slave/resource. They can query the slave [all …]
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | devs.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/dma-mapping.h> 27 #include <linux/platform_data/s3c-hsotg.h> 36 #include "gpio-samsung.h" 37 #include "gpio-cfg.h" 42 #include <linux/platform_data/i2c-s3c2410.h> 44 #include "pwm-core.h" 46 #include "usb-phy.h" 47 #include <linux/platform_data/asoc-s3c.h> 48 #include <linux/platform_data/spi-s3c64xx.h> [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cotable.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2014-2023 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 28 * Treat context OTables as resources to make use of the resource 42 * struct vmw_cotable - Context Object Table resource 45 * @ctx: non-refcounted pointer to the owning context. 63 * struct vmw_cotable_info - Static info about cotable types 68 * @unbind_func: Unbind call-back function. 148 * vmw_cotable - Convert a struct vmw_resource pointer to a struct 151 * @res: Pointer to the resource. [all …]
|
H A D | vmwgfx_resource.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2009-2023 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 38 * vmw_resource_mob_attach - Mark a resource as attached to its backing mob 39 * @res: The resource 43 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach() 44 struct rb_node **new = &gbo->res_tree.rb_node, *parent = NULL; in vmw_resource_mob_attach() 46 dma_resv_assert_held(gbo->tbo.base.resv); in vmw_resource_mob_attach() 47 res->used_prio = (res->res_dirty) ? res->func->dirty_prio : in vmw_resource_mob_attach() 48 res->func->prio; in vmw_resource_mob_attach() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ThermalEquipment.v1_1_2.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/ThermalEquipment.v1_1_2.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 36 "description": "The available OEM-specific actions for this resource.", 37 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", [all …]
|
H A D | KeyService.v1_0_1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/KeyService.v1_0_1.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 37 …"longDescription": "This resource shall represent the key service properties for a Redfish impleme… 39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { [all …]
|
H A D | ServiceConditions.v1_0_1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/ServiceConditions.v1_0_1.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 36 "description": "The available OEM-specific actions for this resource.", 37 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", [all …]
|
H A D | CompositionReservation.v1_0_2.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CompositionReservation.v1_0_2.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 36 …ion related to the `Compose` action defined in the `CompositionService` resource when the `Request… 37 …"longDescription": "This resource represents the composition reservation of the composition servic… [all …]
|
H A D | NetworkInterface.v1_2_2.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/NetworkInterface.v1_2_2.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …gDescription": "This property shall contain the available OEM-specific actions for this resource.", 37 "description": "The links to other resources that are related to this resource.", 38 …Specification-described type shall contain links to resources that are related to but are not cont… [all …]
|
H A D | CertificateLocations.v1_0_4.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CertificateLocations.v1_0_4.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 36 …"description": "The `CertificateLocations` schema describes a resource that an administrator can u… 37 …"longDescription": "This resource shall represent the certificate location properties for a Redfis… [all …]
|
H A D | ThermalSubsystem.v1_3_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/ThermalSubsystem.v1_3_3.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 … "description": "This property contains the available OEM-specific actions for this resource.", 29 … "longDescription": "This property shall contain any additional OEM actions for this resource." 36 "description": "The available OEM-specific actions for this resource.", 37 … "longDescription": "This type shall contain any additional OEM actions for this resource.", [all …]
|
H A D | RouteEntry.v1_0_2.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/RouteEntry.v1_0_2.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 36 "description": "The available OEM-specific actions for this resource.", 37 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", [all …]
|
H A D | LeakDetection.v1_1_0.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/LeakDetection.v1_1_0.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 37 …"longDescription": "This resource shall represent the leak detection functionality present in a se… 39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { [all …]
|
H A D | SimpleStorage.v1_3_2.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/SimpleStorage.v1_3_2.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …gDescription": "This property shall contain the available OEM-specific actions for this resource.", 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 85 "description": "The name of the resource or array member.", [all …]
|
H A D | CompositionService.v1_2_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CompositionService.v1_2_3.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 64 …: "This parameter shall contain the value of the `Id` property of the `CompositionReservation` res… 69 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { [all …]
|
/openbmc/linux/arch/arm/mach-sa1100/ |
H A D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/generic.c 15 #include <linux/dma-mapping.h> 23 #include <linux/irqchip/irq-sa11x0.h> 75 * Default power-off for SA1100 83 /* enable wake-up on GPIO0 (Assabet...) */ in sa1100_power_off() 102 /* Use on-chip reset capability */ in sa11x0_restart() 110 dev->dev.platform_data = data; in sa11x0_register_device() 114 dev->name, err); in sa11x0_register_device() 118 static struct resource sa11x0udc_resources[] = { [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | CertificateLocations.v1_0_4.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CertificateLocations.v1_0_4.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …ngDescription": "This property shall contain the available OEM-specific actions for this resource." 36 …"description": "The `CertificateLocations` schema describes a resource that an administrator can u… 37 …"longDescription": "This resource shall represent the certificate location properties for a Redfis… [all …]
|
H A D | ThermalSubsystem.v1_3_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/ThermalSubsystem.v1_3_3.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 … "description": "This property contains the available OEM-specific actions for this resource.", 29 … "longDescription": "This property shall contain any additional OEM actions for this resource." 36 "description": "The available OEM-specific actions for this resource.", 37 … "longDescription": "This type shall contain any additional OEM actions for this resource.", [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_redfish_utils.py | 70 Get resource attribute. 73 resource_path URI resource absolute path (e.g. 81 "get_attribute: JSONDecodeError, re-trying" 97 Returns dictionary of attributes for the resource. 100 resource_path URI resource absolute path (e.g. 112 resource_path URI resource base path (e.g. 121 # Get the member id list. 128 # Get all the child object path under the member id e.g. 151 resource_path URI resource base path (e.g. "/redfish/v1/Chassis/"). 162 regex = ".*/" + end_point_prefix + "[_]?[0-9]*$" [all …]
|