Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 8 of 8) sorted by relevance

/drivers/media/common/saa7146/
Dsaa7146_i2c.c29 int h1, h2; in saa7146_i2c_msg_prepare() local
60 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
61 op[h1] |= cpu_to_le32( (u8)addr << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
62 op[h1] |= cpu_to_le32(SAA7146_I2C_START << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
68 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
69 op[h1] |= cpu_to_le32( (u32)((u8)m[i].buf[j]) << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
70 op[h1] |= cpu_to_le32( SAA7146_I2C_CONT << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
78 h1 = (op_count-1)/3; h2 = (op_count-1)%3; in saa7146_i2c_msg_prepare()
79 if ( SAA7146_I2C_CONT == (0x3 & (le32_to_cpu(op[h1]) >> ((3-h2)*2))) ) { in saa7146_i2c_msg_prepare()
80 op[h1] &= ~cpu_to_le32(0x2 << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
[all …]
/drivers/mtd/
Dnftlmount.c40 struct nftl_uci1 h1; in find_boot_record() local
94 (char *)&h1); in find_boot_record()
105 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) { in find_boot_record()
108 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1)); in find_boot_record()
498 struct nftl_uci1 h1; in check_and_mark_free_block() local
504 &retlen, (char *)&h1) < 0) in check_and_mark_free_block()
507 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block()
515 h1.EraseMark = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
516 h1.EraseMark1 = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
517 h1.WearInfo = cpu_to_le32(0); in check_and_mark_free_block()
[all …]
Dinftlmount.c46 struct inftl_unittail h1; in find_boot_record() local
103 8, &retlen,(char *)&h1); in find_boot_record()
544 struct inftl_unittail h1; in INFTL_mount() local
601 (char *)&h1) < 0) { in INFTL_mount()
609 erase_mark = le16_to_cpu((h1.EraseMark | h1.EraseMark1)); in INFTL_mount()
/drivers/staging/lustre/include/linux/lnet/
Dtypes.h294 static inline int LNetHandleIsEqual(lnet_handle_any_t h1, lnet_handle_any_t h2) in LNetHandleIsEqual() argument
296 return h1.cookie == h2.cookie; in LNetHandleIsEqual()
/drivers/staging/media/davinci_vpfe/
Ddm365_resizer.c366 unsigned int h1; in resizer_calculate_down_scale_f_div_param() local
386 h1 = val; in resizer_calculate_down_scale_f_div_param()
394 h1 = val; in resizer_calculate_down_scale_f_div_param()
399 h2 = output_width - h1; in resizer_calculate_down_scale_f_div_param()
401 val = (h1 * rsz) - (((upper_h1 - (o - 10)) / two_power) << 8); in resizer_calculate_down_scale_f_div_param()
405 param->f_div.pass[0].o_hsz = h1 - 1; in resizer_calculate_down_scale_f_div_param()
621 unsigned int h1; in resizer_calculate_normal_f_div_param() local
635 h1 = val; in resizer_calculate_normal_f_div_param()
643 h1 = val; in resizer_calculate_normal_f_div_param()
645 h2 = output_width - h1; in resizer_calculate_normal_f_div_param()
[all …]
/drivers/tty/serial/
Difx6x60.c389 u16 h1; in ifx_spi_decode_spi_header() local
393 h1 = *in_buffer; in ifx_spi_decode_spi_header()
396 if (h1 == 0 && h2 == 0) { in ifx_spi_decode_spi_header()
399 } else if (h1 == 0xffff && h2 == 0xffff) { in ifx_spi_decode_spi_header()
404 *length = h1 & 0xfff; /* upper bits of byte are flags */ in ifx_spi_decode_spi_header()
/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c595 u32 cfg, h1, h2, v1, v2; in fimc_set_window() local
598 h1 = pos->x; in fimc_set_window()
605 DRM_DEBUG_KMS("h1[%d]h2[%d]v1[%d]v2[%d]\n", h1, h2, v1, v2); in fimc_set_window()
614 cfg |= (EXYNOS_CIWDOFST_WINHOROFST(h1) | in fimc_set_window()
/drivers/infiniband/hw/qib/
Dqib_iba7322.c6112 u32 pidx, unit, port, deflt, h1; in set_no_qsfp_atten() local
6153 h1 = 0; /* gcc thinks it might be used uninitted */ in set_no_qsfp_atten()
6156 h1 = (u32)simple_strtoul(str, &nxt, 0); in set_no_qsfp_atten()
6171 ppd->cpspec->h1_val = h1; in set_no_qsfp_atten()