Home
last modified time | relevance | path

Searched full:temp (Results 1 – 25 of 2569) sorted by relevance

12345678910>>...103

/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/linux/drivers/usb/host/
H A Dohci-dbg.c13 #define edstring(ed_type) ({ char *temp; \
15 case PIPE_CONTROL: temp = "ctrl"; break; \
16 case PIPE_BULK: temp = "bulk"; break; \
17 case PIPE_INTERRUPT: temp = "intr"; break; \
18 default: temp = "isoc"; break; \
19 } temp;})
104 u32 temp; in ohci_dump_status() local
106 temp = ohci_readl (controller, &regs->revision) & 0xff; in ohci_dump_status()
109 0x03 & (temp >> 4), (temp & 0x0f), in ohci_dump_status()
110 (temp & 0x0100) ? "with" : "NO", in ohci_dump_status()
[all …]
H A Dehci-dbg.c377 unsigned temp; in qh_lines() local
398 temp = scnprintf(next, size, in qh_lines()
412 size -= temp; in qh_lines()
413 next += temp; in qh_lines()
446 temp = scnprintf(next, size, in qh_lines()
455 size -= temp; in qh_lines()
456 next += temp; in qh_lines()
457 if (temp == size) in qh_lines()
461 temp = scnprintf(next, size, "\n"); in qh_lines()
462 size -= temp; in qh_lines()
[all …]
H A Dehci-hub.c150 u32 temp; in ehci_adjust_port_wakeup_flags() local
168 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
169 ehci_writel(ehci, temp & ~HOSTPC_PHCD, hostpc_reg); in ehci_adjust_port_wakeup_flags()
200 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
201 ehci_writel(ehci, temp | HOSTPC_PHCD, hostpc_reg); in ehci_adjust_port_wakeup_flags()
379 u32 temp; in ehci_bus_resume() local
429 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_bus_resume()
430 if ((temp & PORT_PE) && in ehci_bus_resume()
431 !(temp & (PORT_SUSPEND | PORT_RESUME))) { in ehci_bus_resume()
432 ehci_dbg(ehci, "Port status(0x%x) is wrong\n", temp); in ehci_bus_resume()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fdi.c287 u32 temp; in cpt_set_fdi_bc_bifurcation() local
289 temp = intel_de_read(dev_priv, SOUTH_CHICKEN1); in cpt_set_fdi_bc_bifurcation()
290 if (!!(temp & FDI_BC_BIFURCATION_SELECT) == enable) in cpt_set_fdi_bc_bifurcation()
300 temp &= ~FDI_BC_BIFURCATION_SELECT; in cpt_set_fdi_bc_bifurcation()
302 temp |= FDI_BC_BIFURCATION_SELECT; in cpt_set_fdi_bc_bifurcation()
306 intel_de_write(dev_priv, SOUTH_CHICKEN1, temp); in cpt_set_fdi_bc_bifurcation()
340 u32 temp; in intel_fdi_normal_train() local
344 temp = intel_de_read(dev_priv, reg); in intel_fdi_normal_train()
346 temp &= ~FDI_LINK_TRAIN_NONE_IVB; in intel_fdi_normal_train()
347 temp |= FDI_LINK_TRAIN_NONE_IVB | FDI_TX_ENHANCE_FRAME_ENABLE; in intel_fdi_normal_train()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c355 u32 temp; in mc417_register_write() local
358 temp = 0x82 | MCI_REGISTER_DATA_BYTE0 | ((value & 0x000000FF) << 8); in mc417_register_write()
359 temp = temp << 10; in mc417_register_write()
360 status = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
363 temp = temp | (0x05 << 10); in mc417_register_write()
364 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
367 temp = 0x82 | MCI_REGISTER_DATA_BYTE1 | (value & 0x0000FF00); in mc417_register_write()
368 temp = temp << 10; in mc417_register_write()
369 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
370 temp = temp | (0x05 << 10); in mc417_register_write()
[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/linux/drivers/thermal/
H A Dthermal_hwmon.c56 struct thermal_hwmon_temp *temp in temp_input_show() local
59 struct thermal_zone_device *tz = temp->tz; in temp_input_show()
74 struct thermal_hwmon_temp *temp in temp_crit_show() local
77 struct thermal_zone_device *tz = temp->tz; in temp_crit_show()
122 struct thermal_hwmon_temp *temp; in thermal_hwmon_lookup_temp() local
125 list_for_each_entry(temp, &hwmon->tz_list, hwmon_node) in thermal_hwmon_lookup_temp()
126 if (temp->tz == tz) { in thermal_hwmon_lookup_temp()
128 return temp; in thermal_hwmon_lookup_temp()
137 int temp; in thermal_zone_crit_temp_valid() local
138 return tz->ops->get_crit_temp && !tz->ops->get_crit_temp(tz, &temp); in thermal_zone_crit_temp_valid()
[all …]
/openbmc/linux/fs/jffs2/
H A Dsummary.c118 struct jffs2_sum_inode_mem *temp = kmalloc(sizeof(struct jffs2_sum_inode_mem), GFP_KERNEL); in jffs2_sum_add_inode_mem() local
120 if (!temp) in jffs2_sum_add_inode_mem()
123 temp->nodetype = ri->nodetype; in jffs2_sum_add_inode_mem()
124 temp->inode = ri->ino; in jffs2_sum_add_inode_mem()
125 temp->version = ri->version; in jffs2_sum_add_inode_mem()
126 temp->offset = cpu_to_je32(ofs); /* relative offset from the beginning of the jeb */ in jffs2_sum_add_inode_mem()
127 temp->totlen = ri->totlen; in jffs2_sum_add_inode_mem()
128 temp->next = NULL; in jffs2_sum_add_inode_mem()
130 return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); in jffs2_sum_add_inode_mem()
136 struct jffs2_sum_dirent_mem *temp = in jffs2_sum_add_dirent_mem() local
[all …]
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_dbg.c15 u32 temp; in bdc_dbg_regs() local
18 temp = bdc_readl(bdc->regs, BDC_BDCCFG0); in bdc_dbg_regs()
19 dev_vdbg(bdc->dev, "bdccfg0:0x%08x\n", temp); in bdc_dbg_regs()
20 temp = bdc_readl(bdc->regs, BDC_BDCCFG1); in bdc_dbg_regs()
21 dev_vdbg(bdc->dev, "bdccfg1:0x%08x\n", temp); in bdc_dbg_regs()
22 temp = bdc_readl(bdc->regs, BDC_BDCCAP0); in bdc_dbg_regs()
23 dev_vdbg(bdc->dev, "bdccap0:0x%08x\n", temp); in bdc_dbg_regs()
24 temp = bdc_readl(bdc->regs, BDC_BDCCAP1); in bdc_dbg_regs()
25 dev_vdbg(bdc->dev, "bdccap1:0x%08x\n", temp); in bdc_dbg_regs()
26 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_dbg_regs()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy.c32 s32 temp; in dsi_dphy_timing_calc_clk_zero() local
35 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero()
36 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero()
46 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero()
47 timing->clk_zero = clk_z + 8 - temp; in dsi_dphy_timing_calc_clk_zero()
62 s32 temp; in msm_dsi_dphy_timing_calc() local
74 temp = lpx / ui; in msm_dsi_dphy_timing_calc()
75 if (temp & 0x1) in msm_dsi_dphy_timing_calc()
76 timing->hs_rqst = temp; in msm_dsi_dphy_timing_calc()
78 timing->hs_rqst = max_t(s32, 0, temp - 2); in msm_dsi_dphy_timing_calc()
[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/qemu/target/tricore/
H A Dtranslate.c214 TCGv temp = tcg_temp_new(); in gen_offset_ld() local
215 tcg_gen_addi_tl(temp, r2, con); in gen_offset_ld()
216 tcg_gen_qemu_ld_tl(r1, temp, ctx->mem_idx, mop); in gen_offset_ld()
222 TCGv temp = tcg_temp_new(); in gen_offset_st() local
223 tcg_gen_addi_tl(temp, r2, con); in gen_offset_st()
224 tcg_gen_qemu_st_tl(r1, temp, ctx->mem_idx, mop); in gen_offset_st()
229 TCGv_i64 temp = tcg_temp_new_i64(); in gen_st_2regs_64() local
231 tcg_gen_concat_i32_i64(temp, rl, rh); in gen_st_2regs_64()
232 tcg_gen_qemu_st_i64(temp, address, ctx->mem_idx, MO_LEUQ); in gen_st_2regs_64()
238 TCGv temp = tcg_temp_new(); in gen_offset_st_2regs() local
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-imx-lpi2c.c121 unsigned int temp; in lpi2c_imx_bus_busy() local
124 temp = readl(lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
127 if (temp & MSR_ALF) { in lpi2c_imx_bus_busy()
128 writel(temp, lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
132 if (temp & (MSR_BBF | MSR_MBF)) in lpi2c_imx_bus_busy()
167 unsigned int temp; in lpi2c_imx_start() local
169 temp = readl(lpi2c_imx->base + LPI2C_MCR); in lpi2c_imx_start()
170 temp |= MCR_RRF | MCR_RTF; in lpi2c_imx_start()
171 writel(temp, lpi2c_imx->base + LPI2C_MCR); in lpi2c_imx_start()
174 temp = i2c_8bit_addr_from_msg(msgs) | (GEN_START << 8); in lpi2c_imx_start()
[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/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/linux/lib/xz/
H A Dxz_dec_stream.c129 } temp; member
152 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
153 * must have set s->temp.pos to indicate how much data we are supposed
154 * to copy into s->temp.buf. Return true once s->temp.pos has reached
155 * s->temp.size.
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
164 s->temp.pos += copy_size; in fill_temp()
166 if (s->temp.pos == s->temp.size) { in fill_temp()
167 s->temp.pos = 0; in fill_temp()
[all …]
/openbmc/linux/drivers/char/agp/
H A Dali-agp.c24 u32 temp; in ali_fetch_size() local
27 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_fetch_size()
28 temp &= ~(0xfffffff0); in ali_fetch_size()
32 if (temp == values[i].size_value) { in ali_fetch_size()
45 u32 temp; in ali_tlbflush() local
47 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_tlbflush()
48 temp &= 0xfffffff0; in ali_tlbflush()
49 temp |= (1<<0 | 1<<1); in ali_tlbflush()
50 pci_write_config_dword(agp_bridge->dev, ALI_TAGCTRL, temp); in ali_tlbflush()
56 u32 temp; in ali_cleanup() local
[all …]
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.c107 uint8_t temp; in send_seeprom_cmd() local
111 temp = sd->sd_MS ^ sd->sd_CS; in send_seeprom_cmd()
112 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
117 temp ^= sd->sd_DO; in send_seeprom_cmd()
118 SEEPROM_OUTB(sd, temp); in send_seeprom_cmd()
120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
123 temp ^= sd->sd_DO; in send_seeprom_cmd()
133 uint8_t temp; in reset_seeprom() local
135 temp = sd->sd_MS; in reset_seeprom()
136 SEEPROM_OUTB(sd, temp); in reset_seeprom()
[all …]
/openbmc/linux/drivers/hwmon/peci/
H A Dcputemp.c65 } temp; member
93 if (!peci_sensor_need_update(&priv->temp.target.state)) in update_temp_target()
100 priv->temp.target.tjmax = in update_temp_target()
105 priv->temp.target.tcontrol = priv->temp.target.tjmax - tcontrol_margin; in update_temp_target()
108 priv->temp.target.tthrottle = priv->temp.target.tjmax - tthrottle_offset; in update_temp_target()
110 peci_sensor_mark_updated(&priv->temp.target.state); in update_temp_target()
119 mutex_lock(&priv->temp.target.state.lock); in get_temp_target()
127 *val = priv->temp.target.tcontrol; in get_temp_target()
130 *val = priv->temp.target.tthrottle; in get_temp_target()
133 *val = priv->temp.target.tjmax; in get_temp_target()
[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/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/
H A Dconfig-olympus-nuvoton.json13 "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/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/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 …]

12345678910>>...103