| /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 | 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/realtek/rtw88/ |
| H A D | rtw8821a.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 12 #include "tx.h" 21 static const s8 lna_gain_table[] = {15, -1, -17, 0, -30, -38}; in rtw8821a_cck_rx_pwr() 32 rx_pwr_all = lna_gain - 2 * vga_idx; in rtw8821a_cck_rx_pwr() 62 /* [31] = 0 --> Page C */ in rtw8821a_iqk_backup_rf() 77 /* [31] = 0 --> Page C */ in rtw8821a_iqk_restore_rf() 90 /* [31] = 0 --> Page C */ in rtw8821a_iqk_restore_afe() 97 /* [31] = 1 --> Page C1 */ in rtw8821a_iqk_restore_afe() 114 /* [31] = 0 --> Page C */ in rtw8821a_iqk_rx_fill() 126 /* [31] = 1 --> Page C1 */ in rtw8821a_iqk_tx_fill() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| 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/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/hamradio/ |
| H A D | scc.c | 6 * Please use z8530drv-utils-3.0 with this version. 7 * ------------------ 15 * SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 * 28 The code is likely to fail, and so your kernel could --- even 38 ! receive. The GPL allows you to use the d r i v e r, NOT the RADIO! ! 40 For non-Amateur-Radio use please note that you might need a special 60 ------------------------------- 62 1994-09-13 started to write the driver, rescued most of my own 71 1995-01-31 changed copyright notice to GPL without limitations. 77 1996-10-05 New semester, new driver... [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. 18 #include <linux/nvmem-consumer.h> 30 #include "wmi-ops.h" 60 MODULE_PARM_DESC(cryptmode, "Crypto mode: 0-hardware, 1-software"); 476 * or 2x2 160Mhz, long-guard-interval. 527 * 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/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2800lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/crc-ccitt.h> 35 MODULE_PARM_DESC(watchdog, "Enable watchdog to recover tx/rx hangs.\n" 87 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 104 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 112 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 136 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 146 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 152 switch (rt2x00dev->chip.rt) { in rt2800_rfcsr_write() 179 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() [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 …]
|
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 30 "station=0x1(default), ap-sta=0x3, station-p2p=0x5, ap-sta-p2p=0x7"); 38 MODULE_PARM_DESC(aggr_ctrl, "usb tx aggregation enable:1, disable:0"); 46 * The following initialization operations are performed - 47 * - Allocate adapter structure 48 * - Save interface specific operations table in adapter 49 * - Call interface specific initialization routine 50 * - Allocate private structures 51 * - Set default adapter structure parameters [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) 56 * - Calibration due to thermal changes (gain_F) [all …]
|