/Linux-v6.1/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 1 // SPDX-License-Identifier: ISC 7 #include <linux/mtd/mtd.h> 8 #include <linux/mtd/partitions.h> 15 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom() 16 struct mtd_info *mtd; in mt76_get_of_eeprom() local 26 return -ENOENT; in mt76_get_of_eeprom() 28 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom() 31 return -EINVAL; in mt76_get_of_eeprom() 38 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_eeprom() 40 return -ENOENT; in mt76_get_of_eeprom() [all …]
|
D | testmode.h | 1 /* SPDX-License-Identifier: ISC */ 13 * enum mt76_testmode_attr - testmode attributes inside NL80211_ATTR_TESTDATA 20 * @MT76_TM_ATTR_MTD_PART: mtd partition used for eeprom data (string) 21 * @MT76_TM_ATTR_MTD_OFFSET: offset of eeprom data within the partition (u32) 37 * @MT76_TM_ATTR_TX_POWER: per-antenna tx power array (nested, u8 attrs) 46 * @MT76_TM_ATTR_TX_IPG: tx inter-packet gap, in unit of us (u32) 92 MT76_TM_ATTR_MAX = NUM_MT76_TM_ATTRS - 1, 96 * enum mt76_testmode_state - statistics attributes 121 MT76_TM_STATS_ATTR_MAX = NUM_MT76_TM_STATS_ATTRS - 1, 126 * enum mt76_testmode_rx_attr - packet rx information [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/wireless/ |
D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 5 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Felix Fietkau <nbd@nbd.name> 13 - Lorenzo Bianconi <lorenzo@kernel.org> 14 - Ryder Lee <ryder.lee@mediatek.com> 24 - $ref: ieee80211.yaml# 29 - mediatek,mt76 30 - mediatek,mt7628-wmac [all …]
|
/Linux-v6.1/drivers/mtd/maps/ |
D | pismo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PISMO memory driver - http://www.pismoworld.org/ 14 #include <linux/mtd/physmap.h> 15 #include <linux/mtd/plat-ram.h> 16 #include <linux/mtd/pismo.h> 52 struct i2c_client *client = to_i2c_client(pdev->dev.parent); in pismo_set_vpp() 55 pismo->vpp(pismo->vpp_data, on); in pismo_set_vpp() 72 .addr = client->addr, in pismo_eeprom_read() 76 .addr = client->addr, in pismo_eeprom_read() 83 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in pismo_eeprom_read() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 depends on MTD!=n 7 bool "Support non-linear mappings of flash chips" 21 with config options or at run-time. 79 bool "Baikal-T1 Boot ROMs OF-based physical memory map handling" 86 This provides some extra DT physmap parsing for the Baikal-T1 87 platforms, some detection and setting up ROMs-specific accessors. 90 bool "ARM Versatile OF-based physical memory map handling" 100 bool "Cortina Gemini OF-based physical memory map handling" 111 bool "Intel IXP4xx OF-based physical memory map handling" [all …]
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt7601u/ |
D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/mtd/mtd.h> 9 #include <linux/mtd/partitions.h> 13 #include "eeprom.h" 47 return -ETIMEDOUT; in mt7601u_efuse_read() 51 /* Parts of eeprom not in the usage map (0x80-0xc0,0xf0) in mt7601u_efuse_read() 87 cnt_free = end - start + 1; in mt7601u_efuse_physical_size_check() 89 if (MT_EFUSE_USAGE_MAP_SIZE - cnt_free < 5) { in mt7601u_efuse_physical_size_check() 90 …dev_err(dev->dev, "Error: your device needs default EEPROM file and this driver doesn't support it… in mt7601u_efuse_physical_size_check() 91 return -EINVAL; in mt7601u_efuse_physical_size_check() [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 This driver supports 10-gigabit Ethernet cards based on 14 will be called sfc-falcon. 16 bool "Solarflare SFC4000 MTD support" 17 depends on SFC_FALCON && MTD && !(SFC_FALCON=y && MTD=m) 20 This exposes the on-board flash and/or EEPROM as MTD devices
|
D | falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2006-2013 Solarflare Communications Inc. 134 (*(u32 *)((efx)->stats_buffer.addr + XgDmaDone_offset)) 139 /* 48-bit stats are zero-padded to 64 on DMA */ \ 199 [0 ... BITS_TO_LONGS(FALCON_STAT_COUNT) - 1] = ~0UL, 216 #define SPI_STATUS_WPEN 0x80 /* Write-protect pin enabled */ 225 * Non-volatile memory layout 231 * 0-0x400 chip and board config (see struct falcon_nvconfig) 232 * 0x400-0x8000 unused (or may contain VPD if EEPROM not present) [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/siena/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 This driver supports 10-gigabit Ethernet cards based on 13 will be called sfc-siena. 15 bool "Solarflare SFC9000-family MTD support" 16 depends on SFC_SIENA && MTD && !(SFC_SIENA=y && MTD=m) 19 This exposes the on-board flash and/or EEPROM as MTD devices 23 bool "Solarflare SFC9000-family hwmon support" 27 This exposes the on-board firmware-managed sensors as a 30 bool "Solarflare SFC9000-family SR-IOV support" 38 bool "Solarflare SFC9000-family MCDI logging support" [all …]
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/mtd/mtd.h> 11 #include <linux/mtd/partitions.h> 15 #include "eeprom.h" 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() 41 "driver does not support default EEPROM\n"); 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() [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "Solarflare SFC9100/EF100-family support" 26 This driver supports 10/40-gigabit Ethernet cards based on 27 the Solarflare SFC9100-family controllers. 29 It also supports 10/25/40/100-gigabit Ethernet cards based 35 bool "Solarflare SFC9100-family MTD support" 36 depends on SFC && MTD && !(SFC=y && MTD=m) 39 This exposes the on-board flash and/or EEPROM as MTD devices 43 bool "Solarflare SFC9100-family hwmon support" 47 This exposes the on-board firmware-managed sensors as a [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | bcm53016-meraki-mr32.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (C) 2018-2020 Christian Lamparter <chunkeey@gmail.com> 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 33 compatible = "gpio-leds"; 39 panic-indicator; 49 compatible = "gpio-keys"; 51 button-restart { 58 pwm-leds { [all …]
|
D | orion5x-lacie-ethernet-disk-mini-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 * TODO: add power-off support. 8 * TODO: add I2C EEPROM support. 11 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include "orion5x-mv88f5182.dtsi" 20 compatible = "lacie,ethernet-disk-mini-v2", "marvell,orion5x-88f5182", "marvell,orion5x"; [all …]
|
D | am335x-moxa-uc-2100-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018 MOXA Inc. - https://www.moxa.com/ 13 vbat: vbat-regulator { 14 compatible = "regulator-fixed"; 18 vmmcsd_fixed: vmmcsd-regulator { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmmcsd_fixed"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 23 regulator-boot-on; [all …]
|
D | orion5x-lacie-d2-network.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include "orion5x-mv88f5182.dtsi" 16 compatible = "lacie,d2-network", "marvell,orion5x-88f5182", "marvell,orion5x"; 25 stdout-path = &uart0; 34 gpio-keys { [all …]
|
/Linux-v6.1/drivers/nvmem/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES... 33 calibration data required for the PCIe or the USB-C PHY. 36 be called nvmem-apple-efuses. 39 tristate "Broadcom On-Chip OTP Controller support" 48 will be called nvmem-bcm-ocotp. 67 will be called nvmem-imx-iim. 70 tristate "i.MX 6/7/8 On-Chip OTP Controller support" 74 This is a driver for the On-Chip OTP Controller (OCOTP) available on 75 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable [all …]
|
/Linux-v6.1/drivers/mtd/devices/ |
D | pmc551.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * implements this PCI Ram device as an MTD (Memory Technology 49 * Most of the MTD code for this driver was originally written 50 * for the slram.o module in the MTD drivers package which 51 * allows the mapping of system memory into an MTD device. 93 #include <linux/mtd/mtd.h> 132 static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len, 135 static int pmc551_erase(struct mtd_info *mtd, struct erase_info *instr) in pmc551_erase() argument 137 struct mypriv *priv = mtd->priv; in pmc551_erase() 145 printk(KERN_DEBUG "pmc551_erase(pos:%ld, len:%ld)\n", (long)instr->addr, in pmc551_erase() [all …]
|
/Linux-v6.1/arch/arm/mach-davinci/ |
D | board-dm355-leopard.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on board-dm355-evm.c 11 #include <linux/mtd/mtd.h> 12 #include <linux/mtd/partitions.h> 13 #include <linux/mtd/rawnand.h> 18 #include <linux/spi/eeprom.h> 19 #include <linux/platform_data/i2c-davinci.h> 20 #include <linux/platform_data/mmc-davinci.h> 21 #include <linux/platform_data/mtd-davinci.h> 22 #include <linux/platform_data/usb-davinci.h> [all …]
|
D | board-dm355-evm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/mtd/mtd.h> 14 #include <linux/mtd/partitions.h> 15 #include <linux/mtd/rawnand.h> 24 #include <linux/spi/eeprom.h> 25 #include <linux/platform_data/gpio-davinci.h> 26 #include <linux/platform_data/i2c-davinci.h> 27 #include <linux/platform_data/mtd-davinci.h> 28 #include <linux/platform_data/mmc-davinci.h> 29 #include <linux/platform_data/usb-davinci.h> [all …]
|
/Linux-v6.1/arch/powerpc/boot/dts/fsl/ |
D | mvme2500.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A. 11 /include/ "p2020si-pre.dtsi" 43 eeprom@54 { 48 eeprom@52 { 53 eeprom@53 { 58 eeprom@50 { 66 fsl,espi-num-chipselects = <2>; 69 compatible = "atmel,at25df641", "jedec,spi-nor"; 71 spi-max-frequency = <10000000>; [all …]
|
/Linux-v6.1/arch/powerpc/boot/dts/ |
D | pdm360ng.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009 - 2010 DENX Software Engineering. 17 #address-cells = <1>; 18 #size-cells = <1>; 19 interrupt-parent = <&ipic>; 27 bank-width = <0x1>; 41 compatible = "amd,s29gl01gp", "cfi-flash"; 44 #address-cells = <1>; 45 #size-cells = <1>; 46 bank-width = <4>; [all …]
|
D | pcm032.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * phyCORE-MPC5200B-IO (pcm032) board Device Tree Source 5 * Copyright (C) 2006-2009 Pengutronix 11 &gpt0 { fsl,has-wdt; }; 12 &gpt2 { gpio-controller; }; 13 &gpt3 { gpio-controller; }; 14 &gpt4 { gpio-controller; }; 15 &gpt5 { gpio-controller; }; 16 &gpt6 { gpio-controller; }; 17 &gpt7 { gpio-controller; }; [all …]
|
/Linux-v6.1/arch/mips/boot/dts/ralink/ |
D | gardena_smart_gateway_mt7688.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 14 compatible = "gardena,smart-gateway-mt7688", "ralink,mt7688a-soc", 15 "ralink,mt7628a-soc"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinmux_gpio_gpio>; /* GPIO11 */ [all …]
|
/Linux-v6.1/arch/arm/mach-omap1/ |
D | board-osk.c | 2 * linux/arch/arm/mach-omap1/board-osk.c 39 #include <linux/mtd/mtd.h> 40 #include <linux/mtd/partitions.h> 41 #include <linux/mtd/physmap.h> 43 #include <linux/platform_data/gpio-omap.h> 45 #include <linux/soc/ti/omap1-io.h> 47 #include <asm/mach-types.h> 59 #define OMAP_GPIO_LABEL "gpio-0-15" 65 * alternate pin configurations for hardware-controlled blinking. 76 /* bootloader (U-Boot, etc) in first sector */ [all …]
|
/Linux-v6.1/arch/arm/mach-s3c/ |
D | mach-mini2440.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // Based on mach-anubis.c by Ben Dooks <ben@simtec.co.uk> 33 #include <linux/platform_data/fb-s3c2410.h> 34 #include <asm/mach-types.h> 36 #include "regs-gpio.h" 37 #include <linux/platform_data/leds-s3c24xx.h> 39 #include "gpio-samsung.h" 40 #include <linux/platform_data/mtd-nand-s3c2410.h> 41 #include <linux/platform_data/i2c-s3c2410.h> 42 #include <linux/platform_data/mmc-s3cmci.h> [all …]
|