Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/openbmc/u-boot/board/freescale/common/
H A Ddcu_sii9022a.c63 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 Ddiu_ch7301.c51 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/u-boot/arch/m68k/lib/
H A Dcache.c52 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/arch/x86/cpu/quark/
H A Dmrc_util.c142 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/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/
H A Dunr-power-control-action.bb19 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/u-boot/board/freescale/mpc8610hpcd/
H A Dmpc8610hpcd_diu.c24 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/qemu/target/mips/tcg/
H A Ddsp_helper.c189 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/u-boot/arch/m68k/cpu/mcf5445x/
H A Dspeed.c74 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/phosphor-led-manager/test/
H A Dutest.cpp46 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/arm/include/asm/proc-armv/
H A Dsystem.h72 unsigned long temp; \
77 : "=r" (x), "=r" (temp) \
87 unsigned long temp; \
92 : "=r" (temp) \
102 unsigned long temp; \
107 : "=r" (temp) \
117 unsigned long temp; \
122 : "=r" (temp) \
132 unsigned long temp; \
137 : "=r" (temp) \
/openbmc/qemu/target/tricore/
H A Dtranslate.c215 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/u-boot/board/freescale/p1022ds/
H A Dp1022ds.c103 u8 temp; in misc_init_r() local
110 temp = 0xBF; in misc_init_r()
111 if (i2c_write(CONFIG_TFP410_I2C_ADDR, 0x08, 1, &temp, sizeof(temp)) < 0) in misc_init_r()
113 if (i2c_read(CONFIG_TFP410_I2C_ADDR, 0x08, 1, &temp, sizeof(temp)) < 0) in misc_init_r()
115 debug("DVI Encoder Read: 0x%02x\n", temp); in misc_init_r()
117 temp = 0x10; in misc_init_r()
118 if (i2c_write(CONFIG_TFP410_I2C_ADDR, 0x0A, 1, &temp, sizeof(temp)) < 0) in misc_init_r()
120 if (i2c_read(CONFIG_TFP410_I2C_ADDR, 0x0A, 1, &temp, sizeof(temp)) < 0) in misc_init_r()
122 debug("DVI Encoder Read: 0x%02x\n",temp); in misc_init_r()
154 temp = in_8(&pixis->brdcfg1) & ~(CONFIG_PIXIS_BRDCFG1_SSI_TDM_MASK | in misc_init_r()
[all …]
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/
H A Dconfig.json.in76 "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/u-boot/arch/arm/include/asm/
H A Dutils.h13 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/u-boot/common/
H A Diomux.c28 char *console_args, *temp, **start; in iomux_doenv() local
46 temp = console_args; in iomux_doenv()
48 temp = strchr(temp, ','); in iomux_doenv()
49 if (temp != NULL) { in iomux_doenv()
51 temp++; in iomux_doenv()
66 temp = strchr(start[i++], ','); in iomux_doenv()
67 if (temp == NULL) in iomux_doenv()
69 *temp = '\0'; in iomux_doenv()
70 start[i] = temp + 1; in iomux_doenv()
/openbmc/u-boot/arch/arm/mach-kirkwood/
H A Dcpu.c275 volatile u32 temp; in arch_misc_init() local
278 temp = readfr_extra_feature_reg(); in arch_misc_init()
279 temp &= ~(1 << 28); /* disable wr alloc */ in arch_misc_init()
280 writefr_extra_feature_reg(temp); in arch_misc_init()
282 temp = readfr_extra_feature_reg(); in arch_misc_init()
283 temp &= ~(1 << 29); /* streaming disabled */ in arch_misc_init()
284 writefr_extra_feature_reg(temp); in arch_misc_init()
287 temp = readfr_extra_feature_reg(); in arch_misc_init()
289 temp |= (1 << 24); in arch_misc_init()
291 temp |= (1 << 22); in arch_misc_init()
[all …]
/openbmc/u-boot/board/gdsys/p1022/
H A Ddiu.c50 unsigned long speed_ccb, temp; in diu_set_pixel_clock() local
54 temp = 1000000000 / pixclock; in diu_set_pixel_clock()
55 temp *= 1000; in diu_set_pixel_clock()
56 pixval = speed_ccb / temp; in diu_set_pixel_clock()
60 temp = in_be32(&gur->clkdvdr) & 0x2000FFFF; in diu_set_pixel_clock()
61 out_be32(&gur->clkdvdr, temp); /* turn off clock */ in diu_set_pixel_clock()
62 out_be32(&gur->clkdvdr, temp | 0x80000000 | ((pixval & 0x1F) << 16)); in diu_set_pixel_clock()
/openbmc/u-boot/drivers/mtd/
H A Dmw_eeprom.c158 u16 temp = mw_eeprom_read_word(dev, addr >> 1); in mw_eeprom_write() local
159 temp &= 0xff00; in mw_eeprom_write()
160 temp |= buffer[0]; in mw_eeprom_write()
162 mw_eeprom_write_word(dev, addr >> 1, temp); in mw_eeprom_write()
178 u16 temp = mw_eeprom_read_word(dev, addr >> 1); in mw_eeprom_write() local
179 temp &= 0x00ff; in mw_eeprom_write()
180 temp |= buffer[0] << 8; in mw_eeprom_write()
182 mw_eeprom_write_word(dev, addr >> 1, temp); in mw_eeprom_write()
199 u16 temp = mw_eeprom_read_word(dev, addr >> 1); in mw_eeprom_read() local
200 buffer[0]= temp & 0xff; in mw_eeprom_read()
[all …]
/openbmc/openbmc/poky/documentation/tools/
H A DContainerfile.almalinux9 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 DContainerfile.fedora9 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 DContainerfile.dnf9 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/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/
H A Devents.json1324 // Entry valid for ambient temp < 27
1340 // Entry valid for ambient temp < 32
1356 // Entry valid for ambient temp < 37
1372 // Entry valid for ambient temp < 42
1397 // Entry valid for ambient temp < 27
1413 // Entry valid for ambient temp < 32
1429 // Entry valid for ambient temp < 37
1445 // Entry valid for ambient temp < 42
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge1S4U/
H A Devents.json1324 // Entry valid for ambient temp < 27
1340 // Entry valid for ambient temp < 32
1356 // Entry valid for ambient temp < 37
1372 // Entry valid for ambient temp < 42
1397 // Entry valid for ambient temp < 27
1413 // Entry valid for ambient temp < 32
1429 // Entry valid for ambient temp < 37
1445 // Entry valid for ambient temp < 42
/openbmc/u-boot/arch/arm/mach-orion5x/
H A Dcpu.c250 u32 temp; in arch_misc_init() local
253 temp = readfr_extra_feature_reg(); in arch_misc_init()
254 temp &= ~(1 << 28); /* disable wr alloc */ in arch_misc_init()
255 writefr_extra_feature_reg(temp); in arch_misc_init()
257 temp = readfr_extra_feature_reg(); in arch_misc_init()
258 temp &= ~(1 << 29); /* streaming disabled */ in arch_misc_init()
259 writefr_extra_feature_reg(temp); in arch_misc_init()
262 temp = readfr_extra_feature_reg(); in arch_misc_init()
264 temp |= (1 << 24); in arch_misc_init()
266 temp |= (1 << 22); in arch_misc_init()
[all …]
/openbmc/ipmitool/src/plugins/lan/
H A Dauth.c70 uint32_t temp; in ipmi_auth_md5() local
73 temp = BSWAP_32(s->in_seq); in ipmi_auth_md5()
75 temp = s->in_seq; in ipmi_auth_md5()
84 MD5_Update(&ctx, (const uint8_t *)&temp, sizeof(uint32_t)); in ipmi_auth_md5()
95 uint32_t temp; in ipmi_auth_md5()
107 temp = BSWAP_32(s->in_seq); in ipmi_auth_md5()
109 temp = s->in_seq; in ipmi_auth_md5()
111 md5_append(&state, (const md5_byte_t *)&temp, 4); in ipmi_auth_md5()
134 uint32_t temp; in ipmi_auth_md2() local
137 temp = BSWAP_32(s->in_seq); in ipmi_auth_md2()
[all …]

12345678910>>...15