Home
last modified time | relevance | path

Searched +full:cpu +full:- +full:cfg (Results 1 – 25 of 237) sorted by relevance

12345678910

/freebsd/sys/compat/linsysfs/
H A Dlinsysfs.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
75 if (strncmp(pn->pn_parent->pn_name, "host", 4) == 0) { in linsysfs_scsiname()
76 index = atoi(&pn->pn_parent->pn_name[4]); in linsysfs_scsiname()
82 if (index-- == 0) { in linsysfs_scsiname()
83 sbuf_printf(sb, "%s\n", scsi_host->name); in linsysfs_scsiname()
92 * Filler function for device sym-link
100 if (strncmp(pn->pn_parent->pn_name, "host", 4) == 0) { in linsysfs_link_scsi_host()
101 index = atoi(&pn->pn_parent->pn_name[4]); in linsysfs_link_scsi_host()
107 if (index-- == 0) { in linsysfs_link_scsi_host()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dqcom,pcie-ep.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/qcom,pcie-ep.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
15 - enum:
16 - qcom,sa8775p-pcie-ep
17 - qcom,sdx55-pcie-ep
18 - qcom,sm8450-pcie-ep
19 - items:
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nvidia/
H A Dtegra30-pegatron-chagall.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu
[all...]
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch_8327.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2011-2012 Stefan Bethke.
74 * which means both CPU ports can see each other and that will quickly
117 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, in ar8327_vlan_op()
126 err = arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC0, data); in ar8327_vlan_op()
140 arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC1, op); in ar8327_vlan_op()
143 * Finally - wait for it to load. in ar8327_vlan_op()
145 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, in ar8327_vlan_op()
156 device_printf(sc->sc_dev, in ar8327_phy_fixup()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstm32mp153.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
11 cpu1: cpu@1 {
12 compatible = "arm,cortex-a7";
13 clock-frequency = <650000000>;
14 device_type = "cpu";
19 arm-pmu {
22 interrupt-affinity = <&cpu0>, <&cpu1>;
37 reg-names = "m_can", "message_ram";
40 interrupt-names = "int0", "int1";
[all …]
/freebsd/lib/librss/
H A Dlibrss.37 .Nd Provide Receive-side scaling awareness to userland applications
17 .Fn rss_config_free "struct rss_config *cfg"
19 .Fn rss_config_get_bucket_count "struct rss_config *cfg"
38 and optionally binding them to the per-bucket CPU set.
43 .Bd -literal
71 .Bd -literal
84 .Bd -literal
118 option indicating the 32-bit receive flowid as a uint32_t,
132 There is currently no kernel mechanism to rebalance the RSS bucket to CPU
133 mapping, and so the callback mechanism is a no-op.
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dqcom,sm8250-venus.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/qcom,sm8250-venus.yaml#
5 $schema: http://devicetree.org/meta-schema
[all...]
H A Dqcom,sc7280-venus.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/qcom,sc7280-venus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stanimir Varbanov <stanimir.varbanov@linaro.org>
17 - $ref: qcom,venus-common.yaml#
21 const: qcom,sc7280-venus
23 power-domains:
27 power-domain-names:
30 - const: venus
[all …]
H A Dqcom,sdm660-venus.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/qcom,sdm660-venus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stanimir Varbanov <stanimir.varbanov@linaro.org>
11 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
18 - $ref: qcom,venus-common.yaml#
22 const: qcom,sdm660-venus
27 clock-names:
29 - const: core
[all …]
/freebsd/sys/contrib/device-tree/src/arc/
H A Dhsdk.dts1 // SPDX-License-Identifier: GPL-2.0-only
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/reset/snps,hsdk-reset.h>
18 #address-cells = <2>;
19 #size-cells = <2>;
22 … "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
30 #address-cells = <1>;
31 #size-cells = <0>;
33 cpu@0 {
[all …]
/freebsd/usr.sbin/config/
H A Dmain.cc1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
135 while ((ch = getopt(argc, argv, "Cd:gI:mps:Vvx:")) != -1) in main()
155 ipath->path = optarg; in main()
180 argc -= optind; in main()
204 while (len > 1 && destdir[len - 1] == '/') in main()
205 destdir[--len] = '\0'; in main()
217 * Ensure that required elements (machine, cpu, ident) are present. in main()
228 printf("cpu type must be specified\n"); in main()
289 if (stat(pwd, &lg) != -1 && stat(srcdir, &phy) != -1 && in get_srcdir()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/tesla/
H A Dfsd.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Tesla Full Self-Driving SoC device tree source
5 * Copyright (c) 2017-2022 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2017-2022 Tesla, Inc.
11 #include <dt-bindings/clock/fsd-clk.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 interrupt-parent = <&gic>;
17 #address-cells = <2>;
18 #size-cells = <2>;
38 #address-cells = <2>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/remoteproc/
H A Dmtk,scp.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tinghan Shen <tinghan.shen@mediatek.com>
13 This binding provides support for ARM Cortex M4 Co-processor found on some
19 - mediatek,mt8183-scp
20 - mediatek,mt8186-scp
21 - mediatek,mt8188-scp
22 - mediatek,mt8188-scp-dual
23 - mediatek,mt8192-scp
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/apm/
H A Dapm-storm.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dts file for AppliedMicro (APM) X-Gene Storm SOC
9 compatible = "apm,xgene-storm";
10 interrupt-parent = <&gic>;
11 #address-cells = <2>;
12 #size-cells = <2>;
15 #address-cells = <2>;
16 #size-cells = <0>;
18 cpu@0 {
19 device_type = "cpu";
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtest-ratelim.c2 * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson
26 #include "../util-internal.h"
67 static int cfg_min_share = -1;
70 static int cfg_connlimit_tolerance = -1;
71 static int cfg_grouplimit_tolerance = -1;
72 static int cfg_stddev_tolerance = -1;
93 * - cfg_connlimit_tolerance (--check-connlimit)
94 * - cfg_grouplimit_tolerance (--check-grouplimit)
95 * - cfg_stddev_tolerance (--check-stddev)
137 cs->queued += sizeof(buf); in loud_writecb()
[all …]
/freebsd/contrib/libevent/test/
H A Dtest-ratelim.c2 * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson
26 #include "../util-internal.h"
67 static int cfg_min_share = -1;
70 static int cfg_connlimit_tolerance = -1;
71 static int cfg_grouplimit_tolerance = -1;
72 static int cfg_stddev_tolerance = -1;
93 * - cfg_connlimit_tolerance (--check-connlimit)
94 * - cfg_grouplimit_tolerance (--check-grouplimit)
95 * - cfg_stddev_tolerance (--check-stddev)
137 cs->queued += sizeof(buf); in loud_writecb()
[all …]
/freebsd/sys/arm/allwinner/a20/
H A Da20_cpu_cfg.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
29 /* CPU configuration module for Allwinner A20 */
42 #include <machine/cpu.h>
62 bus_space_read_4((sc)->bst, (sc)->bsh, (reg))
64 bus_space_write_4((sc)->bst, (sc)->bsh, (reg), (val))
73 if (ofw_bus_is_compatible(dev, "allwinner,sun7i-cpu-cfg")) { in a20_cpu_cfg_probe()
74 device_set_desc(dev, "A20 CPU Configuration Module"); in a20_cpu_cfg_probe()
90 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); in a20_cpu_cfg_attach()
91 if (!sc->res) { in a20_cpu_cfg_attach()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8dxl-evk.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl";
24 stdout-path = &lpuart0;
27 imx8dxl-cm4 {
28 compatible = "fsl,imx8qxp-cm4";
30 mbox-names = "tx", "rx", "rxdb";
32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>,
34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>;
35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.cpp1 //===-- HexagonTargetMachine.cpp - Define TargetMachine for Hexagon -------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
36 EnableCExtOpt("hexagon-cext", cl::Hidden, cl::init(true),
37 cl::desc("Enable Hexagon constant-extender optimization"));
39 static cl::opt<bool> EnableRDFOpt("rdf-opt", cl::Hidden, cl::init(true),
40 cl::desc("Enable RDF-based optimizations"));
43 "rdf-bb-limit", cl::Hidden, cl::init(1000),
47 DisableHardwareLoops("disable-hexagon-hwloops", cl::Hidden,
[all …]
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_uncore.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
41 #include <machine/cpu.h>
80 uncore_pcpu_noop(struct pmc_mdep *md, int cpu) in uncore_pcpu_noop() argument
83 (void) cpu; in uncore_pcpu_noop()
88 uncore_pcpu_init(struct pmc_mdep *md, int cpu) in uncore_pcpu_init() argument
95 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in uncore_pcpu_init()
96 ("[ucf,%d] insane cpu number %d", __LINE__, cpu)); in uncore_pcpu_init()
98 PMCDBG1(MDP,INI,1,"uncore-init cpu=%d", cpu); in uncore_pcpu_init()
100 uncore_ri = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_ri; in uncore_pcpu_init()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsm8450.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
8 #include <dt-bindings/clock/qcom,rpmh.h>
9 #include <dt-bindings/clock/qcom,sm8450-camcc.h>
10 #include <dt-bindings/clock/qcom,sm8450-dispcc.h>
11 #include <dt-bindings/clock/qcom,sm8450-gpucc.h>
12 #include <dt-bindings/clock/qcom,sm8450-videocc.h>
13 #include <dt-bindings/dma/qcom-gpi.h>
14 #include <dt-bindings/firmware/qcom,scm.h>
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_serdes_25g_regs.h9 found at http://www.gnu.org/licenses/gpl-2.0.html
66 /* [0x1c] SERDES cpu mem address */
68 /* [0x20] SERDES cpu mem data */
83 uint32_t cfg; member
132 /* Bit-wise write enable */
139 * 0x1 – Select inter-macro reference clock from the left side
141 * 0x3 – Select inter-macro reference clock from the right side
156 * 0x2 – Select inter-macro reference clock input from right side
172 * 0x2 – Select inter-macro reference clock input from left side
186 * Program memory acknowledge - Only when the access
[all …]
/freebsd/tools/test/stress2/misc/
H A Dnfs9.sh4 # Copyright (c) 2008-2013 Peter Holm <pho@FreeBSD.org>
37 # https://people.freebsd.org/~pho/stress/log/nfs9-2.txt
40 # $ ps -lp52442
41 # UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
42 # 0 52442 52120 0 20 0 11336 2868 nfsreq S 0 0:01.48 rm -rf /mnt/nfs9.dktfkpuf/stressX
44 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
46 . ../default.cfg
48 [ -z "$nfs_export" ] && exit 0
49 ping -c 2 `echo $nfs_export | sed 's/:.*//'` > /dev/null 2>&1 ||
52 [ ! -d $mntpoint ] && mkdir $mntpoint
[all …]
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dsama7g5.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC
12 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/dma/at91.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/mfd/at91-usart.h>
19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
[all …]
/freebsd/sys/arm64/arm64/
H A Dcpu_errata.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
40 #include <machine/cpu.h>
136 env = kern_getenv("kern.cfg.ssbd"); in install_ssbd_workaround()
138 if (strcmp(env, "force-on") == 0) { in install_ssbd_workaround()
140 } else if (strcmp(env, "force-off") == 0) { in install_ssbd_workaround()
150 /* Enable the workaround on this CPU if it's enabled in the firmware */ in install_ssbd_workaround()
186 /* ThunderX 2.0 - 2.1 */ in install_thunderx_bcast_tlbi_workaround()
210 * Install any CPU errata we need. On CPU 0 we only install the errata that
[all …]

12345678910