Home
last modified time | relevance | path

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

123

/freebsd-src/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-schema
[all...]
/freebsd-src/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
97 if (device_find_child(parent, "dfs", -1) != NULL) in dfs_identify()
104 if (BUS_ADD_CHILD(parent, 10, "dfs", -1) == NULL) in dfs_identify()
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()
[all …]
/freebsd-src/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-src/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->loc in cpufreq_attach()
435 int i, freq; cpufreq_get_level() local
938 int best, count, diff, bdiff, devcount, error, freq, i, n; cpufreq_curr_sysctl() local
[all...]
/freebsd-src/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-schemas/core.yaml#
10 - Saravanan Sekar <sravanhome@gmail.com>
14 pattern: "pmic@[0-9a-f]{1,2}"
17 - mps,mpq7920
27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5]
30 mps,switch-freq:
35 switching frequency must be one of following corresponding value
44 "^ldo[1-4]$":
[all …]
/freebsd-src/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-src/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->offse in imx_clk_composite_set_gate()
133 imx_clk_composite_recalc(struct clknode * clk,uint64_t * freq) imx_clk_composite_recalc() argument
[all...]
/freebsd-src/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). */
150 if (device_find_child(parent, "ichss", -1)) in ichss_identify()
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()
[all …]
/freebsd-src/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 - Che
[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-src/sys/dev/acpica/
H A Dacpi_timer.c1 /*-
49 * A timecounter based on the free-running ACPI timer.
51 * Based on the i386-only mp_clock.c by <phk@FreeBSD.ORG>.
101 -1 /* quality (chosen later) */
191 acpi_timer_timecounter.tc_name = "ACPI-fast"; in acpi_timer_probe()
196 device_set_descf(dev, "%d-bit timer at %u.%06uMHz", in acpi_timer_probe()
246 "restoring timecounter, %s -> %s\n", in acpi_timer_resume_handler()
247 tc->tc_name, newtc->tc_name); in acpi_timer_resume_handler()
248 (void)newtc->tc_get_timecount(newtc); in acpi_timer_resume_handler()
264 if ((timecounter->tc_flags & TC_FLAGS_SUSPEND_SAFE) != 0) { in acpi_timer_suspend_handler()
[all …]
/freebsd-src/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-src/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 in read_usage_times()
265 set_freq(int freq) set_freq() argument
277 get_freq_id(int freq,int * freqs,int numfreqs) get_freq_id() argument
491 int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load; global() local
[all...]
/freebsd-src/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 ---
[all...]
/freebsd-src/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
773 uint64_t freq; tsc_calibrate() local
873 uint64_t freq; tsc_freq_changed() local
888 uint64_t freq; sysctl_machdep_tsc_freq() local
[all...]
/freebsd-src/sys/net80211/
H A Dieee80211.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
135 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init()
136 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init()
141 KASSERT(0 < ic->ic_nchans && ic->ic_nchan in ieee80211_chan_init()
1040 mapgsm(u_int freq,u_int flags) mapgsm() argument
1054 mappsb(u_int freq,u_int flags) mappsb() argument
1063 ieee80211_mhz2ieee(u_int freq,u_int flags) ieee80211_mhz2ieee() argument
1288 is_vht160_valid_freq(uint16_t freq) is_vht160_valid_freq() argument
1301 is_vht80_valid_freq(uint16_t freq) is_vht80_valid_freq() argument
1314 addchan(struct ieee80211_channel chans[],int maxchans,int * nchans,uint8_t ieee,uint16_t freq,int8_t maxregpower,uint32_t flags) addchan() argument
1484 ieee80211_add_channel_cbw(struct ieee80211_channel chans[],int maxchans,int * nchans,uint8_t ieee,uint16_t freq,int8_t maxregpower,uint32_t chan_flags,const uint8_t bands[],int cbw_flags) ieee80211_add_channel_cbw() argument
1505 ieee80211_add_channel(struct ieee80211_channel chans[],int maxchans,int * nchans,uint8_t ieee,uint16_t freq,int8_t maxregpower,uint32_t chan_flags,const uint8_t bands[]) ieee80211_add_channel() argument
1514 findchannel(struct ieee80211_channel chans[],int nchans,uint16_t freq,uint32_t flags) findchannel() argument
1540 uint16_t freq; ieee80211_add_channel_ht40() local
1634 uint16_t freq; add_chanlist() local
1776 ieee80211_find_channel(struct ieee80211com * ic,int freq,int flags) ieee80211_find_channel() argument
[all...]
/freebsd-src/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 voltag
304 SDHCI_FSL_FDT_CLK_DIV(sc,base,freq,pre,div) global() argument
[all...]
/freebsd-src/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;
124 * flag - Channe
130 int freq; global() member
361 int freq; global() member
666 int freq; global() member
730 int freq; global() member
883 struct hostapd_freq_params freq; global() member
1440 struct hostapd_freq_params *freq; global() member
1613 struct hostapd_freq_params freq; global() member
5152 unsigned int freq; global() member
5286 unsigned int freq; global() member
5649 int freq; global() member
5666 unsigned int freq; global() member
5848 int freq; global() member
5874 int freq; global() member
[all...]
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegAllocEvictAdvisor.cpp1 //===- MLRegAllocEvictAdvisor.cpp - ML eviction advisor --------
819 float Freq = MBFI.getBlockFreqRelativeToEntryBlock(MI->getParent()); getLIFeatureComponents() local
[all...]
/freebsd-src/contrib/wpa/src/ap/
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_clas in hostapd_eid_ht_capabilities()
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm64/qcom/
H A Dsdm660-xiaomi-lavender.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/input/gpio-keys.h>
18 chassis-type = "handset";
25 #address-cell
[all...]
H A Dmsm8996pro-xiaomi-natrium.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
9 #include "msm8996-xiaomi-common.dtsi"
11 #include <dt-bindings/sound/qcom,q6afe.h>
12 #include <dt-bindings/sound/qcom,q6asm.h>
17 chassis-type = "handset";
18 qcom,msm-id = <305 0x10000>;
19 qcom,board-id = <47 0>;
23 firmware-name = "qcom/msm8996/natrium/adsp.mbn";
28 compatible = "syna,rmi4-i2c";
[all …]
/freebsd-src/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-node/ &mpss_region;
14 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";
23 stdout-path = "serial0:115200n8";
26 gpio-keys {
[all …]

123