/linux-4.1.27/arch/mips/math-emu/ |
H A D | ieee754dp.c | 57 static u64 ieee754dp_get_rounding(int sn, u64 xm) ieee754dp_get_rounding() argument 61 if (xm & (DP_MBIT(3) - 1)) { ieee754dp_get_rounding() 66 xm += 0x3 + ((xm >> 3) & 1); ieee754dp_get_rounding() 67 /* xm += (xm&0x8)?0x4:0x3 */ ieee754dp_get_rounding() 71 xm += 0x8; ieee754dp_get_rounding() 75 xm += 0x8; ieee754dp_get_rounding() 79 return xm; ieee754dp_get_rounding() 86 * xm is 3bit extended precision value. 88 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) ieee754dp_format() argument 90 assert(xm); /* we don't gen exact zeros (probably should) */ ieee754dp_format() 92 assert((xm >> (DP_FBITS + 1 + 3)) == 0); /* no execess */ ieee754dp_format() 93 assert(xm & (DP_HIDDEN_BIT << 3)); ieee754dp_format() 121 ieee754dp_get_rounding(sn, xm) >> (DP_FBITS + 1 + 3)) ieee754dp_format() 125 xm = ieee754dp_get_rounding(sn, xm); ieee754dp_format() 126 xm >>= 1; ieee754dp_format() 128 xm &= ~(DP_MBIT(3) - 1); ieee754dp_format() 134 xm = XDPSRS(xm, es); ieee754dp_format() 136 assert((xm & (DP_HIDDEN_BIT << 3)) == 0); ieee754dp_format() 140 if (xm & (DP_MBIT(3) - 1)) { ieee754dp_format() 142 if ((xm & (DP_HIDDEN_BIT << 3)) == 0) { ieee754dp_format() 148 xm = ieee754dp_get_rounding(sn, xm); ieee754dp_format() 151 if (xm >> (DP_FBITS + 3 + 1)) { ieee754dp_format() 153 xm >>= 1; ieee754dp_format() 158 xm >>= 3; ieee754dp_format() 160 assert((xm >> (DP_FBITS + 1)) == 0); /* no execess */ ieee754dp_format() 186 if ((xm & DP_HIDDEN_BIT) == 0) { ieee754dp_format() 191 return builddp(sn, DP_EMIN - 1 + DP_EBIAS, xm); ieee754dp_format() 193 assert((xm >> (DP_FBITS + 1)) == 0); /* no execess */ ieee754dp_format() 194 assert(xm & DP_HIDDEN_BIT); ieee754dp_format() 196 return builddp(sn, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); ieee754dp_format()
|
H A D | ieee754sp.c | 57 static unsigned ieee754sp_get_rounding(int sn, unsigned xm) ieee754sp_get_rounding() argument 61 if (xm & (SP_MBIT(3) - 1)) { ieee754sp_get_rounding() 66 xm += 0x3 + ((xm >> 3) & 1); ieee754sp_get_rounding() 67 /* xm += (xm&0x8)?0x4:0x3 */ ieee754sp_get_rounding() 71 xm += 0x8; ieee754sp_get_rounding() 75 xm += 0x8; ieee754sp_get_rounding() 79 return xm; ieee754sp_get_rounding() 86 * xm is 3bit extended precision value. 88 union ieee754sp ieee754sp_format(int sn, int xe, unsigned xm) ieee754sp_format() argument 90 assert(xm); /* we don't gen exact zeros (probably should) */ ieee754sp_format() 92 assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no execess */ ieee754sp_format() 93 assert(xm & (SP_HIDDEN_BIT << 3)); ieee754sp_format() 121 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3)) ieee754sp_format() 125 xm = ieee754sp_get_rounding(sn, xm); ieee754sp_format() 126 xm >>= 1; ieee754sp_format() 128 xm &= ~(SP_MBIT(3) - 1); ieee754sp_format() 134 assert((xm & (SP_HIDDEN_BIT << 3)) == 0); ieee754sp_format() 138 if (xm & (SP_MBIT(3) - 1)) { ieee754sp_format() 140 if ((xm & (SP_HIDDEN_BIT << 3)) == 0) { ieee754sp_format() 146 xm = ieee754sp_get_rounding(sn, xm); ieee754sp_format() 149 if (xm >> (SP_FBITS + 1 + 3)) { ieee754sp_format() 151 xm >>= 1; ieee754sp_format() 156 xm >>= 3; ieee754sp_format() 158 assert((xm >> (SP_FBITS + 1)) == 0); /* no execess */ ieee754sp_format() 184 if ((xm & SP_HIDDEN_BIT) == 0) { ieee754sp_format() 189 return buildsp(sn, SP_EMIN - 1 + SP_EBIAS, xm); ieee754sp_format() 191 assert((xm >> (SP_FBITS + 1)) == 0); /* no execess */ ieee754sp_format() 192 assert(xm & SP_HIDDEN_BIT); ieee754sp_format() 194 return buildsp(sn, xe + SP_EBIAS, xm & ~SP_HIDDEN_BIT); ieee754sp_format()
|
H A D | dp_tint.c | 60 xm <<= xe - DP_FBITS; ieee754dp_tint() 63 residue = xm; ieee754dp_tint() 66 xm = 0; ieee754dp_tint() 68 residue = xm << (64 - DP_FBITS + xe); ieee754dp_tint() 71 xm >>= DP_FBITS - xe; ieee754dp_tint() 73 /* Note: At this point upper 32 bits of xm are guaranteed ieee754dp_tint() 75 odd = (xm & 0x1) != 0x0; ieee754dp_tint() 79 xm++; ieee754dp_tint() 85 xm++; ieee754dp_tint() 89 xm++; ieee754dp_tint() 93 if ((xm >> 31) != 0 && (xs == 0 || xm != 0x80000000)) { ieee754dp_tint() 102 return -xm; ieee754dp_tint() 104 return xm; ieee754dp_tint()
|
H A D | dp_add.c | 121 assert(xm & DP_HIDDEN_BIT); ieee754dp_add() 127 xm <<= 3; ieee754dp_add() 142 xm = XDPSRS(xm, s); ieee754dp_add() 151 * leaving result in xm, xs and xe. ieee754dp_add() 153 xm = xm + ym; ieee754dp_add() 155 if (xm >> (DP_FBITS + 1 + 3)) { /* carry out */ ieee754dp_add() 156 xm = XDPSRS1(xm); ieee754dp_add() 160 if (xm >= ym) { ieee754dp_add() 161 xm = xm - ym; ieee754dp_add() 163 xm = ym - xm; ieee754dp_add() 166 if (xm == 0) ieee754dp_add() 172 while ((xm >> (DP_FBITS + 3)) == 0) { ieee754dp_add() 173 xm <<= 1; ieee754dp_add() 178 return ieee754dp_format(xs, xe, xm); ieee754dp_add()
|
H A D | dp_tlong.c | 54 if (xe == 63 && xs && xm == DP_HIDDEN_BIT) ieee754dp_tlong() 63 xm <<= xe - DP_FBITS; ieee754dp_tlong() 66 residue = xm; ieee754dp_tlong() 69 xm = 0; ieee754dp_tlong() 74 residue = xm << (xe + 1); ieee754dp_tlong() 78 xm >>= DP_FBITS - xe; ieee754dp_tlong() 80 odd = (xm & 0x1) != 0x0; ieee754dp_tlong() 84 xm++; ieee754dp_tlong() 90 xm++; ieee754dp_tlong() 94 xm++; ieee754dp_tlong() 97 if ((xm >> 63) != 0) { ieee754dp_tlong() 106 return -xm; ieee754dp_tlong() 108 return xm; ieee754dp_tlong()
|
H A D | sp_tint.c | 54 if (xe == 31 && xs && xm == SP_HIDDEN_BIT) ieee754sp_tint() 63 xm <<= xe - SP_FBITS; ieee754sp_tint() 66 residue = xm; ieee754sp_tint() 69 xm = 0; ieee754sp_tint() 74 residue = xm << (xe + 1); ieee754sp_tint() 78 xm >>= SP_FBITS - xe; ieee754sp_tint() 80 odd = (xm & 0x1) != 0x0; ieee754sp_tint() 84 xm++; ieee754sp_tint() 90 xm++; ieee754sp_tint() 94 xm++; ieee754sp_tint() 97 if ((xm >> 31) != 0) { ieee754sp_tint() 106 return -xm; ieee754sp_tint() 108 return xm; ieee754sp_tint()
|
H A D | sp_tlong.c | 55 if (xe == 63 && xs && xm == SP_HIDDEN_BIT) ieee754sp_tlong() 64 xm <<= xe - SP_FBITS; ieee754sp_tlong() 67 residue = xm; ieee754sp_tlong() 70 xm = 0; ieee754sp_tlong() 72 residue = xm << (32 - SP_FBITS + xe); ieee754sp_tlong() 75 xm >>= SP_FBITS - xe; ieee754sp_tlong() 77 odd = (xm & 0x1) != 0x0; ieee754sp_tlong() 81 xm++; ieee754sp_tlong() 87 xm++; ieee754sp_tlong() 91 xm++; ieee754sp_tlong() 94 if ((xm >> 63) != 0) { ieee754sp_tlong() 103 return -xm; ieee754sp_tlong() 105 return xm; ieee754sp_tlong()
|
H A D | dp_flong.c | 26 u64 xm; ieee754dp_flong() local 42 xm = (1ULL << 63); /* max neg can't be safely negated */ ieee754dp_flong() 44 xm = -x; ieee754dp_flong() 46 xm = x; ieee754dp_flong() 51 if (xm >> (DP_FBITS + 1 + 3)) { ieee754dp_flong() 53 while (xm >> (DP_FBITS + 1 + 3)) { ieee754dp_flong() 58 while ((xm >> (DP_FBITS + 3)) == 0) { ieee754dp_flong() 59 xm <<= 1; ieee754dp_flong() 64 return ieee754dp_format(xs, xe, xm); ieee754dp_flong()
|
H A D | sp_fint.c | 26 unsigned xm; ieee754sp_fint() local 42 xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */ ieee754sp_fint() 44 xm = -x; ieee754sp_fint() 46 xm = x; ieee754sp_fint() 50 if (xm >> (SP_FBITS + 1 + 3)) { ieee754sp_fint() 53 while (xm >> (SP_FBITS + 1 + 3)) { ieee754sp_fint() 59 while ((xm >> (SP_FBITS + 3)) == 0) { ieee754sp_fint() 60 xm <<= 1; ieee754sp_fint() 64 return ieee754sp_format(xs, xe, xm); ieee754sp_fint()
|
H A D | sp_flong.c | 26 u64 xm; /* <--- need 64-bit mantissa temp */ ieee754sp_flong() local 42 xm = (1ULL << 63); /* max neg can't be safely negated */ ieee754sp_flong() 44 xm = -x; ieee754sp_flong() 46 xm = x; ieee754sp_flong() 50 if (xm >> (SP_FBITS + 1 + 3)) { ieee754sp_flong() 53 while (xm >> (SP_FBITS + 1 + 3)) { ieee754sp_flong() 58 while ((xm >> (SP_FBITS + 3)) == 0) { ieee754sp_flong() 59 xm <<= 1; ieee754sp_flong() 63 return ieee754sp_format(xs, xe, xm); ieee754sp_flong()
|
H A D | sp_add.c | 121 assert(xm & SP_HIDDEN_BIT); ieee754sp_add() 127 xm <<= 3; ieee754sp_add() 149 * leaving result in xm, xs and xe. ieee754sp_add() 151 xm = xm + ym; ieee754sp_add() 153 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ ieee754sp_add() 157 if (xm >= ym) { ieee754sp_add() 158 xm = xm - ym; ieee754sp_add() 160 xm = ym - xm; ieee754sp_add() 163 if (xm == 0) ieee754sp_add() 169 while ((xm >> (SP_FBITS + 3)) == 0) { ieee754sp_add() 170 xm <<= 1; ieee754sp_add() 175 return ieee754sp_format(xs, xe, xm); ieee754sp_add()
|
H A D | dp_fsp.c | 25 static inline union ieee754dp ieee754dp_nan_fsp(int xs, u64 xm) ieee754dp_nan_fsp() argument 28 xm << (DP_FBITS - SP_FBITS)); ieee754dp_nan_fsp() 43 return ieee754dp_nanxcpt(ieee754dp_nan_fsp(xs, xm)); ieee754dp_fsp() 46 return ieee754dp_nan_fsp(xs, xm); ieee754dp_fsp() 56 while ((xm >> SP_FBITS) == 0) { ieee754dp_fsp() 57 xm <<= 1; ieee754dp_fsp() 71 xm &= ~SP_HIDDEN_BIT; ieee754dp_fsp() 74 (u64) xm << (DP_FBITS - SP_FBITS)); ieee754dp_fsp()
|
H A D | sp_sub.c | 124 assert(xm & SP_HIDDEN_BIT); ieee754sp_sub() 129 xm <<= 3; ieee754sp_sub() 151 xm = xm + ym; ieee754sp_sub() 153 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ ieee754sp_sub() 157 if (xm >= ym) { ieee754sp_sub() 158 xm = xm - ym; ieee754sp_sub() 160 xm = ym - xm; ieee754sp_sub() 163 if (xm == 0) { ieee754sp_sub() 171 while ((xm >> (SP_FBITS + 3)) == 0) { ieee754sp_sub() 172 xm <<= 1; ieee754sp_sub() 177 return ieee754sp_format(xs, xe, xm); ieee754sp_sub()
|
H A D | dp_sub.c | 117 /* normalize xm,xe */ ieee754dp_sub() 127 assert(xm & DP_HIDDEN_BIT); ieee754dp_sub() 132 xm <<= 3; ieee754dp_sub() 147 xm = XDPSRS(xm, s); ieee754dp_sub() 156 xm = xm + ym; ieee754dp_sub() 158 if (xm >> (DP_FBITS + 1 + 3)) { /* carry out */ ieee754dp_sub() 159 xm = XDPSRS1(xm); /* shift preserving sticky */ ieee754dp_sub() 163 if (xm >= ym) { ieee754dp_sub() 164 xm = xm - ym; ieee754dp_sub() 166 xm = ym - xm; ieee754dp_sub() 169 if (xm == 0) { ieee754dp_sub() 178 while ((xm >> (DP_FBITS + 3)) == 0) { ieee754dp_sub() 179 xm <<= 1; ieee754dp_sub() 184 return ieee754dp_format(xs, xe, xm); ieee754dp_sub()
|
H A D | dp_fint.c | 26 u64 xm; ieee754dp_fint() local 42 xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */ ieee754dp_fint() 44 xm = -x; ieee754dp_fint() 46 xm = x; ieee754dp_fint() 51 while ((xm >> DP_FBITS) == 0) { ieee754dp_fint() 52 xm <<= 1; ieee754dp_fint() 55 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); ieee754dp_fint()
|
H A D | sp_fdp.c | 25 static inline union ieee754sp ieee754sp_nan_fdp(int xs, u64 xm) ieee754sp_nan_fdp() argument 28 xm >> (DP_FBITS - SP_FBITS)); ieee754sp_nan_fdp() 47 return ieee754sp_nanxcpt(ieee754sp_nan_fdp(xs, xm)); ieee754sp_fdp() 50 y = ieee754sp_nan_fdp(xs, xm); ieee754sp_fdp() 78 rm = (xm >> (DP_FBITS - (SP_FBITS + 3))) | ieee754sp_fdp() 79 ((xm << (64 - (DP_FBITS - (SP_FBITS + 3)))) != 0); ieee754sp_fdp()
|
H A D | ieee754sp.h | 51 xm = (rs > (SP_FBITS+3))?1:((xm) >> (rs)) | ((xm) << (32-(rs)) != 0)) 54 (xe++, (xm = (xm >> 1) | (xm & 1))) 66 #define SPDNORMX SPDNORMx(xm, xe)
|
H A D | ieee754dp.h | 53 (xe++, (xm = (xm >> 1) | (xm & 1))) 61 #define DPDNORMX DPDNORMx(xm, xe)
|
H A D | dp_div.c | 118 assert(xm & DP_HIDDEN_BIT); ieee754dp_div() 122 xm <<= 3; ieee754dp_div() 131 if (xm >= ym) { ieee754dp_div() 132 xm -= ym; ieee754dp_div() 134 if (xm == 0) ieee754dp_div() 137 xm <<= 1; ieee754dp_div() 141 if (xm) ieee754dp_div()
|
H A D | sp_div.c | 118 assert(xm & SP_HIDDEN_BIT); ieee754sp_div() 122 xm <<= 3; ieee754sp_div() 131 if (xm >= ym) { ieee754sp_div() 132 xm -= ym; ieee754sp_div() 134 if (xm == 0) ieee754sp_div() 137 xm <<= 1; ieee754sp_div() 141 if (xm) ieee754sp_div()
|
H A D | dp_mul.c | 116 /* rm = xm * ym, re = xe+ye basically */ ieee754dp_mul() 117 assert(xm & DP_HIDDEN_BIT); ieee754dp_mul() 124 xm <<= 64 - (DP_FBITS + 1); ieee754dp_mul() 128 * Multiply 32 bits xm, ym to give high 32 bits rm with stickness. ieee754dp_mul() 134 lxm = xm; ieee754dp_mul() 135 hxm = xm >> 32; ieee754dp_mul()
|
H A D | ieee754int.h | 53 unsigned xm; int xe; int xs __maybe_unused; int xc 82 #define EXPLODEXSP EXPLODESP(x, xc, xs, xe, xm) 87 u64 xm; int xe; int xs __maybe_unused; int xc 116 #define EXPLODEXDP EXPLODEDP(x, xc, xs, xe, xm) 141 #define FLUSHXDP FLUSHDP(x, xc, xs, xe, xm) 143 #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm)
|
H A D | sp_mul.c | 116 /* rm = xm * ym, re = xe+ye basically */ ieee754sp_mul() 117 assert(xm & SP_HIDDEN_BIT); ieee754sp_mul() 124 xm <<= 32 - (SP_FBITS + 1); ieee754sp_mul() 128 * Multiply 32 bits xm, ym to give high 32 bits rm with stickness. ieee754sp_mul() 130 lxm = xm & 0xffff; ieee754sp_mul() 131 hxm = xm >> 16; ieee754sp_mul()
|
H A D | dp_sqrt.c | 94 y = x = builddp(0, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); ieee754dp_sqrt()
|
/linux-4.1.27/arch/mips/ath79/ |
H A D | mach-ubnt-xm.c | 39 .name = "ubnt-xm:red:link1", 43 .name = "ubnt-xm:orange:link2", 47 .name = "ubnt-xm:green:link3", 51 .name = "ubnt-xm:green:link4",
|
H A D | Makefile | 34 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | wmfw.h | 38 __le32 xm; member in struct:wmfw_adsp2_sizes 70 __be32 xm; member in struct:wmfw_adsp2_id_hdr 89 __be32 xm; member in struct:wmfw_adsp2_alg_hdr
|
H A D | wm_adsp.c | 604 file, le32_to_cpu(adsp2_sizes->xm), wm_adsp_load() 977 region->base = be32_to_cpu(adsp2_id.xm); wm_adsp_setup_algs() 1102 be32_to_cpu(adsp2_alg[i].xm), wm_adsp_setup_algs() 1113 region->base = be32_to_cpu(adsp2_alg[i].xm); wm_adsp_setup_algs() 1117 region->len = be32_to_cpu(adsp2_alg[i + 1].xm); wm_adsp_setup_algs() 1118 region->len -= be32_to_cpu(adsp2_alg[i].xm); wm_adsp_setup_algs()
|
/linux-4.1.27/sound/pci/ |
H A D | sonicvibes.c | 488 unsigned int xm, xn, xr, xd, metric = ~0U; snd_sonicvibes_pll() local 497 for (xm = 3; xm < 257; xm++) { snd_sonicvibes_pll() 498 xr = ((SV_REFFREQUENCY / SV_ADCMULT) * xm) / xn; snd_sonicvibes_pll() 505 m = xm - 2; snd_sonicvibes_pll() 514 "metric = %i, xm = %i, xn = %i\n", metric, xm, xn); snd_sonicvibes_pll()
|
H A D | cmipci.c | 625 int xm, xn, xr; snd_cmipci_pll_rmn() local 635 for (xm = (1+2); xm < (0xff+2); xm++) { snd_cmipci_pll_rmn() 636 xr = ((CM_REFFREQ_XIN/adcmult) * xm) / xn; snd_cmipci_pll_rmn() 649 *m = xm - 2; snd_cmipci_pll_rmn()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | intel-mid-touch.c | 195 u16 xm, ym, zm; mrstouch_nec_adc_read() local 205 err = mrstouch_ts_chan_read(tsdev->asr, MRST_TS_CHAN10, x, &xm); mrstouch_nec_adc_read()
|
/linux-4.1.27/arch/arm/boot/dts/ |
H A D | Makefile | 365 omap3-beagle-xm.dtb \ 366 omap3-beagle-xm-ab.dtb \
|
/linux-4.1.27/arch/mn10300/mm/ |
H A D | misalignment.c | 325 uint32_t opcode, noc, xo, xm; misalignment() local 366 xm = pop->opmask >> (npop - noc); misalignment() 368 if ((opcode & xm) != xo) misalignment()
|
/linux-4.1.27/drivers/scsi/ |
H A D | qla1280.c | 2852 dprintk(2, "start: cmd=%p sp=%p CDB=%xm, handle %lx\n", cmd, sp, qla1280_64bit_start_scsi()
|