/openbmc/openbmc/meta-facebook/meta-santabarbara/recipes-phosphor/sensors/phosphor-virtual-sensor/ |
H A D | virtual_sensor_config.json | 32 "var TEMP[14]:={0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 125};", 34 …" case inrange(CURR[0],PDB1_BTP1_CURR,CURR[1]): TEMP[0]+((PDB1_BTP1_CURR-CURR[0])*(TEMP[1]-TEMP[0… 35 …" case inrange(CURR[1],PDB1_BTP1_CURR,CURR[2]): TEMP[1]+((PDB1_BTP1_CURR-CURR[1])*(TEMP[2]-TEMP[1… 36 …" case inrange(CURR[2],PDB1_BTP1_CURR,CURR[3]): TEMP[2]+((PDB1_BTP1_CURR-CURR[2])*(TEMP[3]-TEMP[2… 37 …" case inrange(CURR[3],PDB1_BTP1_CURR,CURR[4]): TEMP[3]+((PDB1_BTP1_CURR-CURR[3])*(TEMP[4]-TEMP[3… 38 …" case inrange(CURR[4],PDB1_BTP1_CURR,CURR[5]): TEMP[4]+((PDB1_BTP1_CURR-CURR[4])*(TEMP[5]-TEMP[4… 39 …" case inrange(CURR[5],PDB1_BTP1_CURR,CURR[6]): TEMP[5]+((PDB1_BTP1_CURR-CURR[5])*(TEMP[6]-TEMP[5… 40 …" case inrange(CURR[6],PDB1_BTP1_CURR,CURR[7]): TEMP[6]+((PDB1_BTP1_CURR-CURR[6])*(TEMP[7]-TEMP[6… 41 …" case inrange(CURR[7],PDB1_BTP1_CURR,CURR[8]): TEMP[7]+((PDB1_BTP1_CURR-CURR[7])*(TEMP[8]-TEMP[7… 42 …" case inrange(CURR[8],PDB1_BTP1_CURR,CURR[9]): TEMP[8]+((PDB1_BTP1_CURR-CURR[8])*(TEMP[9]-TEMP[8… [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/sensors/phosphor-virtual-sensor/ |
H A D | virtual_sensor_config.json | 209 "var TEMP[14]:={0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 125};", 211 …" case inrange(CURR[0],RMC_CTP_CURR,CURR[1]): TEMP[0]+((RMC_CTP_CURR-CURR[0])*(TEMP[1]-TEMP[0])/(… 212 …" case inrange(CURR[1],RMC_CTP_CURR,CURR[2]): TEMP[1]+((RMC_CTP_CURR-CURR[1])*(TEMP[2]-TEMP[1])/(… 213 …" case inrange(CURR[2],RMC_CTP_CURR,CURR[3]): TEMP[2]+((RMC_CTP_CURR-CURR[2])*(TEMP[3]-TEMP[2])/(… 214 …" case inrange(CURR[3],RMC_CTP_CURR,CURR[4]): TEMP[3]+((RMC_CTP_CURR-CURR[3])*(TEMP[4]-TEMP[3])/(… 215 …" case inrange(CURR[4],RMC_CTP_CURR,CURR[5]): TEMP[4]+((RMC_CTP_CURR-CURR[4])*(TEMP[5]-TEMP[4])/(… 216 …" case inrange(CURR[5],RMC_CTP_CURR,CURR[6]): TEMP[5]+((RMC_CTP_CURR-CURR[5])*(TEMP[6]-TEMP[5])/(… 217 …" case inrange(CURR[6],RMC_CTP_CURR,CURR[7]): TEMP[6]+((RMC_CTP_CURR-CURR[6])*(TEMP[7]-TEMP[6])/(… 218 …" case inrange(CURR[7],RMC_CTP_CURR,CURR[8]): TEMP[7]+((RMC_CTP_CURR-CURR[7])*(TEMP[8]-TEMP[7])/(… 219 …" case inrange(CURR[8],RMC_CTP_CURR,CURR[9]): TEMP[8]+((RMC_CTP_CURR-CURR[8])*(TEMP[9]-TEMP[8])/(… [all …]
|
/openbmc/u-boot/board/freescale/common/ |
H A D | dcu_sii9022a.c | 63 u8 temp; in dcu_set_dvi_encoder() local 70 temp = TPI_TRANS_MODE_ENABLE; in dcu_set_dvi_encoder() 71 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_TRANS_MODE_REG, 1, &temp, 1); in dcu_set_dvi_encoder() 74 i2c_read(CONFIG_SYS_I2C_DVI_ADDR, TPI_PWR_STAT_REG, 1, &temp, 1); in dcu_set_dvi_encoder() 75 temp &= ~TPI_PWR_STAT_MASK; in dcu_set_dvi_encoder() 76 temp |= TPI_PWR_STAT_D0; in dcu_set_dvi_encoder() 77 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_PWR_STAT_REG, 1, &temp, 1); in dcu_set_dvi_encoder() 80 temp = TPI_SET_PAGE_SII9022A; in dcu_set_dvi_encoder() 81 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_SET_PAGE_REG, 1, &temp, 1); in dcu_set_dvi_encoder() 82 temp = TPI_SET_OFFSET_SII9022A; in dcu_set_dvi_encoder() [all …]
|
H A D | diu_ch7301.c | 51 u8 temp; in diu_set_dvi_encoder() local 53 temp = I2C_DVI_TEST_PATTERN_VAL; in diu_set_dvi_encoder() 55 &temp, 1); in diu_set_dvi_encoder() 60 temp = I2C_DVI_INPUT_DATA_FORMAT_VAL; in diu_set_dvi_encoder() 62 1, &temp, 1); in diu_set_dvi_encoder() 69 temp = I2C_DVI_SYNC_POLARITY_VAL; in diu_set_dvi_encoder() 71 &temp, 1); in diu_set_dvi_encoder() 79 temp = I2C_DVI_PLL_CHARGE_CNTL_HIGH_SPEED_VAL; in diu_set_dvi_encoder() 81 I2C_DVI_PLL_CHARGE_CNTL_REG, 1, &temp, 1); in diu_set_dvi_encoder() 86 temp = I2C_DVI_PLL_DIVIDER_HIGH_SPEED_VAL; in diu_set_dvi_encoder() [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/ |
H A D | unr-power-control-action.bb | 19 file://unr-action-slot1-temp-poweroff.yaml \ 20 file://unr-action-slot2-temp-poweroff.yaml \ 21 file://unr-action-slot3-temp-poweroff.yaml \ 22 file://unr-action-slot4-temp-poweroff.yaml \ 23 file://unr-action-slot5-temp-poweroff.yaml \ 24 file://unr-action-slot6-temp-poweroff.yaml \ 25 file://unr-action-slot7-temp-poweroff.yaml \ 26 file://unr-action-slot8-temp-poweroff.yaml \ 34 …install -D ${UNPACKDIR}/unr-action-slot1-temp-poweroff.yaml ${D}${config_dir}/unr-action-slot1-tem… 35 …install -D ${UNPACKDIR}/unr-action-slot2-temp-poweroff.yaml ${D}${config_dir}/unr-action-slot2-tem… [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/sensors/phosphor-virtual-sensor/catalina/ |
H A D | virtual_sensor_config.json | 213 "var TEMP[14]:={0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 125};", 215 …" case inrange(CURR[0],PDB_CTP_CURR,CURR[1]): TEMP[0]+((PDB_CTP_CURR-CURR[0])*(TEMP[1]-TEMP[0])/(… 216 …" case inrange(CURR[1],PDB_CTP_CURR,CURR[2]): TEMP[1]+((PDB_CTP_CURR-CURR[1])*(TEMP[2]-TEMP[1])/(… 217 …" case inrange(CURR[2],PDB_CTP_CURR,CURR[3]): TEMP[2]+((PDB_CTP_CURR-CURR[2])*(TEMP[3]-TEMP[2])/(… 218 …" case inrange(CURR[3],PDB_CTP_CURR,CURR[4]): TEMP[3]+((PDB_CTP_CURR-CURR[3])*(TEMP[4]-TEMP[3])/(… 219 …" case inrange(CURR[4],PDB_CTP_CURR,CURR[5]): TEMP[4]+((PDB_CTP_CURR-CURR[4])*(TEMP[5]-TEMP[4])/(… 220 …" case inrange(CURR[5],PDB_CTP_CURR,CURR[6]): TEMP[5]+((PDB_CTP_CURR-CURR[5])*(TEMP[6]-TEMP[5])/(… 221 …" case inrange(CURR[6],PDB_CTP_CURR,CURR[7]): TEMP[6]+((PDB_CTP_CURR-CURR[6])*(TEMP[7]-TEMP[6])/(… 222 …" case inrange(CURR[7],PDB_CTP_CURR,CURR[8]): TEMP[7]+((PDB_CTP_CURR-CURR[7])*(TEMP[8]-TEMP[7])/(… 223 …" case inrange(CURR[8],PDB_CTP_CURR,CURR[9]): TEMP[8]+((PDB_CTP_CURR-CURR[8])*(TEMP[9]-TEMP[8])/(… [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 189 uint16_t temp; in mipsdsp_add_u8() local 191 temp = (uint16_t)a + (uint16_t)b; in mipsdsp_add_u8() 193 if (temp & 0x0100) { in mipsdsp_add_u8() 197 return temp & 0xFF; in mipsdsp_add_u8() 203 uint32_t temp; in mipsdsp_add_u16() local 205 temp = (uint32_t)a + (uint32_t)b; in mipsdsp_add_u16() 207 if (temp & 0x00010000) { in mipsdsp_add_u16() 211 return temp & 0xFFFF; in mipsdsp_add_u16() 218 uint16_t temp; in mipsdsp_sat_add_u8() local 220 temp = (uint16_t)a + (uint16_t)b; in mipsdsp_sat_add_u8() [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/sensors/phosphor-virtual-sensor/clemente/ |
H A D | virtual_sensor_config.json | 213 "var TEMP[14]:={0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 125};", 215 …ase inrange(CURR[0],Interposer_CTP_CURR,CURR[1]): TEMP[0]+((Interposer_CTP_CURR-CURR[0])*(TEMP[1]-… 216 …ase inrange(CURR[1],Interposer_CTP_CURR,CURR[2]): TEMP[1]+((Interposer_CTP_CURR-CURR[1])*(TEMP[2]-… 217 …ase inrange(CURR[2],Interposer_CTP_CURR,CURR[3]): TEMP[2]+((Interposer_CTP_CURR-CURR[2])*(TEMP[3]-… 218 …ase inrange(CURR[3],Interposer_CTP_CURR,CURR[4]): TEMP[3]+((Interposer_CTP_CURR-CURR[3])*(TEMP[4]-… 219 …ase inrange(CURR[4],Interposer_CTP_CURR,CURR[5]): TEMP[4]+((Interposer_CTP_CURR-CURR[4])*(TEMP[5]-… 220 …ase inrange(CURR[5],Interposer_CTP_CURR,CURR[6]): TEMP[5]+((Interposer_CTP_CURR-CURR[5])*(TEMP[6]-… 221 …ase inrange(CURR[6],Interposer_CTP_CURR,CURR[7]): TEMP[6]+((Interposer_CTP_CURR-CURR[6])*(TEMP[7]-… 222 …ase inrange(CURR[7],Interposer_CTP_CURR,CURR[8]): TEMP[7]+((Interposer_CTP_CURR-CURR[7])*(TEMP[8]-… 223 …ase inrange(CURR[8],Interposer_CTP_CURR,CURR[9]): TEMP[8]+((Interposer_CTP_CURR-CURR[8])*(TEMP[9]-… [all …]
|
/openbmc/u-boot/arch/m68k/lib/ |
H A D | cache.c | 52 u32 temp = 0; in icache_disable() local 58 __asm__ __volatile__("movec %0, %%acr2"::"r"(temp)); in icache_disable() 59 __asm__ __volatile__("movec %0, %%acr3"::"r"(temp)); in icache_disable() 61 __asm__ __volatile__("movec %0, %%acr6"::"r"(temp)); in icache_disable() 62 __asm__ __volatile__("movec %0, %%acr7"::"r"(temp)); in icache_disable() 65 __asm__ __volatile__("movec %0, %%acr0"::"r"(temp)); in icache_disable() 66 __asm__ __volatile__("movec %0, %%acr1"::"r"(temp)); in icache_disable() 72 u32 temp; in icache_invalid() local 74 temp = CONFIG_SYS_ICACHE_INV; in icache_invalid() 76 temp |= CONFIG_SYS_CACHE_ICACR; in icache_invalid() [all …]
|
/openbmc/u-boot/board/freescale/mpc8610hpcd/ |
H A D | mpc8610hpcd_diu.c | 24 unsigned long speed_ccb, temp, pixval; in diu_set_pixel_clock() local 27 temp = 1000000000/pixclock; in diu_set_pixel_clock() 28 temp *= 1000; in diu_set_pixel_clock() 29 pixval = speed_ccb / temp; in diu_set_pixel_clock() 34 temp = *guts_clkdvdr & 0x2000FFFF; in diu_set_pixel_clock() 35 *guts_clkdvdr = temp; /* turn off clock */ in diu_set_pixel_clock() 36 *guts_clkdvdr = temp | 0x80000000 | ((pixval & 0x1F) << 16); in diu_set_pixel_clock() 45 u8 temp; in platform_diu_init() local 47 temp = in_8(&pixis->brdcfg0); in platform_diu_init() 52 temp &= ~(PX_BRDCFG0_DLINK | PX_BRDCFG0_DVISEL); in platform_diu_init() [all …]
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | mrc_util.c | 142 uint32_t temp; in set_rcvn() local 157 temp = (byte_lane & 1) ? (pi_count / HALF_CLK) << 20 : in set_rcvn() 159 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn() 173 temp = pi_count << 24; in set_rcvn() 174 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn() 184 temp = 0x00; in set_rcvn() 189 temp |= msk; in set_rcvn() 194 temp |= msk; in set_rcvn() 196 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn() 216 uint32_t temp; in get_rcvn() local [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 215 TCGv temp = tcg_temp_new(); in gen_offset_ld() local 216 tcg_gen_addi_tl(temp, r2, con); in gen_offset_ld() 217 tcg_gen_qemu_ld_tl(r1, temp, ctx->mem_idx, mop); in gen_offset_ld() 223 TCGv temp = tcg_temp_new(); in gen_offset_st() local 224 tcg_gen_addi_tl(temp, r2, con); in gen_offset_st() 225 tcg_gen_qemu_st_tl(r1, temp, ctx->mem_idx, mop); in gen_offset_st() 230 TCGv_i64 temp = tcg_temp_new_i64(); in gen_st_2regs_64() local 232 tcg_gen_concat_i32_i64(temp, rl, rh); in gen_st_2regs_64() 233 tcg_gen_qemu_st_i64(temp, address, ctx->mem_idx, MO_LEUQ); in gen_st_2regs_64() 239 TCGv temp = tcg_temp_new(); in gen_offset_st_2regs() local [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/ |
H A D | config-olympus-nuvoton.json | 13 "type": "temp", 22 "type": "temp", 31 "type": "temp", 40 "type": "temp", 49 "type": "temp", 58 "type": "temp", 67 "type": "temp", 76 "type": "temp", 85 "type": "temp", 94 "type": "temp", [all …]
|
/openbmc/phosphor-led-manager/test/ |
H A D | utest.cpp | 46 ActionSet temp{}; in TEST_F() local 49 std::inserter(temp, temp.begin())); in TEST_F() 50 EXPECT_EQ(0, temp.size()); in TEST_F() 78 ActionSet temp{}; in TEST_F() local 81 std::inserter(temp, temp.begin())); in TEST_F() 82 EXPECT_EQ(0, temp.size()); in TEST_F() 110 ActionSet temp{}; in TEST_F() local 113 std::inserter(temp, temp.begin())); in TEST_F() 114 EXPECT_EQ(0, temp.size()); in TEST_F() 160 ActionSet temp{}; in TEST_F() local [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/ |
H A D | speed.c | 74 int temp, vco = 0, bootmod_ccr, pdr; in setup_5441x_clocks() local 92 temp = in_be32(&pll->pcr); in setup_5441x_clocks() 93 temp &= ~0x3f; in setup_5441x_clocks() 94 temp |= 5; in setup_5441x_clocks() 95 out_be32(&pll->pcr, temp); in setup_5441x_clocks() 97 temp = in_be32(&pll->pdr); in setup_5441x_clocks() 98 temp &= ~0x001f0000; in setup_5441x_clocks() 99 temp |= 0x00040000; in setup_5441x_clocks() 100 out_be32(&pll->pdr, temp); in setup_5441x_clocks() 113 temp = (pdr & PLL_DR_OUTDIV1_BITS) + 1; in setup_5441x_clocks() [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/ |
H A D | config.json.in | 76 "type": "temp", 86 "type": "temp", 96 "type": "temp", 106 "type": "temp", 116 "type": "temp", 126 "type": "temp", 136 "type": "temp", 146 "type": "temp", 156 "type": "temp", 166 "type": "temp", [all …]
|
/openbmc/openbmc/poky/documentation/tools/ |
H A D | Containerfile.zypper | 9 COPY --chmod=777 ${DOCS} /temp/host_packages_docs.sh 10 COPY --chmod=777 ${DOCS_PDF} /temp/host_packages_docs_pdf.sh 11 COPY --chmod=777 ${PIP3} /temp/pip3_docs.sh 17 RUN for script in /temp/*.sh; do \ 23 && yes | /temp/host_packages_docs.sh \ 24 && yes | /temp/host_packages_docs_pdf.sh \ 25 && yes | /temp/pip3_docs.sh \ 27 && rm -rf /temp
|
H A D | Containerfile.almalinux | 9 COPY --chmod=777 ${DOCS} /temp/host_packages_docs.sh 10 COPY --chmod=777 ${DOCS_PDF} /temp/host_packages_docs_pdf.sh 11 COPY --chmod=777 ${PIP3} /temp/pip3_docs.sh 15 && yes | /temp/host_packages_docs.sh \ 16 && yes | /temp/host_packages_docs_pdf.sh \ 17 && yes | /temp/pip3_docs.sh \ 20 && rm -rf /temp
|
H A D | Containerfile.fedora | 9 COPY --chmod=777 ${DOCS} /temp/host_packages_docs.sh 10 COPY --chmod=777 ${DOCS_PDF} /temp/host_packages_docs_pdf.sh 11 COPY --chmod=777 ${PIP3} /temp/pip3_docs.sh 15 && yes | /temp/host_packages_docs.sh \ 16 && yes | /temp/host_packages_docs_pdf.sh \ 17 && yes | /temp/pip3_docs.sh \ 20 && rm -rf /temp
|
H A D | Containerfile.dnf | 9 COPY --chmod=777 ${DOCS} /temp/host_packages_docs.sh 10 COPY --chmod=777 ${DOCS_PDF} /temp/host_packages_docs_pdf.sh 11 COPY --chmod=777 ${PIP3} /temp/pip3_docs.sh 15 && yes | /temp/host_packages_docs.sh \ 16 && yes | /temp/host_packages_docs_pdf.sh \ 17 && yes | /temp/pip3_docs.sh \ 20 && rm -rf /temp
|
/openbmc/entity-manager/configurations/asrock/ |
H A D | asrock_altrad8.json | 572 "Name": "TEMP TR1", 610 "Name": "TEMP M2_1", 642 "Name": "TEMP M2_2", 674 "Name": "TEMP OCU2", 706 "Name": "TEMP OCU1", 771 "Class": "temp", 778 "TEMP SOC", 779 "TEMP DIMM A1", 780 "TEMP DIMM B1", 781 "TEMP DIMM C1", [all …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | utils.h | 13 u32 temp = n; in log_2_n_round_up() local 15 while (temp) { in log_2_n_round_up() 17 temp >>= 1; in log_2_n_round_up() 29 u32 temp = n; in log_2_n_round_down() local 31 while (temp) { in log_2_n_round_down() 33 temp >>= 1; in log_2_n_round_down()
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/fans/phosphor-pid-control/catalina/ |
H A D | config-pdb-brick.json | 5 "type": "temp", 12 "type": "temp", 19 "type": "temp", 26 "type": "temp", 34 "type": "temp", 42 "type": "temp", 49 "type": "temp", 56 "type": "temp", 63 "type": "temp", 70 "type": "temp", [all …]
|
/openbmc/entity-manager/configurations/ibm/ |
H A D | blyth.json | 6 "Name": "Ambient 1 Temp", 31 "Name": "Ambient Virtual Temp", 33 "Ambient 0 Temp", 34 "Ambient 1 Temp", 35 "Ambient 2 Temp" 66 "Name": "Ambient 2 Temp", 89 "Name": "Ambient 0 Temp",
|
H A D | storm_king.json | 6 "Name": "Ambient 1 Temp", 31 "Name": "Ambient Virtual Temp", 33 "Ambient 0 Temp", 34 "Ambient 1 Temp", 35 "Ambient 2 Temp" 66 "Name": "Ambient 2 Temp", 89 "Name": "Ambient 0 Temp",
|