Home
last modified time | relevance | path

Searched +full:no +full:- +full:eeprom (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/OK3568_Linux_fs/u-boot/board/corscience/tricorder/
H A Dtricorder.c11 * SPDX-License-Identifier: GPL-2.0+
22 #include "tricorder-eeprom.h"
34 gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100); in board_init()
40 * get_eeprom - read the eeprom
42 * @eeprom - pointer to a eeprom struct to fill
44 * This function will panic() on wrong EEPROM content
46 static void get_eeprom(struct tricorder_eeprom *eeprom) in get_eeprom() argument
50 if (!eeprom) in get_eeprom()
51 panic("No eeprom given!\n"); in get_eeprom()
68 /* BMS is _not_ set, do the EEPROM check */ in get_eeprom()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dvia-velocity.txt4 - 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;
/OK3568_Linux_fs/kernel/drivers/misc/eeprom/
H A Didt_89hpesx.c7 * Copyright (C) 2016 T-Platforms. All Rights Reserved.
27 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
36 * IDT PCIe-switch NTB Linux driver
39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru>
42 * NOTE of the IDT 89HPESx SMBus-slave interface driver
43 * This driver primarily is developed to have an access to EEPROM device of
44 * IDT PCIe-switches. IDT provides a simple SMBus interface to perform IO-
45 * operations from/to EEPROM, which is located at private (so called Master)
47 * binary sysfs-file in the device directory:
48 * /sys/bus/i2c/devices/<bus>-<devaddr>/eeprom
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A De1000_spi.c6 /*-----------------------------------------------------------------------
18 * This may be interrupted with Ctrl-C if "intr" is true, otherwise it will
31 /* Pre-read the control register */ in e1000_spi_xfer()
38 return -1; in e1000_spi_xfer()
69 din[i >> 3] &= ~((mask << 1) - 1); in e1000_spi_xfer()
89 printf("ERROR: No such e1000 device: e1000#%u\n", bus); in spi_setup_slave()
94 if (hw->eeprom.type != e1000_eeprom_spi) { in spi_setup_slave()
95 E1000_ERR(hw, "No attached SPI EEPROM found!\n"); in spi_setup_slave()
101 E1000_ERR(hw, "No such SPI chip: %u\n", cs); in spi_setup_slave()
105 E1000_ERR(hw, "Only SPI MODE-0 is supported!\n"); in spi_setup_slave()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Deeprom.c5 * SPDX-License-Identifier: GPL-2.0+
9 * Support for read and write access to EEPROM like memory devices. This
10 * includes regular EEPROM as well as FRAM (ferroelectic nonvolaile RAM).
11 * FRAM devices read and write data at bus speed. In particular, there is no
12 * write delay. Also, there is no limit imposed on the number of bytes that can
15 * Use the following configuration options to ensure no unneeded performance
16 * degradation (typical for EEPROM) is incured for FRAM memory:
46 #define EEPROM_PAGE_OFFSET(x) ((x) & (EEPROM_PAGE_SIZE - 1))
49 * for CONFIG_SYS_I2C_EEPROM_ADDR_LEN == 2 (16-bit EEPROM address) offset is
50 * 0x000nxxxx for EEPROM address selectors at n, offset xxxx in EEPROM.
[all …]
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drave-sp-eeprom.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-read.c8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2018 - 2019 Intel Corporation
25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
29 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
30 * Copyright(c) 2018 - 2019 Intel Corporation
50 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
63 #include "iwl-drv.h"
64 #include "iwl-debug.h"
65 #include "iwl-eeprom-read.h"
66 #include "iwl-io.h"
[all …]
H A Diwl-eeprom-parse.c8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved.
10 * Copyright(c) 2018 - 2019 Intel Corporation
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2018 - 2019 Intel Corporation
52 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
64 #include "iwl-drv.h"
65 #include "iwl-modparams.h"
66 #include "iwl-eeprom-parse.h"
68 /* EEPROM offset definitions */
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/em28xx/
H A Dem28xx-i2c.c1 // SPDX-License-Identifier: GPL-2.0+
3 // em28xx-i2c.c - driver for Empia EM2800/EM2820/2840 USB video capture devices
29 #include "tuner-xc2028.h"
30 #include <media/v4l2-common.h>
33 /* ----------------------------------------------------------- */
45 dev_printk(KERN_DEBUG, &dev->intf->dev, \
64 switch (dev->i2c_speed & 0x03) { in em28xx_i2c_timeout()
90 return -EOPNOTSUPP; in em2800_i2c_send_bytes()
92 b2[5] = 0x80 + len - 1; in em2800_i2c_send_bytes()
103 ret = dev->em28xx_write_regs(dev, 4 - len, &b2[4 - len], 2 + len); in em2800_i2c_send_bytes()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Daspeed-bmc-ibm-rainier.dts1 // 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,rainier-bmc", "aspeed,ast2600";
36 stdout-path = &uart5;
45 reserved-memory {
46 #address-cells = <1>;
[all …]
H A Dvf610-zii-spb4.dts1 // 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 Dvf610-zii-ssmb-spu3.dts1 // 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 …]
H A Dimx7d-zii-rmu2.dts1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Deeprom.c2 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 …]
/OK3568_Linux_fs/kernel/Documentation/misc-devices/
H A Deeprom.rst2 Kernel driver eeprom
7 * Any EEPROM chip in the designated address range
9 Prefix: 'eeprom'
11 Addresses scanned: I2C 0x50 - 0x57
28 24C01 1K 0x50 (shadows at 0x51 - 0x57)
29 24C01A 1K 0x50 - 0x57 (Typical device on DIMMs)
30 24C02 2K 0x50 - 0x57
35 24C16 16K 0x50 (additional data at 0x51 - 0x57)
38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37
39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/wireless/
H A Dqca,ath9k.txt8 - compatible: For PCI and PCIe devices this should be an identifier following
13 ID depends on the chipset - see the following (possibly
15 - 0023 for AR5416
16 - 0024 for AR5418
17 - 0027 for AR9160
18 - 0029 for AR9220 and AR9223
19 - 002a for AR9280 and AR9283
20 - 002b for AR9285
21 - 002c for AR2427
22 - 002d for AR9227
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/
H A Dplx9052.h1 /* 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 …]
/OK3568_Linux_fs/kernel/include/media/
H A Dtveeprom.h1 /* 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/
H A Dmisc.c9 * SPDX-License-Identifier: GPL-2.0+
24 /* dram_init must store complete ramsize in gd->ram_size */ in dram_init()
25 gd->ram_size = get_ram_size( in dram_init()
33 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in dram_init_banksize()
34 gd->bd->bi_dram[0].size = gd->ram_size; in dram_init_banksize()
42 * Read ethernet MAC address from EEPROM for DVEVM compatible boards.
60 printf("Read from EEPROM @ 0x%02x failed\n", in dvevm_read_mac_address()
76 val = readl(&davinci_syscfg_regs->cfgchip3); in davinci_emac_mii_mode_sel()
81 writel(val, &davinci_syscfg_regs->cfgchip3); in davinci_emac_mii_mode_sel()
85 * If there is no MAC address in the environment, then it will be initialized
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/mpc8349itx/
H A DREADME1 Freescale MPC8349E-mITX and MPC8349E-mITX-GP Boards
2 ---------------------------------------------------
6 The MPC8349E-mITX and MPC8349E-mITX-GP are reference boards featuring
7 the Freescale MPC8349E processor in a Mini-ITX form factor.
9 The MPC8349E-mITX-GP is an MPC8349E-mITX with the following differences:
11 A) One 8MB on-board flash EEPROM chip, instead of two.
12 B) No SATA controller
13 C) No Compact Flash slot
14 D) No Mini-PCI slot
15 E) No Vitesse 7385 5-port Ethernet switch
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/
H A Dregd.c2 * 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 …]
/OK3568_Linux_fs/u-boot/board/kosagi/novena/
H A Dnovena.c6 * SPDX-License-Identifier: GPL-2.0+
15 #include <asm/arch/imx-regs.h>
19 #include <asm/mach-imx/boot_mode.h>
20 #include <asm/mach-imx/iomux-v3.h>
21 #include <asm/mach-imx/mxc_i2c.h>
22 #include <asm/mach-imx/sata.h>
23 #include <asm/mach-imx/video.h>
89 return -1; in drv_keyboard_init()
113 struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; in board_mmc_getcd()
115 /* There is no CD for a microSD card, assume always present. */ in board_mmc_getcd()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-driver-w1_therm7 (typical -55 degC to 125 degC), if not values will be trimmed
11 master level, refer to Documentation/w1/w1-generic.rst for
17 What: /sys/bus/w1/devices/.../eeprom
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
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/au0828/
H A Dau0828-cards.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
41 * ixgbe_device_supports_autoneg_fc - Check if phy supports autoneg flow
55 switch (hw->phy.media_type) { in ixgbe_device_supports_autoneg_fc()
58 switch (hw->device_id) { in ixgbe_device_supports_autoneg_fc()
64 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_device_supports_autoneg_fc()
74 if (hw->device_id == IXGBE_DEV_ID_X550EM_X_XFI) in ixgbe_device_supports_autoneg_fc()
81 switch (hw->device_id) { in ixgbe_device_supports_autoneg_fc()
102 hw->device_id); in ixgbe_device_supports_autoneg_fc()
108 * ixgbe_setup_fc_generic - Set up flow control
[all …]

12345678910>>...42