/openbmc/u-boot/board/freescale/common/ |
H A D | dcu_sii9022a.c | 63 u8 temp; in dcu_set_dvi_encoder() local 75 temp &= ~TPI_PWR_STAT_MASK; in dcu_set_dvi_encoder() 76 temp |= TPI_PWR_STAT_D0; in dcu_set_dvi_encoder() 95 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder() 97 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder() 103 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder() 105 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder() 111 temp = (u8)(temp2 & 0xFF); in dcu_set_dvi_encoder() 113 temp = (u8)(temp2 >> 8); in dcu_set_dvi_encoder() 120 temp = (u8)(temp1 & 0xFF); 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() 95 I2C_DVI_PLL_FILTER_REG, 1, &temp, 1); in diu_set_dvi_encoder() 117 I2C_DVI_PLL_FILTER_REG, 1, &temp, 1); in diu_set_dvi_encoder() 124 temp = I2C_DVI_POWER_MGMT_VAL; in diu_set_dvi_encoder() [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-417.c | 359 temp = temp << 10; in mc417_register_write() 368 temp = temp << 10; in mc417_register_write() 375 temp = temp << 10; in mc417_register_write() 382 temp = temp << 10; in mc417_register_write() 389 temp = temp << 10; in mc417_register_write() 396 temp = temp << 10; in mc417_register_write() 403 temp = temp << 10; in mc417_register_write() 419 temp = temp << 10; in mc417_register_read() 426 temp = temp << 10; in mc417_register_read() 433 temp = temp << 10; in mc417_register_read() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ohci-dbg.c | 19 } temp;}) 104 u32 temp; in ohci_dump_status() local 109 0x03 & (temp >> 4), (temp & 0x0f), in ohci_dump_status() 116 temp, in ohci_dump_status() 172 num, temp, \ 217 temp, in ohci_dump_roothub() 224 temp, in ohci_dump_roothub() 477 temp += show_list(ohci, buf->page + temp, size - temp, in fill_async_buffer() 481 return temp; in fill_async_buffer() 524 for (temp = 0; temp < seen_count; temp++) { in fill_periodic_buffer() [all …]
|
H A D | ehci-dbg.c | 412 size -= temp; in qh_lines() 413 next += temp; in qh_lines() 462 size -= temp; in qh_lines() 463 next += temp; in qh_lines() 533 size -= temp; in fill_bandwidth_buffer() 603 temp++; in output_buf_tds_dir() 677 for (temp = 0; temp < seen_count; temp++) { in fill_periodic_buffer() 849 temp = scnprintf(next, size, fmt, temp, scratch); in fill_registers_buffer() 855 temp = scnprintf(next, size, fmt, temp, scratch); in fill_registers_buffer() 861 temp = scnprintf(next, size, fmt, temp, scratch); in fill_registers_buffer() [all …]
|
H A D | ehci-hub.c | 150 u32 temp; in ehci_adjust_port_wakeup_flags() local 379 u32 temp; in ehci_bus_resume() local 621 u32 temp, status; in ehci_hub_status_data() local 666 temp = 0; in ehci_hub_status_data() 703 u16 temp; in ehci_hub_descriptor() local 715 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in ehci_hub_descriptor() 755 temp = 0; in ehci_hub_control() 874 if (temp & PORT_CSC) in ehci_hub_control() 993 if (temp & PORT_PE) in ehci_hub_control() 1008 if (temp & PORT_OC) in ehci_hub_control() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fdi.c | 287 u32 temp; in cpt_set_fdi_bc_bifurcation() local 340 u32 temp; in intel_fdi_normal_train() local 382 u32 temp, tries; in ilk_fdi_link_train() local 484 u32 temp, i, retry; in gen6_fdi_link_train() local 620 u32 temp, i, j; in ivb_manual_fdi_link_train() local 651 temp &= ~FDI_TX_ENABLE; in ivb_manual_fdi_link_train() 658 temp &= ~FDI_RX_ENABLE; in ivb_manual_fdi_link_train() 897 u32 temp; in ilk_fdi_pll_enable() local 951 u32 temp; in ilk_fdi_disable() local 959 temp &= ~(0x7 << 16); in ilk_fdi_disable() [all …]
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | mrc_util.c | 184 temp = 0x00; in set_rcvn() 189 temp |= msk; in set_rcvn() 194 temp |= msk; in set_rcvn() 230 temp &= 0xf; in get_rcvn() 244 temp >>= 24; in get_rcvn() 378 temp = 0x00; in set_wdqs() 424 temp &= 0xf; in get_wdqs() 438 temp >>= 16; in get_wdqs() 562 temp >>= 8; in get_wdq() 592 temp <<= 8; in set_wcmd() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_dbg.c | 15 u32 temp; in bdc_dbg_regs() local 18 temp = bdc_readl(bdc->regs, BDC_BDCCFG0); in bdc_dbg_regs() 20 temp = bdc_readl(bdc->regs, BDC_BDCCFG1); in bdc_dbg_regs() 22 temp = bdc_readl(bdc->regs, BDC_BDCCAP0); in bdc_dbg_regs() 24 temp = bdc_readl(bdc->regs, BDC_BDCCAP1); in bdc_dbg_regs() 26 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_dbg_regs() 28 temp = bdc_readl(bdc->regs, BDC_DVCSA); in bdc_dbg_regs() 30 temp = bdc_readl(bdc->regs, BDC_DVCSB); in bdc_dbg_regs() 36 u32 temp; in bdc_dump_epsts() local 38 temp = bdc_readl(bdc->regs, BDC_EPSTS0); in bdc_dump_epsts() [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() 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() 104 u32 temp = 0; in dcache_disable() local 124 u32 temp; in dcache_invalid() local 126 temp = CONFIG_SYS_DCACHE_INV; in dcache_invalid() 128 temp |= CONFIG_SYS_CACHE_DCACR; in dcache_invalid() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_hwmon.c | 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 169 temp = kzalloc(sizeof(*temp), GFP_KERNEL); in thermal_add_hwmon_sysfs() 170 if (!temp) { in thermal_add_hwmon_sysfs() 175 temp->tz = tz; in thermal_add_hwmon_sysfs() 178 snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), in thermal_add_hwmon_sysfs() 180 temp->temp_input.attr.attr.name = temp->temp_input.name; in thermal_add_hwmon_sysfs() 192 temp->temp_crit.attr.attr.name = temp->temp_crit.name; in thermal_add_hwmon_sysfs() 213 kfree(temp); in thermal_add_hwmon_sysfs() [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | summary.c | 120 if (!temp) in jffs2_sum_add_inode_mem() 128 temp->next = NULL; in jffs2_sum_add_inode_mem() 139 if (!temp) in jffs2_sum_add_dirent_mem() 163 if (!temp) in jffs2_sum_add_xattr_mem() 181 if (!temp) in jffs2_sum_add_xref_mem() 203 kfree(temp); in jffs2_sum_clean_collected() 268 if (!temp) in jffs2_sum_add_kvec() 285 if (!temp) in jffs2_sum_add_kvec() 318 if (!temp) in jffs2_sum_add_kvec() 333 if (!temp) in jffs2_sum_add_kvec() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 32 s32 temp; in dsi_dphy_timing_calc_clk_zero() local 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() 96 temp = 145 * coeff + 10 * ui - temp; in msm_dsi_dphy_timing_calc() 112 temp = 60 * coeff + 52 * ui - 24 * ui - temp; in msm_dsi_dphy_timing_calc() 119 temp += 8 * ui + lpx; in msm_dsi_dphy_timing_calc() 161 s32 temp; in msm_dsi_dphy_timing_calc_v2() local 276 s32 temp; in msm_dsi_dphy_timing_calc_v3() local 387 s32 temp; in msm_dsi_dphy_timing_calc_v4() local [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_93cx6.c | 107 uint8_t temp; in send_seeprom_cmd() local 117 temp ^= sd->sd_DO; 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() 155 uint8_t temp; in ahc_read_seeprom() local 172 temp ^= sd->sd_DO; in ahc_read_seeprom() 178 temp ^= sd->sd_DO; in ahc_read_seeprom() 226 uint8_t temp; in ahc_write_seeprom() local 254 temp ^= sd->sd_DO; in ahc_write_seeprom() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 440 temp += 1; in mipsdsp_rrshift1_add_q16() 459 temp += 1; in mipsdsp_rrshift1_add_q32() 632 temp = temp + 0x00008000; in mipsdsp_rndq15_mul_q15_q15() 648 temp = temp << 1; in mipsdsp_sat16_mul_q15_q15() 2156 temp[0] = (int64_t)(temp[0] << 30) >> 30; in helper_mulsaq_s_w_qh() 2913 temp = temp >> 1; in helper_bitrev() 3289 return (temp[1] << 63) | (temp[0] >> 1); in helper_dextr_l() 3316 return (temp[1] << 63) | (temp[0] >> 1); in helper_dextr_r_l() 3350 return (temp[1] << 63) | (temp[0] >> 1); in helper_dextr_rs_l() 3480 temp = temp & ((1ULL << (size + 1)) - 1); in helper_dextp() [all …]
|
/openbmc/linux/lib/xz/ |
H A D | xz_dec_stream.c | 166 if (s->temp.pos == s->temp.size) { in fill_temp() 477 if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) in dec_block_header() 488 if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) in dec_block_header() 501 if (s->temp.size - s->temp.pos < 2) in dec_block_header() 512 if (s->temp.buf[s->temp.pos++] != 0x00) in dec_block_header() 518 if (s->temp.size - s->temp.pos < 2) in dec_block_header() 522 if (s->temp.buf[s->temp.pos++] != 0x21) in dec_block_header() 526 if (s->temp.buf[s->temp.pos++] != 0x01) in dec_block_header() 530 if (s->temp.size - s->temp.pos < 1) in dec_block_header() 538 while (s->temp.pos < s->temp.size) in dec_block_header() [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() 45 u8 temp; in platform_diu_init() local 47 temp = in_8(&pixis->brdcfg0); in platform_diu_init() 56 temp = (temp & ~PX_BRDCFG0_DVISEL) | PX_BRDCFG0_DLINK; in platform_diu_init() 62 temp |= PX_BRDCFG0_DVISEL; in platform_diu_init() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-ali15x3.c | 124 unsigned char temp; in ali15x3_setup() local 139 temp &= ~ALI15X3_LOCK; in ali15x3_setup() 187 if ((temp & 1) == 0) { in ali15x3_setup() 194 if ((temp & 1) == 0) { in ali15x3_setup() 222 int temp; in ali15x3_transaction() local 232 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 275 temp); in ali15x3_transaction() 338 int temp; in ali15x3_access() local 344 temp = inb_p(SMBHSTSTS); in ali15x3_access() 416 if (temp) in ali15x3_access() [all …]
|
H A D | i2c-imx-lpi2c.c | 120 unsigned int temp; in lpi2c_imx_bus_busy() local 166 unsigned int temp; in lpi2c_imx_start() local 182 unsigned int temp; in lpi2c_imx_stop() local 206 unsigned int temp; in lpi2c_imx_config() local 262 unsigned int temp; in lpi2c_imx_master_enable() local 269 temp = MCR_RST; in lpi2c_imx_master_enable() 278 temp |= MCR_MEN; in lpi2c_imx_master_enable() 292 u32 temp; in lpi2c_imx_master_disable() local 295 temp &= ~MCR_MEN; in lpi2c_imx_master_disable() 351 temp = 0; in lpi2c_imx_set_rx_watermark() [all …]
|
H A D | i2c-ali1535.c | 131 unsigned char temp; in ali1535_setup() local 184 if ((temp & 1) == 0) { in ali1535_setup() 214 int temp; in ali1535_transaction() local 224 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 250 temp); in ali1535_transaction() 252 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 259 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 283 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 284 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) in ali1535_transaction() 346 int temp; in ali1535_access() local [all …]
|
/openbmc/phosphor-led-manager/test/ |
H A D | utest.cpp | 49 std::inserter(temp, temp.begin())); in TEST_F() 81 std::inserter(temp, temp.begin())); in TEST_F() 113 std::inserter(temp, temp.begin())); in TEST_F() 163 std::inserter(temp, temp.begin())); in TEST_F() 199 std::inserter(temp, temp.begin())); in TEST_F() 235 std::inserter(temp, temp.begin())); in TEST_F() 265 std::inserter(temp, temp.begin())); in TEST_F() 301 std::inserter(temp, temp.begin())); in TEST_F() 331 std::inserter(temp, temp.begin())); in TEST_F() 384 std::inserter(temp, temp.begin())); in TEST_F() [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/ |
H A D | speed.c | 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() 124 gd->arch.sdhc_clk = vco / temp; in setup_5441x_clocks() 174 temp = fbtemp - 1; in setup_5445x_clocks() [all …]
|
/openbmc/linux/sound/pci/au88x0/ |
H A D | au88x0_mpu401.c | 33 int temp, mode; in snd_vortex_midi() local 41 temp = in snd_vortex_midi() 44 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 47 temp = in snd_vortex_midi() 50 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 56 hwwrite(vortex->mmio, VORTEX_CTRL2, temp); in snd_vortex_midi() 61 if (temp != MPU401_ACK /*0xfe */ ) { in snd_vortex_midi() 73 if (temp) { in snd_vortex_midi() 77 return temp; in snd_vortex_midi() 84 if (temp) { in snd_vortex_midi() [all …]
|
/openbmc/linux/drivers/video/fbdev/sis/ |
H A D | init301.c | 652 if(index > temp) index = temp; in SiS_GetRatePtr() 1828 if(temp == 0) temp = 0x02; in SiS_GetLCDResInfo() 1842 if(temp < 0x0f) temp &= 0x07; in SiS_GetLCDResInfo() 1845 temp = SiS300SeriesLCDRes[temp]; in SiS_GetLCDResInfo() 5386 if(!temp) temp++; in SiS_SetCRT2FIFO_300() 5779 if(temp & 0x07) temp += 8; in SiS_SetGroup1_LVDS() 6054 temp = temp | ((tempecx >> 8) & 0x07); in SiS_SetGroup1_LVDS() 10289 temp = SiS310_TVAntiFlick1[temp][index]; in SetAntiFlicker() 10328 temp = SiS310_TVEdge1[temp][index]; in SetEdgeEnhance() 11110 temp = SiS300_OEMLCDDelay5[temp][index]; in SetOEMLCDDelay() [all …]
|
/openbmc/linux/drivers/char/agp/ |
H A D | ali-agp.c | 24 u32 temp; in ali_fetch_size() local 28 temp &= ~(0xfffffff0); in ali_fetch_size() 45 u32 temp; in ali_tlbflush() local 48 temp &= 0xfffffff0; in ali_tlbflush() 56 u32 temp; in ali_cleanup() local 72 u32 temp; in ali_configure() local 79 temp = (((temp & 0x00000ff0) | (agp_bridge->gatt_bus_addr & 0xfffff000)) in ali_configure() 129 u32 temp; in m1541_cache_flush() local 136 &temp); in m1541_cache_flush() 147 u32 temp; in m1541_alloc_page() local [all …]
|