Home
last modified time | relevance | path

Searched refs:rounding (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
H A Dia_css_ctc2.host.c46 int rounding = (dx + 1) >> 1; in ctc2_slope() local
58 rounding = -rounding; in ctc2_slope()
59 slope = (int)(dy_shift + rounding) / dx; in ctc2_slope()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
H A Dia_css_ctc2.host.c46 int rounding = (dx + 1) >> 1; in ctc2_slope() local
58 rounding = -rounding; in ctc2_slope()
59 slope = (int)(dy_shift + rounding) / dx; in ctc2_slope()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dsint.S29 | the rounding mode.
40 | for the given sign and rounding mode.
78 bfextu FPCR_MODE(%a6){#2:#2},%d1 |use user's mode for rounding
115 movel #1,L_SCR1(%a6) |use rz mode for rounding
133 bfextu FPCR_MODE(%a6){#2:#2},%d1 |use user's mode for rounding
150 | rounding modes. L_SCR1 contains the rmode in the lower byte.
218 movel L_SCR1(%a6),%d1 |use selected rounding mode
H A Dutil.S12 | g_rndpr: returns the rounding precision.
96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be
98 | precision instruction, the rounding precision is then set to the force
170 | ;is the rounding precision
314 | g_rndpr --- put rounding precision in d0{1:0}
322 | get rounding precision (cmdreg3b{6:5})
325 | get destination format - this is the also the rounding precision
350 | is the same as the rounding precision. Pass results from g_dfmtou.
358 movel CMDREG3B(%a6),%d0 |rounding precision in d0{10:9}
359 bfextu %d0{#9:#2},%d0 |move the rounding pre
[all...]
H A Dround.S4 | handle rounding and normalization tasks
24 | d1(high word) contains rounding precision:
28 | d1(low word) contains rounding mode:
50 | :rounding precision and sets
60 | Use rounding mode as an index into a jump table for these modes.
67 | Jump table indexed by rounding mode in d1.w. All following assumes
130 | selected rounding precision. It is called by the round subroutine
406 | d0: rounding precision
413 | d0 comes into this routine with the rounding precision. It
415 | rounding precisio
[all...]
H A Ddecbin.S52 | greater than 10^27, a directed rounding scheme is used with
84 | 10**{1,2,4,8,16,32,64,128,256,512,1024,2048,4096}. No rounding
407 | Pwrten calculates the exponent factor in the selected rounding mode
432 bfextu %d3{#26:#2},%d2 |isolate rounding mode bits
438 moveb (%a1,%d2),%d0 |load new rounding bits from table
440 bfins %d0,%d3{#26:#2} |stuff new rounding bits in FPCR
H A Dstwotox.S199 fmovel %d1,%fpcr | ...set user's rounding mode/precision
303 fmovel %d1,%fpcr | ...set user's rounding mode/precision
H A Dbindec.S57 | 10^^(abs(ISCALE)) using a rounding mode which is a
58 | function of the original rounding mode and the signs
64 | only one rounding error. The grs bits are collected in
78 | Perform FINT operation in the user's rounding mode.
81 | A12. Calculate YINT = FINT(Y) according to user's rounding
333 | the rounding mode as given in the following table (see
440 | only one rounding error. The grs bits are collected in
447 fmovel #rz_mode,%FPCR |set RZ rounding mode
550 | Perform FINT operation in the user's rounding mode. Keep
561 | A12. Calculate YINT = FINT(Y) according to user's rounding mod
[all...]
H A Dx_ovfl.S18 | on the current rounding mode:
H A Dx_unfl.S204 | d1{01:00} has rounding mode
205 | d1{17:16} has rounding precision
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dsint.S29 | the rounding mode.
40 | for the given sign and rounding mode.
78 bfextu FPCR_MODE(%a6){#2:#2},%d1 |use user's mode for rounding
115 movel #1,L_SCR1(%a6) |use rz mode for rounding
133 bfextu FPCR_MODE(%a6){#2:#2},%d1 |use user's mode for rounding
150 | rounding modes. L_SCR1 contains the rmode in the lower byte.
218 movel L_SCR1(%a6),%d1 |use selected rounding mode
H A Dutil.S12 | g_rndpr: returns the rounding precision.
96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be
98 | precision instruction, the rounding precision is then set to the force
170 | ;is the rounding precision
314 | g_rndpr --- put rounding precision in d0{1:0}
322 | get rounding precision (cmdreg3b{6:5})
325 | get destination format - this is the also the rounding precision
350 | is the same as the rounding precision. Pass results from g_dfmtou.
358 movel CMDREG3B(%a6),%d0 |rounding precision in d0{10:9}
359 bfextu %d0{#9:#2},%d0 |move the rounding pre
[all...]
H A Dround.S4 | handle rounding and normalization tasks
24 | d1(high word) contains rounding precision:
28 | d1(low word) contains rounding mode:
50 | :rounding precision and sets
60 | Use rounding mode as an index into a jump table for these modes.
67 | Jump table indexed by rounding mode in d1.w. All following assumes
130 | selected rounding precision. It is called by the round subroutine
406 | d0: rounding precision
413 | d0 comes into this routine with the rounding precision. It
415 | rounding precisio
[all...]
H A Ddecbin.S52 | greater than 10^27, a directed rounding scheme is used with
84 | 10**{1,2,4,8,16,32,64,128,256,512,1024,2048,4096}. No rounding
407 | Pwrten calculates the exponent factor in the selected rounding mode
432 bfextu %d3{#26:#2},%d2 |isolate rounding mode bits
438 moveb (%a1,%d2),%d0 |load new rounding bits from table
440 bfins %d0,%d3{#26:#2} |stuff new rounding bits in FPCR
H A Dstwotox.S199 fmovel %d1,%fpcr | ...set user's rounding mode/precision
303 fmovel %d1,%fpcr | ...set user's rounding mode/precision
H A Dbindec.S57 | 10^^(abs(ISCALE)) using a rounding mode which is a
58 | function of the original rounding mode and the signs
64 | only one rounding error. The grs bits are collected in
78 | Perform FINT operation in the user's rounding mode.
81 | A12. Calculate YINT = FINT(Y) according to user's rounding
333 | the rounding mode as given in the following table (see
440 | only one rounding error. The grs bits are collected in
447 fmovel #rz_mode,%FPCR |set RZ rounding mode
550 | Perform FINT operation in the user's rounding mode. Keep
561 | A12. Calculate YINT = FINT(Y) according to user's rounding mod
[all...]
H A Dx_ovfl.S18 | on the current rounding mode:
H A Dx_unfl.S204 | d1{01:00} has rounding mode
205 | d1{17:16} has rounding precision
/kernel/linux/linux-5.10/lib/
H A Dstring_helpers.c51 static const unsigned int rounding[] = { 500, 50, 5 }; in string_get_size() local
111 remainder += rounding[j]; in string_get_size()
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c451 int rounding; in matroxfb_test_and_set_rounding() local
457 case 4: rounding = 128; in matroxfb_test_and_set_rounding()
459 case 8: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding()
461 case 16: rounding = 32; in matroxfb_test_and_set_rounding()
463 case 24: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding()
465 default: rounding = 16; in matroxfb_test_and_set_rounding()
468 rounding = 32; in matroxfb_test_and_set_rounding()
472 rounding *= 2; in matroxfb_test_and_set_rounding()
474 over = xres % rounding; in matroxfb_test_and_set_rounding()
476 xres += rounding in matroxfb_test_and_set_rounding()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c452 int rounding; in matroxfb_test_and_set_rounding() local
458 case 4: rounding = 128; in matroxfb_test_and_set_rounding()
460 case 8: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding()
462 case 16: rounding = 32; in matroxfb_test_and_set_rounding()
464 case 24: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding()
466 default: rounding = 16; in matroxfb_test_and_set_rounding()
469 rounding = 32; in matroxfb_test_and_set_rounding()
473 rounding *= 2; in matroxfb_test_and_set_rounding()
475 over = xres % rounding; in matroxfb_test_and_set_rounding()
477 xres += rounding in matroxfb_test_and_set_rounding()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dstring_helpers.c52 static const unsigned int rounding[] = { 500, 50, 5 }; in string_get_size() local
112 remainder += rounding[j]; in string_get_size()
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Ddiv64.S32 addc r9,r4,r10 # rounding up (so the estimate cannot
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Ddiv64.S32 addc r9,r4,r10 # rounding up (so the estimate cannot
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_bmap_util.c909 xfs_off_t rounding, start, end; in xfs_flush_unmap_range() local
912 rounding = max_t(xfs_off_t, 1 << mp->m_sb.sb_blocklog, PAGE_SIZE); in xfs_flush_unmap_range()
913 start = round_down(offset, rounding); in xfs_flush_unmap_range()
914 end = round_up(offset + len, rounding) - 1; in xfs_flush_unmap_range()

Completed in 17 milliseconds

12