| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_api.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 61 * ixgbe_dcb_get_rtrup2tc - read rtrup2tc reg 62 * @hw: pointer to hardware structure 65 * Read the rtrup2tc HW register and resolve its content into map 67 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_get_rtrup2tc() argument 69 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc() 70 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc() 74 * ixgbe_init_shared_code - Initialize the shared code 75 * @hw: pointer to hardware structure [all …]
|
| H A D | ixgbe_phy.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 39 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 40 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 41 static void ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 42 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 43 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 44 static void ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 45 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 46 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); [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 | ixgbe_e610.c | 2 SPDX-License-Identifier: BSD-3-Clause 43 * ixgbe_init_aci - initialization routine for Admin Command Interface 44 * @hw: pointer to the hardware structure 48 void ixgbe_init_aci(struct ixgbe_hw *hw) in ixgbe_init_aci() argument 50 ixgbe_init_lock(&hw->aci.lock); in ixgbe_init_aci() 54 * ixgbe_shutdown_aci - shutdown routine for Admin Command Interface 55 * @hw: pointer to the hardware structure 59 void ixgbe_shutdown_aci(struct ixgbe_hw *hw) in ixgbe_shutdown_aci() argument 61 ixgbe_destroy_lock(&hw->aci.lock); in ixgbe_shutdown_aci() 65 * ixgbe_should_retry_aci_send_cmd_execute - decide if ACI command should [all …]
|
| /freebsd/sys/dev/iavf/ |
| H A D | iavf_lib.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 43 static void iavf_init_hw(struct iavf_hw *hw, device_t dev); 47 * iavf_msec_pause - Pause for at least the specified number of milliseconds 61 * iavf_get_default_rss_key - Get the default RSS key for this driver 84 * iavf_allocate_pci_resources_common - Allocate PCI resources 85 * @sc: the private device softc pointer 87 * @pre sc->dev is set 96 struct iavf_hw *hw = &sc->hw; in iavf_allocate_pci_resources_common() local 97 device_t dev = sc->dev; in iavf_allocate_pci_resources_common() 102 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in iavf_allocate_pci_resources_common() [all …]
|
| H A D | iavf_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 49 * iavf_dmamap_cb - DMA mapping callback function 50 * @arg: pointer to return the segment address 55 * Callback used by the bus DMA code to obtain the segment address. 63 *(bus_addr_t *) arg = segs->ds_addr; in iavf_dmamap_cb() 68 * iavf_allocate_virt_mem - Allocate virtual memory 69 * @hw: hardware structure 78 iavf_allocate_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem, in iavf_allocate_virt_mem() 81 mem->va = malloc(size, M_IAVF, M_NOWAIT | M_ZERO); in iavf_allocate_virt_mem() 82 return(mem->va == NULL); in iavf_allocate_virt_mem() [all …]
|
| /freebsd/share/man/man4/ |
| H A D | pci.4 | 35 .Bd -ragged -offset indent 36 .Cd device pci 40 .Pq SR-IOV : 41 .Bd -ragged -offset indent 45 To compile in support for native PCI-express HotPlug: 46 .Bd -ragged -offset indent 64 character device that can be used by userland programs to read and write 67 Programs can also use this device to get a list of all 80 device. 91 or a BAR read access could have function-specific side-effects. [all …]
|
| H A D | bce.4 | 1 .\" Copyright (c) 2006-2014 QLogic Corporation 35 .Bd -ragged -offset indent 36 .Cd "device miibus" 37 .Cd "device bce" 43 .Bd -literal -offset indent 62 .Bl -item -offset indent -compact 72 10/100/1000Mbps operation in full-duplex mode 74 10/100Mbps operation in half-duplex mode 80 .Bl -tag -width ".Cm 10baseT/UTP" 92 .Cm full-duplex [all …]
|
| H A D | igc.4 | 1 .\"- 4 .\" SPDX-License-Identifier: BSD-3-Clause 16 .Bd -ragged -offset indent 17 .Cd "device iflib" 18 .Cd "device igc" 24 .Bd -literal -offset indent 33 MSI/MSI-X, TSO, and RSS. 49 .Bl -tag -width ".Cm 10baseT/UTP" 51 Enables auto-negotiation for speed and duplex. 57 .Cm half-duplex [all …]
|
| H A D | ice.4 | 2 .\" SPDX-License-Identifier: BSD-3-Clause 4 .\" Copyright (c) 2019-2020, Intel Corporation 42 .Cd device iflib 43 .Cd device ice 48 .Cd hw.ice.enable_health_events 49 .Cd hw.ice.irdma 50 .Cd hw.ice.irdma_max_msix 51 .Cd hw.ice.debug.enable_tx_fc_filter 52 .Cd hw.ice.debug.enable_tx_lldp_filter 53 .Cd hw.ice.debug.ice_tx_balance_en [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_api.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 11 * igc_init_mac_params - Initialize MAC function pointers 12 * @hw: pointer to the HW structure 17 s32 igc_init_mac_params(struct igc_hw *hw) in igc_init_mac_params() argument 21 if (hw->mac.ops.init_params) { in igc_init_mac_params() 22 ret_val = hw->mac.ops.init_params(hw); in igc_init_mac_params() 29 ret_val = -IGC_ERR_CONFIG; in igc_init_mac_params() 37 * igc_init_nvm_params - Initialize NVM function pointers 38 * @hw: pointer to the HW structure [all …]
|
| /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_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_vf.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 39 static s32 e1000_init_phy_params_vf(struct e1000_hw *hw); 40 static s32 e1000_init_nvm_params_vf(struct e1000_hw *hw); 41 static void e1000_release_vf(struct e1000_hw *hw); 42 static s32 e1000_acquire_vf(struct e1000_hw *hw); 43 static s32 e1000_setup_link_vf(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw); 45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw); 46 static s32 e1000_check_for_link_vf(struct e1000_hw *hw); [all …]
|
| H A D | e1000_api.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 38 * e1000_init_mac_params - Initialize MAC function pointers 39 * @hw: pointer to the HW structure 44 s32 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() argument 48 if (hw->mac.ops.init_params) { in e1000_init_mac_params() 49 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params() 56 ret_val = -E1000_ERR_CONFIG; in e1000_init_mac_params() 64 * e1000_init_nvm_params - Initialize NVM function pointers 65 * @hw: pointer to the HW structure [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 …]
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 54 MALLOC_DEFINE(M_ICE_OSDEP, "ice-osdep", "Intel(R) 100Gb Network Driver osdep allocations"); 69 * ice_hw_to_dev - Given a hw private struct, find the associated device_t 70 * @hw: the hardware private structure 72 * Given a hw structure pointer, lookup the softc and extract the device 73 * pointer. Assumes that hw is embedded within the ice_softc, instead of being 81 ice_hw_to_dev(struct ice_hw *hw) { in ice_hw_to_dev() argument 82 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); in ice_hw_to_dev() 84 return sc->dev; in ice_hw_to_dev() 88 * ice_debug - Log a debug message if the type is enabled [all …]
|
| H A D | ice_iov.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 86 * ice_iov_attach - Initialize SR-IOV PF host support 87 * @sc: device softc structure 89 * Initialize SR-IOV PF host support at the end of the driver attach process. 94 * - ENOMEM if there is no memory for the PF/VF schemas or iov device 95 * - ENXIO if the device isn't PCI-E or doesn't support the same SR-IOV 97 * - ENOENT if the device doesn't have the SR-IOV capability 102 device_t dev = sc->dev; in ice_iov_attach() 109 pci_iov_schema_add_unicast_mac(vf_schema, "mac-addr", 0, NULL); in ice_iov_attach() 110 pci_iov_schema_add_bool(vf_schema, "mac-anti-spoof", in ice_iov_attach() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | davinci-nand.txt | 1 Device tree bindings for Texas instruments Davinci/Keystone NAND controller 3 This file provides information, what the device node for the davinci/keystone 7 Davinci DM646x - https://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 8 Kestone - https://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 12 - compatible: "ti,davinci-nand" 13 "ti,keystone-nand" 15 - reg: Contains 2 offset/length values: 16 - offset and length for the access window. 17 - offset and length for accessing the AEMIF 20 - ti,davinci-chipselect: number of chipselect. Indicates on the [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | snps,dwc-qos-ethernet.txt | 9 entries in properties are marked as optional, or only required in specific HW 13 - compatible: One of: 14 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10" 15 Represents the IP core when integrated into the Axis ARTPEC-6 SoC. 16 - "nvidia,tegra186-eqo [all...] |
| /freebsd/sys/dev/tsec/ |
| H A D | if_tsec_fdt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2007-2008 Semihalf, Rafal Jaworowski 5 * Copyright (C) 2006-2007 Semihalf, Piotr Kruszynski 28 * From: FreeBSD: head/sys/dev/tsec/if_tsec_ocp.c 188712 2009-02-17 14:59:47Z raj 32 * FDT 'simple-bus' attachment for Freescale TSEC controller. 80 /* Device interface */ 125 * Device trees with "fsl,etsec2" compatible nodes don't have a reg in tsec_fdt_probe() 126 * property, as it's been relegated to the queue-group children. in tsec_fdt_probe() 129 sc->is_etsec = 1; in tsec_fdt_probe() [all …]
|