/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/ |
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-v6.1/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 …]
|
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 …]
|
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 28 irq-gpios: 31 Specifies the GPIO connected to the device's active-low RDY output. 33 reset-gpios: [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/Documentation/devicetree/bindings/mfd/ |
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-v6.1/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 142 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt() 149 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98927_dai_set_fmt() 153 max98927->provider = false; in max98927_dai_set_fmt() 157 max98927->provider = true; in max98927_dai_set_fmt() 161 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98927_dai_set_fmt() 162 return -EINVAL; in max98927_dai_set_fmt() 165 regmap_update_bits(max98927->regmap, 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 31 #include <sound/soc-dapm.h> 34 #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 …]
|
/Linux-v6.1/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 …]
|
D | cppc_cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 67 FIE_UNSET = -1, 94 * cppc_scale_freq_workfn - CPPC arch_freq_scale updater for frequency invariance 106 * reach here from hard-irq context), which then schedules a normal work item 119 cpu_data = cppc_fi->cpu_data; in cppc_scale_freq_workfn() 121 if (cppc_get_perf_ctrs(cppc_fi->cpu, &fb_ctrs)) { in cppc_scale_freq_workfn() 126 perf = cppc_perf_from_fbctrs(cpu_data, &cppc_fi->prev_perf_fb_ctrs, in cppc_scale_freq_workfn() 128 cppc_fi->prev_perf_fb_ctrs = fb_ctrs; in cppc_scale_freq_workfn() 131 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn() 137 per_cpu(arch_freq_scale, cppc_fi->cpu) = local_freq_scale; in cppc_scale_freq_workfn() [all …]
|
/Linux-v6.1/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-v6.1/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 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)"); 99 /* Did we receive hotplug and rx-sense signals? */ 129 static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq); [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/drivers/i2c/busses/ |
D | i2c-mlxcpld.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 5 * Copyright (C) 2016-2020 Mellanox Technologies 83 for (i = 0; i < len - len % 4; i += 4) in mlxcpld_i2c_lpc_write_buf() 93 for (i = 0; i < len - len % 4; i += 4) in mlxcpld_i2c_lpc_read_buf() 102 u32 addr = priv->base_addr + offs; in mlxcpld_i2c_read_comm() 127 u32 addr = priv->base_addr + offs; in mlxcpld_i2c_write_comm() 151 * Returns 0 if OK, other - in case of invalid parameters. 159 dev_err(priv->dev, "Incorrect 0 num of messages\n"); in mlxcpld_i2c_check_msg_params() 160 return -EINVAL; in mlxcpld_i2c_check_msg_params() 164 dev_err(priv->dev, "Invalid address 0x%03x\n", in mlxcpld_i2c_check_msg_params() [all …]
|
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-v6.1/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 …]
|
/Linux-v6.1/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-v6.1/drivers/iio/dac/ |
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-v6.1/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. 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-v6.1/arch/x86/events/amd/ |
D | brs.c | 1 // SPDX-License-Identifier: GPL-2.0 24 rsvd4_3:2,/* reserved - must be 0x3 */ 86 u64 type = event->attr.branch_sample_type; in amd_brs_setup_filter() 90 return -EOPNOTSUPP; in amd_brs_setup_filter() 94 return -EINVAL; in amd_brs_setup_filter() 101 return (e->hw.config & AMD64_RAW_EVENT_MASK) == AMD_FAM19H_BRS_EVENT; in amd_is_brs_event() 113 return -EINVAL; in amd_brs_hw_config() 117 * lbr_nr entries have been captured, it does not make sense in amd_brs_hw_config() 139 return -EINVAL; in amd_brs_hw_config() 145 if (event->attr.freq) in amd_brs_hw_config() [all …]
|