Home
last modified time | relevance | path

Searched +full:eeprom +full:- +full:merge +full:- +full:otp (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/net/wireless/
H A Dmediatek,mt76.txt11 - "mediatek,mt7628-wmac" for MT7628/MT7688
12 - "mediatek,mt7622-wmac" for MT7622
15 - reg: Address and length of the register set for the device.
16 - interrupts: Main device interrupt
19 - power-domains: phandle to the power domain that the WMAC is part of
20 - mediatek,infracfg: phandle to the infrastructure bus fabric syscon node
24 - ieee80211-freq-limit: See ieee80211.txt
25 - mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data
26 - big-endian: if the radio eeprom partition is written in big-endian, specify
28 - mediatek,eeprom-merge-otp: Merge EEPROM data with OTP data. Can be used on
[all …]
H A Dmediatek,mt76.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 ---
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Deeprom.c1 // SPDX-License-Identifier: ISC
5 #include "eeprom.h"
21 return -ETIMEDOUT; in mt7603_efuse_read()
51 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7603_efuse_init()
52 dev->mt76.otp.size = len; in mt7603_efuse_init()
53 if (!dev->mt76.otp.data) in mt7603_efuse_init()
54 return -ENOMEM; in mt7603_efuse_init()
56 buf = dev->mt76.otp.data; in mt7603_efuse_init()
104 struct device_node *np = dev->mt76.dev->of_node; in mt7603_apply_cal_free_data()
105 u8 *eeprom = dev->mt76.eeprom.data; in mt7603_apply_cal_free_data() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Deeprom.c1 // SPDX-License-Identifier: ISC
13 #include "eeprom.h"
28 return -ETIMEDOUT; in mt7615_efuse_read()
53 if (is_mt7663(&dev->mt76)) in mt7615_efuse_init()
60 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7615_efuse_init()
61 dev->mt76.otp.size = len; in mt7615_efuse_init()
62 if (!dev->mt76.otp.data) in mt7615_efuse_init()
63 return -ENOMEM; in mt7615_efuse_init()
65 buf = dev->mt76.otp.data; in mt7615_efuse_init()
87 ret = mt76_eeprom_init(&dev->mt76, MT7615_EEPROM_FULL_SIZE); in mt7615_eeprom_load()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Deeprom.c1 // SPDX-License-Identifier: ISC
10 #include "eeprom.h"
17 void *src = dev->mt76.eeprom.data + MT_EE_MAC_ADDR; in mt76x2_eeprom_get_macaddr()
19 memcpy(dev->mphy.macaddr, src, ETH_ALEN); in mt76x2_eeprom_get_macaddr()
80 struct device_node *np = dev->mt76.dev->of_node; in mt76x2_apply_cal_free_data()
81 u8 *eeprom = dev->mt76.eeprom.data; in mt76x2_apply_cal_free_data() local
83 eeprom[MT_EE_TX_POWER_0_START_5G], in mt76x2_apply_cal_free_data()
84 eeprom[MT_EE_TX_POWER_0_START_5G + 1], in mt76x2_apply_cal_free_data()
85 eeprom[MT_EE_TX_POWER_1_START_5G], in mt76x2_apply_cal_free_data()
86 eeprom[MT_EE_TX_POWER_1_START_5G + 1] in mt76x2_apply_cal_free_data()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
44 * by the driver - eg, calls to ath_hal_gettsf32().
132 * Only enable this if you're working on PS-POLL support.
240 static int ath_anicalinterval = 100; /* ANI calibration - 100 msec */
269 switch (sc->sc_txqsetup &~ (1<<sc->sc_cabq->axq_qnum)) { in ath_legacy_attach_comp_func()
271 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc_q0, sc); in ath_legacy_attach_comp_func()
274 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc_q0123, sc); in ath_legacy_attach_comp_func()
277 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc, sc); in ath_legacy_attach_comp_func()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Dreg_addr.h2 * Copyright (c) 2017-2018 Cavium, Inc.
78- For ending "endless completion". 0 - When receiving a completion timeout while receiving a compl…
79 … DataWidth:0x4 // 0 - TXCPL sync fifo pop underflow 1 - TXR sync fifo pop underflow 2 - TXW hea…
80 …s:R DataWidth:0x6 // 0 - RX target read and config sync fifo push overflow 1 - RX header syn…
81 …ataWidth:0x14 // 4:0 - TXCPL sync fifo pop status 9:5 - TXR sync fifo pop status 14:10 - TXW hea…
83 …ded to the [DEVID] field of this register, the value will not be loaded, EEPROM load will stop, an…
88 …ffff<<0) // Vendor ID. PCI-SIG assigned Manufacturer Identifier. Note: The access attributes of …
90 …ce Identifier. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E…
116 … (0x1<<9) // Fast back-to-back transaction ena…
128 … (0x1<<23) // Fast back-to-back capable. Not ap…
[all …]