/Linux-v5.10/Documentation/devicetree/bindings/iio/dac/ |
D | ad5755.txt | 1 * Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver 4 - compatible: Has to contain one of the following: 6 adi,ad5755-1 11 - reg: spi chip select number for the device 12 - spi-cpha or spi-cpol: is the only modes that is supported 15 - spi-max-frequency: Definition as per 16 Documentation/devicetree/bindings/spi/spi-bus.txt 19 See include/dt-bindings/iio/ad5755.h 20 - adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an 23 - adi,dc-dc-phase: [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
/Linux-v5.10/arch/powerpc/boot/ |
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-v5.10/arch/m68k/mac/ |
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) 27 * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric) 31 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 44 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */ 75 * this makes no sense here, because we have to set the default sample in mac_init_asc() 78 switch ( macintosh_config->ident ) in mac_init_asc() 106 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc() [all …]
|
/Linux-v5.10/drivers/media/usb/ttusb-dec/ |
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 = (struct ttusbdecfe_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-v5.10/sound/soc/codecs/ |
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 141 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt() 148 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98927_dai_set_fmt() 155 max98927->master = 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, in max98927_dai_set_fmt() 175 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98927_dai_set_fmt() [all …]
|
D | cs42l42.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l42.c -- CS42L42 ALSA SoC audio driver 32 #include <sound/soc-dapm.h> 35 #include <dt-bindings/sound/cs42l42.h> 403 static DECLARE_TLV_DB_SCALE(adc_tlv, -9600, 100, false); 404 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6200, 100, false); 448 SOC_ENUM("HPF Corner Freq", cs42l42_hpf_freq_enum), 449 SOC_ENUM("WNF 3dB Freq", cs42l42_wnf3_freq_enum), 450 SOC_ENUM("WNF 05dB Freq", cs42l42_wnf05_freq_enum), 467 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs42l42_hpdrv_evt() [all …]
|
/Linux-v5.10/drivers/cpufreq/ |
D | cpufreq_ondemand.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/percpu-defs.h> 20 /* On-demand governor macros */ 57 * Find right freq to be set now with powersave_bias on. 68 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target() 70 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target() 71 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in generic_powersave_bias_target() 72 struct cpufreq_frequency_table *freq_table = policy->freq_table; in generic_powersave_bias_target() 75 dbs_info->freq_lo = 0; in generic_powersave_bias_target() 76 dbs_info->freq_lo_delay_us = 0; in generic_powersave_bias_target() [all …]
|
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", 182 return -ENODEV; in spear_cpufreq_probe() 185 if (of_property_read_u32(np, "clock-latency", in spear_cpufreq_probe() 190 if (!prop || !prop->value) { in spear_cpufreq_probe() 192 ret = -ENODEV; in spear_cpufreq_probe() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/temperature/ |
D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 19 - adi,ltc2983 27 adi,mux-delay-config-us: 38 adi,filter-notch-freq: [all …]
|
/Linux-v5.10/drivers/net/wireless/ti/wl1251/ |
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-v5.10/drivers/media/i2c/ |
D | ad9389b.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * REF_01 - Analog Devices, Programming Guide, AD9889B/AD9389B, 21 #include <linux/v4l2-dv-timings.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-common.h> 24 #include <media/v4l2-dv-timings.h> 25 #include <media/v4l2-ctrls.h> 30 MODULE_PARM_DESC(debug, "debug level (0-2)"); 75 /* Did we receive hotplug and rx-sense signals? */ 95 static int ad9389b_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq); [all …]
|
D | adv7511-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This file is named adv7511-v4l2.c so it doesn't conflict with the Analog 23 #include <linux/v4l2-dv-timings.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-dv-timings.h> 33 MODULE_PARM_DESC(debug, "debug level (0-2)"); 100 /* Did we receive hotplug and rx-sense signals? */ 130 static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq); [all …]
|
/Linux-v5.10/drivers/scsi/ |
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-v5.10/Documentation/devicetree/bindings/mfd/ |
D | axp20x.txt | 4 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 …]
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-ibm_iic.c | 1 // 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 44 #include "i2c-ibm_iic.h" 70 # define DBG(f,x...) printk(KERN_DEBUG "ibm-iic" f, ##x) 82 volatile struct iic_regs __iomem *iic = dev->vaddr; in dump_iic_regs() 83 printk(KERN_DEBUG "ibm-iic%d: %s\n", dev->idx, header); in dump_iic_regs() [all …]
|
/Linux-v5.10/drivers/media/dvb-frontends/cxd2880/ |
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 …]
|
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-v5.10/drivers/net/wan/lmc/ |
D | lmc_ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (c) 1997-2000 LAN Media Corporation (LMC) 11 * Andrew Stanley-Jones (asj@cban.com) 14 * Matt Thomas (matt@3am-software.com). 30 #define LMC_CARDTYPE_UNKNOWN -1 82 #define LMC_GEP_HSSI_ST 0x04 /* 2: receive timing sense (deprecated) */ 88 #define LMC_GEP_SSI_GENERATOR 0x04 /* 2: enable prog freq gen serial i/f */ 161 #define LMC_MII16_SSI_CRC 0x1000 /* CRC select - RW */ 185 #define LMC_MII16_T1_RST 0x0008 /* T1 chip reset - RW */ 186 #define LMC_MII16_T1_Z 0x0010 /* output impedance T1=1, E1=0 output - RW */ [all …]
|
/Linux-v5.10/drivers/media/dvb-frontends/ |
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_writeregs() [all …]
|
/Linux-v5.10/drivers/video/fbdev/ |
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. 102 * per-board-type information, used for enumerating and abstracting 103 * chip-specific information 107 * is required at runtime. Maybe separate into an init-only and 108 * a run-time table? 113 /* for 1/4bpp, 8bpp 15/16bpp, 24bpp, 32bpp - numbers from xorg code */ 261 CHIP(PCI_DEVICE_ID_CIRRUS_5430, BT_ALPINE), /* GD-5440 is same id */ 374 /*--- Interface used by the world ------------------------------------------*/ [all …]
|
/Linux-v5.10/drivers/ide/ |
D | ide-tape.c | 4 * Copyright (C) 1995-1999 Gadi Oxman <gadio@netvision.net.il> 5 * Copyright (C) 2003-2005 Bartlomiej Zolnierkiewicz 8 * of the faculty of electrical engineering in the Technion - Israel's 15 * Documentation/ide/ChangeLog.ide-tape.1995-2002 18 #define DRV_NAME "ide-tape" 61 * After each failed packet command we issue a request sense command and retry 80 * function in ide-tape. There are two cases in which we poll for DSC: 93 * commands are slow. We start from a "fast" frequency - IDETAPE_DSC_MA_FAST 95 * (5 min), we switch it to a lower frequency - IDETAPE_DSC_MA_SLOW (1 min). 133 /* Structures related to the SELECT SENSE / MODE SENSE packet commands. */ [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/ |
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-v5.10/drivers/net/wireless/intersil/prism54/ |
D | isl_ioctl.c | 39 #define KEY_SIZE_WEP104 13 /* 104/128-bit WEP keys */ 40 #define KEY_SIZE_WEP40 5 /* 40/64-bit WEP keys */ 56 * prism54_mib_mode_helper - MIB change mode helper function 62 * mode-dependent mib values and does the mapping of the Linux 77 return -EINVAL; in prism54_mib_mode_helper() 80 priv->iw_mode = iw_mode; in prism54_mib_mode_helper() 105 return -EINVAL; in prism54_mib_mode_helper() 118 * prism54_mib_init - fill MIB cache with defaults 131 .addr = priv->device_psm_buffer in prism54_mib_init() 137 filter = CARD_DEFAULT_FILTER; /* (0) Do not filter un-encrypted data */ in prism54_mib_init() [all …]
|
/Linux-v5.10/drivers/media/tuners/ |
D | tuner-xc2028.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tuner-xc2028 4 // Copyright (c) 2007-2008 Mauro Carvalho Chehab <mchehab@kernel.org> 7 // - frontend interface 18 #include "tuner-i2c.h" 19 #include "tuner-xc2028.h" 20 #include "tuner-xc2028-types.h" 28 /* Registers (Write-only) */ 33 /* Registers (Read-only) */ 125 _rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size); \ [all …]
|