/drivers/misc/echo/ |
D | echo.c | 267 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/ |
D | gx-suspmod.c | 334 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()
|
D | s5pv210-cpufreq.c | 199 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/ |
D | aec62xx.c | 92 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/ |
D | i810_accel.c | 438 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()
|
D | i810_main.c | 232 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/ |
D | cxd2820r_core.c | 52 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()
|
D | m88rs2000.c | 475 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/ |
D | flexcop-sram.c | 240 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/ |
D | arith.fuc | 56 push $r4 // tmp1 72 shr b32 $r4 16 // tmp1 = tmp0_hi 81 shr b32 $r4 16 // tmp1 = tmp0_hi
|
/drivers/gpu/drm/ |
D | drm_modes.c | 231 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/ |
D | rtc-m48t86.c | 198 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/ |
D | sym_fw.c | 350 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/ |
D | dce120_timing_generator.c | 432 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/ |
D | phy_lp.c | 1701 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/ |
D | iscsi_target_parameters.c | 916 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/ |
D | caampkc.h | 78 u8 *tmp1; member
|
D | caampkc.c | 484 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/ |
D | industrialio-core.c | 556 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/ |
D | csio_rnode.c | 189 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()
|
D | csio_lnode.c | 140 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/ |
D | ad9523.c | 424 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/ |
D | fman_tgec.c | 226 u32 tmp0, tmp1; in set_mac_address() local 229 tmp1 = (u32)(adr[4] | adr[5] << 8); in set_mac_address() 231 iowrite32be(tmp1, ®s->mac_addr_1); in set_mac_address()
|
D | fman_memac.c | 359 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, ®s->mac_addr0.mac_addr_u); in add_addr_in_paddr() 369 iowrite32be(tmp1, ®s->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr()
|
/drivers/misc/mic/scif/ |
D | scif_rma.c | 771 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()
|