| /freebsd/sys/contrib/device-tree/src/arm/aspeed/ | 
| H A D | aspeed-bmc-delta-ahe50dc.dts | 8 	efuse##n {					\10 		vout-supply = <&efuse##n>;		\
 15 #define EFUSE(hexaddr, num)							\  macro
 16 	efuse@##hexaddr {							\
 21 			efuse##num: vout {					\
 22 				regulator-name = __stringify(efuse##num##-reg);	\
 166 			EFUSE(10, 03);
 167 			EFUSE(11, 04);
 168 			EFUSE(12, 01);
 169 			EFUSE(13, 02);
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/nvmem/ | 
| H A D | mtk-efuse.txt | 1 = Mediatek MTK-EFUSE device tree bindings =3 This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs.
 7 	      "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622
 8 	      "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623
 9 	      "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173
 10 	      "mediatek,mt8192-efuse", "mediatek,efuse": for MT8192
 11 	      "mediatek,mt8195-efuse", "mediatek,efuse": for MT8195
 12 	      "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516
 17 Are child nodes of MTK-EFUSE, bindings of which as described in
 22 	efuse: efuse@10206000 {
 [all …]
 
 | 
| H A D | mediatek,efuse.yaml | 4 $id: http://devicetree.org/schemas/nvmem/mediatek,efuse.yaml#7 title: MediaTek efuse
 10   MediaTek's efuse is used for storing calibration data, it can be accessed
 23     pattern: "^efuse@[0-9a-f]+$"
 29               - mediatek,mt7622-efuse
 30               - mediatek,mt7623-efuse
 31               - mediatek,mt7981-efuse
 32               - mediatek,mt7986-efuse
 33               - mediatek,mt7988-efuse
 34               - mediatek,mt8173-efuse
 [all …]
 
 | 
| H A D | rockchip-efuse.yaml | 4 $id: http://devicetree.org/schemas/nvmem/rockchip-efuse.yaml#7 title: Rockchip eFuse
 19       - rockchip,rk3066a-efuse
 20       - rockchip,rk3188-efuse
 21       - rockchip,rk3228-efuse
 22       - rockchip,rk3288-efuse
 23       - rockchip,rk3328-efuse
 24       - rockchip,rk3368-efuse
 25       - rockchip,rk3399-efuse
 28       - rockchip,rockchip-efuse
 [all...]
 | 
| H A D | sc27xx-efuse.txt | 1 = Spreadtrum SC27XX PMIC eFuse device tree bindings =5 	"sprd,sc2720-efuse"
 6 	"sprd,sc2721-efuse"
 7 	"sprd,sc2723-efuse"
 8 	"sprd,sc2730-efuse"
 9 	"sprd,sc2731-efuse"
 10 - reg: Specify the address offset of efuse controller.
 14 Are child nodes of eFuse, bindings of which as described in
 29 		efuse@380 {
 30 			compatible = "sprd,sc2731-efuse";
 
 | 
| H A D | amlogic-meson-mx-efuse.txt | 1 Amlogic Meson6/Meson8/Meson8b efuse5 	- "amlogic,meson6-efuse"
 6 	- "amlogic,meson8-efuse"
 7 	- "amlogic,meson8b-efuse"
 8 - reg: base address and size of the efuse registers
 9 - clocks: a reference to the efuse core gate clock
 17 	efuse: nvmem@0 {
 18 		compatible = "amlogic,meson8-efuse";
 
 | 
| H A D | amlogic,meson6-efuse.yaml | 4 $id: http://devicetree.org/schemas/nvmem/amlogic,meson6-efuse.yaml#7 title: Amlogic Meson6 eFuse
 20       - amlogic,meson6-efuse
 21       - amlogic,meson8-efuse
 22       - amlogic,meson8b-efuse
 43     efuse: efuse@0 {
 44         compatible = "amlogic,meson6-efuse";
 
 | 
| H A D | uniphier-efuse.txt | 1 = UniPhier eFuse device tree bindings =3 This UniPhier eFuse must be under soc-glue.
 6 - compatible: should be "socionext,uniphier-efuse"
 10 Are child nodes of efuse, bindings of which as described in
 22 		efuse@100 {
 23 			compatible = "socionext,uniphier-efuse";
 27 		efuse@200 {
 28 			compatible = "socionext,uniphier-efuse";
 
 | 
| H A D | amlogic,meson-gxbb-efuse.yaml | 4 $id: http://devicetree.org/schemas/nvmem/amlogic,meson-gxbb-efuse.yaml#7 title: Amlogic Meson GX eFuse
 19       - const: amlogic,meson-gxbb-efuse
 21           - const: amlogic,meson-gx-efuse
 22           - const: amlogic,meson-gxbb-efuse
 43     efuse: efuse {
 44         compatible = "amlogic,meson-gxbb-efuse";
 
 | 
| H A D | amlogic-efuse.txt | 1 = Amlogic Meson GX eFuse device tree bindings =4 - compatible: should be "amlogic,meson-gxbb-efuse"
 5 - clocks: phandle to the efuse peripheral clock provided by the
 10 Are child nodes of eFuse, bindings of which as described in
 15 	efuse: efuse {
 16 		compatible = "amlogic,meson-gxbb-efuse";
 
 | 
| H A D | ingenic,jz4780-efuse.yaml | 4 $id: http://devicetree.org/schemas/nvmem/ingenic,jz4780-efuse.yaml#7 title: Ingenic JZ EFUSE driver
 18       - ingenic,jz4780-efuse
 24     # Handle for the ahb for the efuse.
 38     efuse@134100d0 {
 39         compatible = "ingenic,jz4780-efuse";
 
 | 
| H A D | sprd-efuse.txt | 1 = Spreadtrum eFuse device tree bindings =4 - compatible: Should be "sprd,ums312-efuse".
 5 - reg: Specify the address offset of efuse controller.
 11 Are child nodes of eFuse, bindings of which as described in
 16 	ap_efuse: efuse@32240000 {
 17 		compatible = "sprd,ums312-efuse";
 
 | 
| H A D | socionext,uniphier-efuse.yaml | 4 $id: http://devicetree.org/schemas/nvmem/socionext,uniphier-efuse.yaml#7 title: Socionext UniPhier eFuse
 19     const: socionext,uniphier-efuse
 32     efuse@100 {
 33         compatible = "socionext,uniphier-efuse";
 37     efuse@200 {
 38         compatible = "socionext,uniphier-efuse";
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/regulator/ | 
| H A D | ti-abb-regulator.txt | 35 	efuse:	(see Optional properties)36 	RBB enable efuse Mask:	(See Optional properties)
 37 	FBB enable efuse Mask:	(See Optional properties)
 38 	Vset value efuse Mask:	(See Optional properties)
 47   - "efuse-address"	- Contains efuse base address used to pick up ABB info.
 49 	"efuse-address" is required for this.
 55 	efuse: Mandatory if 'efuse-address' register is defined. Provides offset
 56 	       from efuse-address to pick up ABB characteristics. Set to 0 if
 57 	       'efuse-address' is not defined.
 58 	RBB enable efuse Mask:	Optional if 'efuse-address' register is defined.
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/fuse/ | 
| H A D | nvidia,tegra20-fuse.yaml | 17           - nvidia,tegra20-efuse18           - nvidia,tegra30-efuse
 19           - nvidia,tegra114-efuse
 20           - nvidia,tegra124-efuse
 21           - nvidia,tegra210-efuse
 22           - nvidia,tegra186-efuse
 23           - nvidia,tegra194-efuse
 24           - nvidia,tegra234-efuse
 27           - const: nvidia,tegra132-efuse
 28           - const: nvidia,tegra124-efuse
 [all …]
 
 | 
| H A D | nvidia,tegra20-fuse.txt | 4 - compatible : For Tegra20, must contain "nvidia,tegra20-efuse".  For Tegra30,5   must contain "nvidia,tegra30-efuse".  For Tegra114, must contain
 6   "nvidia,tegra114-efuse".  For Tegra124, must contain "nvidia,tegra124-efuse".
 7   For Tegra132 must contain "nvidia,tegra132-efuse", "nvidia,tegra124-efuse".
 8   For Tegra210 must contain "nvidia,tegra210-efuse". For Tegra186 must contain
 9   "nvidia,tegra186-efuse". For Tegra194 must contain "nvidia,tegra194-efuse".
 10   For Tegra234 must contain "nvidia,tegra234-efuse".
 12   nvidia,tegra20-efuse: Tegra20 requires using APB DMA to read the fuse data
 15   nvidia,tegra30-efuse, nvidia,tegra114-efuse and nvidia,tegra124-efuse:
 16 	The differences between these SoCs are the size of the efuse array,
 [all …]
 
 | 
| /freebsd/sys/contrib/dev/rtw88/ | 
| H A D | rtw88xxa.c | 15 #include "efuse.h"34 	struct rtw_efuse *efuse = &rtwdev->efuse;  in rtw8812a_read_amplifier_type()  local
 36 	efuse->ext_pa_2g = (efuse->pa_type_2g & BIT(5)) &&  in rtw8812a_read_amplifier_type()
 37 			   (efuse->pa_type_2g & BIT(4));  in rtw8812a_read_amplifier_type()
 38 	efuse->ext_lna_2g = (efuse->lna_type_2g & BIT(7)) &&  in rtw8812a_read_amplifier_type()
 39 			    (efuse->lna_type_2g & BIT(3));  in rtw8812a_read_amplifier_type()
 41 	efuse->ext_pa_5g = (efuse->pa_type_5g & BIT(1)) &&  in rtw8812a_read_amplifier_type()
 42 			   (efuse->pa_type_5g & BIT(0));  in rtw8812a_read_amplifier_type()
 43 	efuse->ext_lna_5g = (efuse->lna_type_5g & BIT(7)) &&  in rtw8812a_read_amplifier_type()
 44 			    (efuse->lna_type_5g & BIT(3));  in rtw8812a_read_amplifier_type()
 [all …]
 
 | 
| H A D | rtw8723x.c | 76 	rtw_dbg(rtwdev, RTW_DBG_EFUSE, "Fixed invalid EFUSE value: "	\77 		# name "=0x%x\n", rtwdev->efuse.name)
 188 	rtw_dbg(rtwdev, RTW_DBG_EFUSE, "EFUSE raw logical map:\n");  in efuse_debug_dump()
 191 	rtw_dbg(rtwdev, RTW_DBG_EFUSE, "Parsed rtw8723x EFUSE data:\n");  in efuse_debug_dump()
 229 static void rtw8723xe_efuse_parsing(struct rtw_efuse *efuse,  in rtw8723xe_efuse_parsing()  argument
 232 	ether_addr_copy(efuse->addr, map->e.mac_addr);  in rtw8723xe_efuse_parsing()
 235 static void rtw8723xu_efuse_parsing(struct rtw_efuse *efuse,  in rtw8723xu_efuse_parsing()  argument
 238 	ether_addr_copy(efuse->addr, map->u.mac_addr);  in rtw8723xu_efuse_parsing()
 241 static void rtw8723xs_efuse_parsing(struct rtw_efuse *efuse,  in rtw8723xs_efuse_parsing()  argument
 244 	ether_addr_copy(efuse->addr, map->s.mac_addr);  in rtw8723xs_efuse_parsing()
 [all …]
 
 | 
| H A D | efuse.c | 8 #include "efuse.h"31 /* efuse header format
 43 	u32 physical_size = rtwdev->efuse.physical_size;  in rtw_dump_logical_efuse_map()
 44 	u32 protect_size = rtwdev->efuse.protect_size;  in rtw_dump_logical_efuse_map()
 45 	u32 logical_size = rtwdev->efuse.logical_size;  in rtw_dump_logical_efuse_map()
 90 	u32 size = rtwdev->efuse.physical_size;  in rtw_dump_physical_efuse_map()
 149 	struct rtw_efuse *efuse = &rtwdev->efuse;  in rtw_parse_efuse_map()  local
 150 	u32 phy_size = efuse->physical_size;  in rtw_parse_efuse_map()
 151 	u32 log_size = efuse->logical_size;  in rtw_parse_efuse_map()
 165 		rtw_err(rtwdev, "failed to dump efuse physical map\n");  in rtw_parse_efuse_map()
 [all …]
 
 | 
| H A D | main.c | 20 #include "efuse.h"1084 		WARN(1, "invalid hw configuration from efuse\n");  in rtw_hw_config_rf_ant_num()
 1298 	struct rtw_efuse *efuse = &rtwdev->efuse;  in rtw_update_sta_info()  local
 1329 	if (efuse->hw_cap.nss == 1 || rtwdev->hal.txrx_1ss)  in rtw_update_sta_info()
 1331 	else if (efuse->hw_cap.nss == 2)  in rtw_update_sta_info()
 1398 		tx_num = efuse->hw_cap.nss;  in rtw_update_sta_info()
 1516 	wifi_only = !rtwdev->efuse.btcoex;  in rtw_power_on()
 1659 	struct rtw_efuse *efuse = &rtwdev->efuse;  in rtw_init_ht_cap()  local
 1673 	if (efuse->hw_cap.bw & BIT(RTW_CHANNEL_WIDTH_40))  in rtw_init_ht_cap()
 1681 	for (i = 0; i < efuse->hw_cap.nss; i++)  in rtw_init_ht_cap()
 [all …]
 
 | 
| H A D | rtw8814a.c | 15 #include "efuse.h"34 	struct rtw_efuse *efuse = &rtwdev->efuse;  in rtw8814a_read_rfe_type()  local
 36 	if (!(efuse->rfe_option & BIT(7)))  in rtw8814a_read_rfe_type()
 40 		efuse->rfe_option = 0;  in rtw8814a_read_rfe_type()
 42 		efuse->rfe_option = 1;  in rtw8814a_read_rfe_type()
 47 	struct rtw_efuse *efuse = &rtwdev->efuse;  in rtw8814a_read_amplifier_type()  local
 49 	switch (efuse->rfe_option) {  in rtw8814a_read_amplifier_type()
 52 		efuse->pa_type_2g = 0;  in rtw8814a_read_amplifier_type()
 53 		efuse->lna_type_2g = 0;  in rtw8814a_read_amplifier_type()
 55 		efuse->pa_type_5g = BIT(0);  in rtw8814a_read_amplifier_type()
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/opp/ | 
| H A D | ti-omap5-opp-supply.txt | 3 OMAP5, DRA7, and AM57 family of SoCs have Class0 AVS eFuse registers which26 	"ti,omap5-opp-supply" - OMAP5+ optimized voltages in efuse(class0)VDD
 28 	"ti,omap5-core-opp-supply" - OMAP5+ optimized voltages in efuse(class0) VDD
 30 - reg: Address and length of the efuse register set for the device (mandatory
 32 - ti,efuse-settings: An array of u32 tuple items providing information about
 33 	optimized efuse configuration. Each item consists of the following:
 35 	efuse_offseet: efuse offset from reg where the optimized voltage is stored.
 56 	ti,efuse-settings = <
 
 | 
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ | 
| H A D | eeprom.c | 67 mt7603_has_cal_free_data(struct mt7603_dev *dev, u8 *efuse)  in mt7603_has_cal_free_data()  argument69 	if (!efuse[MT_EE_TEMP_SENSOR_CAL])  in mt7603_has_cal_free_data()
 72 	if (get_unaligned_le16(efuse + MT_EE_TX_POWER_0_START_2G) == 0)  in mt7603_has_cal_free_data()
 75 	if (get_unaligned_le16(efuse + MT_EE_TX_POWER_1_START_2G) == 0)  in mt7603_has_cal_free_data()
 78 	if (!efuse[MT_EE_CP_FT_VERSION])  in mt7603_has_cal_free_data()
 81 	if (!efuse[MT_EE_XTAL_FREQ_OFFSET])  in mt7603_has_cal_free_data()
 84 	if (!efuse[MT_EE_XTAL_WF_RFCAL])  in mt7603_has_cal_free_data()
 91 mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse)  in mt7603_apply_cal_free_data()  argument
 112 	if (!mt7603_has_cal_free_data(dev, efuse))  in mt7603_apply_cal_free_data()
 121 		eeprom[offset] = efuse[offset];  in mt7603_apply_cal_free_data()
 
 | 
| /freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ | 
| H A D | eeprom.c | 24 mt76x2_has_cal_free_data(struct mt76x02_dev *dev, u8 *efuse)  in mt76x2_has_cal_free_data()  argument26 	u16 *efuse_w = (u16 *)efuse;  in mt76x2_has_cal_free_data()
 50 mt76x2_apply_cal_free_data(struct mt76x02_dev *dev, u8 *efuse)  in mt76x2_apply_cal_free_data()  argument
 94 	if (!mt76x2_has_cal_free_data(dev, efuse))  in mt76x2_apply_cal_free_data()
 100 		eeprom[offset] = efuse[offset];  in mt76x2_apply_cal_free_data()
 103 	if (!(efuse[MT_EE_TX_POWER_0_START_5G] |  in mt76x2_apply_cal_free_data()
 104 	      efuse[MT_EE_TX_POWER_0_START_5G + 1]))  in mt76x2_apply_cal_free_data()
 106 	if (!(efuse[MT_EE_TX_POWER_1_START_5G] |  in mt76x2_apply_cal_free_data()
 107 	      efuse[MT_EE_TX_POWER_1_START_5G + 1]))  in mt76x2_apply_cal_free_data()
 110 	val = get_unaligned_le16(efuse + MT_EE_BT_RCAL_RESULT);  in mt76x2_apply_cal_free_data()
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/edac/ | 
| H A D | apm-xgene-edac.txt | 18 - regmap-efuse		: Regmap of the PMD efuse resource.66 	efuse: efuse@1054a000 {
 67 		compatible = "apm,xgene-efuse", "syscon";
 84 		regmap-efuse = <&efuse>;
 
 |