Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dpoly1305_generic.c110 u32 h0, h1, h2, h3, h4; in poly1305_blocks() local
133 h2 = dctx->h[2]; in poly1305_blocks()
142 h2 += (le32_to_cpuvp(src + 6) >> 4) & 0x3ffffff; in poly1305_blocks()
147 d0 = mlt(h0, r0) + mlt(h1, s4) + mlt(h2, s3) + in poly1305_blocks()
149 d1 = mlt(h0, r1) + mlt(h1, r0) + mlt(h2, s4) + in poly1305_blocks()
151 d2 = mlt(h0, r2) + mlt(h1, r1) + mlt(h2, r0) + in poly1305_blocks()
153 d3 = mlt(h0, r3) + mlt(h1, r2) + mlt(h2, r1) + in poly1305_blocks()
155 d4 = mlt(h0, r4) + mlt(h1, r3) + mlt(h2, r2) + in poly1305_blocks()
161 d3 += sr(d2, 26); h2 = and(d2, 0x3ffffff); in poly1305_blocks()
172 dctx->h[2] = h2; in poly1305_blocks()
[all …]
/linux-4.4.14/net/sched/
Dcls_rsvp.h137 unsigned int h1, h2; in rsvp_classify() local
173 h2 = hash_src(src); in rsvp_classify()
188 for (f = rcu_dereference_bh(s->ht[h2]); f; in rsvp_classify()
232 unsigned int h2 = (h >> 8) & 0xFF; in rsvp_replace() local
236 for (ins = &s->ht[h2], pins = rtnl_dereference(*ins); ; in rsvp_replace()
258 unsigned int h2 = (handle >> 8) & 0xFF; in rsvp_get() local
260 if (h2 > 16) in rsvp_get()
265 for (f = rtnl_dereference(s->ht[h2]); f; in rsvp_get()
307 int h1, h2; in rsvp_destroy() local
327 for (h2 = 0; h2 <= 16; h2++) { in rsvp_destroy()
[all …]
Dcls_route.c235 unsigned int h1, h2; in route4_get() local
244 h2 = from_hash(handle >> 16); in route4_get()
245 if (h2 > 32) in route4_get()
250 for (f = rtnl_dereference(b->ht[h2]); in route4_get()
283 int h1, h2; in route4_destroy() local
300 for (h2 = 0; h2 <= 32; h2++) { in route4_destroy()
303 while ((f = rtnl_dereference(b->ht[h2])) != NULL) { in route4_destroy()
307 RCU_INIT_POINTER(b->ht[h2], next); in route4_destroy()
439 unsigned int h2 = from_hash(nhandle >> 16); in route4_set_parms() local
442 for (fp = rtnl_dereference(b->ht[h2]); in route4_set_parms()
/linux-4.4.14/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 …]
/linux-4.4.14/arch/alpha/kernel/
Dconsole.c28 default_vga_hose_select(struct pci_controller *h1, struct pci_controller *h2) in default_vga_hose_select() argument
30 if (h2->index < h1->index) in default_vga_hose_select()
31 return h2; in default_vga_hose_select()
/linux-4.4.14/arch/x86/crypto/
Dpoly1305-sse2-x86_64.S24 #define h2 0x08(%rdi) macro
83 # h23 = [0, h3, 0, h2]
87 movd h2,h23
117 # t1[0] = h0 * r0 + h2 * s3
128 # t2[0] = h0 * r1 + h2 * s4
156 # t1[0] = h0 * r2 + h2 * r0
167 # t2[0] = h0 * r3 + h2 * r1
195 # t1[0] = h0 * r4 + h2 * r2
237 # h2 = d2 & 0x3ffffff
240 mov %eax,h2
[all …]
Dpoly1305-avx2-x86_64.S26 #define h2 0x08(%rdi) macro
180 # (m[22-25] >> 4) & 0x3ffffff, (m[ 6- 9] >> 4) & 0x3ffffff + h2]
190 vmovd h2,t1x
345 # h2 = d2 & 0x3ffffff
348 mov %eax,h2
/linux-4.4.14/arch/arm/mach-omap1/
DMakefile31 obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
/linux-4.4.14/include/linux/
Dif_vlan.h641 const struct vlan_hdr *h2) in compare_vlan_header() argument
644 return *(u32 *)h1 ^ *(u32 *)h2; in compare_vlan_header()
646 return ((__force u32)h1->h_vlan_TCI ^ (__force u32)h2->h_vlan_TCI) | in compare_vlan_header()
648 (__force u32)h2->h_vlan_encapsulated_proto); in compare_vlan_header()
Dvmw_vmci_defs.h144 struct vmci_handle h2) in vmci_handle_is_equal() argument
146 return h1.context == h2.context && h1.resource == h2.resource; in vmci_handle_is_equal()
/linux-4.4.14/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()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_core.c69 static void nf_conntrack_double_unlock(unsigned int h1, unsigned int h2) in nf_conntrack_double_unlock() argument
72 h2 %= CONNTRACK_LOCKS; in nf_conntrack_double_unlock()
74 if (h1 != h2) in nf_conntrack_double_unlock()
75 spin_unlock(&nf_conntrack_locks[h2]); in nf_conntrack_double_unlock()
80 unsigned int h2, unsigned int sequence) in nf_conntrack_double_lock() argument
83 h2 %= CONNTRACK_LOCKS; in nf_conntrack_double_lock()
84 if (h1 <= h2) { in nf_conntrack_double_lock()
86 if (h1 != h2) in nf_conntrack_double_lock()
87 spin_lock_nested(&nf_conntrack_locks[h2], in nf_conntrack_double_lock()
90 spin_lock(&nf_conntrack_locks[h2]); in nf_conntrack_double_lock()
[all …]
/linux-4.4.14/net/packet/
Daf_packet.c164 struct tpacket2_hdr *h2; member
408 h.h2->tp_status = status; in __packet_set_status()
409 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_set_status()
432 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_get_status()
433 return h.h2->tp_status; in __packet_get_status()
475 h.h2->tp_sec = ts.tv_sec; in __packet_set_timestamp()
476 h.h2->tp_nsec = ts.tv_nsec; in __packet_set_timestamp()
2111 BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32); in tpacket_rcv()
2229 h.h2->tp_len = skb->len; in tpacket_rcv()
2230 h.h2->tp_snaplen = snaplen; in tpacket_rcv()
[all …]
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c227 unsigned int* h2) { in matroxfb_PLL_mavenclock() argument
281 *h2 = besth2 = ln; in matroxfb_PLL_mavenclock()
735 uninitialized_var(h2); in maven_find_exact_clocks()
738 …nclock((m->mode == MATROXFB_OUTPUT_MODE_PAL) ? &maven_PAL : &maven_NTSC, h, vt, &a, &b, &c, &h2)) { in maven_find_exact_clocks()
739 unsigned int diff = h - h2; in maven_find_exact_clocks()
746 m->hcorr = h2 - 2; in maven_find_exact_clocks()
/linux-4.4.14/arch/x86/crypto/sha-mb/
Dsha1_x8_avx2.S79 # r7 = {h7 h6 h5 h4 h3 h2 h1 h0}
84 # r2 = {h2 g2 f2 e2 d2 c2 b2 a2}
108 vshufps $0xEE, \r7, \r6, \r6 # r6 = {h7 h6 g7 g6 h3 h2 g3 g2}
110 vshufps $0x88, \r6, \r4, \r5 # r5 = {h6 g6 f6 e6 h2 g2 f2 e2}
115 vperm2f128 $0x02, \r1, \r5, \r2 # h2...a2
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c121 const Elf32_Phdr *h2 = v2; in phcmp() local
123 if (h1->p_vaddr > h2->p_vaddr) in phcmp()
125 else if (h1->p_vaddr < h2->p_vaddr) in phcmp()
/linux-4.4.14/drivers/tty/serial/
Difx6x60.c390 u16 h2; in ifx_spi_decode_spi_header() local
394 h2 = *(in_buffer+1); 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()
/linux-4.4.14/drivers/staging/media/davinci_vpfe/
Ddm365_resizer.c367 unsigned int h2; in resizer_calculate_down_scale_f_div_param() local
399 h2 = output_width - h1; in resizer_calculate_down_scale_f_div_param()
410 param->f_div.pass[1].o_hsz = h2 - 1; in resizer_calculate_down_scale_f_div_param()
622 unsigned int h2; in resizer_calculate_normal_f_div_param() local
645 h2 = output_width - h1; in resizer_calculate_normal_f_div_param()
656 param->f_div.pass[1].o_hsz = h2 - 1; in resizer_calculate_normal_f_div_param()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c595 u32 cfg, h1, h2, v1, v2; in fimc_set_window() local
599 h2 = sz->hsize - pos->w - 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()
619 cfg = (EXYNOS_CIWDOFST2_WINHOROFST2(h2) | in fimc_set_window()
/linux-4.4.14/security/keys/
Dtrusted.c125 unsigned char *h2, unsigned char h3, ...) in TSS_authhmac() argument
165 TPM_NONCE_SIZE, h2, 1, &c, 0, 0); in TSS_authhmac()
/linux-4.4.14/Documentation/trace/
Dftrace.txt1154 bash-1994 1d.h2 14us : ktime_get_update_offsets <-hrtimer_interrupt
1338 ls-2269 3d.h2 9us : exit_idle <-do_IRQ
1341 ls-2269 3d.h2 20us : irq_exit <-do_IRQ
1342 ls-2269 3d.h2 21us : sub_preempt_count <-irq_exit