Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 28) sorted by relevance

12

/linux-4.19.296/crypto/
Dserpent_generic.c237 static noinline void __serpent_setkey_sbox(u32 r0, u32 r1, u32 r2, in __serpent_setkey_sbox() argument
241 S3(r3, r4, r0, r1, r2); store_and_load_keys(r1, r2, r4, r3, 28, 24); in __serpent_setkey_sbox()
242 S4(r1, r2, r4, r3, r0); store_and_load_keys(r2, r4, r3, r0, 24, 20); in __serpent_setkey_sbox()
243 S5(r2, r4, r3, r0, r1); store_and_load_keys(r1, r2, r4, r0, 20, 16); in __serpent_setkey_sbox()
244 S6(r1, r2, r4, r0, r3); store_and_load_keys(r4, r3, r2, r0, 16, 12); in __serpent_setkey_sbox()
245 S7(r4, r3, r2, r0, r1); store_and_load_keys(r1, r2, r0, r4, 12, 8); in __serpent_setkey_sbox()
246 S0(r1, r2, r0, r4, r3); store_and_load_keys(r0, r2, r4, r1, 8, 4); in __serpent_setkey_sbox()
247 S1(r0, r2, r4, r1, r3); store_and_load_keys(r3, r4, r1, r0, 4, 0); in __serpent_setkey_sbox()
248 S2(r3, r4, r1, r0, r2); store_and_load_keys(r2, r4, r3, r0, 0, -4); in __serpent_setkey_sbox()
249 S3(r2, r4, r3, r0, r1); store_and_load_keys(r0, r1, r4, r2, -4, -8); in __serpent_setkey_sbox()
[all …]
Dpoly1305_generic.c98 u32 r0, r1, r2, r3, r4; in poly1305_blocks() local
112 r2 = dctx->r[2]; in poly1305_blocks()
117 s2 = r2 * 5; in poly1305_blocks()
141 d2 = mlt(h0, r2) + mlt(h1, r1) + mlt(h2, r0) + in poly1305_blocks()
143 d3 = mlt(h0, r3) + mlt(h1, r2) + mlt(h2, r1) + in poly1305_blocks()
145 d4 = mlt(h0, r4) + mlt(h1, r3) + mlt(h2, r2) + in poly1305_blocks()
Decc.c301 u64 r2 = 0; in vli_mult() local
321 r2 += (r01.m_high < product.m_high); in vli_mult()
326 r01.m_high = r2; in vli_mult()
327 r2 = 0; in vli_mult()
336 u64 r2 = 0; in vli_square() local
353 r2 += product.m_high >> 63; in vli_square()
360 r2 += (r01.m_high < product.m_high); in vli_square()
365 r01.m_high = r2; in vli_square()
366 r2 = 0; in vli_square()
/linux-4.19.296/drivers/memory/
Dti-emif-sram-pm.S53 ldr r2, [r4, #EMIF_PM_REGS_VIRT_OFFSET]
57 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
60 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
63 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET]
66 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET]
69 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET]
72 str r1, [r2, #EMIF_PMCR_VAL_OFFSET]
75 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET]
78 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET]
81 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET]
[all …]
/linux-4.19.296/include/media/
Dv4l2-rect.h80 const struct v4l2_rect *r2) in v4l2_rect_same_size() argument
82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size()
93 const struct v4l2_rect *r2) in v4l2_rect_intersect() argument
97 r->top = max(r1->top, r2->top); in v4l2_rect_intersect()
98 r->left = max(r1->left, r2->left); in v4l2_rect_intersect()
99 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
100 right = min(r1->left + r1->width, r2->left + r2->width); in v4l2_rect_intersect()
140 const struct v4l2_rect *r2) in v4l2_rect_overlap() argument
147 if (r1->left >= r2->left + r2->width || in v4l2_rect_overlap()
148 r2->left >= r1->left + r1->width) in v4l2_rect_overlap()
[all …]
/linux-4.19.296/include/linux/
Darm-smccc.h202 "+r" (r0), "=&r" (r1), "=&r" (r2), "=&r" (r3)
204 "+r" (r0), "+r" (r1), "=&r" (r2), "=&r" (r3)
206 "+r" (r0), "+r" (r1), "+r" (r2), "=&r" (r3)
208 "+r" (r0), "+r" (r1), "+r" (r2), "+r" (r3)
227 register unsigned long r2 asm("r2"); \
235 register unsigned long r2 asm("r2"); \
244 register unsigned long r2 asm("r2") = __a2; \
254 register unsigned long r2 asm("r2") = __a2; \
297 *___res = (typeof(*___res)){r0, r1, r2, r3}; \
Dioport.h209 static inline bool resource_contains(struct resource *r1, struct resource *r2) in resource_contains() argument
211 if (resource_type(r1) != resource_type(r2)) in resource_contains()
213 if (r1->flags & IORESOURCE_UNSET || r2->flags & IORESOURCE_UNSET) in resource_contains()
215 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains()
284 static inline bool resource_overlaps(struct resource *r1, struct resource *r2) in resource_overlaps() argument
286 return (r1->start <= r2->end && r1->end >= r2->start); in resource_overlaps()
Dbpf.h173 u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
843 u64 bpf_user_rnd_u32(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
Dfilter.h785 u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
/linux-4.19.296/include/drm/
Ddrm_rect.h170 const struct drm_rect *r2) in drm_rect_equals() argument
172 return r1->x1 == r2->x1 && r1->x2 == r2->x2 && in drm_rect_equals()
173 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
/linux-4.19.296/include/net/
Dgeneve.h30 u8 r2:1; member
34 u8 r2:1; member
/linux-4.19.296/drivers/regulator/
Dltc3589.c92 unsigned int r2; member
293 desc->r2 = vdiv[1]; in ltc3589_parse_regulators_dt()
439 static inline unsigned int ltc3589_scale(unsigned int uV, u32 r1, u32 r2) in ltc3589_scale() argument
445 do_div(tmp, r2); in ltc3589_scale()
453 if (!rdesc->r1 || !rdesc->r2) in ltc3589_apply_fb_voltage_divider()
456 desc->min_uV = ltc3589_scale(desc->min_uV, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider()
457 desc->uV_step = ltc3589_scale(desc->uV_step, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider()
458 desc->fixed_uV = ltc3589_scale(desc->fixed_uV, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider()
Dltc3676.c144 static inline unsigned int ltc3676_scale(unsigned int uV, u32 r1, u32 r2) in ltc3676_scale() argument
150 do_div(tmp, r2); in ltc3676_scale()
/linux-4.19.296/include/math-emu/
Dop-4.h516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
525 r2 = x2 + y2 + _c2; \
530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
539 r2 = x2 + y2; \
540 _c3 = r2 < x2; \
541 r2 += _c2; \
542 _c3 |= r2 < _c2; \
548 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
557 r2 = x2 - y2 - _c2; \
562 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
[all …]
/linux-4.19.296/drivers/media/tuners/
Dmc44s803.c215 u32 r1, r2, n1, n2, lo1, lo2, freq, val; in mc44s803_set_params() local
221 r2 = MC44S803_OSC / 100000; in mc44s803_set_params()
229 lo2 = ((60 * n2) + (r2 / 2)) / r2; in mc44s803_set_params()
236 MC44S803_REG_SM(r2-1, MC44S803_R2) | in mc44s803_set_params()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_alloc_btree.c402 union xfs_btree_rec *r2) in xfs_bnobt_recs_inorder() argument
406 be32_to_cpu(r2->alloc.ar_startblock); in xfs_bnobt_recs_inorder()
426 union xfs_btree_rec *r2) in xfs_cntbt_recs_inorder() argument
429 be32_to_cpu(r2->alloc.ar_blockcount) || in xfs_cntbt_recs_inorder()
430 (r1->alloc.ar_blockcount == r2->alloc.ar_blockcount && in xfs_cntbt_recs_inorder()
432 be32_to_cpu(r2->alloc.ar_startblock)); in xfs_cntbt_recs_inorder()
Dxfs_rmap_btree.c407 union xfs_btree_rec *r2) in xfs_rmapbt_recs_inorder() argument
415 y = be32_to_cpu(r2->rmap.rm_startblock); in xfs_rmapbt_recs_inorder()
421 b = be64_to_cpu(r2->rmap.rm_owner); in xfs_rmapbt_recs_inorder()
427 b = XFS_RMAP_OFF(be64_to_cpu(r2->rmap.rm_offset)); in xfs_rmapbt_recs_inorder()
Dxfs_refcount_btree.c288 union xfs_btree_rec *r2) in xfs_refcountbt_recs_inorder() argument
292 be32_to_cpu(r2->refc.rc_startblock); in xfs_refcountbt_recs_inorder()
Dxfs_ialloc_btree.c353 union xfs_btree_rec *r2) in xfs_inobt_recs_inorder() argument
356 be32_to_cpu(r2->inobt.ir_startino); in xfs_inobt_recs_inorder()
Dxfs_bmap_btree.c504 union xfs_btree_rec *r2) in xfs_bmbt_recs_inorder() argument
508 xfs_bmbt_disk_get_startoff(&r2->bmbt); in xfs_bmbt_recs_inorder()
Dxfs_btree.h161 union xfs_btree_rec *r2);
/linux-4.19.296/drivers/isdn/gigaset/
Dusb-gigaset.c181 int r, r2; in set_value() local
199 r2 = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), 0x19, 0x41, in set_value()
201 if (r2 < 0) in set_value()
202 dev_err(&udev->dev, "error %d on request 0x19\n", -r2); in set_value()
204 return r < 0 ? r : (r2 < 0 ? r2 : 0); in set_value()
/linux-4.19.296/drivers/clk/st/
Dclkgen-fsyn.c634 int r1, r2; in clk_fs660c32_dig_get_params() local
643 r2 = clk_fs660c32_get_pe(31, si, &deviation, in clk_fs660c32_dig_get_params()
647 if (r1 && r2 && (p1 > p2)) in clk_fs660c32_dig_get_params()
/linux-4.19.296/drivers/clk/renesas/
Dr9a06g032-clocks.c51 u16 sel, g1, r1, g2, r2; member
80 .g1 = _g1, .r1 = _r1, .g2 = _g2, .r2 = _r2 }, }
776 g->gate[1].reset = desc->dual.r2; in r9a06g032_register_dualgate()
/linux-4.19.296/virt/kvm/
Dkvm_main.c3673 const struct kvm_io_range *r2) in kvm_io_bus_cmp() argument
3676 gpa_t addr2 = r2->addr; in kvm_io_bus_cmp()
3686 if (r2->len) { in kvm_io_bus_cmp()
3688 addr2 += r2->len; in kvm_io_bus_cmp()

12