Home
last modified time | relevance | path

Searched full:accumulator (Results 1 – 25 of 139) sorted by relevance

123456

/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/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
75 queues. Accumulator channel property is specified as:
77 pdsp-id : QMSS PDSP running accumulator firmware
80 channel : Accumulator channel number
81 entries : Size of the accumulator descriptor list
188 accumulator {
[all …]
/linux/tools/testing/selftests/powerpc/math/
H A Dmma.S9 /* Load accumulator via VSX registers from image passed in r3 */
13 /* Clear and prime the accumulator (xxsetaccz) */
16 /* Prime the accumulator with MMA VSX move to accumulator
23 /* Deprime the accumulator - xxmfacc 0 */
/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/drivers/power/supply/
H A Dcpcap-battery.c102 s32 accumulator; member
237 * @accumulator: coulomb counter integrator value
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()
331 /* Accumulator value CPCAP_REG_CCA1 & 2 */ in cpcap_battery_read_accumulated()
[all …]
/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()
H A Dghash-riscv64-zvkg.S50 #define ACCUMULATOR a0 macro
55 // void ghash_zvkg(be128 *accumulator, const be128 *key, const u8 *data,
61 vle32.v v1, (ACCUMULATOR)
70 vse32.v v1, (ACCUMULATOR)
/linux/Documentation/arch/arm/keystone/
H A Dknav-qmss.rst31 Accumulator QMSS queues using PDSP firmware
33 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/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_tl.h42 * @reg_tl_rd_lat_acc: read latency accumulator
43 * @reg_tl_gp_lat_acc: get-put latency accumulator
44 * @reg_tl_at_page_req_lat_acc: AT/DevTLB page request latency accumulator
45 * @reg_tl_at_trans_lat_acc: DevTLB transaction latency accumulator
101 * @reg_tl_gp_lat_acc: get-put latency accumulator
/linux/drivers/clk/
H A Dclk-apple-nco.c38 * 32-bit phase accumulator to achieve a desired precise clock ratio over the
43 * bit of the 32-bit accumulator is set. The accumulator is incremented each
45 * of the two is selected depending again on the accumulator's current top bit.
179 /* Presumably a neutral initial value for accumulator */ in applnco_set_rate()
202 * We don't support wraparound of accumulator in applnco_recalc_rate()
/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()
H A Dpolyval-ce-core.S33 ACCUMULATOR .req x3 label
325 * h^n * accumulator + h^n * m_0 + ... + h^1 * m_{n-1}
331 * x3 - pointer to accumulator
334 * size_t nblocks, u8 *accumulator);
340 ld1 {SUM.16b}, [ACCUMULATOR]
359 st1 {SUM.16b}, [ACCUMULATOR]
/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()
H A Dpolyval-clmulni_asm.S42 #define ACCUMULATOR %rcx macro
287 * h^n * accumulator + h^n * m_0 + ... + h^1 * m_{n-1}
293 * rcx - pointer to the accumulator
296 * const u8 *in, size_t nblocks, u8 *accumulator);
301 movups (ACCUMULATOR), SUM
318 movups SUM, (ACCUMULATOR)
/linux/arch/sparc/include/uapi/asm/
H A Dperfctr.h26 * to 64-bit accumulator for D0 counter in PIC, ARG1 is pointer
27 * to 64-bit accumulator for D1 counter. ARG2 is a pointer to
33 * with zero and the user counter accumulator pointers and
/linux/lib/zlib_inflate/
H A Dinflate.c206 /* Clear the input bit accumulator */
213 /* Get a byte of input into the bit accumulator, or return from inflate()
223 /* Assure that there are at least n bits in the bit accumulator. If there is
231 /* Return the low n bits of the bit accumulator (n < 16) */
235 /* Remove n bits from the bit accumulator */
277 input left to load n bits into the accumulator, or it continues. BITS(n)
278 gives the low n bits in the accumulator. When done, DROPBITS(n) drops
279 the low n bits off the accumulator. INITBITS() clears the accumulator
281 enough bits to put the accumulator on a byte boundary. After BYTEBITS()
/linux/arch/sparc/net/
H A Dbpf_jit_32.h10 * %o1 : BPF A accumulator
11 * %o2 : BPF X 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.
/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Duncore-io.json373 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
383 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
393 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
403 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
408 "BriefDescription": "Ingress Occupancy Accumulator; DRS",
533 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
543 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
553 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
/linux/tools/perf/pmu-events/arch/x86/haswellx/
H A Duncore-io.json343 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
353 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
363 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
373 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
378 "BriefDescription": "Ingress Occupancy Accumulator; DRS",
503 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
513 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
523 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
/linux/tools/perf/pmu-events/arch/x86/broadwellde/
H A Duncore-io.json373 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
383 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
393 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
403 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
408 "BriefDescription": "Ingress Occupancy Accumulator; DRS",
533 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
543 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
553 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
/linux/tools/perf/pmu-events/arch/x86/jaketown/
H A Duncore-io.json246 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
256 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
266 …nt. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order …
306 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
316 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …
326 …ent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order …

123456