| /drivers/video/fbdev/aty/ |
| A D | radeon_monitor.c | 169 unsigned long tmp, tmp0; in radeon_get_panel_info_BIOS() local 212 tmp0 = BIOS_IN16(tmp+64+i*2); in radeon_get_panel_info_BIOS() 213 if (tmp0 == 0) in radeon_get_panel_info_BIOS() 215 pr_debug(" %d x %d\n", BIOS_IN16(tmp0), BIOS_IN16(tmp0+2)); in radeon_get_panel_info_BIOS() 218 rinfo->panel_info.hblank = (BIOS_IN16(tmp0+17) - BIOS_IN16(tmp0+19)) * 8; in radeon_get_panel_info_BIOS() 222 rinfo->panel_info.vblank = BIOS_IN16(tmp0+24) - BIOS_IN16(tmp0+26); in radeon_get_panel_info_BIOS() 223 rinfo->panel_info.vOver_plus = (BIOS_IN16(tmp0+28) & 0x7ff) - BIOS_IN16(tmp0+26); in radeon_get_panel_info_BIOS() 531 unsigned int tmp0; in radeon_probe_screens() local 535 tmp0 = BIOS_IN16(tmp + i*2); in radeon_probe_screens() 536 if ((!(tmp0 & 0x01)) && (((tmp0 >> 8) & 0x0f) == ddc_dvi)) { in radeon_probe_screens() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
| A D | arith.fuc | 55 push $r3 // tmp0 68 mulu $r3 $r1 $r13 // tmp0 = A_hi * B_lo 70 and $r3 0xffff // tmp0 = tmp0_lo 77 mulu $r3 $r14 $r2 // tmp0 = A_lo * B_hi 79 and $r3 0xffff // tmp0 = tmp0_lo 86 mulu $r3 $r1 $r2 // tmp0 = A_hi * B_hi
|
| /drivers/clk/sophgo/ |
| A D | clk-sg2042-pll.c | 194 u64 tmp0; in sg2042_pll_get_postdiv_1_2() local 208 tmp0 = prate; in sg2042_pll_get_postdiv_1_2() 209 do_div(tmp0, refdiv); in sg2042_pll_get_postdiv_1_2() 212 tmp0 *= fbdiv; in sg2042_pll_get_postdiv_1_2() 215 tmp0 = div64_ul(tmp0, rate); in sg2042_pll_get_postdiv_1_2() 218 if (tmp0 <= 7) { in sg2042_pll_get_postdiv_1_2() 220 *postdiv1 = tmp0; in sg2042_pll_get_postdiv_1_2() 227 if (tmp0 > postdiv1_2[index][POSTDIV_RESULT_INDEX]) { in sg2042_pll_get_postdiv_1_2()
|
| /drivers/media/dvb-frontends/ |
| A D | cxd2820r_core.c | 52 u8 tmp0, tmp1; in cxd2820r_gpio() local 60 tmp0 = 0x00; in cxd2820r_gpio() 65 tmp0 |= (2 << 6) >> (2 * i); in cxd2820r_gpio() 67 tmp0 |= (1 << 6) >> (2 * 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() 87 ret = regmap_update_bits(priv->regmap[0], 0x0089, 0xfc, tmp0); in cxd2820r_gpio()
|
| A D | m88rs2000.c | 476 u8 tmp0, tmp1; in m88rs2000_read_ber() local 479 tmp0 = m88rs2000_readreg(state, 0xd8); in m88rs2000_read_ber() 480 if ((tmp0 & 0x10) != 0) { in m88rs2000_read_ber() 492 m88rs2000_writereg(state, 0xd8, (tmp0 & ~8) | 0x30); in m88rs2000_read_ber() 493 m88rs2000_writereg(state, 0xd8, (tmp0 & ~8) | 0x30); in m88rs2000_read_ber()
|
| /drivers/rtc/ |
| A D | rtc-m48t86.c | 198 unsigned char tmp0, tmp1; in m48t86_verify_chip() local 200 tmp0 = m48t86_readb(&pdev->dev, offset0); in m48t86_verify_chip() 209 m48t86_writeb(&pdev->dev, tmp0, offset0); in m48t86_verify_chip()
|
| /drivers/iio/ |
| A D | industrialio-core.c | 650 int tmp0, tmp1; in __iio_format_value() local 677 tmp0 = (int)div_s64_rem(tmp2, 1000000000, &tmp1); in __iio_format_value() 678 if ((tmp2 < 0) && (tmp0 == 0)) in __iio_format_value() 681 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value() 685 tmp0 = (int)div_s64_rem(tmp2, 1000000000LL, &tmp1); in __iio_format_value() 686 if (tmp0 == 0 && tmp2 < 0) in __iio_format_value() 689 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
|
| /drivers/net/ethernet/freescale/fman/ |
| A D | fman_tgec.c | 201 u32 tmp0, tmp1; in set_mac_address() local 203 tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24); in set_mac_address() 205 iowrite32be(tmp0, ®s->mac_addr_0); in set_mac_address()
|
| A D | fman_memac.c | 303 u32 tmp0, tmp1; in add_addr_in_paddr() local 305 tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24); in add_addr_in_paddr() 309 iowrite32be(tmp0, ®s->mac_addr0.mac_addr_l); in add_addr_in_paddr() 312 iowrite32be(tmp0, ®s->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()
|
| /drivers/iio/adc/ |
| A D | ad4000.c | 535 int val, tmp0, tmp1; in ad4000_fill_scale_tbl() local 558 tmp0 = div_s64_rem(tmp2, NANO, &tmp1); in ad4000_fill_scale_tbl() 561 st->scale_tbl[0][0] = tmp0; /* Integer part */ in ad4000_fill_scale_tbl() 565 st->scale_tbl[1][0] = tmp0; in ad4000_fill_scale_tbl()
|
| A D | mcp3564.c | 1090 int tmp0; in mcp3564_fill_scale_tbls() local 1096 div_u64_rem(tmp1, NANO, &tmp0); in mcp3564_fill_scale_tbls() 1099 tmp0 = (int)div_u64(tmp1, mcp3564_hwgain_frac[2 * i]); in mcp3564_fill_scale_tbls() 1101 adc->scale_tbls[i][1] = tmp0; in mcp3564_fill_scale_tbls()
|
| A D | ad4170-4.c | 468 unsigned int tmp0, tmp1, i; in ad4170_fill_sps_tbl() local 476 tmp0 = div_u64_rem(st->mclk_hz, 32 * ad4170_sinc3_filt_fs_tbl[i], in ad4170_fill_sps_tbl() 480 st->sps_tbl[AD4170_SINC5_AVG][i][0] = tmp0; /* Integer part */ in ad4170_fill_sps_tbl() 484 st->sps_tbl[AD4170_SINC3][i][0] = tmp0; /* Integer part */ in ad4170_fill_sps_tbl() 489 tmp0 = div_u64_rem(st->mclk_hz, 32 * ad4170_sinc5_filt_fs_tbl[i], in ad4170_fill_sps_tbl() 493 st->sps_tbl[AD4170_SINC5][i][0] = tmp0; /* Integer part */ in ad4170_fill_sps_tbl()
|
| /drivers/gpu/drm/amd/display/dc/dml/ |
| A D | dml1_display_rq_dlg_calc.c | 142 double tmp0 = (max_num_sw * swath_height) / (l_sw - (prefill - 3.0) / 2.0); in get_vratio_pre() local 144 if (tmp0 > vratio_pre) in get_vratio_pre() 145 vratio_pre = tmp0; in get_vratio_pre()
|
| /drivers/crypto/hisilicon/ |
| A D | qm.c | 601 unsigned long tmp0 = 0, tmp1 = 0; in qm_mb_write() local 614 : "=&r" (tmp0), in qm_mb_write()
|