Home
last modified time | relevance | path

Searched refs:d1 (Results 1 – 25 of 30) sorted by relevance

12

/linux-4.19.296/lib/mpi/
Dmpih-div.c103 mpi_limb_t d1, d0; in mpihelp_divrem() local
106 d1 = dp[1]; in mpihelp_divrem()
111 if (n1 >= d1 && (n1 > d1 || n0 >= d0)) { in mpihelp_divrem()
112 sub_ddmmss(n1, n0, n1, n0, d1, d0); in mpihelp_divrem()
125 if (n1 == d1) { in mpihelp_divrem()
131 r = n0 + d1; in mpihelp_divrem()
132 if (r < d1) { /* Carry in the addition? */ in mpihelp_divrem()
141 udiv_qrnnd(q, r, n1, n0, d1); in mpihelp_divrem()
151 r += d1; in mpihelp_divrem()
152 if (r >= d1) /* If not carry, test Q again. */ in mpihelp_divrem()
[all …]
/linux-4.19.296/lib/
Drational.c36 unsigned long n, d, n0, d0, n1, d1; in rational_best_approximation() local
39 n0 = d1 = 0; in rational_best_approximation()
43 if ((n1 > max_numerator) || (d1 > max_denominator)) { in rational_best_approximation()
45 d1 = d0; in rational_best_approximation()
57 t = d0 + a * d1; in rational_best_approximation()
58 d0 = d1; in rational_best_approximation()
59 d1 = t; in rational_best_approximation()
62 *best_denominator = d1; in rational_best_approximation()
/linux-4.19.296/include/asm-generic/
Dxor.h109 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_2() local
111 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_2()
119 d1 ^= p2[1]; in xor_32regs_2()
127 p1[1] = d1; in xor_32regs_2()
146 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_3() local
148 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_3()
156 d1 ^= p2[1]; in xor_32regs_3()
164 d1 ^= p3[1]; in xor_32regs_3()
172 p1[1] = d1; in xor_32regs_3()
192 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_4() local
[all …]
/linux-4.19.296/drivers/iio/adc/
Dtwl6030-gpadc.c587 int channel, int d1, int d2) in twl6030_calibrate_channel() argument
602 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel()
605 b = (d1 * 1000) - (k - 1000) * x1; in twl6030_calibrate_channel()
611 dev_dbg(gpadc->dev, "GPADC d1 for Chn: %d = %d\n", channel, d1); in twl6030_calibrate_channel()
639 s8 d1, d2; in twl6030_calibration() local
659 d1 = trim_regs[0]; in twl6030_calibration()
667 d1 = trim_regs[4]; in twl6030_calibration()
671 d1 = trim_regs[12]; in twl6030_calibration()
675 d1 = trim_regs[6]; in twl6030_calibration()
679 d1 = trim_regs[2]; in twl6030_calibration()
[all …]
Dpalmas_gpadc.c296 int d1; in palmas_gpadc_calibrate() local
306 adc->adc_info[adc_chan].trim1_reg, &d1); in palmas_gpadc_calibrate()
320 k = (1000 + (1000 * (d2 - d1)) / (x2 - x1)); in palmas_gpadc_calibrate()
328 adc->adc_info[adc_chan].offset = (d1 * 1000) - ((k - 1000) * x1); in palmas_gpadc_calibrate()
/linux-4.19.296/include/uapi/linux/
Duuid.h27 #define GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
32 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})
36 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
37 GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
/linux-4.19.296/fs/ntfs/
Dcollate.c49 u32 d1, d2; in ntfs_collate_ntofs_ulong() local
55 d1 = le32_to_cpup(data1); in ntfs_collate_ntofs_ulong()
57 if (d1 < d2) in ntfs_collate_ntofs_ulong()
60 if (d1 == d2) in ntfs_collate_ntofs_ulong()
/linux-4.19.296/drivers/clk/davinci/
Dpsc.h36 #define LPSC_CLKDEV2(n, c1, d1, c2, d2) \ argument
38 LPSC_CLKDEV((c1), (d1)), \
43 #define LPSC_CLKDEV3(n, c1, d1, c2, d2, c3, d3) \ argument
45 LPSC_CLKDEV((c1), (d1)), \
/linux-4.19.296/fs/hpfs/
Ddnode.c548 struct dnode *d1; in delete_empty_dnode() local
558 if ((d1 = hpfs_map_dnode(i->i_sb, down, &qbh1))) { in delete_empty_dnode()
559 d1->up = cpu_to_le32(up); in delete_empty_dnode()
560 d1->root_dnode = 1; in delete_empty_dnode()
589 struct dnode *d1; in delete_empty_dnode() local
592 if ((d1 = hpfs_map_dnode(i->i_sb, down, &qbh1))) { in delete_empty_dnode()
593 d1->up = cpu_to_le32(up); in delete_empty_dnode()
606 struct dnode *d1; in delete_empty_dnode() local
620 if (de_cp->down) if ((d1 = hpfs_map_dnode(i->i_sb, de_down_pointer(de_cp), &qbh1))) { in delete_empty_dnode()
621 d1->up = cpu_to_le32(ndown); in delete_empty_dnode()
[all …]
Danode.c284 int d1, d2; in hpfs_remove_btree() local
291 if (hpfs_stop_cycles(s, ano, &d1, &d2, "hpfs_remove_btree #1")) in hpfs_remove_btree()
/linux-4.19.296/drivers/parisc/
Diosapic.c621 u32 d0, d1; in iosapic_mask_irq() local
624 iosapic_rd_irt_entry(vi, &d0, &d1); in iosapic_mask_irq()
626 iosapic_wr_irt_entry(vi, d0, d1); in iosapic_mask_irq()
633 u32 d0, d1; in iosapic_unmask_irq() local
638 iosapic_set_irt_data(vi, &d0, &d1); in iosapic_unmask_irq()
639 iosapic_wr_irt_entry(vi, d0, d1); in iosapic_unmask_irq()
655 d1 = iosapic_read(isp->addr, d0); in iosapic_unmask_irq()
656 printk(" %x", d1); in iosapic_unmask_irq()
686 u32 d0, d1, dummy_d0; in iosapic_set_affinity_irq() local
700 iosapic_rd_irt_entry(vi, &d0, &d1); in iosapic_set_affinity_irq()
[all …]
/linux-4.19.296/drivers/clk/
Dclk-vt8500.c333 #define WM8650_BITS_TO_FREQ(r, m, d1, d2) \ argument
334 (r * m / (d1 * (1 << d2)))
336 #define WM8650_BITS_TO_VAL(m, d1, d2) \ argument
337 ((d2 << 13) | (d1 << 10) | (m & 0x3FF))
343 #define WM8750_BITS_TO_FREQ(r, m, d1, d2) \ argument
344 (r * (m+1) / ((d1+1) * (1 << d2)))
346 #define WM8750_BITS_TO_VAL(f, m, d1, d2) \ argument
347 ((f << 24) | ((m - 1) << 16) | ((d1 - 1) << 8) | d2)
353 #define WM8850_BITS_TO_FREQ(r, m, d1, d2) \ argument
354 (r * ((m + 1) * 2) / ((d1+1) * (1 << d2)))
[all …]
/linux-4.19.296/drivers/media/rc/
Drc-core-priv.h145 static inline bool geq_margin(unsigned d1, unsigned d2, unsigned margin) in geq_margin() argument
147 return d1 > (d2 - margin); in geq_margin()
150 static inline bool eq_margin(unsigned d1, unsigned d2, unsigned margin) in eq_margin() argument
152 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
/linux-4.19.296/crypto/
Daegis.h65 u32 d0, d1, d2, d3; in crypto_aegis_aesenc() local
68 d1 = t0[s[ 4]] ^ t1[s[ 9]] ^ t2[s[14]] ^ t3[s[ 3]]; in crypto_aegis_aesenc()
73 dst->words32[1] = cpu_to_le32(d1) ^ key->words32[1]; in crypto_aegis_aesenc()
Dpoly1305_generic.c101 u64 d0, d1, d2, d3, d4; in poly1305_blocks() local
139 d1 = mlt(h0, r1) + mlt(h1, r0) + mlt(h2, s4) + in poly1305_blocks()
149 d1 += sr(d0, 26); h0 = and(d0, 0x3ffffff); in poly1305_blocks()
150 d2 += sr(d1, 26); h1 = and(d1, 0x3ffffff); in poly1305_blocks()
/linux-4.19.296/fs/fat/
Ddir.c712 struct dirent_type __user *d1 = buf->dirent; \
713 struct dirent_type __user *d2 = d1 + 1; \
721 if (name_len >= sizeof(d1->d_name)) \
722 name_len = sizeof(d1->d_name) - 1; \
726 copy_to_user(d1->d_name, name, name_len) || \
727 put_user(0, d1->d_name + name_len) || \
728 put_user(name_len, &d1->d_reclen)) \
737 if (long_len >= sizeof(d1->d_name)) \
738 long_len = sizeof(d1->d_name) - 1; \
739 if (short_len >= sizeof(d1->d_name)) \
[all …]
/linux-4.19.296/include/linux/
Duuid.h28 #define UUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
33 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})
/linux-4.19.296/fs/xfs/
Dxfs_dquot.c1194 xfs_dquot_t *d1, in xfs_dqlock2() argument
1197 if (d1 && d2) { in xfs_dqlock2()
1198 ASSERT(d1 != d2); in xfs_dqlock2()
1199 if (be32_to_cpu(d1->q_core.d_id) > in xfs_dqlock2()
1202 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()
1204 mutex_lock(&d1->q_qlock); in xfs_dqlock2()
1207 } else if (d1) { in xfs_dqlock2()
1208 mutex_lock(&d1->q_qlock); in xfs_dqlock2()
Dxfs_fsmap.c187 const struct xfs_getfsmap_dev *d1 = p1; in xfs_getfsmap_dev_compare() local
190 return d1->dev - d2->dev; in xfs_getfsmap_dev_compare()
/linux-4.19.296/drivers/i2c/busses/
Di2c-diolan-u2c.c187 static int diolan_usb_cmd_data2(struct i2c_diolan_u2c *dev, u8 command, u8 d1, in diolan_usb_cmd_data2() argument
191 dev->obuffer[dev->olen++] = d1; in diolan_usb_cmd_data2()
/linux-4.19.296/drivers/isdn/i4l/
Disdn_audio.c200 unsigned long d0, d1, d2, d3; in isdn_audio_tlookup() local
207 : "=&b"(d0), "=&c"(d1), "=&D"(d2), "=&S"(d3) in isdn_audio_tlookup()
/linux-4.19.296/fs/gfs2/
Dsuper.c1355 static int is_ancestor(const struct dentry *d1, const struct dentry *d2) in is_ancestor() argument
1358 if (d1 == d2) in is_ancestor()
1360 d1 = d1->d_parent; in is_ancestor()
1361 } while (!IS_ROOT(d1)); in is_ancestor()
/linux-4.19.296/drivers/isdn/hardware/eicon/
Dkst_ifc.h171 diva_prot_statistics_t d1; member
Dmaintidi.c1789 &pLib->InterfaceStat.d1.X_Frames; in diva_create_parse_table()
1794 &pLib->InterfaceStat.d1.X_Bytes; in diva_create_parse_table()
1799 &pLib->InterfaceStat.d1.X_Errors; in diva_create_parse_table()
1804 &pLib->InterfaceStat.d1.R_Frames; in diva_create_parse_table()
1809 &pLib->InterfaceStat.d1.R_Bytes; in diva_create_parse_table()
1814 &pLib->InterfaceStat.d1.R_Errors; in diva_create_parse_table()
/linux-4.19.296/fs/ext4/
Dfsmap.c67 const struct ext4_getfsmap_dev *d1 = p1; in ext4_getfsmap_dev_compare() local
70 return d1->gfd_dev - d2->gfd_dev; in ext4_getfsmap_dev_compare()

12