Home
last modified time | relevance | path

Searched +full:n +full:- +full:factor (Results 1 – 25 of 672) sorted by relevance

12345678910>>...27

/freebsd/sys/dev/clk/allwinner/
H A Dccu_a83t.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
48 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
50 /* Non-exported clocks */
76 /* Non-exported fixed clocks */
134 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1)
135 CCU_GATE(CLK_BUS_SS, "bus-ss", "ahb1", 0x60, 5)
136 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6)
137 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb1", 0x60, 8)
[all …]
H A Dccu_a31.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <dt-bindings/clock/sun6i-a31-ccu.h>
48 #include <dt-bindings/reset/sun6i-a31-ccu.h>
50 /* Non-exported clocks */
148 CCU_GATE(CLK_AHB1_MIPIDSI, "ahb1-mipidsi", "ahb1", 0x60, 1)
149 CCU_GATE(CLK_AHB1_SS, "ahb1-ss", "ahb1", 0x60, 5)
150 CCU_GATE(CLK_AHB1_DMA, "ahb1-dma", "ahb1", 0x60, 6)
151 CCU_GATE(CLK_AHB1_MMC0, "ahb1-mmc0", "ahb1", 0x60, 8)
152 CCU_GATE(CLK_AHB1_MMC1, "ahb1-mmc1", "ahb1", 0x60, 9)
[all …]
H A Daw_clk.h1 /*-
34 (24MHz*N*K)/(M*P)
35 (24MHz*N)/(M*P)
36 (24MHz*N*2)/M
37 (24MHz*N)/M
38 (24MHz*N*K)/M
39 (24MHz*N*K/2)
40 (24MHz*N)/M
41 (24MHz*N*K/2)
42 (24MHz*N)/M
[all …]
H A Dccu_d1.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 #include <dt-bindings/clock/sun20i-d1-ccu.h>
53 #include <dt-bindings/reset/sun20i-d1-ccu.h>
125 CCU_GATE(CLK_BUS_DE, "bus-de", "psi-ahb", 0x60C, 0)
126 CCU_GATE(CLK_BUS_DI, "bus-di", "psi-ahb", 0x62C, 0)
127 CCU_GATE(CLK_BUS_G2D, "bus-g2d", "psi-ahb", 0x63C, 0)
128 CCU_GATE(CLK_BUS_CE, "bus-ce", "psi-ahb", 0x68C, 0)
129 CCU_GATE(CLK_BUS_VE, "bus-ve", "psi-ahb", 0x690, 0)
130 CCU_GATE(CLK_BUS_DMA, "bus-dma", "psi-ahb", 0x70C, 0)
[all …]
H A Dccu_a10.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <dt-bindings/clock/sun4i-a10-ccu.h>
48 #include <dt-bindings/clock/sun7i-a20-ccu.h>
49 #include <dt-bindings/reset/sun4i-a10-ccu.h>
51 /* Non-exported resets */
52 /* Non-exported clocks */
66 /* Non-exported fixed clocks */
106 CCU_GATE(CLK_AHB_OTG, "ahb-otg", "ahb", 0x60, 0)
107 CCU_GATE(CLK_AHB_EHCI0, "ahb-ehci0", "ahb", 0x60, 1)
[all …]
H A Dccu_h3.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
55 #include <dt-bindings/clock/sun8i-h3-ccu.h>
56 #include <dt-bindings/reset/sun8i-h3-ccu.h>
58 /* Non-exported resets */
61 /* Non-exported clocks */
160 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5)
161 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6)
162 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb1", 0x60, 8)
163 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb1", 0x60, 9)
[all …]
H A Dccu_h6.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <dt-bindings/clock/sun50i-h6-ccu.h>
48 #include <dt-bindings/reset/sun50i-h6-ccu.h>
50 /* Non-exported clocks */
117 CCU_GATE(CLK_BUS_PSI, "bus-psi", "psi_ahb1_ahb2", 0x79c, 0)
120 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb3", 0x84c, 0)
121 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb3", 0x84c, 1)
122 CCU_GATE(CLK_BUS_MMC2, "bus-mmc2", "ahb3", 0x84c, 2)
125 /* CCU_GATE(CLK_BUS_UART0, "bus-uart0", "apb2", 0x90c, 0) */
[all …]
H A Dccu_a64.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <dt-bindings/clock/sun50i-a64-ccu.h>
48 #include <dt-bindings/reset/sun50i-a64-ccu.h>
50 /* Non-exported clocks */
141 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1)
142 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5)
143 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6)
144 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb1", 0x60, 8)
145 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb1", 0x60, 9)
[all …]
/freebsd/sys/arm/ti/clk/
H A Dti_clk_dpll.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
45 * clk = clkin * n / p
55 uint32_t ti_clksel_offset; /* mult-div1 */
56 struct ti_clk_factor n; /* ti_clksel_mult */ member
80 ti_clk_factor_get_max(struct ti_clk_factor *factor) in ti_clk_factor_get_max() argument
84 if (factor->flags & TI_CLK_FACTOR_FIXED) in ti_clk_factor_get_max()
85 max = factor->value; in ti_clk_factor_get_max()
87 max = (1 << factor->width); in ti_clk_factor_get_max()
94 ti_clk_factor_get_min(struct ti_clk_factor *factor) in ti_clk_factor_get_min() argument
[all …]
/freebsd/usr.bin/primes/
H A Dprimes.c34 * primes - generate a table of primes between two values
38 * chongo <for a good prime call: 391581 * 2^216193 - 1> /\oo/\
41 * primes [-h] [start [stop]]
44 * the value 18446744073709551615 (2^64-1) is assumed. If
69 * odd. If the base of table is 1, table[i] represents 2*i-1. After the
70 * sieve, table[i] == 1 if and only if 2*i-1 is prime.
94 while ((ch = getopt(argc, argv, "h")) != -1) in main()
103 argc -= optind; in main()
107 stop = (uint64_t)(-1); in main()
118 if (argv[0][0] == '-' || argv[1][0] == '-') in main()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp1 //===- InterleavedAccessPass.cpp ------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // DE-interleaving the data on a factor. An interleaved store writes several
15 // vectors to memory with RE-interleaving the data on a factor.
23 // E.g. An interleaved load (Factor = 2):
34 // E.g. An interleaved store (Factor = 3):
45 //===----------------------------------------------------------------------===//
77 #define DEBUG_TYPE "interleaved-access"
80 "lower-interleaved-accesses",
[all …]
H A DInterleavedLoadCombinePass.cpp1 //===- InterleavedLoadCombine.cpp - Combine Interleaved Loads ---*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // This file defines the interleaved-load-combine pass. The pass searches for
16 // executed just before InterleavedAccesPass to find any left-over instances
19 //===----------------------------------------------------------------------===//
50 #define DEBUG_TYPE "interleaved-load-combine"
59 "disable-" DEBUG_TYPE, cl::init(false), cl::Hidden,
70 TLI(*TM.getSubtargetImpl(F)->getTargetLowering()), TTI(TTI) {} in InterleavedLoadCombineImpl()
103 /// factor, find a set that represents a 'factor' interleaved load.
[all …]
H A DMIRSampleProfile.cpp1 //===-------- MIRSampleProfile.cpp: MIRSampleFDO (For FSAFDO) -------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
42 #define DEBUG_TYPE "fs-profile-loader"
45 "show-fs-branchprob", cl::Hidden, cl::init(false),
48 "fs-profile-debug-prob-diff-threshold", cl::init(10),
53 "fs-profile-debug-bw-threshold", cl::init(10000),
57 static cl::opt<bool> ViewBFIBefore("fs-viewbfi-before", cl::Hidden,
60 static cl::opt<bool> ViewBFIAfter("fs-viewbfi-after", cl::Hidden,
[all …]
/freebsd/usr.bin/factor/tests/
H A Dfactor_tests.sh2 # SPDX-License-Identifier: BSD-2-Clause
30 atf_set "descr" "Test with a float non-prime number"
34 atf_check -o inline:"1: 1\n" factor 1.44
45 atf_check -o inline:"3: 3\n" factor $pi
55 atf_check -o inline:"8: 2 2 2\n" factor 8
65 atf_check -o inline:"31: 31\n" factor 31
75 atf_check -s not-exit:0 -e inline:"factor: negative numbers aren't permitted.\n" factor -- -4
/freebsd/crypto/libecc/src/examples/sig/rsa/
H A Drsa.h2 * Copyright (C) 2021 - This file is part of libecc project
30 * n the RSA modulus, a positive integer
34 nn n; member
39 * n the RSA modulus, a positive integer
41 * p (OPTIONAL) the first factor, a positive integer
42 * q (OPTIONAL) the secod factor, a positive integer
45 * p the first factor, a positive integer
46 * q the second factor, a positive integer
47 * dP the first factor's CRT exponent, a positive integer
48 * dQ the second factor's CRT exponent, a positive integer
[all …]
/freebsd/usr.bin/units/
H A Dunits.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
55 double factor; member
163 lineptr += strspn(lineptr, " \n\t"); in readunits()
164 len = strcspn(lineptr, " \n\t"); in readunits()
168 if (lineptr[strlen(lineptr) - 1] == '-') { /* i in readunits()
[all...]
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_ossl.c2 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
78 int i, num = 0, r = -1; in rsa_ossl_public_encrypt()
82 if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) { in rsa_ossl_public_encrypt()
84 return -1; in rsa_ossl_public_encrypt()
87 if (BN_ucmp(rsa->n, rsa->e) <= 0) { in rsa_ossl_public_encrypt()
89 return -1; in rsa_ossl_public_encrypt()
93 if (BN_num_bits(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS) { in rsa_ossl_public_encrypt()
94 if (BN_num_bits(rsa->e) > OPENSSL_RSA_MAX_PUBEXP_BITS) { in rsa_ossl_public_encrypt()
96 return -1; in rsa_ossl_public_encrypt()
100 if ((ctx = BN_CTX_new_ex(rsa->libctx)) == NULL) in rsa_ossl_public_encrypt()
[all …]
/freebsd/usr.bin/factor/
H A Dfactor.c34 * factor - factor a number into primes
38 * chongo <for a good prime call: 391581 * 2^216193 - 1> /\oo/\
41 * factor [-h] [number] ...
121 while ((ch = getopt(argc, argv, "h")) != -1) in main()
130 argc -= optind; in main()
142 if (*p == '\n' || *p == '\0') in main()
147 /* Factor the arguments. */ in main()
157 * pr_fact - print the factors of a number
160 * A factor will be printed multiple times if it divides the value
168 const ubig *fact; /* The factor found. */ in pr_fact()
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_smbat.c1 /*-
130 device_printf(dev, "cannot get EC base address\n"); in acpi_smbat_attach()
133 sc->sb_base_addr = (base >> 8) & 0xff; in acpi_smbat_attach()
136 sc->ec_dev = devclass_get_device(devclass_find("acpi_ec"), 0); in acpi_smbat_attach()
137 if (sc->ec_dev == NULL) { in acpi_smbat_attach()
138 device_printf(dev, "cannot find EC device\n"); in acpi_smbat_attach()
142 timespecclear(&sc->bix_lastupdated); in acpi_smbat_attach()
143 timespecclear(&sc->bst_lastupdated); in acpi_smbat_attach()
146 device_printf(dev, "cannot register battery\n"); in acpi_smbat_attach()
201 error = ACPI_EC_WRITE(sc->ec_dev, sc->sb_base_addr + SMBUS_ADDR, in acpi_smbus_read_2()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dti,tmp421.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Guenter Roeck <linux@roeck-us.net>
19 - ti,tmp421
20 - ti,tmp422
21 - ti,tmp423
22 - ti,tmp441
23 - ti,tmp442
27 '#address-cells':
[all …]
H A Dti,tmp464.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Guenter Roeck <linux@roeck-us.net>
20 - ti,tmp464
21 - ti,tmp468
26 '#address-cells':
29 '#size-cells':
33 - compatible
34 - reg
[all …]
H A Dti,tmp401.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Guenter Roeck <linux@roeck-us.net>
24 - ti,tmp401
25 - ti,tmp411
26 - ti,tmp431
27 - ti,tmp432
28 - ti,tmp435
33 ti,extended-range-enable:
[all …]
/freebsd/share/man/man4/
H A Dccd.475 concatenate the partitions, specify the interleave factor of 0.
76 Note that mirroring may not be used with an interleave factor of 0.
78 There is a run-time utility that is used for configuring
83 .Ss The Interleave Factor
90 The interleave factor is expressed in units of
93 For large writes, the optimum interleave factor
99 on two Fast-Wide SCSI buses, this translates to about 128 for writes
108 An interleave factor must be specified when using a mirroring configuration,
110 no matter what the interleave factor).
111 The interleave factor wil
[all...]
/freebsd/lib/libc/db/test/
H A Drun.test1 #!/bin/sh -
12 if [ -f /usr/share/dict/words ]; then
14 elif [ -f /usr/dict/words ]; then
21 if [ $# -eq 0 ]; then
26 while [ $# -gt 0 ]
30 [0-9]*)
52 rm -f $TMP1 $TMP2 $TMP3
63 rm -f $TMP2 $TMP3
71 $PROG -o $TMP3 $type $TMP2
72 if (cmp -s $TMP1 $TMP3) ; then :
[all …]
/freebsd/sys/sys/
H A Dtime.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
63 _u = _bt->frac; in bintime_addx()
64 _bt->frac += _x; in bintime_addx()
65 if (_u > _bt->frac) in bintime_addx()
66 _bt->sec++; in bintime_addx()
74 _u = _bt->frac; in bintime_add()
75 _bt->frac += _bt2->frac; in bintime_add()
76 if (_u > _bt->frac) in bintime_add()
77 _bt->sec++; in bintime_add()
[all …]

12345678910>>...27