Home
last modified time | relevance | path

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

12345

/linux/Documentation/devicetree/bindings/iio/dac/
H A Dadi,ad5755.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD5755 Multi-Channel DAC
10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk>
15 - adi,ad5755
16 - adi,ad5755-1
17 - adi,ad5757
18 - adi,ad5735
19 - adi,ad5737
[all …]
/linux/arch/powerpc/boot/
H A Dredboot.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 // include/asm-ppc/redboot.h
15 * RedBoot starts it up. Note: not all fields make sense for all
26 unsigned int bi_intfreq; /* Internal Freq, in Hz */
27 unsigned int bi_busfreq; /* Bus Freq, in Hz */
28 unsigned int bi_cpmfreq; /* CPM Freq, in Hz */
29 unsigned int bi_brgfreq; /* BRG Freq, in Hz */
31 unsigned int bi_pci_freq; /* PCI Freq, in Hz */
/linux/Documentation/devicetree/bindings/input/
H A Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 - $ref: input.yaml#
16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
17 additional Hall-effect and inductive sensing capabilities.
24 - azoteq,iqs269a
25 - azoteq,iqs269a-00
26 - azoteq,iqs269a-d0
[all …]
H A Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
37 azoteq,suspend-mode:
[all …]
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/linux/arch/m68k/mac/
H A Dmacboing.c1 // SPDX-License-Identifier: GPL-2.0
3 * Mac bong noise generator. Note - we ought to put a boingy noise
6 * ----------------------------------------------------------------------
10 * Juergen Mellinger (juergen.mellinger@t-online.de)
37 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */
68 * this makes no sense here, because we have to set the default sample in mac_init_asc()
71 switch ( macintosh_config->ident ) in mac_init_asc()
99 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc()
104 * Macintosh models have 16-bit audio input and output capability in mac_init_asc()
105 * because of the AT&T DSP3210 hardware circuitry and the 16-bit Singer in mac_init_asc()
[all …]
/linux/drivers/media/usb/ttusb-dec/
H A Dttusbdecfe.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2003-2004 Alex Woods <linux-dvb@giblets.org>
39 struct ttusbdecfe_state* state = fe->demodulator_priv; in ttusbdecfe_dvbt_read_status()
47 ret=state->config->send_command(fe, 0x73, sizeof(b), b, &len, result); in ttusbdecfe_dvbt_read_status()
53 return -EIO; in ttusbdecfe_dvbt_read_status()
70 return -EIO; in ttusbdecfe_dvbt_read_status()
78 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in ttusbdecfe_dvbt_set_frontend()
79 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_dvbt_set_frontend()
86 __be32 freq = htonl(p->frequency / 1000); in ttusbdecfe_dvbt_set_frontend() local
87 memcpy(&b[4], &freq, sizeof (u32)); in ttusbdecfe_dvbt_set_frontend()
[all …]
/linux/Documentation/devicetree/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 …]
/linux/sound/soc/codecs/
H A Dmax98927.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max98927.c -- MAX98927 ALSA Soc Audio driver
5 * Copyright (C) 2016-2017 Maxim Integrated Products
140 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt()
147 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98927_dai_set_fmt()
151 max98927->provider = false; in max98927_dai_set_fmt()
155 max98927->provider = true; in max98927_dai_set_fmt()
159 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98927_dai_set_fmt()
160 return -EINVAL; in max98927_dai_set_fmt()
163 regmap_update_bits(max98927->regmap, MAX98927_R0021_PCM_MASTER_MODE, in max98927_dai_set_fmt()
[all …]
H A Dcs42l42.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l42.c -- CS42L42 ALSA SoC audio driver
29 #include <sound/soc-dapm.h>
32 #include <dt-bindings/sound/cs42l42.h>
400 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true);
401 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true);
410 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put()
418 return -EINVAL; in cs42l42_slow_start_put()
452 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv),
457 SOC_ENUM("HPF Corner Freq", cs42l42_hpf_freq_enum),
[all …]
H A Dcs42l43.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and
21 #include <linux/mfd/cs42l43-regs.h>
33 #include <sound/soc-component.h>
34 #include <sound/soc-dapm.h>
35 #include <sound/soc-dai.h>
137 dev_err(priv->dev, "Error " #name " IRQ\n"); \
157 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(priv->component); in CS42L43_IRQ_ERROR()
161 priv->hp_ilimit_count--; in CS42L43_IRQ_ERROR()
163 if (priv->hp_ilimit_count) in CS42L43_IRQ_ERROR()
[all …]
/linux/drivers/cpufreq/
H A Dcpufreq_ondemand.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/percpu-defs.h>
20 /* On-demand governor macros */
56 * Find right freq to be set now with powersave_bias on.
67 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target()
69 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target()
70 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in generic_powersave_bias_target()
71 struct cpufreq_frequency_table *freq_table = policy->freq_table; in generic_powersave_bias_target()
74 dbs_info->freq_lo = 0; in generic_powersave_bias_target()
75 dbs_info->freq_lo_delay_us = 0; in generic_powersave_bias_target()
[all …]
H A Dspear-cpufreq.c2 * drivers/cpufreq/spear-cpufreq.c
60 return ERR_PTR(-EINVAL); in spear1340_cpu_get_possible_parent()
114 * SPEAr1340 is special in the sense that due to the possibility in spear_cpufreq_target()
148 pr_err("CPU Freq: cpu clk_set_rate failed: %d\n", ret); in spear_cpufreq_target()
155 policy->clk = spear_cpufreq.clk; in spear_cpufreq_init()
162 .name = "cpufreq-spear",
181 return -ENODEV; in spear_cpufreq_probe()
184 if (of_property_read_u32(np, "clock-latency", in spear_cpufreq_probe()
191 ret = -ENODEV; in spear_cpufreq_probe()
197 ret = -ENOMEM; in spear_cpufreq_probe()
[all …]
/linux/drivers/scsi/
H A Dwd33c93.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Drew Eckhardt's excellent 'Generic NCR5380' sources from Linux-PC
18 * - Target Disconnection/Reconnection is now supported. Any
21 * call 'adaptive disconnect' - meaning that each command
24 * device chooses), or as a "SCSI-bus-hog".
26 * - Synchronous data transfers are now supported. Because of
29 * this faster protocol - it can be enabled via the command-
30 * line on a device-by-device basis.
32 * - Runtime operating parameters can now be specified through
38 * - The old driver relied exclusively on what the Western Digital
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A Drx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1998-2007 Texas Instruments Incorporated
25 rx_packet_ring_addr = wl->data_path->rx_packet_ring_addr; in wl1251_rx_header()
26 if (wl->rx_current_buffer) in wl1251_rx_header()
27 rx_packet_ring_addr += wl->data_path->rx_packet_ring_chunk_size; in wl1251_rx_header()
42 status->band = NL80211_BAND_2GHZ; in wl1251_rx_status()
43 status->mactime = desc->timestamp; in wl1251_rx_status()
53 if ((wl->bss_type == BSS_TYPE_IBSS) && beacon) { in wl1251_rx_status()
56 status->mactime = mactime; in wl1251_rx_status()
59 status->signal = desc->rssi; in wl1251_rx_status()
[all …]
/linux/drivers/pwm/
H A Dpwm-meson.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
13 * Setting the duty cycle will disable and re-enable the PWM output.
19 * https://dl.khadas.com/Hardware/VIM2/Datasheet/S912_Datasheet_V0.220170314publicversion-Wesion.pdf
23 * https://dn.odroid.com/S922X/ODROID-N2/Datasheet/S922X_Public_Datasheet_V0.2.pdf
33 #include <linux/clk-provider.h>
123 struct meson_pwm_channel *channel = &meson->channels[pwm->hwpwm]; in meson_pwm_request()
127 err = clk_prepare_enable(channel->clk); in meson_pwm_request()
130 __clk_get_name(channel->clk), err); in meson_pwm_request()
140 struct meson_pwm_channel *channel = &meson->channels[pwm->hwpwm]; in meson_pwm_free()
142 clk_disable_unprepare(channel->clk); in meson_pwm_free()
[all …]
/linux/drivers/media/i2c/
H A Dadv7511-v4l2.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This file is named adv7511-v4l2.c so it doesn't conflict with the Analog
22 #include <linux/v4l2-dv-timings.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-common.h>
25 #include <media/v4l2-ctrls.h>
26 #include <media/v4l2-dv-timings.h>
32 MODULE_PARM_DESC(debug, "debug level (0-2)");
94 /* Did we receive hotplug and rx-sense signals? */
124 static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq);
[all …]
/linux/drivers/i2c/busses/
H A Di2c-mlxcpld.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
5 * Copyright (C) 2016-2020 Mellanox Technologies
84 for (i = 0; i < len - len % 4; i += 4) in mlxcpld_i2c_lpc_write_buf()
94 for (i = 0; i < len - len % 4; i += 4) in mlxcpld_i2c_lpc_read_buf()
103 u32 addr = priv->base_addr + offs; in mlxcpld_i2c_read_comm()
128 u32 addr = priv->base_addr + offs; in mlxcpld_i2c_write_comm()
152 * Returns 0 if OK, other - in case of invalid parameters.
160 dev_err(priv->dev, "Incorrect 0 num of messages\n"); in mlxcpld_i2c_check_msg_params()
161 return -EINVAL; in mlxcpld_i2c_check_msg_params()
165 dev_err(priv->dev, "Invalid address 0x%03x\n", in mlxcpld_i2c_check_msg_params()
[all …]
H A Di2c-ibm_iic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * drivers/i2c/busses/i2c-ibm_iic.c
18 * Copyright 2000-2003 MontaVista Software Inc.
20 * Original driver version was highly leveraged from i2c-elektor.c
22 * Copyright 1995-97 Simon G. Vogl
23 * 1998-99 Hans Berglund
45 #include "i2c-ibm_iic.h"
71 # define DBG(f,x...) printk(KERN_DEBUG "ibm-iic" f, ##x)
83 volatile struct iic_regs __iomem *iic = dev->vaddr; in dump_iic_regs()
84 printk(KERN_DEBUG "ibm-iic%d: %s\n", dev->idx, header); in dump_iic_regs()
[all …]
/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd_dvbt2_mon.c1 // SPDX-License-Identifier: GPL-2.0
4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
5 * DVB-T2 monitor functions
17 {-96000, -95000, -94000, -93000, -92000, -92000, -98000, -97000},
18 {-91000, -89000, -88000, -87000, -86000, -86000, -93000, -92000},
19 {-86000, -85000, -83000, -82000, -81000, -80000, -89000, -88000},
20 {-82000, -80000, -78000, -76000, -75000, -74000, -86000, -84000},
32 return -EINVAL; in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
34 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
35 return -EINVAL; in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
[all …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
/linux/drivers/media/dvb-frontends/
H A Dstv0367.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Driver for ST STV0367 DVB-T & DVB-C demodulator IC.
39 /* DVB-C */
58 /* DVB-T */
65 enum fe_spectral_inversion sense; /* current search spectrum */ member
84 /* DVB-C */
86 /* DVB-T */
98 /* RF Level (for RF AGC->AGC1) Lookup Table, depends on the board and tuner.*/
110 /* RF Level (for IF AGC->AGC2) Lookup Table, depends on the board and tuner.*/
126 .addr = state->config->demod_address, in stv0367_writereg()
[all …]
/linux/drivers/opp/
H A Dof.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
34 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node()
35 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node()
41 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node()
50 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp()
55 if (opp_table->np == np) { in _managed_opp()
58 * so will have same node-pointer, np. in _managed_opp()
61 * OPP table contains a "opp-shared" property. in _managed_opp()
63 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) { in _managed_opp()
[all …]
/linux/drivers/video/fbdev/
H A Dcirrusfb.c2 * drivers/video/cirrusfb.c - driver for Cirrus Logic chipsets
4 * Copyright 1999-2001 Jeff Garzik <jgarzik@pobox.com>
29 * Format this code with GNU indent '-kr -i8 -pcs' options.
103 * per-board-type information, used for enumerating and abstracting
104 * chip-specific information
108 * is required at runtime. Maybe separate into an init-only and
109 * a run-time table?
114 /* for 1/4bpp, 8bpp 15/16bpp, 24bpp, 32bpp - numbers from xorg code */
262 CHIP(PCI_DEVICE_ID_CIRRUS_5430, BT_ALPINE), /* GD-5440 is same id */
375 /*--- Interface used by the world ------------------------------------------*/
[all …]
/linux/arch/x86/events/amd/
H A Dbrs.c1 // SPDX-License-Identifier: GPL-2.0
24 rsvd4_3:2,/* reserved - must be 0x3 */
83 u64 type = event->attr.branch_sample_type; in amd_brs_setup_filter()
87 return -EOPNOTSUPP; in amd_brs_setup_filter()
91 return -EINVAL; in amd_brs_setup_filter()
98 return (e->hw.config & AMD64_RAW_EVENT_MASK) == AMD_FAM19H_BRS_EVENT; in amd_is_brs_event()
110 return -EINVAL; in amd_brs_hw_config()
114 * lbr_nr entries have been captured, it does not make sense in amd_brs_hw_config()
136 return -EINVAL; in amd_brs_hw_config()
142 if (event->attr.freq) in amd_brs_hw_config()
[all …]

12345