/freebsd/sys/dev/e1000/ |
H A D | e1000_mac.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 37 static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw); 38 static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw); 39 static void e1000_config_collision_dist_generic(struct e1000_hw *hw); 42 * e1000_init_mac_ops_generic - Initialize MAC function pointers 43 * @hw: pointer to the HW structure 45 * Setups up the function pointers to no-op functions 47 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() argument 49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() [all …]
|
H A D | e1000_82542.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 41 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw); 45 static s32 e1000_reset_hw_82542(struct e1000_hw *hw); 46 static s32 e1000_init_hw_82542(struct e1000_hw *hw); 47 static s32 e1000_setup_link_82542(struct e1000_hw *hw); 48 static s32 e1000_led_on_82542(struct e1000_hw *hw); [all …]
|
H A D | e1000_82543.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 46 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw); 49 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, 51 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, 53 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw); 54 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw); 55 static s32 e1000_reset_hw_82543(struct e1000_hw *hw); [all …]
|
H A D | e1000_82571.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 53 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw); 54 static void e1000_release_nvm_82571(struct e1000_hw *hw); 55 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, 57 static s32 e1000_update_nvm_checksum_82571(struct e1000_hw *hw); 58 static s32 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw); 59 static s32 e1000_get_cfg_done_82571(struct e1000_hw *hw); 60 static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, 62 static s32 e1000_reset_hw_82571(struct e1000_hw *hw); [all …]
|
H A D | e1000_82540.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw); 49 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw); 50 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw); 51 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw); 52 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw); 53 static s32 e1000_init_hw_82540(struct e1000_hw *hw); 54 static s32 e1000_reset_hw_82540(struct e1000_hw *hw); 55 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw); [all …]
|
H A D | e1000_82541.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 46 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw); 49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw); 50 static s32 e1000_init_hw_82541(struct e1000_hw *hw); 51 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, 53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw); 54 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw); [all …]
|
H A D | e1000_phy.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 37 static s32 e1000_wait_autoneg(struct e1000_hw *hw); 38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 65 * e1000_init_phy_ops_generic - Initialize PHY function pointers 66 * @hw: pointer to the HW structure 68 * Setups up the function pointers to no-op functions 70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() argument 72 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_ops_generic() [all …]
|
H A D | e1000_82575.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw); 49 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw); 50 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 51 static void e1000_release_nvm_82575(struct e1000_hw *hw); 52 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 53 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw); 54 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw); 55 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, [all …]
|
H A D | e1000_ich8lan.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 36 * 82562G-2 10/100 Network Connection 38 * 82562GT-2 10/100 Network Connection 40 * 82562V-2 10/100 Network Connection 41 * 82566DC-2 Gigabit Network Connection 43 * 82566DM-2 Gigabit Network Connection 50 * 82567LM-2 Gigabit Network Connection 51 * 82567LF-2 Gigabit Network Connection 52 * 82567V-2 Gigabit Network Connection [all …]
|
H A D | e1000_80003es2lan.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw); 42 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw); 43 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw); 44 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw); 45 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 48 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 51 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, 53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw); [all …]
|
/freebsd/sys/dev/igc/ |
H A D | igc_mac.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 static void igc_config_collision_dist_generic(struct igc_hw *hw); 13 * igc_init_mac_ops_generic - Initialize MAC function pointers 14 * @hw: pointer to the HW structure 16 * Setups up the function pointers to no-op functions 18 void igc_init_mac_ops_generic(struct igc_hw *hw) in igc_init_mac_ops_generic() argument 20 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic() 24 mac->ops.init_params = igc_null_ops_generic; in igc_init_mac_ops_generic() 25 mac->ops.config_collision_dist = igc_config_collision_dist_generic; in igc_init_mac_ops_generic() [all …]
|
H A D | igc_phy.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 static s32 igc_wait_autoneg(struct igc_hw *hw); 13 * igc_init_phy_ops_generic - Initialize PHY function pointers 14 * @hw: pointer to the HW structure 16 * Setups up the function pointers to no-op functions 18 void igc_init_phy_ops_generic(struct igc_hw *hw) in igc_init_phy_ops_generic() argument 20 struct igc_phy_info *phy = &hw->phy; in igc_init_phy_ops_generic() 24 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic() 25 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic() [all …]
|
H A D | igc_i225.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 static s32 igc_init_nvm_params_i225(struct igc_hw *hw); 11 static s32 igc_init_mac_params_i225(struct igc_hw *hw); 12 static s32 igc_init_phy_params_i225(struct igc_hw *hw); 13 static s32 igc_reset_hw_i225(struct igc_hw *hw); 14 static s32 igc_acquire_nvm_i225(struct igc_hw *hw); 15 static void igc_release_nvm_i225(struct igc_hw *hw); 16 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw); 17 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/serial/ |
H A D | st,stm32-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/st,stm32-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Erwan Le Ray <erwan.leray@foss.st.com> 15 - st,stm32-uart 16 - st,stm32f7-uart 17 - st,stm32h7-uart 34 st,hw-flow-ctrl: 35 description: enable hardware flow control (deprecated) [all …]
|
H A D | st-asc.txt | 1 *st-asc(Serial Port) 4 - compatible : Should be "st,asc". 5 - reg, reg-names, interrupts, interrupt-names : Standard way to define device 7 Documentation/devicetree/bindings/resource-names.txt 10 - st,hw-flow [all...] |
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_82598.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, 51 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw); 52 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, 54 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, 57 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, 60 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 63 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw); 64 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); [all …]
|
H A D | ixgbe_82599.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 51 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 52 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, 54 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, 56 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 58 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 61 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_mac_link_ops_82599() argument 63 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() [all …]
|
H A D | ixgbe_x550.c | 3 Copyright (c) 2001-2020, Intel Corporation 41 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed); 44 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw); 47 * ixgbe_init_ops_X550 - Inits func ptrs and MAC type 48 * @hw: pointer to hardware structure 53 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw) in ixgbe_init_ops_X550() argument 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() 61 ret_val = ixgbe_init_ops_X540(hw); in ixgbe_init_ops_X550() 62 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550() [all …]
|
H A D | ixgbe_common.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 41 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 42 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 43 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 44 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 45 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 46 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 48 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 49 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); [all …]
|
H A D | if_ix.c | 3 Copyright (c) 2001-2017, Intel Corporation 48 static const char ixgbe_driver_version[] = "4.0.1-k"; 93 "Intel(R) X520-T 82599 LOM"), 105 "Intel(R) X520-1 82599EN (SFP+)"), 107 "Intel(R) X520-4 82599 (Quad SFP+)"), 109 "Intel(R) X520-Q1 82599 (QSFP+)"), 111 "Intel(R) X540-AT2"), 112 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540T1, "Intel(R) X540-T1"), 113 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550T, "Intel(R) X550-T2"), 114 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550T1, "Intel(R) X550-T1"), [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp157a-iot-box.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include "stm32mp157a-stinger96.dtsi" 11 compatible = "shiratech,stm32mp157a-iot-box", "st,stm32mp157"; 13 wlan_pwr: regulator-wlan { 14 compatible = "regulator-fixed"; 16 regulator-name = "wl-reg"; 17 regulator-min-microvolt = <3300000>; 18 regulator-max-microvolt = <3300000>; 21 enable-active-high; [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | embedded_interpreter.py | 39 hw = struct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234")) 41 hw = (0, 0) 42 return hw 101 banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.", 108 banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.", 125 # A newline is appended to support one-line statements containing 126 # control flow. For example "if True: print(1)" silently does
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mcu.c | 1 // SPDX-License-Identifier: ISC 12 switch (mt76_chip(&(_dev)->mt76)) { \ 47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss() 48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss() 54 return nss - 1; in mt7915_mcu_get_sta_nss() 61 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_he_mcs() 62 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs() 63 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs() 64 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs() 65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() [all …]
|
/freebsd/sys/dev/msk/ |
H A D | if_mskreg.h | 17 * are provided to you under the BSD-type license terms provided 22 * - Redistributions of source code must retain the above copyright 24 * - Redistributions in binary form must reproduce the above 28 * - Neither the name of Marvell nor the names of its contributors 48 /*- 49 * SPDX-License-Identifier: BSD-4-Clause AND BSD-3-Clause 65 * 4. Neither the name of the author nor the names of any co-contributors 82 /*- 110 * D-Link PCI vendor ID 154 * D-Link gigabit ethernet device ID [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mac.c | 1 // SPDX-License-Identifier: ISC 17 #define to_rssi(field, rcpi) ((FIELD_GET(field, rcpi) - 220) / 2) 20 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 34 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 45 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 64 if (idx >= ARRAY_SIZE(dev->mt76.wcid)) in mt7996_rx_get_wcid() 67 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7996_rx_get_wcid() 71 if (!wcid->sta) in mt7996_rx_get_wcid() 75 if (!sta->vif) in mt7996_rx_get_wcid() 78 return &sta->vif->sta.wcid; in mt7996_rx_get_wcid() [all …]
|