Home
last modified time | relevance | path

Searched refs:accumulator (Results 1 – 25 of 31) sorted by relevance

12

/linux/arch/x86/math-emu/
H A Dpoly_sin.c61 Xsig accumulator, argSqrd, argTo4; in poly_sine() local
68 accumulator.lsw = accumulator.midw = accumulator.msw = 0; in poly_sine()
86 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_l, in poly_sine()
88 mul_Xsig_Xsig(&accumulator, &argSqrd); in poly_sine()
89 negate_Xsig(&accumulator); in poly_sine()
91 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_l, in poly_sine()
94 shr_Xsig(&accumulator, 2); /* Divide by four */ in poly_sine()
95 accumulator.msw |= 0x80000000; /* Add 1.0 */ in poly_sine()
97 mul64_Xsig(&accumulator, &significand(st0_ptr)); in poly_sine()
98 mul64_Xsig(&accumulator, &significand(st0_ptr)); in poly_sine()
[all …]
H A Dpoly_l2.c30 Xsig accumulator, expon_accum, yaccum; in poly_l2() local
55 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in poly_l2()
57 log2_kernel(&x, argsign, &accumulator, &expon); in poly_l2()
69 shr_Xsig(&accumulator, expon_expon - expon); in poly_l2()
72 negate_Xsig(&accumulator); in poly_l2()
73 add_Xsig_Xsig(&accumulator, &expon_accum); in poly_l2()
81 mul_Xsig_Xsig(&accumulator, &yaccum); in poly_l2()
83 expon_expon += round_Xsig(&accumulator); in poly_l2()
85 if (accumulator.msw == 0) { in poly_l2()
90 significand(st1_ptr) = XSIG_LL(accumulator); in poly_l2()
[all …]
H A Dpoly_atan.c58 Xsig accumulator, Numer, Denom, accumulatore, argSignif, argSq, argSqSq; in poly_atan() local
151 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in poly_atan()
152 polynomial_Xsig(&accumulator, &XSIG_LL(argSqSq), in poly_atan()
154 mul64_Xsig(&accumulator, &XSIG_LL(argSq)); in poly_atan()
155 negate_Xsig(&accumulator); in poly_atan()
156 polynomial_Xsig(&accumulator, &XSIG_LL(argSqSq), oddnegterms, in poly_atan()
158 negate_Xsig(&accumulator); in poly_atan()
159 add_two_Xsig(&accumulator, &fixedpterm, &dummy_exp); in poly_atan()
165 div_Xsig(&accumulator, &accumulatore, &accumulator); in poly_atan()
167 mul_Xsig_Xsig(&accumulator, &argSignif); in poly_atan()
[all …]
H A Dpoly_2xm1.c57 Xsig accumulator, Denom, argSignif; in poly_2xm1() local
94 accumulator.lsw = accumulator.midw = accumulator.msw = 0; in poly_2xm1()
95 polynomial_Xsig(&accumulator, &Xll, lterms, HIPOWER - 1); in poly_2xm1()
96 mul_Xsig_Xsig(&accumulator, &argSignif); in poly_2xm1()
97 shr_Xsig(&accumulator, 3); in poly_2xm1()
100 add_two_Xsig(&accumulator, &argSignif, &exponent); in poly_2xm1()
106 shr_Xsig(&accumulator, -exponent); in poly_2xm1()
107 accumulator.msw |= 0x80000000; /* add 1.0 */ in poly_2xm1()
108 mul_Xsig_Xsig(&accumulator, shiftterm[shift]); in poly_2xm1()
109 accumulator.msw &= 0x3fffffff; /* subtract 1.0 */ in poly_2xm1()
[all …]
/linux/tools/perf/bench/
H A Dfind-bit-bench.c31 static unsigned int accumulator; variable
37 accumulator++; in workload()
76 unsigned int old = accumulator; in do_for_each_set_bit()
85 assert(old + (inner_iterations * set_bits) == accumulator); in do_for_each_set_bit()
91 old = accumulator; in do_for_each_set_bit()
101 assert(old + (inner_iterations * set_bits) == accumulator); in do_for_each_set_bit()
118 if (use_of_val == accumulator) /* Try to avoid compiler tricks. */ in do_for_each_set_bit()
/linux/arch/riscv/crypto/
H A Dghash-riscv64-glue.c20 asmlinkage void ghash_zvkg(be128 *accumulator, const be128 *key, const u8 *data,
28 be128 accumulator; member
63 ghash_zvkg(&dctx->accumulator, &tctx->key, src, srclen); in riscv64_ghash_blocks()
67 crypto_xor((u8 *)&dctx->accumulator, src, in riscv64_ghash_blocks()
69 gf128mul_lle(&dctx->accumulator, &tctx->key); in riscv64_ghash_blocks()
127 memcpy(out, &dctx->accumulator, GHASH_DIGEST_SIZE); in riscv64_ghash_final()
/linux/drivers/power/supply/
H A Dcpcap-battery.c102 s32 accumulator; member
255 s32 sample, s32 accumulator, in cpcap_battery_cc_raw_div() argument
263 acc = accumulator; in cpcap_battery_cc_raw_div()
274 s32 sample, s32 accumulator, in cpcap_battery_cc_to_uah() argument
278 accumulator, offset, in cpcap_battery_cc_to_uah()
283 s32 sample, s32 accumulator, in cpcap_battery_cc_to_ua() argument
287 accumulator, offset, in cpcap_battery_cc_to_ua()
315 ccd->accumulator = 0; in cpcap_battery_read_accumulated()
332 ccd->accumulator = ((s16)buf[3]) << 16; in cpcap_battery_read_accumulated()
333 ccd->accumulator |= buf[2]; in cpcap_battery_read_accumulated()
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-qmss.txt55 - accumulator : pool of queues on PDSP accumulator channel
64 -- accumulator : Accumulator channel specification. Any of the PDSPs in
65 QMSS can be loaded with the accumulator firmware. The
66 accumulator firmware’s job is to poll a select number of
71 accumulator triggers an interrupt to the host to read
77 pdsp-id : QMSS PDSP running accumulator firmware
81 entries : Size of the accumulator descriptor list
188 accumulator {
191 accumulator = <0 36 16 2 50>;
198 accumulator = <0 37 16 2 50>;
[all …]
/linux/arch/arm64/crypto/
H A Dpolyval-ce-glue.c45 const u8 *in, size_t nblocks, u8 *accumulator);
49 const u8 *in, size_t nblocks, u8 *accumulator) in internal_polyval_update() argument
53 pmull_polyval_update(keys, in, nblocks, accumulator); in internal_polyval_update()
57 nblocks, accumulator); in internal_polyval_update()
/linux/arch/x86/crypto/
H A Dpolyval-clmulni_glue.c49 const u8 *in, size_t nblocks, u8 *accumulator);
58 const u8 *in, size_t nblocks, u8 *accumulator) in internal_polyval_update() argument
62 clmul_polyval_update(keys, in, nblocks, accumulator); in internal_polyval_update()
66 nblocks, accumulator); in internal_polyval_update()
/linux/Documentation/arch/arm/keystone/
H A Dknav-qmss.rst33 The QMSS PDSP firmware support accumulator channel that can monitor a single
35 driver that interface with the accumulator PDSP. This configures
36 accumulator channels defined in DTS (example in DT documentation) to monitor
42 k2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin firmware supports upto 48 accumulator
/linux/crypto/
H A Dpolyval-generic.c109 size_t nblocks, u8 *accumulator) in polyval_update_non4k() argument
112 crypto_xor(accumulator, in, POLYVAL_BLOCK_SIZE); in polyval_update_non4k()
113 polyval_mul_non4k(accumulator, key); in polyval_update_non4k()
/linux/lib/lz4/
H A Dlz4_compress.c440 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic() local
442 for (; accumulator >= 255; accumulator -= 255) in LZ4_compress_generic()
444 *op++ = (BYTE) accumulator; in LZ4_compress_generic()
702 size_t accumulator = lastRunSize - RUN_MASK; in LZ4_compress_destSize_generic() local
705 for (; accumulator >= 255; accumulator -= 255) in LZ4_compress_destSize_generic()
707 *op++ = (BYTE) accumulator; in LZ4_compress_destSize_generic()
/linux/drivers/hwmon/occ/
H A Dcommon.c66 u32 accumulator; member
76 u64 accumulator; member
83 u64 accumulator; member
90 u64 accumulator; member
444 val = get_unaligned_be32(&power->accumulator) / in occ_show_power_1()
492 val = occ_get_powr_avg(&power->accumulator, in occ_show_power_2()
530 val = occ_get_powr_avg(&power->system.accumulator, in occ_show_power_a0()
544 val = occ_get_powr_avg(&power->proc.accumulator, in occ_show_power_a0()
558 val = occ_get_powr_avg(&power->vdd.accumulator, in occ_show_power_a0()
572 val = occ_get_powr_avg(&power->vdn.accumulator, in occ_show_power_a0()
/linux/include/crypto/
H A Dpolyval.h20 size_t nblocks, u8 *accumulator);
/linux/Documentation/sound/cards/
H A Demu-mixer.rst121 This control is used to attenuate samples from the center PCM FX-bus accumulator.
122 ALSA uses accumulator 6 for center PCM samples for 5.1 playback. The result samples
127 This control is used to attenuate samples from the LFE PCM FX-bus accumulator.
128 ALSA uses accumulator 7 for LFE PCM samples for 5.1 playback. The result samples
152 accumulator. ALSA uses accumulators 4 and 5 for left and right MIDI samples.
H A Daudigy-mixer.rst68 This control is used to attenuate samples from center PCM FX-bus accumulator.
69 ALSA uses accumulator 6 for center PCM samples for 5.1 playback. The result
74 This control is used to attenuate sample for LFE PCM FX-bus accumulator.
75 ALSA uses accumulator 7 for LFE PCM samples for 5.1 playback. The result
99 accumulator. ALSA uses accumulators 4 and 5 for left and right MIDI samples.
268 Don't forget that it's illegal to assign a channel to the same FX-bus accumulator
H A Dsb-live-mixer.rst92 accumulator. ALSA uses accumulators 0 and 1 for left and right PCM.
105 accumulator. ALSA uses accumulators 4 and 5 for left and right MIDI samples.
125 This control is used to attenuate sample for center PCM FX-bus accumulator.
126 ALSA uses accumulator 6 for center PCM sample. The result sample is forwarded
131 This control is used to attenuate sample for center PCM FX-bus accumulator.
132 ALSA uses accumulator 6 for center PCM sample. The result sample is forwarded
287 Don't forget that it's illegal to assign a channel to the same FX-bus accumulator
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y72 static symbol_ref_t accumulator; variable
363 | accumulator
545 accumulator:
548 if (accumulator.symbol != NULL) {
553 accumulator.symbol = cur_symbol;
916 if (accumulator.symbol == NULL) {
920 $$.symbol = accumulator.symbol;
954 symlist_add(&$$.referenced_syms, accumulator.symbol,
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2l-netcp.dtsi72 accumulator {
75 accumulator = <0 47 16 2 50>;
H A Dkeystone-k2e-netcp.dtsi72 accumulator {
75 accumulator = <0 47 16 2 50>;
H A Dkeystone-k2hk-netcp.dtsi89 accumulator {
92 accumulator = <0 47 16 2 50>;
/linux/drivers/staging/iio/Documentation/
H A Dsysfs-bus-iio-dds41 accumulator output by writing Y to the phase_en file.
57 accumulator output. The value corresponds to the Y in
/linux/Documentation/hwmon/
H A Dfam15h_power.rst67 compute unit power accumulator sample period
76 the ratio of compute unit power accumulator sample period to the
/linux/arch/m68k/fpsp040/
H A Ddecbin.S134 | (*) d1: accumulator for binary exponent
151 clrl %d1 |zero d1 for accumulator
478 | (*) fp0: mantissa accumulator

12