/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 …]
|
/linux/drivers/cpufreq/ |
H A D | cpufreq_ondemand.c | 1 // 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 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", 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 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/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> 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 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)"); 94 /* Did we receive hotplug and rx-sense signals? */ 127 static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq); [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/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/arch/x86/events/amd/ |
H A D | brs.c | 1 // 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 …]
|
/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/can/softing/ |
H A D | softing_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2010 5 * - Kurt Van Dijck, EIA Electronics 15 #define TX_ECHO_SKB_MAX (((TXMAX+1)/2)-1) 27 return (can->state <= CAN_STATE_ERROR_PASSIVE); in canif_is_active() 33 if (card->pdat->generation >= 2) { in softing_set_reset_dpram() 34 spin_lock_bh(&card->spin); in softing_set_reset_dpram() 35 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) & ~1, in softing_set_reset_dpram() 36 &card->dpram[DPRAM_V2_RESET]); in softing_set_reset_dpram() 37 spin_unlock_bh(&card->spin); in softing_set_reset_dpram() [all …]
|