/freebsd-src/sys/compat/linsysfs/ |
H A D | linsysfs.c | 1 /*- 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-src/sys/contrib/device-tree/Bindings/display/msm/ |
H A D | mdss-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/mdss-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 11 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 12 - Rob Clark <robdclark@gmail.com> 16 sub-blocks like DPU display controller, DSI and DP interfaces etc. 25 pattern: "^display-subsystem@[0-9a-f]+$" 30 reg-names: [all …]
|
H A D | qcom,qcm2290-mdss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/qcom,qcm2290-mdss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Loic Poulain <loic.poulain@linaro.org> 14 sub-blocks like DPU display controller and DSI. Device tree bindings of MDSS 17 $ref: /schemas/display/msm/mdss-common.yaml# 21 const: qcom,qcm2290-mdss 25 - description: Display AHB clock from gcc 26 - description: Display AXI clock [all …]
|
H A D | qcom,sc7180-mdss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/qcom,sc7180-mdss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 14 sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree 17 $ref: /schemas/display/msm/mdss-common.yaml# 21 const: qcom,sc7180-mdss 25 - description: Display AHB clock from gcc 26 - description: Display AHB clock from dispcc [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/pci/ |
H A D | qcom,pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-e [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp153.dtsi | 1 // 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"; [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/nvidia/ |
H A D | tegra30-pegatron-chagall.dts | 1 // 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-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 35 * pre-existing /chosen node to be available to insert the [all …]
|
/freebsd-src/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8327.c | 1 /*- 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-src/lib/librss/ |
H A D | librss.3 | 7 .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 [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/media/ |
H A D | qcom,sc7280-venus.yaml | 1 # 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-schema [all...] |
H A D | qcom,sm8250-venus.yaml | 1 # 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-schemas/core.yaml# 10 - Stanimir Varbanov <stanimir.varbanov@linaro.org> 17 - $ref: qcom,venus-common.yaml# 21 const: qcom,sm8250-venus 23 power-domains: 27 power-domain-names: 30 - const: venus [all …]
|
H A D | qcom,sdm660-venus.yaml | 1 # 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-src/sys/contrib/device-tree/src/arc/ |
H A D | hsdk.dts | 1 // 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-cell [all...] |
/freebsd-src/usr.sbin/config/ |
H A D | main.cc | 1 /*- 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[- in main() 456 configfile_dynamic(std::ostringstream & cfg) configfile_dynamic() argument 502 configfile_filebased(std::ostringstream & cfg) configfile_filebased() argument 535 std::ostringstream cfg; configfile() local [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm64/tesla/ |
H A D | fsd.dtsi | 1 // 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-controlle [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/remoteproc/ |
H A D | mtk,scp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tingha [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm8450.dtsi | 1 // 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-binding [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm64/apm/ |
H A D | apm-storm.dtsi | 1 // 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-cell [all...] |
/freebsd-src/sys/arm/allwinner/a20/ |
H A D | a20_cpu_cfg.c | 1 /*- 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-src/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetMachine.cpp | 1 //===-- HexagonTargetMachine.cpp - Define TargetMachine for Hexagon ------- 225 HexagonTargetMachine(const Target & T,const Triple & TT,StringRef CPU,StringRef FS,const TargetOptions & Options,std::optional<Reloc::Model> RM,std::optional<CodeModel::Model> CM,CodeGenOptLevel OL,bool JIT) HexagonTargetMachine() argument 254 std::string CPU = getSubtargetImpl() local [all...] |
/freebsd-src/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 1 /*- 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-src/contrib/libevent/test/ |
H A D | test-ratelim.c | 2 * 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-src/contrib/ntp/sntp/libevent/test/ |
H A D | test-ratelim.c | 2 * 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-src/sys/contrib/device-tree/src/arm/microchip/ |
H A D | sama7g5.dtsi | 1 // 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-controlle [all...] |
/freebsd-src/sys/arm64/arm64/ |
H A D | cpu_errata.c | 1 /*- 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 …]
|