Home
last modified time | relevance | path

Searched +full:switching +full:- +full:freq (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/sys/contrib/device-tree/Bindings/leds/backlight/
H A Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
11 - Kiran Gunda <quic_kgunda@quicinc.com>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
/freebsd/sys/powerpc/cpufreq/
H A Ddfs.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
74 * Bits of the HID1 register to enable DFS. See page 2-24 of "MPC7450
114 device_set_desc(dev, "Dynamic Frequency Switching"); in dfs_probe()
125 sc->dev = dev; in dfs_attach()
126 sc->dfs4 = 0; in dfs_attach()
129 /* The 7448 supports divide-by-four as well */ in dfs_attach()
131 sc->dfs4 = 1; in dfs_attach()
144 states = sc->dfs4 ? 3 : 2; in dfs_settings()
153 sets[0].freq = 10000; sets[0].dev = dev; in dfs_settings()
[all …]
/freebsd/sys/kern/
H A Dkern_cpu.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2004-2007 Nate Lawson (SDG)
168 sc->dev = dev; in cpufreq_attach()
169 sysctl_ctx_init(&sc->sysctl_ctx); in cpufreq_attach()
170 TAILQ_INIT(&sc->all_levels); in cpufreq_attach()
171 CF_MTX_INIT(&sc->lock); in cpufreq_attach()
172 sc->curr_level.total_set.freq = CPUFREQ_VAL_UNKNOWN; in cpufreq_attach()
173 SLIST_INIT(&sc->saved_freq); in cpufreq_attach()
174 /* Try to get nominal CPU freq to use it as maximum later if needed */ in cpufreq_attach()
[all …]
/freebsd/sys/contrib/dev/athk/
H A Dspectral_common.h33 * TODO: this might need rework when switching to nl80211-based
54 __be16 freq; member
71 __be16 freq; member
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dmps,mpq7920.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd/sys/dev/clk/rockchip/
H A Drk_clk_composite.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
79 if (sc->grf) in rk_clk_composite_read_4()
80 *val = SYSCON_READ_4(sc->grf, addr); in rk_clk_composite_read_4()
91 if (sc->grf) in rk_clk_composite_write_4()
92 SYSCON_WRITE_4(sc->grf, addr, val | (0xffff << 16)); in rk_clk_composite_write_4()
123 if ((sc->flags & RK_CLK_COMPOSITE_GRF) != 0) { in rk_clk_composite_init()
124 sc->grf = rk_clk_composite_get_grf(clk); in rk_clk_composite_init()
125 if (sc->grf == NULL) in rk_clk_composite_init()
131 if ((sc->flags & RK_CLK_COMPOSITE_HAVE_MUX) != 0) { in rk_clk_composite_init()
[all …]
H A Drk_clk_mux.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
115 if ((sc->mux_flags & RK_CLK_MUX_GRF) != 0) { in rk_clk_mux_init()
116 sc->grf = rk_clk_mux_get_grf(clk); in rk_clk_mux_init()
117 if (sc->grf == NULL) in rk_clk_mux_init()
123 if (sc->grf) { in rk_clk_mux_init()
124 reg = SYSCON_READ_4(sc->grf, sc->offset); in rk_clk_mux_init()
127 rv = RD4(clk, sc->offset, &reg); in rk_clk_mux_init()
132 reg = (reg >> sc->shift) & sc->mask; in rk_clk_mux_init()
147 if (sc->grf) in rk_clk_mux_set_mux()
[all …]
/freebsd/sys/arm64/freescale/imx/clk/
H A Dimx_clk_composite.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 #define TARGET_ROOT_PRE_PODF(n) ((((n) - 1) & 0x7) << 16)
46 #define TARGET_ROOT_POST_PODF(n) ((((n) - 1) & 0x3f) << 0)
83 READ4(clk, sc->offset, &val); in imx_clk_composite_init()
102 READ4(clk, sc->offset, &val); in imx_clk_composite_set_gate()
107 WRITE4(clk, sc->offset, val); in imx_clk_composite_set_gate()
123 READ4(clk, sc->offset, &val); in imx_clk_composite_set_mux()
126 WRITE4(clk, sc->offset, val); in imx_clk_composite_set_mux()
133 imx_clk_composite_recalc(struct clknode *clk, uint64_t *freq) in imx_clk_composite_recalc() argument
[all …]
/freebsd/sys/dev/cpufreq/
H A Dichss.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2004-2005 Nate Lawson (SDG)
47 * The SpeedStep ICH feature is a chipset-initiated voltage and frequency
49 * the newer Pentium-M SpeedStep feature. It offers only two levels of
51 * SMM code during the power-on process (i.e., choose a lower level if the
57 int bm_rid; /* Bus-mastering control (PM2REG). */
154 * ICH2/3/4-M I/O Controller Hub is at bus 0, slot 1F, function 0. in ichss_identify()
157 * I/O Controller Hub 2 Mobile (ICH2-M). in ichss_identify()
234 return (-1000); in ichss_probe()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dx-powers,axp152.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP PMIC
10 - Chen-Yu Tsai <wens@csie.org>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
H A Daxp20x.txt4 axp152 (X-Powers)
5 axp202 (X-Powers)
6 axp209 (X-Powers)
7 axp221 (X-Powers)
8 axp223 (X-Powers)
9 axp803 (X-Powers)
10 axp806 (X-Powers)
11 axp809 (X-Powers)
12 axp813 (X-Powers)
20 - compatible: should be one of:
[all …]
/freebsd/contrib/wpa/src/ap/
H A Ddfs.c2 * DFS - Dynamic Frequency Selection
3 * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
4 * Copyright (c) 2013-2017, Qualcomm Atheros, Inc.
25 DFS_AVAILABLE, /* non-radar or radar-available */
26 DFS_NO_CAC_YET, /* radar-not-yet-available */
38 return (iface->drv_flags2 & WPA_DRIVER_FLAGS2_RADAR_BACKGROUND) && in dfs_use_radar_background()
39 iface->conf->enable_background_radar; in dfs_use_radar_background()
49 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
52 if (iface->conf->ieee80211ac || iface->conf->ieee80211ax) { in dfs_get_used_n_chans()
53 switch (hostapd_get_oper_chwidth(iface->conf)) { in dfs_get_used_n_chans()
[all …]
H A Dieee802_11_ht.c3 * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
4 * Copyright (c) 2007-2008, Intel Corporation
29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities()
30 hapd->conf->disable_11n || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_ht_capabilities()
38 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); in hostapd_eid_ht_capabilities()
39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities()
40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities()
49 if (hapd->iconf->obss_interval) { in hostapd_eid_ht_capabilities()
57 scan_params->width_trigger_scan_interval = in hostapd_eid_ht_capabilities()
58 host_to_le16(hapd->iconf->obss_interval); in hostapd_eid_ht_capabilities()
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_timer.c1 /*-
50 * A timecounter based on the free-running ACPI timer.
52 * Based on the i386-only mp_clock.c by <phk@FreeBSD.ORG>.
104 -1 /* quality (chosen later) */
194 acpi_timer_timecounter.tc_name = "ACPI-fast"; in acpi_timer_probe()
199 device_set_descf(dev, "%d-bit timer at %u.%06uMHz", in acpi_timer_probe()
249 "restoring timecounter, %s -> %s\n", in acpi_timer_resume_handler()
250 tc->tc_name, newtc->tc_name); in acpi_timer_resume_handler()
251 (void)newtc->tc_get_timecount(newtc); in acpi_timer_resume_handler()
267 if ((timecounter->tc_flags & TC_FLAGS_SUSPEND_SAFE) != 0) { in acpi_timer_suspend_handler()
[all …]
/freebsd/sys/x86/cpufreq/
H A Dsmist.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
28 * This driver is based upon information found by examining speedstep-0.5
143 *sig = -1; in int15_gsic_call()
144 *smi_cmd = -1; in int15_gsic_call()
145 *command = -1; in int15_gsic_call()
146 *smi_data = -1; in int15_gsic_call()
147 *flags = -1; in int15_gsic_call()
169 data->result = error; in set_ownership_cb()
174 strlcpy(data->buf, smist_magic, PAGE_SIZE); in set_ownership_cb()
[all …]
/freebsd/usr.sbin/powerd/
H A Dpowerd.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
98 static int set_freq(int freq);
135 static int apm_fd = -1;
137 static int devd_pipe = -1;
147 * threads are processing requests as a pipeline -- runnin
278 set_freq(int freq) set_freq() argument
290 get_freq_id(int freq,int * freqs,int numfreqs) get_freq_id() argument
587 int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load; global() local
[all...]
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/
H A Dmediatek,mt76.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Felix Fietkau <nbd@nbd.name>
12 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - Ryder Lee <ryder.lee@mediatek.com>
25 - mediatek,mt76
26 - mediatek,mt7628-wmac
27 - mediatek,mt7622-wmac
[all …]
/freebsd/sys/x86/x86/
H A Dtsc.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1998-2003 Poul-Henning Kamp
66 &tsc_is_invariant, 0, "Indicates whether the TSC is P-state invariant");
80 &tsc_shift, 0, "Shift to pre-apply for the maximum TSC frequency");
199 uint64_t freq; in tsc_freq_intel_brand() local
216 for (i = 0; i < sizeof(brand) - 1; i++) in tsc_freq_intel_brand()
220 p -= 5; in tsc_freq_intel_brand()
234 #define C2D(c) ((c) - '0') in tsc_freq_intel_brand()
236 freq = C2D(p[0]) * 1000; in tsc_freq_intel_brand()
[all …]
/freebsd/sys/dev/sdhci/
H A Dsdhci_fsl_fdt.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2020 - 2021 Alstom Group.
5 * Copyright (c) 2020 - 2021 Semihalf.
56 #define RD4 (sc->read)
57 #define WR4 (sc->write)
156 /* On some platforms switching voltage to 1.8V is not supported */
172 * Some SoCs don't have a fixed regulator. Switching voltage
219 .syscon_compat = "fsl,ls1012a-scfg",
234 .syscon_compat = "fsl,ls1046a-scfg",
[all …]
/freebsd/sys/net80211/
H A Dieee80211.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
134 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init()
135 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init()
140 KASSERT(0 < ic->ic_nchans && ic->ic_nchans <= IEEE80211_CHAN_MAX, in ieee80211_chan_init()
141 ("invalid number of channels specified: %u", ic->ic_nchans)); in ieee80211_chan_init()
142 memset(ic->ic_chan_avail, 0, sizeof(ic->ic_chan_avail)); in ieee80211_chan_init()
143 memset(ic->ic_modecaps, 0, sizeof(ic->ic_modecaps)); in ieee80211_chan_init()
144 setbit(ic->ic_modecaps, IEEE80211_MODE_AUTO); in ieee80211_chan_init()
[all …]
/freebsd/contrib/wpa/src/drivers/
H A Ddriver.h3 * Copyright (c) 2003-2017, Jouni Malinen <j@w1.fi>
74 * enum reg_change_initiator - Regulatory change initiator
85 * enum reg_type - Regulatory change types
96 * struct hostapd_wmm_rule - WMM regulatory rule
110 * struct hostapd_channel_data - Channel information
114 * chan - Channel number (IEEE 802.11)
119 * freq - Frequency in MHz
121 int freq; member
124 * flag - Channel flags (HOSTAPD_CHAN_*)
129 * allowed_bw - Allowed channel width bitmask
[all …]
/freebsd/sys/dev/iicbus/rtc/
H A Dnxprtc.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 * Driver for NXP real-time clock/calendar chips:
31 * - PCF8563 = low power, countdown timer
32 * - PCA8565 = like PCF8563, automotive temperature range
33 * - PCF8523 = low power, countdown timer, oscillator freq tuning, 2 timers
34 * - PCF2127 = like PCF8523, industrial, tcxo, tamper/ts, i2c & spi, 512B ram
35 * - PCA2129 = like PCF8523, automotive, tcxo, tamper/ts, i2c & spi, (note 1)
36 * - PCF2129 = like PCF8523, industrial, tcxo, tamper/ts, i2c & spi, (note 1)
100 * PCF2127-specific registers, bits, and masks.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp1 //===- MLRegAllocEvictAdvisor.cpp - ML eviction advisor -------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
48 #define DEBUG_TYPE "ml-regalloc"
59 "regalloc-evict-interactive-channel-base", cl::Hidden,
62 "have the name <regalloc-evict-interactive-channel-base>.in, while the "
64 "<regalloc-evict-interactive-channel-base>.out"));
72 "regalloc-training-log", cl::Hidden,
76 "regalloc-model", cl::Hidden,
[all …]
/freebsd/sys/contrib/device-tree/src/arm/qcom/
H A Dqcom-apq8074-dragonboard.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include "qcom-msm8974.dtsi"
10 /delete-nod
[all...]

1234