Home
last modified time | relevance | path

Searched refs:temp1 (Results 1 – 9 of 9) sorted by relevance

/rk3399_rockchip-uboot/drivers/ddr/fsl/
H A Dlc_common_dimm_params.c82 unsigned int temp1, temp2; in compute_cas_latency() local
101 temp1 = 0xFF; in compute_cas_latency()
119 temp1 &= temp2; in compute_cas_latency()
129 while (temp1) { in compute_cas_latency()
131 temp2 = __ilog2(temp1); in compute_cas_latency()
180 temp1 &= ~(1 << temp2); in compute_cas_latency()
195 temp1 = 0; in compute_cas_latency()
197 temp1 = max(temp1, dimm_params[i].caslat_lowest_derated); in compute_cas_latency()
199 outpdimm->highest_common_derated_caslat = temp1; in compute_cas_latency()
200 debug("highest common dereated CAS latency = %u\n", temp1); in compute_cas_latency()
[all …]
/rk3399_rockchip-uboot/board/freescale/common/
H A Ddcu_sii9022a.c65 u16 temp1, temp2; in dcu_set_dvi_encoder() local
95 temp1 = PICOS2KHZ(videomode->pixclock) / 10; in dcu_set_dvi_encoder()
96 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
98 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder()
102 temp1 = videomode->hsync_len + videomode->left_margin + in dcu_set_dvi_encoder()
104 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
106 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder()
118 temp3 = temp1 * temp2; in dcu_set_dvi_encoder()
120 temp1 = (u16)temp3 * 100; in dcu_set_dvi_encoder()
121 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
[all …]
/rk3399_rockchip-uboot/drivers/video/drm/
H A Drockchip_post_csc.c1337 struct rk_pq_csc_coef temp0, temp1; in csc_calc_adjust_output_coef() local
1393 csc_matrix_multiply(&temp1, &temp0, &saturation_matrix); in csc_calc_adjust_output_coef()
1394 csc_matrix_element_right_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1395 csc_matrix_multiply(&temp0, &temp1, r2y_matrix); in csc_calc_adjust_output_coef()
1397 csc_matrix_multiply(&temp1, &temp0, &gain_matrix); in csc_calc_adjust_output_coef()
1398 csc_matrix_element_right_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1399 csc_matrix_multiply(&temp0, &temp1, &contrast_matrix); in csc_calc_adjust_output_coef()
1420 csc_matrix_multiply(&temp1, &temp0, &saturation_matrix); in csc_calc_adjust_output_coef()
1421 csc_matrix_element_right_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1422 csc_matrix_multiply(&temp0, &contrast_matrix, &temp1); in csc_calc_adjust_output_coef()
[all …]
/rk3399_rockchip-uboot/lib/
H A Dsha512.c161 uint64_t temp1, temp2, W[80]; in sha512_process() local
178 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in sha512_process()
180 d += temp1; h = temp1 + temp2; \ in sha512_process()
H A Dsha256.c86 uint32_t temp1, temp2; in sha256_process_one() local
126 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in sha256_process_one()
128 d += temp1; h = temp1 + temp2; \ in sha256_process_one()
/rk3399_rockchip-uboot/drivers/video/
H A Dipu_common.c72 u32 temp1 = _param_word(base, w)[i]; \
73 temp1 = mask & (temp1 >> off); \
77 temp1 |= temp2 << (off ? (32 - off) : 0); \
79 temp1; \
/rk3399_rockchip-uboot/arch/x86/cpu/quark/
H A Dsmc.c1967 uint32_t temp1; in rd_train() local
1980 temp1 = (x_coordinate[R][T][ch][rk][bl] + x_coordinate[L][T][ch][rk][bl]) / 2; in rd_train()
1984 x_center[ch][rk][bl] = (uint8_t) ((temp1 + temp2) / 2); in rd_train()
1996 temp1 = (y_coordinate[R][T][ch][bl] + y_coordinate[R][B][ch][bl]) / 2; in rd_train()
2000 y_center[ch][bl] = (uint8_t) ((temp1 + temp2) / 2); in rd_train()
/rk3399_rockchip-uboot/tools/rockchip/
H A Dresource_tool.c336 uint32_t temp1, temp2; in sha256_process() local
376 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in sha256_process()
378 d += temp1; h = temp1 + temp2; \ in sha256_process()
/rk3399_rockchip-uboot/drivers/ram/rockchip/
H A Dsdram_rv1126.c3142 u32 temp, temp1; in save_fsp_param() local
3209 temp1 = MIN(readl(PHY_REG(phy_base, 0x3be)), in save_fsp_param()
3211 p_fsp_param->vref_ca[0] = (temp + temp1) / 2; in save_fsp_param()
3214 temp1 = MIN(readl(PHY_REG(phy_base, 0x3bf)), in save_fsp_param()
3216 p_fsp_param->vref_ca[1] = (temp + temp1) / 2; in save_fsp_param()