Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 46) sorted by relevance

12

/drivers/misc/echo/
Decho.c267 int tmp1; in oslec_update() local
315 tmp1 = ec->rx_1 >> 15; in oslec_update()
316 if (tmp1 > 16383) in oslec_update()
317 tmp1 = 16383; in oslec_update()
318 if (tmp1 < -16383) in oslec_update()
319 tmp1 = -16383; in oslec_update()
320 rx = tmp1; in oslec_update()
557 int tmp1; in oslec_hpf_tx() local
573 tmp1 = ec->tx_1 >> 15; in oslec_hpf_tx()
574 if (tmp1 > 32767) in oslec_hpf_tx()
[all …]
/drivers/cpufreq/
Dgx-suspmod.c334 u8 tmp1, tmp2; in cpufreq_gx_verify() local
349 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); in cpufreq_gx_verify()
355 tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2); in cpufreq_gx_verify()
375 u8 tmp1, tmp2; in cpufreq_gx_target() local
383 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2); in cpufreq_gx_target()
386 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); in cpufreq_gx_target()
390 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); in cpufreq_gx_target()
Ds5pv210-cpufreq.c199 unsigned long tmp, tmp1; in s5pv210_set_refresh() local
216 tmp1 = s5pv210_dram_conf[ch].refresh; in s5pv210_set_refresh()
218 tmp1 /= tmp; in s5pv210_set_refresh()
220 writel_relaxed(tmp1, reg); in s5pv210_set_refresh()
/drivers/ide/
Daec62xx.c92 u8 tmp0 = 0, tmp1 = 0, tmp2 = 0; in aec6210_set_mode() local
103 tmp1 = 0x00; in aec6210_set_mode()
106 tmp1 = ((0x00 << (2*drive->dn)) | (ultra & ~(3 << (2*drive->dn)))); in aec6210_set_mode()
108 tmp2 = ((ultra_conf << (2*drive->dn)) | (tmp1 & ~(3 << (2*drive->dn)))); in aec6210_set_mode()
119 u8 tmp1 = 0, tmp2 = 0; in aec6260_set_mode() local
131 tmp1 = ((0x00 << (4*unit)) | (ultra & ~(7 << (4*unit)))); in aec6260_set_mode()
133 tmp2 = ((ultra_conf << (4*unit)) | (tmp1 & ~(7 << (4*unit)))); in aec6260_set_mode()
/drivers/video/fbdev/i810/
Di810_accel.c438 u32 tmp1, tmp2; in i810fb_init_ringbuffer() local
448 tmp1 = par->iring.physical; in i810fb_init_ringbuffer()
449 i810_writel(IRING + 8, mmio, tmp2 | tmp1); in i810fb_init_ringbuffer()
451 tmp1 = i810_readl(IRING + 12, mmio); in i810fb_init_ringbuffer()
452 tmp1 &= ~RBUFFER_SIZE_MASK; in i810fb_init_ringbuffer()
454 i810_writel(IRING + 12, mmio, tmp1 | tmp2); in i810fb_init_ringbuffer()
Di810_main.c232 u32 tmp1, tmp2; in i810_load_pll() local
235 tmp1 = par->regs.M | par->regs.N << 16; in i810_load_pll()
238 i810_writel(DCLK_2D, mmio, tmp1 | tmp2); in i810_load_pll()
240 tmp1 = par->regs.P; in i810_load_pll()
243 i810_writel(DCLK_0DS, mmio, (tmp1 << 16) | tmp2); in i810_load_pll()
463 u32 tmp1, tmp2; in i810_restore_pll() local
466 tmp1 = par->hw_state.dclk_2d; in i810_restore_pll()
468 tmp1 &= ~MN_MASK; in i810_restore_pll()
470 i810_writel(DCLK_2D, mmio, tmp1 | tmp2); in i810_restore_pll()
472 tmp1 = par->hw_state.dclk_1d; in i810_restore_pll()
[all …]
/drivers/media/dvb-frontends/
Dcxd2820r_core.c52 u8 tmp0, tmp1; in cxd2820r_gpio() local
61 tmp1 = 0x00; in cxd2820r_gpio()
71 tmp1 |= (1 << (3 + i)); in cxd2820r_gpio()
73 tmp1 |= (0 << (3 + i)); in cxd2820r_gpio()
77 tmp1 |= (1 << (0 + i)); in cxd2820r_gpio()
79 tmp1 |= (0 << (0 + i)); in cxd2820r_gpio()
81 dev_dbg(&client->dev, "gpio i=%d %02x %02x\n", i, tmp0, tmp1); in cxd2820r_gpio()
84 dev_dbg(&client->dev, "wr gpio=%02x %02x\n", tmp0, tmp1); in cxd2820r_gpio()
92 ret = regmap_update_bits(priv->regmap[0], 0x008e, 0x3f, tmp1); in cxd2820r_gpio()
Dm88rs2000.c475 u8 tmp0, tmp1; in m88rs2000_read_ber() local
488 tmp1 = m88rs2000_readreg(state, 0xd9); in m88rs2000_read_ber()
489 m88rs2000_writereg(state, 0xd9, (tmp1 & ~7) | 4); in m88rs2000_read_ber()
/drivers/media/common/b2c2/
Dflexcop-sram.c240 u8 tmp1, tmp2;
247 tmp1 = 0x4f;
250 sram_write(adapter, addr + 4, &tmp1, 1);
264 tmp1 = 0xf4;
267 sram_write(adapter, addr + 4, &tmp1, 1);
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Darith.fuc56 push $r4 // tmp1
72 shr b32 $r4 16 // tmp1 = tmp0_hi
81 shr b32 $r4 16 // tmp1 = tmp0_hi
/drivers/gpu/drm/
Ddrm_modes.c231 int tmp1, tmp2; in drm_cvt_mode() local
239 tmp1 = HV_FACTOR * 1000000 - in drm_cvt_mode()
243 hperiod = tmp1 * 2 / (tmp2 * vfieldrate); in drm_cvt_mode()
245 tmp1 = CVT_MIN_VSYNC_BP * HV_FACTOR / hperiod + 1; in drm_cvt_mode()
247 if (tmp1 < (vsync + CVT_MIN_V_PORCH)) in drm_cvt_mode()
250 vsyncandback_porch = tmp1; in drm_cvt_mode()
297 int tmp1, tmp2; in drm_cvt_mode() local
299 tmp1 = HV_FACTOR * 1000000 - in drm_cvt_mode()
302 hperiod = tmp1 / (tmp2 * vfieldrate); in drm_cvt_mode()
396 unsigned int tmp1, tmp2; in drm_gtf_mode_complex() local
[all …]
/drivers/rtc/
Drtc-m48t86.c198 unsigned char tmp0, tmp1; in m48t86_verify_chip() local
201 tmp1 = m48t86_readb(&pdev->dev, offset1); in m48t86_verify_chip()
210 m48t86_writeb(&pdev->dev, tmp1, offset1); in m48t86_verify_chip()
/drivers/scsi/sym53c8xx_2/
Dsym_fw.c350 u32 opcode, new, old, tmp1, tmp2; in sym_fw_bind_script() local
408 tmp1 = cur[1]; in sym_fw_bind_script()
410 if ((tmp1 ^ tmp2) & 3) { in sym_fw_bind_script()
/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c432 uint32_t tmp1 = 0; in dce120_timing_generator_program_blanking() local
466 tmp1 = timing->h_total - in dce120_timing_generator_program_blanking()
468 tmp2 = tmp1 + timing->h_addressable + in dce120_timing_generator_program_blanking()
473 CRTC_H_BLANK_END, tmp1, in dce120_timing_generator_program_blanking()
476 tmp1 = timing->v_total - (v_sync_start + timing->v_border_top); in dce120_timing_generator_program_blanking()
477 tmp2 = tmp1 + timing->v_addressable + timing->v_border_top + in dce120_timing_generator_program_blanking()
482 CRTC_V_BLANK_END, tmp1, in dce120_timing_generator_program_blanking()
/drivers/net/wireless/broadcom/b43/
Dphy_lp.c1701 int prod, ipwr, qpwr, prod_msb, q_msb, tmp1, tmp2, tmp3, tmp4, ret; in lpphy_calc_rx_iq_comp() local
1725 tmp1 = prod_msb - 20; in lpphy_calc_rx_iq_comp()
1727 if (tmp1 >= 0) { in lpphy_calc_rx_iq_comp()
1728 tmp3 = ((prod << (30 - prod_msb)) + (ipwr >> (1 + tmp1))) / in lpphy_calc_rx_iq_comp()
1729 (ipwr >> tmp1); in lpphy_calc_rx_iq_comp()
1731 tmp3 = ((prod << (30 - prod_msb)) + (ipwr << (-1 - tmp1))) / in lpphy_calc_rx_iq_comp()
1732 (ipwr << -tmp1); in lpphy_calc_rx_iq_comp()
2393 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in lpphy_b2062_tune() local
2417 tmp1 = crystal_freq / 1000; in lpphy_b2062_tune()
2425 tmp4 = 48 * tmp1; in lpphy_b2062_tune()
[all …]
/drivers/target/iscsi/
Discsi_target_parameters.c916 char *tmp1 = NULL, *tmp2 = NULL; in iscsi_check_valuelist_for_support() local
925 tmp1 = strchr(proposer_values, ','); in iscsi_check_valuelist_for_support()
926 if (tmp1) in iscsi_check_valuelist_for_support()
927 *tmp1 = '\0'; in iscsi_check_valuelist_for_support()
931 if (tmp1) in iscsi_check_valuelist_for_support()
932 *tmp1 = ','; in iscsi_check_valuelist_for_support()
948 if (tmp1) in iscsi_check_valuelist_for_support()
949 *tmp1++ = ','; in iscsi_check_valuelist_for_support()
950 proposer_values = tmp1; in iscsi_check_valuelist_for_support()
/drivers/crypto/caam/
Dcaampkc.h78 u8 *tmp1; member
Dcaampkc.c484 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb()
573 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb()
800 kzfree(key->tmp1); in caam_rsa_free_key()
930 rsa_key->tmp1 = kzalloc(raw_key->p_sz, GFP_DMA | GFP_KERNEL); in caam_rsa_set_priv_key_form()
931 if (!rsa_key->tmp1) in caam_rsa_set_priv_key_form()
964 kzfree(rsa_key->tmp1); in caam_rsa_set_priv_key_form()
/drivers/iio/
Dindustrialio-core.c556 int tmp0, tmp1; in __iio_format_value() local
580 tmp1 = vals[1]; in __iio_format_value()
581 tmp0 = (int)div_s64_rem(tmp, 1000000000, &tmp1); in __iio_format_value()
582 return snprintf(buf, len, "%d.%09u", tmp0, abs(tmp1)); in __iio_format_value()
585 tmp0 = (int)div_s64_rem(tmp, 1000000000LL, &tmp1); in __iio_format_value()
586 return snprintf(buf, len, "%d.%09u", tmp0, abs(tmp1)); in __iio_format_value()
/drivers/scsi/csiostor/
Dcsio_rnode.c189 struct list_head *tmp, *tmp1; in csio_rn_dup_flowid() local
194 list_for_each(tmp1, &hw->sln_head) { in csio_rn_dup_flowid()
195 ln_tmp = (struct csio_lnode *) tmp1; in csio_rn_dup_flowid()
Dcsio_lnode.c140 struct list_head *tmp1, *tmp2; in csio_ln_lookup_by_vnpi() local
148 list_for_each(tmp1, &hw->sln_head) { in csio_ln_lookup_by_vnpi()
149 sln = (struct csio_lnode *) tmp1; in csio_ln_lookup_by_vnpi()
180 struct list_head *tmp1, *tmp2; in csio_lnode_lookup_by_wwpn() local
188 list_for_each(tmp1, &hw->sln_head) { in csio_lnode_lookup_by_wwpn()
189 sln = (struct csio_lnode *) tmp1; in csio_lnode_lookup_by_wwpn()
/drivers/iio/frequency/
Dad9523.c424 long tmp1, tmp2; in ad9523_set_clock_provider() local
432 tmp1 = st->vco_out_freq[AD9523_VCO1] / freq; in ad9523_set_clock_provider()
434 tmp1 *= freq; in ad9523_set_clock_provider()
436 use_alt_clk_src = (abs(tmp1 - freq) > abs(tmp2 - freq)); in ad9523_set_clock_provider()
/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c226 u32 tmp0, tmp1; in set_mac_address() local
229 tmp1 = (u32)(adr[4] | adr[5] << 8); in set_mac_address()
231 iowrite32be(tmp1, &regs->mac_addr_1); in set_mac_address()
Dfman_memac.c359 u32 tmp0, tmp1; in add_addr_in_paddr() local
362 tmp1 = (u32)(adr[4] | adr[5] << 8); in add_addr_in_paddr()
366 iowrite32be(tmp1, &regs->mac_addr0.mac_addr_u); in add_addr_in_paddr()
369 iowrite32be(tmp1, &regs->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr()
/drivers/misc/mic/scif/
Dscif_rma.c771 dma_addr_t *dma_phys_lookup, *tmp, *num_pages_lookup, *tmp1; in scif_prep_remote_window() local
857 tmp1 = scif_ioremap(num_pages_lookup[j], in scif_prep_remote_window()
865 memcpy_toio((void __force __iomem *)tmp1, in scif_prep_remote_window()
883 memcpy_toio((void __force __iomem *)tmp1, in scif_prep_remote_window()
899 memcpy_toio((void __force __iomem *)tmp1, in scif_prep_remote_window()
910 scif_iounmap(tmp1, loop_nr_contig_chunks * in scif_prep_remote_window()

12