Home
last modified time | relevance | path

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

/drivers/mtd/
Dnftlmount.c27 struct nftl_uci1 h1; in find_boot_record() local
81 (char *)&h1); in find_boot_record()
92 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) { in find_boot_record()
95 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1)); in find_boot_record()
494 struct nftl_uci1 h1; in check_and_mark_free_block() local
500 &retlen, (char *)&h1) < 0) in check_and_mark_free_block()
503 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block()
511 h1.EraseMark = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
512 h1.EraseMark1 = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
513 h1.WearInfo = cpu_to_le32(0); in check_and_mark_free_block()
[all …]
Dinftlmount.c33 struct inftl_unittail h1; in find_boot_record() local
90 8, &retlen,(char *)&h1); in find_boot_record()
540 struct inftl_unittail h1; in INFTL_mount() local
597 (char *)&h1) < 0) { in INFTL_mount()
605 erase_mark = le16_to_cpu((h1.EraseMark | h1.EraseMark1)); in INFTL_mount()
/drivers/media/common/saa7146/
Dsaa7146_i2c.c30 int h1, h2; in saa7146_i2c_msg_prepare() local
58 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
59 op[h1] |= cpu_to_le32( (u8)addr << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
60 op[h1] |= cpu_to_le32(SAA7146_I2C_START << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
66 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
67 op[h1] |= cpu_to_le32( (u32)((u8)m[i].buf[j]) << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
68 op[h1] |= cpu_to_le32( SAA7146_I2C_CONT << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
76 h1 = (op_count-1)/3; h2 = (op_count-1)%3; in saa7146_i2c_msg_prepare()
77 if ( SAA7146_I2C_CONT == (0x3 & (le32_to_cpu(op[h1]) >> ((3-h2)*2))) ) { in saa7146_i2c_msg_prepare()
78 op[h1] &= ~cpu_to_le32(0x2 << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
[all …]
/drivers/s390/net/
Dqeth_core.h357 static inline bool qeth_l2_same_vlan(struct qeth_hdr_layer2 *h1, in qeth_l2_same_vlan() argument
360 return !((h1->flags[2] ^ h2->flags[2]) & QETH_LAYER2_FLAG_VLAN) && in qeth_l2_same_vlan()
361 h1->vlan_id == h2->vlan_id; in qeth_l2_same_vlan()
364 static inline bool qeth_l3_iqd_same_vlan(struct qeth_hdr_layer3 *h1, in qeth_l3_iqd_same_vlan() argument
367 return !((h1->ext_flags ^ h2->ext_flags) & QETH_HDR_EXT_VLAN_FRAME) && in qeth_l3_iqd_same_vlan()
368 h1->vlan_id == h2->vlan_id; in qeth_l3_iqd_same_vlan()
371 static inline bool qeth_l3_same_next_hop(struct qeth_hdr_layer3 *h1, in qeth_l3_same_next_hop() argument
374 return !((h1->flags ^ h2->flags) & QETH_HDR_IPV6) && in qeth_l3_same_next_hop()
375 ipv6_addr_equal(&h1->next_hop.addr, &h2->next_hop.addr); in qeth_l3_same_next_hop()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator_v.c156 uint32_t h1 = 0; in dce110_timing_generator_v_is_counter_moving() local
163 h1 = get_reg_field_value( in dce110_timing_generator_v_is_counter_moving()
185 if (h1 == h2 && v1 == v2) in dce110_timing_generator_v_is_counter_moving()
/drivers/tty/serial/
Difx6x60.c374 u16 h1; in ifx_spi_decode_spi_header() local
378 h1 = *in_buffer; in ifx_spi_decode_spi_header()
381 if (h1 == 0 && h2 == 0) { in ifx_spi_decode_spi_header()
385 } else if (h1 == 0xffff && h2 == 0xffff) { in ifx_spi_decode_spi_header()
391 *length = h1 & 0xfff; /* upper bits of byte are flags */ in ifx_spi_decode_spi_header()
/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c473 u32 cfg, h1, h2, v1, v2; in fimc_set_window() local
476 h1 = buf->rect.x; in fimc_set_window()
484 DRM_DEV_DEBUG_KMS(ctx->dev, "h1[%d]h2[%d]v1[%d]v2[%d]\n", h1, h2, v1, in fimc_set_window()
494 cfg |= (EXYNOS_CIWDOFST_WINHOROFST(h1) | in fimc_set_window()
/drivers/infiniband/hw/qib/
Dqib_iba7322.c6050 u32 pidx, unit, port, deflt, h1; in set_no_qsfp_atten() local
6091 h1 = 0; /* gcc thinks it might be used uninitted */ in set_no_qsfp_atten()
6094 h1 = (u32)simple_strtoul(str, &nxt, 0); in set_no_qsfp_atten()
6109 ppd->cpspec->h1_val = h1; in set_no_qsfp_atten()