/kernel/linux/linux-5.10/arch/mips/math-emu/ |
D | ieee754dp.c | 87 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) in ieee754dp_format() argument 94 if (xe < DP_EMIN) { in ieee754dp_format() 96 int es = DP_EMIN - xe; in ieee754dp_format() 119 if (xe == DP_EMIN - 1 && in ieee754dp_format() 128 xe++; in ieee754dp_format() 134 xe += es; in ieee754dp_format() 136 assert(xe == DP_EMIN); in ieee754dp_format() 153 xe++; in ieee754dp_format() 160 assert(xe >= DP_EMIN); in ieee754dp_format() 162 if (xe > DP_EMAX) { in ieee754dp_format() [all …]
|
D | ieee754sp.c | 87 union ieee754sp ieee754sp_format(int sn, int xe, unsigned int xm) in ieee754sp_format() argument 94 if (xe < SP_EMIN) { in ieee754sp_format() 96 int es = SP_EMIN - xe; in ieee754sp_format() 119 if (xe == SP_EMIN - 1 && in ieee754sp_format() 128 xe++; in ieee754sp_format() 133 xe += es; in ieee754sp_format() 135 assert(xe == SP_EMIN); in ieee754sp_format() 152 xe++; in ieee754sp_format() 159 assert(xe >= SP_EMIN); in ieee754sp_format() 161 if (xe > SP_EMAX) { in ieee754sp_format() [all …]
|
D | dp_tlong.c | 43 if (xe >= 63) { in ieee754dp_tlong() 45 if (xe == 63 && xs && xm == DP_HIDDEN_BIT) in ieee754dp_tlong() 53 if (xe > DP_FBITS) { in ieee754dp_tlong() 54 xm <<= xe - DP_FBITS; in ieee754dp_tlong() 55 } else if (xe < DP_FBITS) { in ieee754dp_tlong() 56 if (xe < -1) { in ieee754dp_tlong() 65 residue = xm << (xe + 1); in ieee754dp_tlong() 69 xm >>= DP_FBITS - xe; in ieee754dp_tlong()
|
D | sp_tlong.c | 43 if (xe >= 63) { in ieee754sp_tlong() 45 if (xe == 63 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tlong() 53 if (xe > SP_FBITS) { in ieee754sp_tlong() 54 xm <<= xe - SP_FBITS; in ieee754sp_tlong() 55 } else if (xe < SP_FBITS) { in ieee754sp_tlong() 56 if (xe < -1) { in ieee754sp_tlong() 62 residue = xm << (32 - SP_FBITS + xe); in ieee754sp_tlong() 65 xm >>= SP_FBITS - xe; in ieee754sp_tlong()
|
D | dp_sub.c | 122 if (xe > ye) { in ieee754dp_sub() 126 s = xe - ye; in ieee754dp_sub() 129 } else if (ye > xe) { in ieee754dp_sub() 133 s = ye - xe; in ieee754dp_sub() 135 xe += s; in ieee754dp_sub() 137 assert(xe == ye); in ieee754dp_sub() 138 assert(xe <= DP_EMAX); in ieee754dp_sub() 147 xe++; in ieee754dp_sub() 167 xe--; in ieee754dp_sub() 171 return ieee754dp_format(xs, xe, xm); in ieee754dp_sub()
|
D | dp_add.c | 116 if (xe > ye) { in ieee754dp_add() 120 s = xe - ye; in ieee754dp_add() 123 } else if (ye > xe) { in ieee754dp_add() 127 s = ye - xe; in ieee754dp_add() 129 xe += s; in ieee754dp_add() 131 assert(xe == ye); in ieee754dp_add() 132 assert(xe <= DP_EMAX); in ieee754dp_add() 143 xe++; in ieee754dp_add() 160 xe--; in ieee754dp_add() 164 return ieee754dp_format(xs, xe, xm); in ieee754dp_add()
|
D | sp_tint.c | 43 if (xe >= 31) { in ieee754sp_tint() 45 if (xe == 31 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tint() 53 if (xe > SP_FBITS) { in ieee754sp_tint() 54 xm <<= xe - SP_FBITS; in ieee754sp_tint() 56 if (xe < -1) { in ieee754sp_tint() 65 residue = xm << (xe + 1); in ieee754sp_tint() 69 xm >>= SP_FBITS - xe; in ieee754sp_tint()
|
D | dp_tint.c | 43 if (xe > 31) { in ieee754dp_tint() 50 if (xe > DP_FBITS) { in ieee754dp_tint() 51 xm <<= xe - DP_FBITS; in ieee754dp_tint() 52 } else if (xe < DP_FBITS) { in ieee754dp_tint() 53 if (xe < -1) { in ieee754dp_tint() 59 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_tint() 62 xm >>= DP_FBITS - xe; in ieee754dp_tint()
|
D | sp_sub.c | 120 if (xe > ye) { in ieee754sp_sub() 124 s = xe - ye; in ieee754sp_sub() 127 } else if (ye > xe) { in ieee754sp_sub() 131 s = ye - xe; in ieee754sp_sub() 133 xe += s; in ieee754sp_sub() 135 assert(xe == ye); in ieee754sp_sub() 136 assert(xe <= SP_EMAX); in ieee754sp_sub() 163 xe--; in ieee754sp_sub() 167 return ieee754sp_format(xs, xe, xm); in ieee754sp_sub()
|
D | sp_add.c | 116 if (xe > ye) { in ieee754sp_add() 120 s = xe - ye; in ieee754sp_add() 123 } else if (ye > xe) { in ieee754sp_add() 127 s = ye - xe; in ieee754sp_add() 129 xe += s; in ieee754sp_add() 131 assert(xe == ye); in ieee754sp_add() 132 assert(xe <= SP_EMAX); in ieee754sp_add() 159 xe--; in ieee754sp_add() 163 return ieee754sp_format(xs, xe, xm); in ieee754sp_add()
|
D | dp_fint.c | 15 int xe; in ieee754dp_fint() local 38 xe = DP_FBITS; in ieee754dp_fint() 41 xe--; in ieee754dp_fint() 43 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); in ieee754dp_fint()
|
D | sp_fint.c | 15 int xe; in ieee754sp_fint() local 36 xe = SP_FBITS + 3; in ieee754sp_fint() 49 xe--; in ieee754sp_fint() 52 return ieee754sp_format(xs, xe, xm); in ieee754sp_fint()
|
D | dp_flong.c | 15 int xe; in ieee754dp_flong() local 38 xe = DP_FBITS + 3; in ieee754dp_flong() 48 xe--; in ieee754dp_flong() 52 return ieee754dp_format(xs, xe, xm); in ieee754dp_flong()
|
D | sp_flong.c | 15 int xe; in ieee754sp_flong() local 36 xe = SP_FBITS + 3; in ieee754sp_flong() 48 xe--; in ieee754sp_flong() 51 return ieee754sp_format(xs, xe, xm); in ieee754sp_flong()
|
D | sp_rint.c | 37 if (xe >= SP_FBITS) in ieee754sp_rint() 40 if (xe < -1) { in ieee754sp_rint() 46 residue = xm << (xe + 1); in ieee754sp_rint() 50 xm >>= SP_FBITS - xe; in ieee754sp_rint()
|
D | dp_rint.c | 37 if (xe >= DP_FBITS) in ieee754dp_rint() 40 if (xe < -1) { in ieee754dp_rint() 46 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_rint() 49 xm >>= DP_FBITS - xe; in ieee754dp_rint()
|
D | dp_sqrt.c | 73 if (xe > 512) { /* x > 2**-512? */ in ieee754dp_sqrt() 74 xe -= 512; /* x = x / 2**512 */ in ieee754dp_sqrt() 76 } else if (xe < -512) { /* x < 2**-512? */ in ieee754dp_sqrt() 77 xe += 512; /* x = x * 2**512 */ in ieee754dp_sqrt() 81 x = builddp(0, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); in ieee754dp_sqrt()
|
D | ieee754int.h | 46 unsigned int xm; int xe; int xs __maybe_unused; int xc 78 #define EXPLODEXSP EXPLODESP(x, xc, xs, xe, xm) 84 u64 xm; int xe; int xs __maybe_unused; int xc 116 #define EXPLODEXDP EXPLODEDP(x, xc, xs, xe, xm) 142 #define FLUSHXDP FLUSHDP(x, xc, xs, xe, xm) 145 #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm)
|
D | sp_fmin.c | 119 if (xe > ye) in ieee754sp_fmin() 121 else if (xe < ye) in ieee754sp_fmin() 125 if (xe > ye) in ieee754sp_fmin() 127 else if (xe < ye) in ieee754sp_fmin() 239 if (xe > ye) in ieee754sp_fmina() 241 else if (xe < ye) in ieee754sp_fmina()
|
D | dp_fmax.c | 119 if (xe > ye) in ieee754dp_fmax() 121 else if (xe < ye) in ieee754dp_fmax() 125 if (xe > ye) in ieee754dp_fmax() 127 else if (xe < ye) in ieee754dp_fmax() 239 if (xe > ye) in ieee754dp_fmaxa() 241 else if (xe < ye) in ieee754dp_fmaxa()
|
D | dp_fmin.c | 119 if (xe > ye) in ieee754dp_fmin() 121 else if (xe < ye) in ieee754dp_fmin() 125 if (xe > ye) in ieee754dp_fmin() 127 else if (xe < ye) in ieee754dp_fmin() 239 if (xe > ye) in ieee754dp_fmina() 241 else if (xe < ye) in ieee754dp_fmina()
|
D | sp_fmax.c | 119 if (xe > ye) in ieee754sp_fmax() 121 else if (xe < ye) in ieee754sp_fmax() 125 if (xe > ye) in ieee754sp_fmax() 127 else if (xe < ye) in ieee754sp_fmax() 239 if (xe > ye) in ieee754sp_fmaxa() 241 else if (xe < ye) in ieee754sp_fmaxa()
|
/kernel/linux/linux-5.10/drivers/staging/fbtft/ |
D | fb_ili9163.c | 112 int xe, int ye) in set_addr_win() argument 117 xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); in set_addr_win() 125 (xe + __OFFSET) >> 8, (xe + __OFFSET) & 0xff); in set_addr_win() 132 xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); in set_addr_win()
|
D | fb_agm1264k-fl.c | 226 int xs, ys_page, xe, ye_page; member 230 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 234 addr_win.xe = xe; in set_addr_win() 240 int xs, int xe, int y) in construct_line_bitmap() argument 244 for (x = xs; x < xe; ++x) { in construct_line_bitmap() 375 if (addr_win.xe >= par->info->var.xres / 2) { in write_vmem() 379 addr_win.xe + 1, y); in write_vmem() 381 len = addr_win.xe + 1 - par->info->var.xres / 2; in write_vmem()
|
D | fb_ili9486.c | 46 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 49 xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); in set_addr_win()
|