/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/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/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/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/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/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/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-spb4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SPB - Seat Power Box 11 /dts-v1/; 19 stdout-path = &uart0; 27 gpio-leds { 28 compatible = "gpio-leds"; 29 pinctrl-0 = <&pinctrl_leds_debug>; 30 pinctrl-names = "default"; 32 led-debug { 35 linux,default-trigger = "heartbeat"; [all …]
|
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-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 …]
|
/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/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/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/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/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/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->de in snd_vt1724_ac97_ready() [all...] |
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-bonnell.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,bonnell-bmc", "aspeed,ast2600"; 23 stdout-path = &uart5; 32 reserved-memory { 33 #address-cells = <1>; [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 73 rt2x00_err(rt2x00dev, "MCU request failed, no response from hardware\n"); in rt2800pci_mcu_status() 79 static void rt2800pci_eepromregister_read(struct eeprom_93cx6 *eeprom) in rt2800pci_eepromregister_read() argument 81 struct rt2x00_dev *rt2x00dev = eeprom->data; in rt2800pci_eepromregister_read() 86 eeprom->reg_data_in = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_IN); in rt2800pci_eepromregister_read() 87 eeprom->reg_data_out = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_OUT); in rt2800pci_eepromregister_read() 88 eeprom->reg_data_clock = in rt2800pci_eepromregister_read() 90 eeprom->reg_chip_select = in rt2800pci_eepromregister_read() 94 static void rt2800pci_eepromregister_write(struct eeprom_93cx6 *eeprom) in rt2800pci_eepromregister_write() argument [all …]
|
/linux/drivers/media/common/ |
H A D | tveeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * tveeprom - eeprom decoder for tvcard configuration eeproms 5 * Data and decoding routines shamelessly borrowed from bttv-cards.c 6 * eeprom access routine shamelessly borrowed from bttv-if.c 9 Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 10 & Marcus Metzler (mocm@thp.uni-koeln.de) 11 (c) 1999-2001 Gerd Knorr <kraxel@goldbach.in-berlin.de> 31 #include <media/v4l2-common.h> 33 MODULE_DESCRIPTION("i2c Hauppauge eeprom decoder driver"); 42 * The Hauppauge eeprom uses an 8bit field to determine which [all …]
|
/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/drivers/media/pci/saa7164/ |
H A D | saa7164-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> 17 * and keep the -i2c.c implementation clean. 42 .name = "Hauppauge WinTV-HVR2200", 53 .name = "4K EEPROM", 60 .name = "TDA18271-1", 67 .name = "TDA18271-2", 74 .name = "TDA10048-1", 81 .name = "TDA10048-2", 88 .name = "Hauppauge WinTV-HVR2200", [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. */
|