/linux/Documentation/devicetree/bindings/net/ |
H A D | via-velocity.txt | 4 - compatible : Should be "via,velocity-vt6110" 5 - reg : Address and length of the io space 6 - interrupts : Should contain the controller interrupt line 9 - no-eeprom : PCI network cards use an external EEPROM to store data. Embedded 10 devices quite often set this data in uboot and do not provide an eeprom. 11 Specify this option if you have no external eeprom. 16 compatible = "via,velocity-vt6110"; 19 no-eeprom;
|
H A D | davicom,dm9000.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Cercueil <paul@crapouillou.net> 18 - description: Address registers 19 - description: Data registers 24 davicom,no-eeprom: 26 description: Configuration EEPROM is not available 28 davicom,ext-phy: 32 reset-gpios: [all …]
|
/linux/drivers/nvmem/ |
H A D | rave-sp-eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * EEPROM driver for RAVE SP 10 #include <linux/mfd/rave-sp.h> 12 #include <linux/nvmem-provider.h> 18 * enum rave_sp_eeprom_access_type - Supported types of EEPROM access 20 * @RAVE_SP_EEPROM_WRITE: EEPROM write 21 * @RAVE_SP_EEPROM_READ: EEPROM read 29 * enum rave_sp_eeprom_header_size - EEPROM command header sizes 31 * @RAVE_SP_EEPROM_HEADER_SMALL: EEPROM header size for "small" devices (< 8K) 32 * @RAVE_SP_EEPROM_HEADER_BIG: EEPROM header size for "big" devices (> 8K) [all …]
|
/linux/drivers/misc/eeprom/ |
H A D | idt_89hpesx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 T-Platforms. All Rights Reserved. 5 * IDT PCIe-switch NTB Linux driver 8 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 11 * NOTE of the IDT 89HPESx SMBus-slave interface driver 12 * This driver primarily is developed to have an access to EEPROM device of 13 * IDT PCIe-switches. IDT provides a simple SMBus interface to perform IO- 14 * operations from/to EEPROM, which is located at private (so called Master) 16 * binary sysfs-file in the device directory: 17 * /sys/bus/i2c/devices/<bus>-<devaddr>/eeprom [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | plx9052.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for the PLX-9052 PCI interface chip 7 * COMEDI - Linux Control and Measurement Device Interface 15 * INTCSR - Interrupt Control/Status register 33 * CNTRL - User I/O, Direct Slave Response, Serial EEPROM, and 55 #define PLX9052_CNTRL_PCI_R_NO_FLUSH BIT(16) /* read no flush mode */ 56 #define PLX9052_CNTRL_PCI_R_NO_WRITE BIT(17) /* read no write mode */ 60 #define PLX9052_CNTRL_EEPROM_MASK (0x1f << 24) /* EEPROM bits */ 61 #define PLX9052_CNTRL_EEPROM_CLK BIT(24) /* EEPROM clock */ 62 #define PLX9052_CNTRL_EEPROM_CS BIT(25) /* EEPROM chip select */ [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2019, 2021, 2024-2025 Intel Corporation 9 #include "iwl-drv.h" 10 #include "iwl-debug.h" 11 #include "iwl-io.h" 12 #include "iwl-prph.h" 13 #include "iwl-csr.h" 16 /* EEPROM offset definitions */ 31 /* corresponding link offsets in EEPROM */ 67 /* SKU Capabilities (actual values from EEPROM definition) */ [all …]
|
/linux/include/media/ |
H A D | tveeprom.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * tveeprom - Contains structures and functions to work with Hauppauge 11 * enum tveeprom_audio_processor - Specifies the type of audio processor 14 * @TVEEPROM_AUDPROC_NONE: No audio processor present 28 * struct tveeprom - Contains the fields parsed from Hauppauge eeproms 38 * @has_MAC_address: 0: no MAC, 1: MAC present, 2: unknown. 94 * tveeprom_hauppauge_analog - Fill struct tveeprom using the contents 95 * of the eeprom previously filled at 98 * @tvee: Struct to where the eeprom parsed data will be filled; 101 * eeprom read from the Hauppauge device. [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | eeprom.c | 2 drivers/net/ethernet/dec/tulip/eeprom.c 5 Written/copyright 1994-2001 by Donald Becker. 20 /* Serial EEPROM section. */ 27 /* Known cards that have old-style EEPROMs. */ 33 0x0004, 0x009E, /* 10baseT-FD */ 35 0x0905, 0x006D, /* 100baseTx-FD */ }}, 38 0x0108, 0x8021, /* 100baseFx-FD */ 40 0x0104, 0x009E, /* 10baseT-FD */ 42 0x0105, 0x006D, /* 100baseTx-FD */ }}, 43 {"Maxtech NX-110", 0, 0, 0xE8, { 0x1e00, 0x0000, 0x0800, 0x0513, [all …]
|
/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // em28xx-i2c.c - driver for Empia EM2800/EM2820/2840 USB video capture devices 20 #include <media/v4l2-common.h> 23 /* ----------------------------------------------------------- */ 35 dev_printk(KERN_DEBUG, &dev->intf->dev, \ 54 switch (dev->i2c_speed & 0x03) { in em28xx_i2c_timeout() 80 return -EOPNOTSUPP; in em2800_i2c_send_bytes() 82 b2[5] = 0x80 + len - 1; in em2800_i2c_send_bytes() 93 ret = dev->em28xx_write_regs(dev, 4 - len, &b2[4 - len], 2 + len); in em2800_i2c_send_bytes() 95 dev_warn(&dev->intf->dev, in em2800_i2c_send_bytes() [all …]
|
/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-ssmb-spu3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SSMB - SPU3 Switch Management Board 7 * SPU - Seat Power Unit 11 * Based on an original 'vf610-twr.dts' which is Copyright 2015, 15 /dts-v1/; 23 stdout-path = &uart0; 31 gpio-leds { 32 compatible = "gpio-leds"; 33 pinctrl-0 = <&pinctrl_leds_debug>; 34 pinctrl-names = "default"; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7d-zii-rmu2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * RMU - Remote Modem Unit 10 /dts-v1/; 11 #include <dt-bindings/thermal/thermal.h> 16 compatible = "zii,imx7d-rmu2", "fsl,imx7d"; 19 stdout-path = &uart2; 22 gpio-leds { 23 compatible = "gpio-leds"; 24 pinctrl-0 = <&pinctrl_leds_debug>; 25 pinctrl-names = "default"; [all …]
|
H A D | imx51-zii-scu2-mezz.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 13 compatible = "zii,imx51-scu2-mezz", "fsl,imx51"; 16 stdout-path = &uart1; 26 mdio-gpio0 = &mdio_gpio; 29 usb_vbus: regulator-usb-vbus { 30 compatible = "regulator-fixed"; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_usb_mmc_reset>; 34 startup-delay-us = <150000>; [all …]
|
H A D | imx51-zii-scu3-esb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 13 compatible = "zii,imx51-scu3-esb", "fsl,imx51"; 16 stdout-path = &uart1; 25 usb_vbus: regulator-usb-vbus { 26 compatible = "regulator-fixed"; 27 regulator-name = "usb_vbus"; 28 regulator-min-microvolt = <5000000>; 29 regulator-max-microvolt = <5000000>; 31 pinctrl-names = "default"; [all …]
|
H A D | imx51-zii-rdu1.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/sound/fsl-imx-audmux.h> 12 compatible = "zii,imx51-rdu1", "fsl,imx51"; 15 stdout-path = &uart1; 25 mdio-gpio0 = &mdio_gpio; 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; 32 clock-frequency = <26000000>; 36 compatible = "gpio-gate-clock"; [all …]
|
/linux/drivers/net/wireless/ath/ |
H A D | regd.c | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 36 #define ATH_2GHZ_CH01_11 REG_RULE(2412-10, 2462+10, 40, 0, 20, 0) 39 #define ATH_2GHZ_CH12_13 REG_RULE(2467-10, 2472+10, 40, 0, 20,\ 41 #define ATH_2GHZ_CH14 REG_RULE(2484-10, 2484+10, 40, 0, 20,\ 46 #define ATH_5GHZ_5150_5350 REG_RULE(5150-10, 5350+10, 80, 0, 30,\ 48 #define ATH_5GHZ_5470_5850 REG_RULE(5470-10, 5850+10, 80, 0, 30,\ 50 #define ATH_5GHZ_5725_5850 REG_RULE(5725-10, 5850+10, 80, 0, 30,\ 122 switch (reg->country_code) { in dynamic_country_user_possible() 207 return reg->current_rd & ~WORLDWIDE_ROAMING_FLAG; in ath_regd_get_eepromRD() [all …]
|
/linux/drivers/media/usb/au0828/ |
H A D | au0828-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "au0828-cards.h" 12 #include "media/v4l2-common.h" 16 /* Because the HVR-950q shares an i2s bus between the cs5340 and the in hvr950q_cs5340_audio() 26 * WARNING: There's a quirks table at sound/usb/quirks-table.h 33 .tuner_type = -1U, 119 switch (dev->boardnr) { in au0828_tuner_callback() 134 return -EINVAL; in au0828_tuner_callback() 147 dev->board.tuner_type = tv.tuner_type; in hauppauge_eeprom() 151 case 72000: /* WinTV-HVR950q (Retail, IR, ATSC/QAM */ in hauppauge_eeprom() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | ahb.c | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 38 struct ath5k_hw *ah = common->priv; in ath5k_ahb_eeprom_read() 39 struct platform_device *pdev = to_platform_device(ah->dev); in ath5k_ahb_eeprom_read() 40 struct ar231x_board_config *bcfg = dev_get_platdata(&pdev->dev); in ath5k_ahb_eeprom_read() 41 u16 *eeprom, *eeprom_end; in ath5k_ahb_eeprom_read() local 43 eeprom = (u16 *) bcfg->radio; in ath5k_ahb_eeprom_read() 44 eeprom_end = ((void *) bcfg->config) + BOARD_CONFIG_BUFSZ; in ath5k_ahb_eeprom_read() 46 eeprom += off; in ath5k_ahb_eeprom_read() 47 if (eeprom > eeprom_end) in ath5k_ahb_eeprom_read() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-w1_therm | 7 (typical -55 degC to 125 degC), if not values will be trimmed 11 master level, refer to Documentation/w1/w1-generic.rst for 22 device data to its embedded EEPROM, either restore data 23 embedded in device EEPROM. Be aware that devices support 24 limited EEPROM writing cycles (typical 50k) 26 * 'save': save device RAM to EEPROM 27 * 'restore': restore EEPROM data in device RAM 41 * '-xx': xx is kernel error when reading power status 54 power is lost. Trigger a 'save' to EEPROM command to keep 55 values after power-on. Read or write are : [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | qca,ath9k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Toke Høiland-Jørgensen <toke@toke.dk> 18 - $ref: ieee80211.yaml# 23 - pci168c,0023 # AR5416 24 - pci168c,0024 # AR5418 25 - pci168c,0027 # AR9160 26 - pci168c,0029 # AR9220 and AR9223 27 - pci168c,002a # AR9280 and AR9283 [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ath9k_pci_owl_loader.c | 1 // SPDX-License-Identifier: ISC 12 * initialize the chip when the user-space is ready to extract the init code. 21 #include <linux/nvmem-consumer.h> 51 dev_err(&pdev->dev, "eeprom has an invalid size.\n"); in ath9k_pci_fixup() 52 return -EINVAL; in ath9k_pci_fixup() 57 dev_err(&pdev->dev, "invalid calibration data\n"); in ath9k_pci_fixup() 58 return -EINVAL; in ath9k_pci_fixup() 61 dev_dbg(&pdev->dev, "calibration data needs swapping\n"); in ath9k_pci_fixup() 65 dev_info(&pdev->dev, "fixup device configuration\n"); in ath9k_pci_fixup() 69 dev_err(&pdev->dev, "ioremap error\n"); in ath9k_pci_fixup() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/cirrus/ |
H A D | cs89x0.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 2.1 CS8900-based Adapter Configuration 34 2.2 CS8920-based Adapter Configuration 46 5.2.1 Diagnostic Self-Test 66 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow 67 IEEE 802.3 standards and support half or full-duplex operation in ISA bus 69 in 16-bit ISA or EISA bus expansion slots and are available in 70 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5 73 CS8920-based adapters are similar to the CS8900-based adapter with additional 85 or loaded at run-time as a device driver module. [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 89 * e1000_set_phy_type - Set the phy type member in the hw struct. 94 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 95 return -E1000_ERR_PHY_TYPE; in e1000_set_phy_type() 97 switch (hw->phy_id) { in e1000_set_phy_type() 103 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 106 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() 107 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type() 108 hw->mac_type == e1000_82547 || in e1000_set_phy_type() [all …]
|
/linux/drivers/atm/ |
H A D | zeprom.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* drivers/atm/zeprom.h - ZeitNet ZN122x EEPROM (NM93C46) declarations */ 23 #define ZEPROM_V1_ESI_OFF 24 /* ESI offset in EEPROM (V1) */ 24 #define ZEPROM_V2_ESI_OFF 4 /* ESI offset in EEPROM (V2) */ 33 /* No other commands are needed. */
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_93cx6.h | 2 * Interface to the 93C46/56 serial EEPROM that is used to store BIOS 16 * substantially similar to the "NO WARRANTY" disclaimer below 20 * 3. Neither the names of the above-listed copyright holders nor the names 28 * NO WARRANTY 32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 68 * This function will read count 16-bit words from the serial EEPROM and 69 * return their value in buf. The port address of the aic7xxx serial EEPROM 73 * CS - Chip select 74 * CK - Clock 75 * DO - Data out [all …]
|
/linux/sound/pci/ice1712/ |
H A D | ice1724.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 86 /* check whether the clock mode is spdif-in */ 97 return (!ice->is_spdif_master(ice)) && PRO_RATE_LOCKED; in is_pro_rate_locked() 116 dev_dbg(ice->card->dev, "snd_vt1724_ac97_ready: timeout\n"); in snd_vt1724_ac97_ready() 126 dev_dbg(ice->card->dev, "snd_vt1724_ac97_wait_bit: timeout\n"); in snd_vt1724_ac97_wait_bit() 127 return -EIO; in snd_vt1724_ac97_wait_bit() 134 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write() 139 old_cmd |= ac97->num; in snd_vt1724_ac97_write() 148 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read() [all …]
|