/openbmc/phosphor-power/power-supply/ |
H A D | power_supply.cpp | 121 void PowerSupply::captureCmd(util::NamesValues& nv, const std::string& cmd, in captureCmd() argument 129 nv.add(cmd, val); in captureCmd() 306 util::NamesValues nv; in checkInputFault() local 307 nv.add("STATUS_WORD", statusWord); in checkInputFault() 308 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkInputFault() 314 metadata::RAW_STATUS(nv.get().c_str()), in checkInputFault() 349 util::NamesValues nv; in checkPGOrUnitOffFault() local 350 nv.add("STATUS_WORD", statusWord); in checkPGOrUnitOffFault() 351 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkPGOrUnitOffFault() 353 captureCmd(nv, status0Vout, Type::Debug); in checkPGOrUnitOffFault() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_attr_item.c | 57 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_get() argument 59 if (!refcount_inc_not_zero(&nv->refcount)) in xfs_attri_log_nameval_get() 61 return nv; in xfs_attri_log_nameval_get() 66 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_put() argument 68 if (!nv) in xfs_attri_log_nameval_put() 70 if (refcount_dec_and_test(&nv->refcount)) in xfs_attri_log_nameval_put() 71 kvfree(nv); in xfs_attri_log_nameval_put() 81 struct xfs_attri_log_nameval *nv; in xfs_attri_log_nameval_alloc() local 87 nv = xlog_kvmalloc(sizeof(struct xfs_attri_log_nameval) + in xfs_attri_log_nameval_alloc() 90 nv->name.i_addr = nv + 1; in xfs_attri_log_nameval_alloc() [all …]
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | power_supply.cpp | 127 void PowerSupply::captureCmd(util::NamesValues& nv, const std::string& cmd, in captureCmd() argument 135 nv.add(cmd, val); in captureCmd() 336 util::NamesValues nv; in checkInputFault() local 337 nv.add("STATUS_WORD", statusWord); in checkInputFault() 338 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkInputFault() 344 metadata::RAW_STATUS(nv.get().c_str()), in checkInputFault() 379 util::NamesValues nv; in checkPGOrUnitOffFault() local 380 nv.add("STATUS_WORD", statusWord); in checkPGOrUnitOffFault() 381 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkPGOrUnitOffFault() 383 captureCmd(nv, status0Vout, Type::Debug); in checkPGOrUnitOffFault() [all …]
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | ucd90160.cpp | 152 util::NamesValues nv; in checkVOUTFaults() local 155 nv.add("STATUS_WORD", statusWord); in checkVOUTFaults() 156 nv.add("STATUS_VOUT", vout); in checkVOUTFaults() 157 nv.add("MFR_STATUS", readMFRStatus()); in checkVOUTFaults() 170 metadata::RAW_STATUS(nv.get().c_str())); in checkVOUTFaults() 249 util::NamesValues nv; in checkPGOODFaults() local 253 nv.add("STATUS_WORD", readStatusWord()); in checkPGOODFaults() 254 nv.add("MFR_STATUS", readMFRStatus()); in checkPGOODFaults() 255 nv.add("INPUT_STATUS", status); in checkPGOODFaults() 269 metadata::RAW_STATUS(nv.get().c_str())); in checkPGOODFaults() [all …]
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | ucd90160.cpp | 152 util::NamesValues nv; in checkVOUTFaults() local 155 nv.add("STATUS_WORD", statusWord); in checkVOUTFaults() 156 nv.add("STATUS_VOUT", vout); in checkVOUTFaults() 157 nv.add("MFR_STATUS", readMFRStatus()); in checkVOUTFaults() 170 metadata::RAW_STATUS(nv.get().c_str())); in checkVOUTFaults() 249 util::NamesValues nv; in checkPGOODFaults() local 253 nv.add("STATUS_WORD", readStatusWord()); in checkPGOODFaults() 254 nv.add("MFR_STATUS", readMFRStatus()); in checkPGOODFaults() 255 nv.add("INPUT_STATUS", status); in checkPGOODFaults() 269 metadata::RAW_STATUS(nv.get().c_str())); in checkPGOODFaults() [all …]
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | ms02-nv.h | 5 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for 36 * operating system, a magic ID to distinguish a MS02-NV board from 42 * The firmware only handles the MS02-NV board if installed in the 47 * The MS02-NV board is ECC-protected, like other MS02 memory boards. 59 /* MS02-NV iomem register offsets. */ 62 /* MS02-NV CSR status bits. */ 67 /* MS02-NV memory offsets. */ 69 #define MS02NV_MAGIC 0x0003fc /* MS02-NV magic ID */ 73 /* MS02-NV diagnostic status bits. */ 81 /* MS02-NV general constants. */ [all …]
|
H A D | ms02-nv.c | 22 #include "ms02-nv.h" 26 "ms02-nv.c: v.1.0.0 13 Aug 2001 Maciej W. Rozycki.\n"; 29 MODULE_DESCRIPTION("DEC MS02-NV NVRAM module driver"); 34 * Addresses we probe for an MS02-NV at. Modules may be located 45 static const char ms02nv_name[] = "DEC MS02-NV NVRAM"; 213 "ms02-nv: Unable to register MTD device, aborting!\n"); in ms02nv_init_one()
|
/openbmc/witherspoon-pfault-analysis/test/ |
H A D | nvtest.cpp | 22 witherspoon::power::util::NamesValues nv; in TEST() local 25 EXPECT_EQ(nv.get(), expected); // empty in TEST() 27 nv.add("name1", 0); in TEST() 28 nv.add("name2", 0xC0FFEE); in TEST() 29 nv.add("name3", 0x12345678abcdef12); in TEST() 30 nv.add("name4", 0x0000000001); in TEST() 34 EXPECT_EQ(nv.get(), expected); in TEST()
|
/openbmc/phosphor-power/test/ |
H A D | nvtest.cpp | 22 phosphor::power::util::NamesValues nv; in TEST() local 25 EXPECT_EQ(nv.get(), expected); // empty in TEST() 27 nv.add("name1", 0); in TEST() 28 nv.add("name2", 0xC0FFEE); in TEST() 29 nv.add("name3", 0x12345678abcdef12); in TEST() 30 nv.add("name4", 0x0000000001); in TEST() 34 EXPECT_EQ(nv.get(), expected); in TEST()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_gfx_if.h | 227 GFX_FW_TYPE_TOC = 24, /* TOC NV-10 */ 228 GFX_FW_TYPE_RLC_P = 25, /* RLC P NV */ 229 GFX_FW_TYPE_RLC_IRAM = 26, /* RLC_IRAM NV */ 230 GFX_FW_TYPE_GLOBAL_TAP_DELAYS = 27, /* GLOBAL TAP DELAYS NV */ 231 GFX_FW_TYPE_SE0_TAP_DELAYS = 28, /* SE0 TAP DELAYS NV */ 232 GFX_FW_TYPE_SE1_TAP_DELAYS = 29, /* SE1 TAP DELAYS NV */ 233 GFX_FW_TYPE_GLOBAL_SE0_SE1_SKEW_DELAYS = 30, /* GLOBAL SE0/1 SKEW DELAYS NV */ 234 GFX_FW_TYPE_SDMA0_JT = 31, /* SDMA0 JT NV */ 235 GFX_FW_TYPE_SDMA1_JT = 32, /* SDNA1 JT NV */ 236 GFX_FW_TYPE_CP_MES = 33, /* CP MES NV */ [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/ |
H A D | 0002-Platform-Corstone1000-Fix-NV-counter-writing.patch | 4 Subject: [PATCH 2/9] Platform: Corstone1000: Fix NV counter writing 6 The BL1 writes the PLAT_NV_COUNTER_BL1_0 NV counter directly without 11 priv_metadata->nv_counter[FWU_BL2_NV_COUNTER] to every NV counter. 46 + FWU_LOG_MSG("%s: couldn't read NV counter\n\r", __func__); 51 + FWU_LOG_MSG("%s: staged NV counter is smaller than current value\n\r", __func__); 54 - FWU_LOG_MSG("%s: updaing index = %u nv counter = %u->%u\n\r", 55 + FWU_LOG_MSG("%s: updating index = %u nv counter = %u->%u\n\r", 63 + FWU_LOG_MSG("%s: couldn't write NV counter\n\r", __func__);
|
/openbmc/linux/drivers/scsi/ |
H A D | qla1280.c | 575 struct nvram *nv; in qla1280_read_nvram() local 585 nv = &ha->nvram; in qla1280_read_nvram() 594 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram() 595 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram() 608 " version %i\n", nv->id0, nv->id1, nv->id2, nv->id3, in qla1280_read_nvram() 609 nv->version); in qla1280_read_nvram() 637 nv->isp_parameter = cpu_to_le16(nv->isp_parameter); in qla1280_read_nvram() 638 nv->firmware_feature.w = cpu_to_le16(nv->firmware_feature.w); in qla1280_read_nvram() 640 nv->bus[i].selection_timeout = cpu_to_le16(nv->bus[i].selection_timeout); in qla1280_read_nvram() 641 nv->bus[i].max_queue_depth = cpu_to_le16(nv->bus[i].max_queue_depth); in qla1280_read_nvram() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | xt_DSCP.c | 76 u_int8_t orig, nv; in tos_tg() local 79 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg() 81 if (orig != nv) { in tos_tg() 85 ipv4_change_dsfield(iph, 0, nv); in tos_tg() 96 u_int8_t orig, nv; in tos_tg6() local 99 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6() 101 if (orig != nv) { in tos_tg6() 105 ipv6_change_dsfield(iph, 0, nv); in tos_tg6()
|
/openbmc/qemu/audio/ |
H A D | mixeng_template.h | 40 IN_T nv = ENDIAN_CONVERT (v); in glue() local 44 return nv * (2.f / ((mixeng_real)IN_MAX - IN_MIN)); in glue() 46 return (nv - HALF) * (2.f / (mixeng_real)IN_MAX); in glue() 50 return nv / (((mixeng_real)IN_MAX - IN_MIN) / 2.f); in glue() 52 return (nv - HALF) / ((mixeng_real)IN_MAX / 2.f); in glue() 76 IN_T nv = ENDIAN_CONVERT (v); in glue() local 78 return ((int64_t) nv) << (32 - SHIFT); in glue() 80 return ((int64_t) nv - HALF) << (32 - SHIFT); in glue()
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_nv.c | 3 * TCP NV: TCP with Congestion Avoidance 5 * TCP-NV is a successor of TCP-Vegas that has been developed to 7 * Like TCP-Vegas, TCP-NV supports true congestion avoidance, 9 * When congestion (queue buildup) starts to occur, TCP-NV 14 * NV is only recommeneded for traffic within a data center, and when 15 * all the flows are NV (at least those within the data center). This 20 * Note: High NIC coalescence values may lower the performance of NV 33 /* TCP NV parameters 78 MODULE_PARM_DESC(nv_min_cwnd, "NV will not decrease cwnd below this value" 81 /* TCP NV Parameters */ [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | tcp_basertt_kern.c | 7 * BPF program to set base_rtt to 80us when host is running TCP-NV and 28 char nv[] = "nv"; in bpf_basertt() local 50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 4158 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local 4168 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp() 4172 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp() 5185 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument 5196 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw() 5200 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw() 5226 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local 5233 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config() 5247 nv, ha->nvram_size); in qla2x00_nvram_config() 5250 if (chksum || memcmp("ISP ", nv->id, sizeof(nv->id)) || in qla2x00_nvram_config() [all …]
|
/openbmc/linux/drivers/iio/potentiometer/ |
H A D | max5487.c | 17 /* copy both wiper regs to NV regs */ 19 /* copy both NV regs to wiper regs */ 107 /* restore both wiper regs from NV regs */ in max5487_spi_probe() 122 /* save both wiper regs to NV regs */ in max5487_spi_remove() 125 dev_warn(&spi->dev, "Failed to save wiper regs to NV regs\n"); in max5487_spi_remove()
|
/openbmc/bmcweb/test/http/ |
H A D | http2_connection_test.cpp | 68 nghttp2_nv nv; in unpackHeaders() local 72 inflater.hd2(&nv, &inflateFlags, data, dataField.size(), 1); in unpackHeaders() 78 const char* namePtr = std::bit_cast<const char*>(nv.name); in unpackHeaders() 79 std::string key(namePtr, nv.namelen); in unpackHeaders() 80 const char* valPtr = std::bit_cast<const char*>(nv.value); in unpackHeaders() 81 std::string value(valPtr, nv.valuelen); in unpackHeaders()
|
/openbmc/linux/lib/ |
H A D | group_cpus.c | 291 struct node_groups *nv = &node_groups[i]; in __group_cpus_evenly() local 293 if (nv->ngroups == UINT_MAX) in __group_cpus_evenly() 297 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __group_cpus_evenly() 302 WARN_ON_ONCE(nv->ngroups > ncpus); in __group_cpus_evenly() 305 extra_grps = ncpus - nv->ngroups * (ncpus / nv->ngroups); in __group_cpus_evenly() 308 for (v = 0; v < nv->ngroups; v++, curgrp++) { in __group_cpus_evenly() 309 cpus_per_grp = ncpus / nv->ngroups; in __group_cpus_evenly() 326 done += nv->ngroups; in __group_cpus_evenly()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | opcodes.c | 15 * index into the table is test code: EQ, NE, ... LT, GT, AL, NV 35 0 /* NV */ 42 * ARM_OPCODE_CONDTEST_UNCOND - if NV condition, or separate unconditional
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | posted_intr.c | 74 if (pi_desc->nv != POSTED_INTR_WAKEUP_VECTOR && vcpu->cpu == cpu) { in vmx_vcpu_pi_load() 91 if (pi_desc->nv == POSTED_INTR_WAKEUP_VECTOR) { in vmx_vcpu_pi_load() 116 new.nv = POSTED_INTR_VECTOR; in vmx_vcpu_pi_load() 164 /* set 'NV' to 'wakeup vector' */ in pi_enable_wakeup_handler() 166 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_enable_wakeup_handler() 252 * PI.NV to the wakeup vector, i.e. the assigned device
|
/openbmc/u-boot/drivers/misc/ |
H A D | ds4510.c | 68 * nv = 0 - Writes to SEEPROM registers behave like EEPROM 69 * nv = 1 - Writes to SEEPROM registers behave like SRAM 71 static int ds4510_see_write(uint8_t chip, uint8_t nv) in ds4510_see_write() argument 78 if (nv) /* Treat SEEPROM bits as EEPROM */ in ds4510_see_write() 238 U_BOOT_CMD_MKENT(nv, 3, 0, (void *)DS4510_CMD_NV, "", ""), 364 "ds4510 nv 0|1\n"
|
/openbmc/linux/drivers/watchdog/ |
H A D | nv_tco.c | 3 * nv_tco 0.01: TCO timer driver for NV chipsets 12 * TCO timer driver for NV chipsets 333 if (!request_region(tcobase, 0x10, "NV TCO")) { in nv_tco_getdevice() 349 if (!request_region(MCP51_SMI_EN(tcobase), 4, "NV TCO")) { in nv_tco_getdevice() 481 pr_info("NV TCO WatchDog Timer Driver v%s\n", TCO_VERSION); in nv_tco_init_module() 505 pr_info("NV TCO Watchdog Module Unloaded\n"); in nv_tco_cleanup_module() 512 MODULE_DESCRIPTION("TCO timer driver for NV chipsets");
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/nv-codec-headers/ |
H A D | nv-codec-headers_12.1.14.0.bb | 2 HOMEPAGE = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git" 7 git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https \
|