| /linux/Documentation/devicetree/bindings/iio/dac/ | 
| H A D | adi,ad5755.yaml | 1 # 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 D | redboot.h | 1 /* 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 D | iqs269a.yaml | 1 # 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 D | iqs626a.yaml | 1 # 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 D | azoteq,iqs7222.yaml | 1 # 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 D | macboing.c | 1 // 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 D | ttusbdecfe.c | 1 // 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 D | x-powers,axp152.yaml | 1 # 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 D | max98927.c | 1 // 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 D | cs42l42.c | 1 // 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 D | cs42l43.c | 1 // 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->componen in CS42L43_IRQ_ERROR()  1305 unsigned int freq; global()  member  1319 cs42l43_set_pll(struct cs42l43_codec * priv,unsigned int src,unsigned int freq) cs42l43_set_pll()  argument  1358 unsigned int freq = priv->refclk_freq; cs42l43_enable_pll()  local  2114 cs42l43_set_sysclk(struct snd_soc_component * component,int clk_id,int src,unsigned int freq,int dir) cs42l43_set_sysclk()  argument  [all...] | 
| /linux/drivers/scsi/ | 
| H A D | wd33c93.c | 1 // 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 D | rx.c | 1 // 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/cpufreq/ | 
| H A D | spear-cpufreq.c | 2  * 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", 180 		return -ENODEV;  in spear_cpufreq_probe() 183 	if (of_property_read_u32(np, "clock-latency",  in spear_cpufreq_probe() 190 		ret = -ENODEV;  in spear_cpufreq_probe() 196 		ret = -ENOMEM;  in spear_cpufreq_probe() [all …] 
 | 
| /linux/drivers/pwm/ | 
| H A D | pwm-meson.c | 1 // 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> 137 	struct meson_pwm_channel *channel = &meson->channels[pwm->hwpwm];  in meson_pwm_request() 141 	err = clk_prepare_enable(channel->clk);  in meson_pwm_request() 144 			__clk_get_name(channel->clk), err);  in meson_pwm_request() 154 	struct meson_pwm_channel *channel = &meson->channels[pwm->hwpwm];  in meson_pwm_free() 156 	clk_disable_unprepare(channel->clk);  in meson_pwm_free() [all …] 
 | 
| /linux/drivers/media/dvb-frontends/cxd2880/ | 
| H A D | cxd2880_tnrdmd_dvbt2_mon.c | 1 // 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 …] 
 | 
| H A D | cxd2880_top.c | 1 // SPDX-License-Identifier: GPL-2.0 4  * Sony CXD2880 DVB-T2/T tuner + demodulator driver 52 		return -EINVAL;  in cxd2880_pre_bit_err_t() 54 	if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB)  in cxd2880_pre_bit_err_t() 55 		return -EINVAL;  in cxd2880_pre_bit_err_t() 57 	if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE)  in cxd2880_pre_bit_err_t() 58 		return -EINVAL;  in cxd2880_pre_bit_err_t() 60 	if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT)  in cxd2880_pre_bit_err_t() 61 		return -EINVAL;  in cxd2880_pre_bit_err_t() 67 	ret = tnrdmd->io->write_reg(tnrdmd->io,  in cxd2880_pre_bit_err_t() [all …] 
 | 
| /linux/Documentation/devicetree/bindings/input/touchscreen/ | 
| H A D | azoteq,iqs7211.yaml | 1 # 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 D | stv0367.c | 1 // 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/iio/dac/ | 
| H A D | ad5755.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3  * AD5755, AD5755-1, AD5757, AD5735, AD5737 Digital to analog converters driver 128  * struct ad5755_platform_data - AD5755 DAC driver platform data 129  * @ext_dc_dc_compenstation_resistor: Whether an external DC-DC converter 131  * @dc_dc_phase: DC-DC converter phase. 132  * @dc_dc_freq: DC-DC converter frequency. 133  * @dc_dc_maxv: DC-DC maximum allowed boost voltage. 136  * @dac.ext_current_sense_resistor: Whether an external current sense resistor 162  * struct ad5755_chip_info - chip specific information 174  * struct ad5755_state - driver instance specific data [all …] 
 | 
| /linux/drivers/video/fbdev/ | 
| H A D | cirrusfb.c | 2  * 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/drivers/dpll/zl3073x/ | 
| H A D | dpll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28  * struct zl3073x_dpll_pin - DPLL pin 65  * zl3073x_dpll_is_input_pin - check if the pin is input one 73 	return pin->dir == DPLL_PIN_DIRECTION_INPUT;  in zl3073x_dpll_is_input_pin() 77  * zl3073x_dpll_is_p_pin - check if the pin is P-pin 80  * Return: true if the pin is P-pin, false if it is N-pin 85 	return zl3073x_is_p_pin(pin->id);  in zl3073x_dpll_is_p_pin() 96 	*direction = pin->dir;  in zl3073x_dpll_pin_direction_get() 102  * zl3073x_dpll_input_ref_frequency_get - get input reference frequency 115 	struct zl3073x_dev *zldev = zldpll->dev;  in zl3073x_dpll_input_ref_frequency_get() [all …] 
 | 
| /linux/drivers/net/wireless/ath/ath6kl/ | 
| H A D | wmi.c | 2  * Copyright (c) 2004-2011 Atheros Communications Inc. 3  * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 111 /* 802.1d to AC mapping. Refer pg 57 of WMM-test-plan-v1.2 */ 128 	wmi->ep_id = ep_id;  in ath6kl_wmi_set_control_ep() 133 	return wmi->ep_id;  in ath6kl_wmi_get_control_ep() 140 	if (WARN_ON(if_idx > (ar->vif_max - 1)))  in ath6kl_get_vif_by_index() 144 	spin_lock_bh(&ar->list_lock);  in ath6kl_get_vif_by_index() 145 	list_for_each_entry(vif, &ar->vif_list, list) {  in ath6kl_get_vif_by_index() 146 		if (vif->fw_vif_idx == if_idx) {  in ath6kl_get_vif_by_index() 151 	spin_unlock_bh(&ar->list_lock);  in ath6kl_get_vif_by_index() [all …] 
 | 
| /linux/drivers/media/tuners/ | 
| H A D | xc2028.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // Copyright (c) 2007-2008 Mauro Carvalho Chehab <mchehab@kernel.org> 7 //       - frontend interface 18 #include "tuner-i2c.h" 20 #include "xc2028-types.h" 28 /* Registers (Write-only) */ 33 /* Registers (Read-only) */ 125 	_rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size);		\ 129 	if (priv->ctrl.msleep)						\ 130 		msleep(priv->ctrl.msleep);				\ [all …] 
 | 
| /linux/drivers/net/wireless/ath/ath9k/ | 
| H A D | ar9003_phy.c | 2  * Copyright (c) 2010-2011 Atheros Communications Inc. 39 	{ -4, -2,  0,  2,  4,  6,  8, 10, 12 }; /* lvl 0-8, default 2 */ 43 	{ -6, -4, -2,  0,  2,  4,  6,  8 };     /* lvl 0-7, default 3 */ 125  * ar9003_hw_set_channel - set channel on single-chip device 129  * This is the function to change channel on single-chip devices, that is 152 	u32 freq, chan_frac, div, channelSel = 0, reg32 = 0;  in ar9003_hw_set_channel()  local 157 	freq = centers.synth_center;  in ar9003_hw_set_channel() 159 	if (freq < 4800) {     /* 2 GHz, fractional mode */  in ar9003_hw_set_channel() 163 			if (ah->is_clk_25mhz)  in ar9003_hw_set_channel() 168 			channelSel = (freq * 4) / div;  in ar9003_hw_set_channel() [all …] 
 |