/freebsd/share/man/man4/ |
H A D | uftdi.4 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 24 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 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. 214 array will contain the requested values from eeprom after the call. 215 .Bd -literal [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_nvm.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 24 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 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() [all …]
|
H A D | e1000_82571.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 24 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 88 * e1000_init_phy_params_82571 - Init PHY func ptrs. 93 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82571() 98 if (hw->phy.media_type != e1000_media_type_copper) { in e1000_init_phy_params_82571() 99 phy->type = e1000_phy_none; in e1000_init_phy_params_82571() 103 phy->addr = 1; in e1000_init_phy_params_82571() 104 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_init_phy_params_82571() 105 phy->reset_delay_us = 100; in e1000_init_phy_params_82571() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-eeprom-read.c |
|
H A D | iwl-eeprom-parse.c |
|
/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 …]
|
H A D | igc_i225.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 22 * igc_init_nvm_params_i225 - Init NVM func ptrs. 27 struct igc_nvm_info *nvm = &hw->nvm; in igc_init_nvm_params_i225() 36 * Added to a constant, "size" becomes the left-shift value in igc_init_nvm_params_i225() 42 * EEPROM size supported in igc_init_nvm_params_i225() 47 nvm->word_size = 1 << size; in igc_init_nvm_params_i225() 48 nvm->opcode_bits = 8; in igc_init_nvm_params_i225() 49 nvm->delay_usec = 1; in igc_init_nvm_params_i225() 50 nvm->type = igc_nvm_eeprom_spi; in igc_init_nvm_params_i225() [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;
|
H A D | davicom-dm9000.txt | 4 - compatible = "davicom,dm9000"; 5 - reg : physical addresses and sizes of registers, must contain 2 entries: 8 - interrupts : interrupt specifier specific to interrupt controller 11 - davicom,no-eeprom : Configuration EEPROM is not available 12 - davicom,ext-phy : Use external PHY 13 - reset-gpios : phandle of gpio that will be used to reset chip during probe 14 - vcc-supply : phandle of regulator that will be used to enable power to chip 21 interrupt-parent = <&gpn>; 23 local-mac-address = [00 00 de ad be ef]; 24 davicom,no-eeprom; [all …]
|
/freebsd/tools/tools/ath/athprom/ |
H A D | athprom.c | 1 /*- 12 * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 16 * NO WARRANTY 20 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 37 #define IS_VERS(op, v) (eeprom.ee_version op (v)) 58 #define eeprom eep.legacy macro 68 fprintf(stderr, "usage: %s [-i ifname] [-t pathname] [offset | offset=value]\n", progname); in usage() 69 exit(-1); in usage() 78 /* find the template using the eeprom version */ in opentemplate() 79 snprintf(filename, sizeof(filename), "%s/eeprom-%d.%d", in opentemplate() [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 24 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 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() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_9287.c | 1 /*- 2 * SPDX-License-Identifier: ISC 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 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() [all …]
|
H A D | ah_diagcodes.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 28 * Diagnostic interface. This is an open-ended interface that 30 * retrieve internal data structures, etc. There is no guarantee 39 HAL_DIAG_EEPROM = 1, /* EEPROM contents */ 40 HAL_DIAG_EEPROM_EXP_11A = 2, /* EEPROM 5112 power exp for 11a */ 41 HAL_DIAG_EEPROM_EXP_11B = 3, /* EEPROM 5112 power exp for 11b */ [all …]
|
H A D | ah_eeprom_v4k.c | 1 /*- 2 * SPDX-License-Identifier: ISC 14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 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() [all …]
|
H A D | ah_eeprom_v1.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 25 * EEPROM defines for Version 1 Crete EEPROM. 27 * The EEPROM is segmented into three sections: 30 * Cardbus CIS tuples and vendor-specific data 31 * Atheros-specific data 33 * EEPROM entries are read 32-bits at a time through the PCI bus [all …]
|
H A D | ah_eeprom_v14.c | 1 /*- 2 * SPDX-License-Identifier: ISC 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 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() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
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/dev/mlx5/mlx5_core/ |
H A D | mlx5_diagnostics.c | 1 /*- 2 * Copyright (c) 2013-2017, Mellanox Technologies, Ltd. All rights reserved. 16 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 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() 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 …]
|
H A D | mlx5_fwdump.c | 1 /*- 16 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 48 for (sz = 0, r = rege; r->cnt != 0; r++) in mlx5_fwdump_getsize() 49 sz += r->cnt; in mlx5_fwdump_getsize() 57 mtx_assert(&mdev->dump_lock, MA_OWNED); in mlx5_fwdump_destroy_dd() 58 free(mdev->dump_data, M_MLX5_DUMP); in mlx5_fwdump_destroy_dd() 59 mdev->dump_data = NULL; in mlx5_fwdump_destroy_dd() 75 mdev->dump_data = NULL; in mlx5_fwdump_prep() 90 "Unable to find vendor-specific capability, error %d\n", in mlx5_fwdump_prep() 102 dev = mdev->pdev->dev.bsddev; in mlx5_fwdump_prep() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/vf/ |
H A D | vf610-zii-spb4.dts | 1 // 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-name [all...] |
H A D | vf610-zii-ssmb-spu3.dts | 1 // 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-led [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 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 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 …]
|
/freebsd/sys/contrib/dev/athk/ |
H A D | regd.c | 2 * 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 …]
|
/freebsd/share/man/man9/ |
H A D | nvmem.9 | 15 .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 49 (Non-Volatile Memory), this is generally stored in some eeprom or fuses. 56 .Bl -tag -width indent 62 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found, 66 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found, 70 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found, 74 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found, 78 .Bl -tag -width indent 86 .Bd -literal 88 eeprom: eeprom@20000 { [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx7d-zii-rmu2.dts | 1 // 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 …]
|