/openbmc/phosphor-snmp/ |
H A D | snmp_notification.hpp | 175 OBMCErrorNotification(uint32_t id, uint64_t ts, int32_t sev, in OBMCErrorNotification() argument 177 OBMCErrorID(id), OBMCErrorTimestamp(ts), OBMCErrorSeverity(sev), in OBMCErrorNotification() 185 OID id = {1, 3, 6, 1, 4, 1, 49871, 1, 0, 0, 1}; in getTrapOID() local 187 return std::make_pair<OID, OID_LEN>(std::move(id), std::move(idLen)); in getTrapOID() 196 OID id = {1, 3, 6, 1, 4, 1, 49871, 1, 0, 1, 1}; in getFieldOIDList() local 199 objectList.emplace_back(id, idLen, type, OBMCErrorID); in getFieldOIDList() 203 OID id = {1, 3, 6, 1, 4, 1, 49871, 1, 0, 1, 2}; in getFieldOIDList() local 206 objectList.emplace_back(id, idLen, type, OBMCErrorTimestamp); in getFieldOIDList() 210 OID id = {1, 3, 6, 1, 4, 1, 49871, 1, 0, 1, 3}; in getFieldOIDList() local 213 objectList.emplace_back(id, idLen, type, OBMCErrorSeverity); in getFieldOIDList() [all …]
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_quirks.c | 19 match_one_device(const struct pci_device_id *id, const struct pci_dev *dev) in match_one_device() argument 21 if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) && in match_one_device() 22 (id->device == PCI_ANY_ID || id->device == dev->device) && in match_one_device() 23 (id->subvendor == PCI_ANY_ID || in match_one_device() 24 id->subvendor == dev->subsystem_vendor) && in match_one_device() 25 (id->subdevice == PCI_ANY_ID || in match_one_device() 26 id->subdevice == dev->subsystem_device) && in match_one_device() 27 !((id->class ^ dev->class) & id->class_mask)) in match_one_device() 28 return id; in match_one_device()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 256.out | 8 {"execute": "job-dismiss", "arguments": {"id": "job1"}} 12 {"execute": "job-dismiss", "arguments": {"id": "job2"}} 16 {"execute": "job-dismiss", "arguments": {"id": "job1"}} 20 {"execute": "job-dismiss", "arguments": {"id": "job2"}} 44 "job-id": "j0", 53 "job-id": "j1", 71 {"execute": "job-dismiss", "arguments": {"id": "job1"}} 75 {"execute": "job-dismiss", "arguments": {"id": "job2"}} 79 {"execute": "job-dismiss", "arguments": {"id": "job1"}} 83 {"execute": "job-dismiss", "arguments": {"id": "job2"}} [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | max8893.c | 25 .id = 6, 42 .id = 1, 59 .id = 2, 76 .id = 3, 93 .id = 4, 110 .id = 5, 130 int id, ret; in max8893_probe() local 140 for (id = 0; id < ARRAY_SIZE(max8893_regulators); id++) { in max8893_probe() 143 &max8893_regulators[id], in max8893_probe() 148 max8893_regulators[id].name, ret); in max8893_probe()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | drivers.c | 53 return pdev->id.hw_type != HPHW_FAULTY; in check_dev() 106 (ids->sversion != dev->id.sversion)) in match_device() 110 (ids->hw_type != dev->id.hw_type)) in match_device() 114 (ids->hversion != dev->id.hversion)) in match_device() 263 if (pdev->id.hw_type != HPHW_BCPORT) in is_IKE_device() 266 (pdev->id.hversion == REO_MERCED_PORT) || in is_IKE_device() 267 (pdev->id.hversion == REOG_MERCED_PORT)) { in is_IKE_device() 295 if (candidate->id.hw_type == type) in find_pa_parent_type() 418 static struct parisc_device * __init create_tree_node(char id, in create_tree_node() argument 425 dev->hw_path = id; in create_tree_node() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | expr.h | 24 int ids__insert(struct hashmap *ids, const char *id); 35 void expr__del_id(struct expr_parse_ctx *ctx, const char *id); 36 int expr__add_id(struct expr_parse_ctx *ctx, const char *id); 37 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val); 38 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, 41 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, 45 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, 57 double expr__has_event(const struct expr_parse_ctx *ctx, bool compute_ids, const char *id); 58 double expr__strcmp_cpuid_str(const struct expr_parse_ctx *ctx, bool compute_ids, const char *id);
|
/openbmc/linux/arch/x86/platform/intel-mid/ |
H A D | pwr.c | 214 pci_power_t state, int id, int reg, int bit) in __set_power_state() argument 219 state = __find_weakest_power_state(pwr->lss[id], pdev, state); in __set_power_state() 235 int id, reg, bit; in mid_pwr_set_power_state() local 238 id = intel_mid_pwr_get_lss_id(pdev); in mid_pwr_set_power_state() 239 if (id < 0) in mid_pwr_set_power_state() 240 return id; in mid_pwr_set_power_state() 242 reg = (id * LSS_PWS_BITS) / 32; in mid_pwr_set_power_state() 243 bit = (id * LSS_PWS_BITS) % 32; in mid_pwr_set_power_state() 252 ret = __set_power_state(pwr, pdev, state, id, reg, bit); in mid_pwr_set_power_state() 274 int id, reg, bit; in intel_mid_pci_get_power_state() local [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | metric_report_definition.hpp | 67 inline bool verifyCommonErrors(crow::Response& res, const std::string& id, in verifyCommonErrors() argument 72 messages::resourceNotFound(res, "MetricReportDefinition", id); in verifyCommonErrors() 79 id); in verifyCommonErrors() 258 std::string id = path.filename(); in getLinkedTriggers() local 259 if (id.empty()) in getLinkedTriggers() 267 boost::urls::format("/redfish/v1/TelemetryService/Triggers/{}", id); in getLinkedTriggers() 275 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const std::string& id, in fillReportDefinition() argument 409 "/redfish/v1/TelemetryService/MetricReportDefinitions/{}", id); in fillReportDefinition() 410 asyncResp->res.jsonValue["Id"] = id; in fillReportDefinition() 412 "/redfish/v1/TelemetryService/MetricReports/{}", id); in fillReportDefinition() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-regs.c | 41 cfg |= CIGCTRL_IRQ_CLR(vp->id); in camif_hw_clear_pending_irq() 73 if (colorfx[i].id == effect) in camif_hw_set_effect() 157 if (vp->id == 0) in camif_hw_clear_fifo_overflow() 205 camif_write(camif, S3C_CAMIF_REG_CIYSA(vp->id, i), paddr->y); in camif_hw_set_output_addr() 207 || vp->id == VP_CODEC) { in camif_hw_set_output_addr() 208 camif_write(camif, S3C_CAMIF_REG_CICBSA(vp->id, i), in camif_hw_set_output_addr() 210 camif_write(camif, S3C_CAMIF_REG_CICRSA(vp->id, i), in camif_hw_set_output_addr() 223 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset)); in camif_hw_set_out_dma_size() 226 camif_write(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset), cfg); in camif_hw_set_out_dma_size() 270 camif_write(camif, S3C_CAMIF_REG_CISSY(vp->id), cfg); in camif_hw_set_output_dma() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_resource.c | 255 #define SRI(reg_name, block, id)\ argument 256 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 257 mm ## block ## id ## _ ## reg_name 259 #define SRIR(var_name, reg_name, block, id)\ argument 260 .var_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 261 mm ## block ## id ## _ ## reg_name 263 #define SRII(reg_name, block, id)\ argument 264 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 265 mm ## block ## id ## _ ## reg_name 267 #define SRI_IX(reg_name, block, id)\ argument [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra20/ |
H A D | clock-tables.h | 172 #define PERIPH_REG(id) ((id) >> 5) argument 175 #define PERIPH_MASK(id) (1 << ((id) & 0x1f)) argument 178 #define clock_id_is_pll(id) ((id) >= CLOCK_ID_FIRST && \ argument 179 (id) < CLOCK_ID_FIRST_SIMPLE) 182 #define clock_periph_id_isvalid(id) ((id) >= PERIPH_ID_FIRST && \ argument 183 (id) < PERIPH_ID_COUNT)
|
/openbmc/linux/arch/mips/bcm63xx/ |
H A D | dev-uart.c | 39 .id = 0, 46 .id = 1, 52 int __init bcm63xx_uart_register(unsigned int id) in bcm63xx_uart_register() argument 54 if (id >= ARRAY_SIZE(bcm63xx_uart_devices)) in bcm63xx_uart_register() 57 if (id == 1 && (!BCMCPU_IS_3368() && !BCMCPU_IS_6358() && in bcm63xx_uart_register() 61 if (id == 0) { in bcm63xx_uart_register() 68 if (id == 1) { in bcm63xx_uart_register() 75 return platform_device_register(&bcm63xx_uart_devices[id]); in bcm63xx_uart_register()
|
/openbmc/linux/fs/btrfs/ |
H A D | locking.c | 59 u64 id; /* root objectid */ member 64 { .id = BTRFS_ROOT_TREE_OBJECTID, DEFINE_NAME("root") }, 65 { .id = BTRFS_EXTENT_TREE_OBJECTID, DEFINE_NAME("extent") }, 66 { .id = BTRFS_CHUNK_TREE_OBJECTID, DEFINE_NAME("chunk") }, 67 { .id = BTRFS_DEV_TREE_OBJECTID, DEFINE_NAME("dev") }, 68 { .id = BTRFS_CSUM_TREE_OBJECTID, DEFINE_NAME("csum") }, 69 { .id = BTRFS_QUOTA_TREE_OBJECTID, DEFINE_NAME("quota") }, 70 { .id = BTRFS_TREE_LOG_OBJECTID, DEFINE_NAME("log") }, 71 { .id = BTRFS_TREE_RELOC_OBJECTID, DEFINE_NAME("treloc") }, 72 { .id = BTRFS_DATA_RELOC_TREE_OBJECTID, DEFINE_NAME("dreloc") }, [all …]
|
/openbmc/qemu/replay/ |
H A D | replay-events.c | 24 uint64_t id; member 98 void *opaque2, uint64_t id) in replay_add_event() argument 108 e.id = id; in replay_add_event() 117 event->id = id; in replay_add_event() 127 uint64_t id = replay_get_current_icount(); in replay_bh_schedule_event() local 128 replay_add_event(REPLAY_ASYNC_EVENT_BH, bh, NULL, id); in replay_bh_schedule_event() 138 uint64_t id = replay_get_current_icount(); in replay_bh_schedule_oneshot_event() local 139 replay_add_event(REPLAY_ASYNC_EVENT_BH_ONESHOT, cb, opaque, id); in replay_bh_schedule_oneshot_event() 155 void replay_block_event(QEMUBH *bh, uint64_t id) in replay_block_event() argument 158 replay_add_event(REPLAY_ASYNC_EVENT_BLOCK, bh, NULL, id); in replay_block_event() [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | lpass-cpu.c | 75 ret = clk_set_rate(drvdata->mi2s_osr_clk[dai->driver->id], freq); in lpass_cpu_daiops_set_sysclk() 89 ret = clk_prepare_enable(drvdata->mi2s_osr_clk[dai->driver->id]); in lpass_cpu_daiops_startup() 94 ret = clk_prepare(drvdata->mi2s_bit_clk[dai->driver->id]); in lpass_cpu_daiops_startup() 97 clk_disable_unprepare(drvdata->mi2s_osr_clk[dai->driver->id]); in lpass_cpu_daiops_startup() 108 unsigned int id = dai->driver->id; in lpass_cpu_daiops_shutdown() local 110 clk_disable_unprepare(drvdata->mi2s_osr_clk[dai->driver->id]); in lpass_cpu_daiops_shutdown() 117 regmap_fields_write(i2sctl->spken, id, LPAIF_I2SCTL_SPKEN_DISABLE); in lpass_cpu_daiops_shutdown() 119 regmap_fields_write(i2sctl->micen, id, LPAIF_I2SCTL_MICEN_DISABLE); in lpass_cpu_daiops_shutdown() 126 if (drvdata->mi2s_was_prepared[dai->driver->id]) { in lpass_cpu_daiops_shutdown() 127 drvdata->mi2s_was_prepared[dai->driver->id] = false; in lpass_cpu_daiops_shutdown() [all …]
|
/openbmc/linux/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 319 int hwspin_lock_bust(struct hwspinlock *hwlock, unsigned int id) in hwspin_lock_bust() argument 329 return hwlock->bank->ops->bust(hwlock, id); in hwspin_lock_bust() 373 int id; in of_hwspin_lock_get_id() local 407 id = of_hwspin_lock_simple_xlate(&args); in of_hwspin_lock_get_id() 408 if (id < 0 || id >= hwlock->bank->num_locks) { in of_hwspin_lock_get_id() 412 id += hwlock->bank->base_id; in of_hwspin_lock_get_id() 416 return ret ? ret : id; in of_hwspin_lock_get_id() 449 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single() argument 456 ret = radix_tree_insert(&hwspinlock_tree, id, hwlock); in hwspin_lock_register_single() 459 pr_err("hwspinlock id %d already exists!\n", id); in hwspin_lock_register_single() [all …]
|
/openbmc/linux/drivers/tee/ |
H A D | tee_shm.c | 78 size_t align, u32 flags, int id) in shm_alloc_helper() argument 102 shm->id = id; in shm_alloc_helper() 145 int id; in tee_shm_alloc_user_buf() local 148 id = idr_alloc(&teedev->idr, NULL, 1, 0, GFP_KERNEL); in tee_shm_alloc_user_buf() 150 if (id < 0) in tee_shm_alloc_user_buf() 151 return ERR_PTR(id); in tee_shm_alloc_user_buf() 153 shm = shm_alloc_helper(ctx, size, PAGE_SIZE, flags, id); in tee_shm_alloc_user_buf() 156 idr_remove(&teedev->idr, id); in tee_shm_alloc_user_buf() 162 ret = idr_replace(&teedev->idr, shm, id); in tee_shm_alloc_user_buf() 218 size_t length, u32 flags, int id) in register_shm_helper() argument [all …]
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-cygnus-pcie.c | 31 enum cygnus_pcie_phy_id id; member 57 switch (phy->id) { in cygnus_pcie_power_config() 68 dev_err(core->dev, "PCIe PHY %d invalid\n", phy->id); in cygnus_pcie_power_config() 88 dev_dbg(core->dev, "PCIe PHY %d %s\n", phy->id, in cygnus_pcie_power_config() 140 unsigned int id; in cygnus_pcie_phy_probe() local 143 if (of_property_read_u32(child, "reg", &id)) { in cygnus_pcie_phy_probe() 150 if (id >= MAX_NUM_PHYS) { in cygnus_pcie_phy_probe() 151 dev_err(dev, "invalid PHY id: %u\n", id); in cygnus_pcie_phy_probe() 156 if (core->phys[id].phy) { in cygnus_pcie_phy_probe() 157 dev_err(dev, "duplicated PHY id: %u\n", id); in cygnus_pcie_phy_probe() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | soc.h | 76 #define IS_OMAP_CLASS(class, id) \ argument 79 return (GET_OMAP_CLASS == (id)) ? 1 : 0; \ 84 #define IS_AM_CLASS(class, id) \ argument 87 return (GET_AM_CLASS == (id)) ? 1 : 0; \ 92 #define IS_TI_CLASS(class, id) \ argument 95 return (GET_TI_CLASS == (id)) ? 1 : 0; \ 100 #define IS_DRA_CLASS(class, id) \ argument 103 return (GET_DRA_CLASS == (id)) ? 1 : 0; \ 108 #define IS_OMAP_SUBCLASS(subclass, id) \ argument 111 return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0; \ [all …]
|
/openbmc/linux/drivers/phy/socionext/ |
H A D | phy-uniphier-pcie.c | 74 int id, u32 data) in uniphier_pciephy_testio_write() argument 76 if (id) in uniphier_pciephy_testio_write() 85 static u32 uniphier_pciephy_testio_read(struct uniphier_pciephy_priv *priv, int id) in uniphier_pciephy_testio_read() argument 89 if (id) in uniphier_pciephy_testio_read() 96 int id, u32 reg, u32 mask, u32 param) in uniphier_pciephy_set_param() argument 103 uniphier_pciephy_testio_write(priv, id, val); in uniphier_pciephy_set_param() 104 val = uniphier_pciephy_testio_read(priv, id); in uniphier_pciephy_set_param() 111 uniphier_pciephy_testio_write(priv, id, val); in uniphier_pciephy_set_param() 112 uniphier_pciephy_testio_write(priv, id, val | TESTI_WR_EN); in uniphier_pciephy_set_param() 113 uniphier_pciephy_testio_write(priv, id, val); in uniphier_pciephy_set_param() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | cpumap.c | 33 int id; member 98 int id; in cpuinfo_id() local 102 id = 0; in cpuinfo_id() 105 id = cpu_to_node(cpu); in cpuinfo_id() 108 id = cpu_data(cpu).core_id; in cpuinfo_id() 111 id = cpu_data(cpu).proc_id; in cpuinfo_id() 114 id = -EINVAL; in cpuinfo_id() 116 return id; in cpuinfo_id() 193 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local 213 id = cpuinfo_id(cpu, level); in build_cpuinfo_tree() [all …]
|
/openbmc/ibm-logging/ |
H A D | manager.cpp | 103 void Manager::erase(EntryID id) in erase() argument 105 fs::remove_all(getSaveDir(id)); in erase() 106 childEntries.erase(id); in erase() 107 entries.erase(id); in erase() 113 auto id = getEntryID(objectPath); in addInterface() local 114 auto entry = entries.find(id); in addInterface() 120 entries.emplace(id, std::move(interfaces)); in addInterface() 131 auto id = getEntryID(objectPath); in addChildInterface() local 132 auto entry = childEntries.find(id); in addChildInterface() 144 childEntries.emplace(id, std::move(interfaces)); in addChildInterface() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_resource.c | 131 #define SRI(reg_name, block, id)\ argument 132 .reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 133 reg ## block ## id ## _ ## reg_name 135 #define SRI2(reg_name, block, id)\ argument 139 #define SRIR(var_name, reg_name, block, id)\ argument 140 .var_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 141 reg ## block ## id ## _ ## reg_name 143 #define SRII(reg_name, block, id)\ argument 144 .reg_name[id] = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 145 reg ## block ## id ## _ ## reg_name [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_6_2_sc7180.h | 34 .name = "ctl_0", .id = CTL_0, 39 .name = "ctl_1", .id = CTL_1, 44 .name = "ctl_2", .id = CTL_2, 53 .name = "sspp_0", .id = SSPP_VIG0, 61 .name = "sspp_8", .id = SSPP_DMA0, 69 .name = "sspp_9", .id = SSPP_DMA1, 77 .name = "sspp_10", .id = SSPP_DMA2, 89 .name = "lm_0", .id = LM_0, 97 .name = "lm_1", .id = LM_1, 108 .name = "dspp_0", .id = DSPP_0, [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-devres.c | 22 static struct clk *__devm_clk_get(struct device *dev, const char *id, in __devm_clk_get() argument 23 struct clk *(*get)(struct device *dev, const char *id), in __devm_clk_get() argument 35 clk = get(dev, id); in __devm_clk_get() 63 struct clk *devm_clk_get(struct device *dev, const char *id) in devm_clk_get() argument 65 return __devm_clk_get(dev, id, clk_get, NULL, NULL); in devm_clk_get() 69 struct clk *devm_clk_get_prepared(struct device *dev, const char *id) in devm_clk_get_prepared() argument 71 return __devm_clk_get(dev, id, clk_get, clk_prepare, clk_unprepare); in devm_clk_get_prepared() 75 struct clk *devm_clk_get_enabled(struct device *dev, const char *id) in devm_clk_get_enabled() argument 77 return __devm_clk_get(dev, id, clk_get, in devm_clk_get_enabled() 82 struct clk *devm_clk_get_optional(struct device *dev, const char *id) in devm_clk_get_optional() argument [all …]
|