Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 6 of 6) sorted by relevance

/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/xen/
Dtime.c34 u32 h, l, h2; in get64() local
45 h2 = READ_ONCE(p32[1]); in get64()
46 } while(h2 != h); in get64()
/drivers/s390/net/
Dqeth_core.h345 struct qeth_hdr_layer2 *h2) in qeth_l2_same_vlan() argument
347 return !((h1->flags[2] ^ h2->flags[2]) & QETH_LAYER2_FLAG_VLAN) && in qeth_l2_same_vlan()
348 h1->vlan_id == h2->vlan_id; in qeth_l2_same_vlan()
352 struct qeth_hdr_layer3 *h2) in qeth_l3_iqd_same_vlan() argument
354 return !((h1->ext_flags ^ h2->ext_flags) & QETH_HDR_EXT_VLAN_FRAME) && in qeth_l3_iqd_same_vlan()
355 h1->vlan_id == h2->vlan_id; in qeth_l3_iqd_same_vlan()
359 struct qeth_hdr_layer3 *h2) in qeth_l3_same_next_hop() argument
361 return !((h1->flags ^ h2->flags) & QETH_HDR_IPV6) && in qeth_l3_same_next_hop()
362 ipv6_addr_equal(&h1->next_hop.addr, &h2->next_hop.addr); in qeth_l3_same_next_hop()
/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c228 unsigned int* h2) { in matroxfb_PLL_mavenclock() argument
282 *h2 = besth2 = ln; in matroxfb_PLL_mavenclock()
736 h2; in maven_find_exact_clocks() local
739 …nclock((m->mode == MATROXFB_OUTPUT_MODE_PAL) ? &maven_PAL : &maven_NTSC, h, vt, &a, &b, &c, &h2)) { in maven_find_exact_clocks()
740 unsigned int diff = h - h2; in maven_find_exact_clocks()
747 m->hcorr = h2 - 2; in maven_find_exact_clocks()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator_v.c156 uint32_t h2 = 0; in dce110_timing_generator_v_is_counter_moving() local
174 h2 = get_reg_field_value( in dce110_timing_generator_v_is_counter_moving()
184 if (h1 == h2 && v1 == v2) in dce110_timing_generator_v_is_counter_moving()
/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c471 u32 cfg, h1, h2, v1, v2; in fimc_set_window() local
475 h2 = real_width - buf->rect.w - buf->rect.x; in fimc_set_window()
482 DRM_DEV_DEBUG_KMS(ctx->dev, "h1[%d]h2[%d]v1[%d]v2[%d]\n", h1, h2, v1, in fimc_set_window()
497 cfg = (EXYNOS_CIWDOFST2_WINHOROFST2(h2) | in fimc_set_window()