/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_calib.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 18 #include "hw-ops.h" 44 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration() 52 currCal->calData->calCountMax); in ar9003_hw_setup_calibration() 58 /* Kick-off cal */ in ar9003_hw_setup_calibration() 77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration() 78 const struct ath9k_percal_data *cur_caldata = currCal->calData; in ar9003_hw_per_calibration() 81 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration() 87 * Accumulate cal measures for active chains in ar9003_hw_per_calibration() 89 cur_caldata->calCollect(ah); in ar9003_hw_per_calibration() [all …]
|
H A D | eeprom_4k.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 23 u16 version = le16_to_cpu(ah->eeprom.map4k.baseEepHeader.version); in ath9k_hw_4k_get_eeprom_ver() 31 u16 version = le16_to_cpu(ah->eeprom.map4k.baseEepHeader.version); in ath9k_hw_4k_get_eeprom_rev() 40 u16 *eep_data = (u16 *)&ah->eeprom.map4k; in __ath9k_hw_4k_fill_eeprom() 54 u16 *eep_data = (u16 *)&ah->eeprom.map4k; in __ath9k_hw_usb_4k_fill_eeprom() 69 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_4k_fill_eeprom() 79 PR_EEP("Chain0 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[0])); in ath9k_dump_4k_modal_eeprom() 80 PR_EEP("Ant. Common Control", le32_to_cpu(modal_hdr->antCtrlCommon)); in ath9k_dump_4k_modal_eeprom() 81 PR_EEP("Chain0 Ant. Gain", modal_hdr->antennaGainCh[0]); in ath9k_dump_4k_modal_eeprom() 82 PR_EEP("Switch Settle", modal_hdr->switchSettling); in ath9k_dump_4k_modal_eeprom() [all …]
|
H A D | eeprom_def.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 49 while (pcdac > ah->originalGain[i] && in ath9k_get_txgain_index() 50 i < (AR9280_TX_GAIN_TABLE_SIZE - 1)) in ath9k_get_txgain_index() 82 u16 version = le16_to_cpu(ah->eeprom.def.baseEepHeader.version); in ath9k_hw_def_get_eeprom_ver() 90 u16 version = le16_to_cpu(ah->eeprom.def.baseEepHeader.version); in ath9k_hw_def_get_eeprom_rev() 99 u16 *eep_data = (u16 *)&ah->eeprom.def; in __ath9k_hw_def_fill_eeprom() 113 u16 *eep_data = (u16 *)&ah->eeprom.def; in __ath9k_hw_usb_def_fill_eeprom() 128 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_def_fill_eeprom() 138 PR_EEP("Chain0 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[0])); in ath9k_def_dump_modal_eeprom() 139 PR_EEP("Chain1 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[1])); in ath9k_def_dump_modal_eeprom() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-b650v3.dts | 5 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "imx6q-bx50v3.dtsi" 49 compatible = "ge,imx6q-b650v3", "advantech,imx6q-ba16", "fsl,imx6q"; 52 stdout-path = &uart3; 55 panel-lvds0 { 56 compatible = "innolux,g121x1-l03"; 58 power-supply = <®_lvds>; 62 remote-endpoint = <&lvds0_out>; 71 lvds0: lvds-channel@0 { [all …]
|
H A D | imx6ull-dhcor-maveo-box.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG 8 * DHCOR PCB number: 578-200 or newer 9 * maveo box PCB number: 525-200 or newer 12 /dts-v1/; 14 #include "imx6ull-dhcor-som.dtsi" 18 compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som", 28 stdout-path = "serial0:115200n8"; 31 reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 32 compatible = "regulator-fixed"; [all …]
|
H A D | imx6ull-uti260b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // Copyright (C) 2022-2024 Sebastian Reichel <sre@kernel.org> 4 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/imx6ul-clock.h> 9 #include <dt-bindings/leds/common.h> 12 model = "UNI-T UTi260B Thermal Camera"; 13 compatible = "uni-t,uti260b", "fsl,imx6ull"; 16 stdout-path = "serial0:115200n8"; [all …]
|
H A D | imx6ulz-bsh-smm-m2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull", "fsl,imx6ulz"; 16 stdout-path = &uart4; 19 usdhc2_pwrseq: usdhc2-pwrseq { 20 compatible = "mmc-pwrseq-simple"; 21 reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpmi_nand>; [all …]
|
H A D | imx6ull-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include "imx6ull-dhcor-som.dtsi" 10 /delete-property/ spi2; 11 /delete-property/ spi3; 28 stdout-path = "serial0:115200n8"; 31 reg_ext_3v3_ref: regulator-ext-3v3-ref { 32 compatible = "regulator-fixed"; 33 regulator-always-on; 34 regulator-max-microvolt = <3300000>; 35 regulator-min-microvolt = <3300000>; [all …]
|
H A D | imx6qdl-var-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Support for Variscite VAR-SOM-MX6 Module 7 * Copyright (C) 2014-2016 Variscite, Ltd. 8 * Author: Donio Ron <ron.d@variscite.com> 12 /dts-v1/; 15 #include <dt-bindings/clock/imx6qdl-clock.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/sound/fsl-imx-audmux.h> 20 model = "Variscite VAR-SOM-MX6 module"; 21 compatible = "variscite,var-som-imx6q", "fsl,imx6q"; [all …]
|
H A D | imx6dl-yapp43-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; 24 num-interpolated-steps = <8>; [all …]
|
H A D | imx6q-pistachio.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/input/input.h> 53 compatible = "nutsboard,imx6q-pistachio", "fsl,imx6q"; 56 stdout-path = &uart4; 64 reg_3p3v: regulator-3p3v { 65 compatible = "regulator-fixed"; 66 regulator-name = "3P3V"; 67 regulator-min-microvolt = <3300000>; [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> 43 p = dev->dfsentry; in fops_to_dfs_file() 44 p += dfops->file_struct_offset; in fops_to_dfs_file() 52 if (bufsize - count) \ 54 bufsize - coun 431 struct b43_lo_calib *cal; loctls_read_file() local [all...] |
H A D | lo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 10 Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> 33 list_for_each_entry(c, &lo->calib_list, list) { in b43_find_lo_calib() 34 if (!b43_compare_bbatt(&c->bbatt, bbatt)) in b43_find_lo_calib() 36 if (!b43_compare_rfatt(&c->rfatt, rfatt)) in b43_find_lo_calib() 44 /* Write the LocalOscillator Control (adjust) value-pair. */ 47 struct b43_phy *phy = &dev->phy; in b43_lo_write() 51 if (unlikely(abs(control->i) > 16 || abs(control->q) > 16)) { in b43_lo_write() 52 b43dbg(dev->wl, "Invalid LO control pair " in b43_lo_write() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 cnt_free = end - start + 1; in mt76x0_efuse_physical_size_check() 39 if (MT_EFUSE_USAGE_MAP_SIZE - cnt_free < 5) { in mt76x0_efuse_physical_size_check() 40 dev_err(dev->mt76.dev, in mt76x0_efuse_physical_size_check() 42 return -EINVAL; in mt76x0_efuse_physical_size_check() 54 dev_dbg(dev->mt76.dev, "2GHz %d 5GHz %d\n", in mt76x0_set_chip_cap() 55 dev->mphy.cap.has_2ghz, dev->mphy.cap.has_5ghz); in mt76x0_set_chip_cap() 57 if (dev->no_2ghz) { in mt76x0_set_chip_cap() 58 dev->mphy.cap.has_2ghz = false; in mt76x0_set_chip_cap() 59 dev_dbg(dev->mt76.dev, "mask out 2GHz support\n"); in mt76x0_set_chip_cap() [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
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# 7 title: Azoteq IQS7222A/B/C/D Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | core.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 16 #include <linux/nvmem-consumer.h> 28 #include "wmi-ops.h" 58 MODULE_PARM_DESC(cryptmode, "Crypto mode: 0-hardware, 1-software"); 474 * or 2x2 160Mhz, long-guard-interval. 525 * 1x1 160Mhz, long-guard-interval. [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | platform-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 am437x-vpfe TI AM437x VPFE 18 aspeed-video Aspeed AST2400 and AST2500 19 atmel-isc ATMEL Image Sensor Controller (ISC) 20 atmel-isi ATMEL Image Sensor Interface (ISI) 24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller 25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller 26 coda-vpu Chips&Media Coda multi-standard codec IP 29 exynos-fimc-is EXYNOS4x12 FIMC-IS (Imaging Subsystem) 30 exynos-fimc-lite EXYNOS FIMC-LITE camera interface [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8dxl-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; 24 stdout-path = &lpuart0; 27 imx8dxl-cm4 { 28 compatible = "fsl,imx8qxp-cm4"; 30 mbox-names = "tx", "rx", "rxdb"; 32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, 34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; 35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>; [all …]
|
/linux/drivers/hid/ |
H A D | hid-nintendo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HID driver for Nintendo Switch Joy-Cons and Pro Controllers 5 * Copyright (c) 2019-2021 Daniel J. Ogorchock <djogorchock@gmail.com> 12 * https://gitlab.com/pjranki/joycon-linux-kernel (Peter Rankin) 16 * hid-wiimote kernel hid driver 17 * hid-logitech-hidpp driver 18 * hid-sony driver 20 * This driver supports the Nintendo Switch Joy-Cons and Pro Controllers. The 31 #include "hid-ids.h" 120 (JC_CAL_USR_LEFT_DATA_END - JC_CAL_USR_LEFT_DATA_ADDR + 1) [all …]
|
/linux/drivers/input/misc/ |
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Azoteq IQS7222A/B/C/D Capacitive Touch Controller 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", [all …]
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | hal_com_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 23 #define REG_MAC_PHY_CTRL 0x002c /* for 92d, DMDP, SMSP, DMSP contrl */ 32 #define REG_GPIO_IO_SEL_2 0x0062 /* RTL8723 WIFI/BT/GPS Multi-Function GPIO Select. */ 33 #define REG_MULTI_FUNC_CTRL 0x0068 /* RTL8723 WIFI/BT/GPS Multi-Function control source. */ 112 /* Format for offset 540h-542h: */ 119 /* |<--Setup--|--Hold------------>| */ 120 /* --------------|---------------------- */ 124 /* Described by Designer Tim and Bruce, 2011-01-14. */ 168 /* By Bruce, 2011-07-18. */ [all …]
|
/linux/drivers/net/wireless/admtek/ |
H A D | adm8211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2004-2007, Michael Wu <flamingice@sourmilk.net> 11 * Much thanks to Infineon-ADMtek for their support of this driver. 76 struct adm8211_priv *priv = eeprom->data; in adm8211_eeprom_register_read() 79 eeprom->reg_data_in = reg & ADM8211_SPR_SDI; in adm8211_eeprom_register_read() 80 eeprom->reg_data_out = reg & ADM8211_SPR_SDO; in adm8211_eeprom_register_read() 81 eeprom->reg_data_clock = reg & ADM8211_SPR_SCLK; in adm8211_eeprom_register_read() 82 eeprom->reg_chip_select = reg & ADM8211_SPR_SCS; in adm8211_eeprom_register_read() 87 struct adm8211_priv *priv = eeprom->data; in adm8211_eeprom_register_write() 90 if (eeprom->reg_data_in) in adm8211_eeprom_register_write() [all …]
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (c) Copyright 2002-2010, Ralink Technology, Inc. 23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || in mt7601u_rf_wr() 25 return -EINVAL; in mt7601u_rf_wr() 26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_rf_wr() 29 mutex_lock(&dev->reg_atomic_mutex); in mt7601u_rf_wr() 32 ret = -ETIMEDOUT; in mt7601u_rf_wr() 44 mutex_unlock(&dev->reg_atomic_mutex); in mt7601u_rf_wr() 47 dev_err(dev->dev, "Error: RF write %02hhx:%02hhx failed:%d!!\n", in mt7601u_rf_wr() 56 int ret = -ETIMEDOUT; in mt7601u_rf_rr() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmdresp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 26 * command in case of Ad-hoc mode. 35 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_cmdresp_error() 40 resp->command, resp->result); in mwifiex_process_cmdresp_error() 42 if (adapter->curr_cmd->wait_q_enabled) in mwifiex_process_cmdresp_error() 43 adapter->cmd_wait_q.status = -1; in mwifiex_process_cmdresp_error() 45 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error() 47 pm = &resp->params.psmode_enh; in mwifiex_process_cmdresp_error() 50 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error() [all …]
|
/linux/sound/soc/codecs/ |
H A D | cs35l34.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l34.c -- CS35l34 ALSA SoC audio driver 28 #include <sound/soc-dapm.h> 48 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */ 235 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() 241 if (priv->tdm_mode) in cs35l34_sdin_event() 242 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event() 245 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event() 248 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event() 254 if (priv->tdm_mode) { in cs35l34_sdin_event() [all …]
|