| /freebsd/sys/dev/e1000/ |
| H A D | e1000_nvm.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 40 * e1000_init_nvm_ops_generic - Initialize NVM function pointers 43 * Setups up the function pointers to no-op functions 47 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_init_nvm_ops_generic() 51 nvm->ops.init_params = e1000_null_ops_generic; in e1000_init_nvm_ops_generic() 52 nvm->ops.acquire = e1000_null_ops_generic; in e1000_init_nvm_ops_generic() 53 nvm->ops.read = e1000_null_read_nvm; in e1000_init_nvm_ops_generic() 54 nvm->ops.release = e1000_null_nvm_generic; in e1000_init_nvm_ops_generic() 55 nvm->ops.reload = e1000_reload_nvm_generic; in e1000_init_nvm_ops_generic() [all …]
|
| /freebsd/sys/dev/igc/ |
| H A D | igc_nvm.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 13 * igc_init_nvm_ops_generic - Initialize NVM function pointers 16 * Setups up the function pointers to no-op functions 20 struct igc_nvm_info *nvm = &hw->nvm; in igc_init_nvm_ops_generic() 24 nvm->ops.init_params = igc_null_ops_generic; in igc_init_nvm_ops_generic() 25 nvm->ops.acquire = igc_null_ops_generic; in igc_init_nvm_ops_generic() 26 nvm->ops.read = igc_null_read_nvm; in igc_init_nvm_ops_generic() 27 nvm->ops.release = igc_null_nvm_generic; in igc_init_nvm_ops_generic() 28 nvm->ops.reload = igc_reload_nvm_generic; in igc_init_nvm_ops_generic() [all …]
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_common.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 64 * ixgbe_init_ops_generic - Inits function ptrs 71 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_generic() local 72 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_generic() 77 /* EEPROM */ in ixgbe_init_ops_generic() 78 eeprom->ops.init_params = ixgbe_init_eeprom_params_generic; in ixgbe_init_ops_generic() 79 /* If EEPROM is valid (bit 8 = 1), use EERD otherwise use bit bang */ in ixgbe_init_ops_generic() 81 eeprom->ops.read = ixgbe_read_eerd_generic; in ixgbe_init_ops_generic() 82 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_generic; in ixgbe_init_ops_generic() [all …]
|
| H A D | ixgbe_x540.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 53 * ixgbe_init_ops_X540 - Inits func ptrs and MAC type 61 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X540() 62 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_init_ops_X540() 63 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_X540() local 73 /* EEPROM */ in ixgbe_init_ops_X540() 74 eeprom->ops.init_params = ixgbe_init_eeprom_params_X540; in ixgbe_init_ops_X540() 75 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540() 76 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_X540; in ixgbe_init_ops_X540() [all …]
|
| H A D | ixgbe_e610.c | 2 SPDX-License-Identifier: BSD-3-Clause 43 * ixgbe_init_aci - initialization routine for Admin Command Interface 50 ixgbe_init_lock(&hw->aci.lock); in ixgbe_init_aci() 54 * ixgbe_shutdown_aci - shutdown routine for Admin Command Interface 61 ixgbe_destroy_lock(&hw->aci.lock); in ixgbe_shutdown_aci() 65 * ixgbe_should_retry_aci_send_cmd_execute - decide if ACI command should 88 * ixgbe_aci_send_cmd_execute - execute sending FW Admin Command to FW Admin 99 * * - IXGBE_SUCCESS - success. 100 * * - IXGBE_ERR_ACI_DISABLED - CSR mechanism is not enabled. 101 * * - IXGBE_ERR_ACI_BUSY - CSR mechanism is busy. [all …]
|
| H A D | ixgbe_x550.c | 3 Copyright (c) 2001-2020, Intel Corporation 47 * ixgbe_init_ops_X550 - Inits func ptrs and MAC type 55 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X550() 56 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_X550() local 62 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550() 63 mac->ops.dmac_config_tcs = ixgbe_dmac_config_tcs_X550; in ixgbe_init_ops_X550() 64 mac->ops.dmac_update_tcs = ixgbe_dmac_update_tcs_X550; in ixgbe_init_ops_X550() 65 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550() 66 mac->ops.set_source_address_pruning = in ixgbe_init_ops_X550() 68 mac->ops.set_ethertype_anti_spoofing = in ixgbe_init_ops_X550() [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | rpi | 2 #------------------------------------------------------------------------------ 5 -44 lelong 0 17 -56 lelong 0 32 # URL: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html 33 # #raspberry-pi-4-boot-eeprom 34 # Reference: https://github.com/raspberrypi/rpi-eeprom/blob/master/rpi-eeprom-config 37 0 belong&0xFFffF00F 0x55aaF00F Raspberry PI EEPROM 38 #!:mime application/octet-stream 39 !:mime application/x-raspberry-eeprom 40 # like: pieeprom-2020-09-03.bin [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ |
| H A D | ah_eeprom_v4k.c | 1 /*- 2 * SPDX-License-Identifier: ISC 32 #define IS_VERS(op, v) ((pBase->version & AR5416_EEP_VER_MINOR_MASK) op (v)) in v4kEepromGet() 33 HAL_EEPROM_v4k *ee = AH_PRIVATE(ah)->ah_eeprom; in v4kEepromGet() 34 const MODAL_EEP4K_HEADER *pModal = &ee->ee_base.modalHeader; in v4kEepromGet() 35 const BASE_EEP4K_HEADER *pBase = &ee->ee_base.baseEepHeader; in v4kEepromGet() 42 *(int16_t *)val = pModal->noiseFloorThreshCh[0]; in v4kEepromGet() 48 macaddr[i] = pBase->macAddr[i]; in v4kEepromGet() 49 sum += pBase->macAddr[i]; in v4kEepromGet() 58 return pBase->regDmn[0]; in v4kEepromGet() [all …]
|
| H A D | ah_eeprom_9287.c | 1 /*- 2 * SPDX-License-Identifier: ISC 31 #define IS_VERS(op, v) ((pBase->version & AR5416_EEP_VER_MINOR_MASK) op (v)) in v9287EepromGet() 32 HAL_EEPROM_9287 *ee = AH_PRIVATE(ah)->ah_eeprom; in v9287EepromGet() 33 const MODAL_EEP_9287_HEADER *pModal = &ee->ee_base.modalHeader; in v9287EepromGet() 34 const BASE_EEP_9287_HEADER *pBase = &ee->ee_base.baseEepHeader; in v9287EepromGet() 41 *(int16_t *)val = pModal->noiseFloorThreshCh[0]; in v9287EepromGet() 47 macaddr[i] = pBase->macAddr[i]; in v9287EepromGet() 48 sum += pBase->macAddr[i]; in v9287EepromGet() 57 return pBase->regDmn[0]; in v9287EepromGet() [all …]
|
| H A D | ah_eeprom_v14.c | 1 /*- 2 * SPDX-License-Identifier: ISC 30 #define IS_VERS(op, v) ((pBase->version & AR5416_EEP_VER_MINOR_MASK) op (v)) in v14EepromGet() 31 HAL_EEPROM_v14 *ee = AH_PRIVATE(ah)->ah_eeprom; in v14EepromGet() 32 const MODAL_EEP_HEADER *pModal = ee->ee_base.modalHeader; in v14EepromGet() 33 const BASE_EEP_HEADER *pBase = &ee->ee_base.baseEepHeader; in v14EepromGet() 49 macaddr[i] = pBase->macAddr[i]; in v14EepromGet() 50 sum += pBase->macAddr[i]; in v14EepromGet() 59 return pBase->regDmn[0]; in v14EepromGet() 61 return pBase->regDmn[1]; in v14EepromGet() [all …]
|
| H A D | ah_eeprom_v4k.h | 1 /*- 2 * SPDX-License-Identifier: ISC 41 // 16-bit offset location start of calibration struct 53 * NB: The format in EEPROM has words 0 and 2 swapped (i.e. version 54 * and length are swapped). We reverse their position after reading 56 * offset as in previous EEPROM layouts. This makes utilities that 57 * inspect the EEPROM contents work without looking at the PCI device 61 uint16_t version; /* NB: length in EEPROM */ 63 uint16_t length; /* NB: version in EEPROM */ member
|
| H A D | ah_eeprom_v14.h | 1 /*- 2 * SPDX-License-Identifier: ISC 60 // 16-bit offset location start of calibration struct 81 #define FREQ2FBIN(x,y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) 83 #define AR5416_PWR_TABLE_OFFSET_DB -5 103 /* RF silent fields in EEPROM */ 149 #define AR5416_REGDMN_EN_FCC_MID 0x01 /* 5.47 - 5.7GHz operation */ 150 #define AR5416_REGDMN_EN_JAP_MID 0x02 /* 5.47 - 5.7GHz operation */ 156 * NB: The format in EEPROM has words 0 and 2 swapped (i.e. version 157 * and length are swapped). We reverse their position after reading [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/nvmem/ |
| H A D | lpc1857-eeprom.txt | 1 * NXP LPC18xx EEPROM memory NVMEM driver 4 - compatible: Should be "nxp,lpc1857-eeprom" 5 - reg: Must contain an entry with the physical base address and length 6 for each entry in reg-names. 7 - reg-names: Must include the following entries. 8 - reg: EEPROM registers. 9 - mem: EEPROM address space. 10 - clocks: Must contain an entry for each entry in clock-names. 11 - clock-names: Must include the following entries. 12 - eeprom: EEPROM operating clock. [all …]
|
| /freebsd/share/man/man4/ |
| H A D | uftdi.4 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 80 .Bl -bullet -compact 108 .Bl -tag -width "hw.usb.uftdi.skip_jtag_interfaces" 125 .Bl -tag -width indent 148 .Bd -literal 206 Read one or more words from the configuration eeprom. 207 The FTDI chip performs eeprom I/O in 16-bit words. 211 .Va length 214 array will contain the requested values from eeprom after the call. 215 .Bd -literal [all …]
|
| H A D | mlx5io.4 | 31 .Nd IOCTL interface to manage Connect-X 4/5/6 Mellanox network adapters 37 interface is provided for management of the Connect-X4, 5 and 6 network adapters 47 .Bl -tag -width indent 58 .Bd -literal 87 .Bd -literal 116 .Bd -literal 131 .Bd -literal 140 the length of the image is specified in 144 Requests PCIe link-leve [all...] |
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_diagnostics.c | 1 /*- 2 * Copyright (c) 2013-2017, Mellanox Technologies, Ltd. All rights reserved. 57 return -1; in mlx5_core_get_index_of_diag_counter() 64 return -1; in mlx5_core_get_index_of_diag_counter() 108 return -ENOMEM; in mlx5_core_set_diagnostics_full() 124 int index = -1; in mlx5_core_set_diagnostics_full() 150 /* recompute input length */ in mlx5_core_set_diagnostics_full() 190 return -ENOMEM; in mlx5_core_get_diagnostics_full() 205 pdiag->array, in mlx5_core_get_diagnostics_full() 212 pgen->array, in mlx5_core_get_diagnostics_full() [all …]
|
| /freebsd/sys/contrib/device-tree/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;
|
| /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_eeprom.c | 71 * in the order flash, eeprom, otp. 91 AH9300(ah)->calibration_data_source = source; in ar9300_calibration_data_set() 100 return AH9300(ah)->calibration_data_source; in ar9300_calibration_data_get() 114 AH9300(ah)->calibration_data_source_address = size; in ar9300_calibration_data_address_set() 123 return AH9300(ah)->calibration_data_source_address; in ar9300_calibration_data_address_get() 150 mptr = &ahp->ah_eeprom; in ar9300_eeprom_template_install() 163 return -1; in ar9300_eeprom_template_install() 174 nptr = -1; in ar9300_eeprom_restore_something() 180 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something() 181 AH9300(ah)->calibration_data_source_address = 0; in ar9300_eeprom_restore_something() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
| H A D | mediatek,mt76.txt | 11 - "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 D | qca,ath9k.txt | 8 - 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 …]
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-eeprom-parse.h | |
| /freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
| H A D | marvell.txt | 2 ---------- [all...] |
| /freebsd/sys/contrib/device-tree/Bindings/eeprom/ |
| H A D | at24.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 4 --- 5 $id: http://devicetree.org/schemas/eeprom/at24.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 14 - $ref: /schemas/nvmem/nvmem.yaml 15 - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml 22 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" 23 - enum: ["microchip,24aa025e48", "microchip,24aa025e64"] 25 - compatible [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | eeprom.c | 1 // SPDX-License-Identifier: ISC 10 #include <linux/nvmem-consumer.h> 18 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data() 22 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom_data() 24 return -ENOENT; in mt76_get_of_eeprom_data() 27 return -EINVAL; in mt76_get_of_eeprom_data() 38 return -ENOENT; in mt76_get_of_data_from_mtd() 40 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_mtd() 49 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_data_from_mtd() 51 return -ENOENT; in mt76_get_of_data_from_mtd() [all …]
|
| /freebsd/sys/dev/usb/net/ |
| H A D | if_udavreg.h | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 17 * 3. Neither the name of the author nor the names of any co-contributors 44 /* Packet length */ 61 #define UDAV_NCR_FDX (1<<3) /* Full-Duplex Mode (RO on Int. PHY) */ 79 #define UDAV_RSR_RWTO (1<<4) /* Receive Watchdog Time-Out */ 88 #define UDAV_EPCR 0x0b /* EEPROM & PHY Control Register */ 89 #define UDAV_EPCR_REEP (1<<5) /* Reload EEPROM */ 90 #define UDAV_EPCR_WEP (1<<4) /* Write EEPROM enable */ 91 #define UDAV_EPCR_EPOS (1<<3) /* EEPROM or PHY Operation Select */ [all …]
|