Home
last modified time | relevance | path

Searched +full:hw +full:- +full:device +full:- +full:address (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/linux-6.14.4/drivers/net/ethernet/qlogic/qed/
Dqed_hw.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
51 #define DMAE_CMD_SIZE_TO_FILL (DMAE_CMD_SIZE - 5)
58 * @p_hwfn: HW device data.
65 * qed_ptt_invalidate(): Forces all ptt entries to be re-configured
67 * @p_hwfn: HW device data.
76 * @p_hwfn: HW device data.
78 * Return: struct _qed_status - success (0), negative - error.
85 * @p_hwfn: HW device data.
[all …]
Dqed_dev_api.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
31 * qed_init_struct(): Initialize the device structure to
41 * qed_resc_free: Free device resources.
50 * qed_resc_alloc(): Alloc device resources.
59 * qed_resc_setup(): Setup device resources.
77 * In case of a crash kernel over PDA - this should be set to false.
105 /* NPAR tx switching to be used for vports for tx-switching */
126 * qed_hw_timers_stop_all(): Stop the timers HW block.
[all …]
Dqed_vf.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
45 /* general tlv header (used for both vf->pf request and pf->vf response) */
51 /* header of first vf->pf tlv carries the offset used to calculate response
52 * buffer address
60 /* header of pf->vf tlvs, carries the status of handling the request */
88 #define VFPF_ACQUIRE_CAP_PRE_FP_HSI BIT(0) /* VF pre-FP hsi version */
90 /* A requirement for supporting multi-Tx queues on a single queue-zone,
139 u32 address; member
166 * mechanism [version-based] and allow a VF that can't be supported to pass
[all …]
Dqed_int.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
42 #define IGU_CTRL_REG_PXP_ADDR_MASK 0xFFF /* Command address */
56 * qed_int_igu_enable_int(): Enable device interrupts.
58 * @p_hwfn: HW device data.
69 * qed_int_igu_disable_int(): Disable device interrupts.
71 * @p_hwfn: HW device data.
83 * @p_hwfn: HW device data.
93 * @p_hwfn: HW device data.
[all …]
/linux-6.14.4/include/net/
Dmac802154.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * IEEE802.15.4-2003 specification
5 * Copyright (C) 2007-2012 Siemens AG
18 * enum ieee802154_hw_addr_filt_flags - hardware address filtering flags
20 * The following flags are used to indicate changed address settings from
23 * @IEEE802154_AFILT_SADDR_CHANGED: Indicates that the short address will be
26 * @IEEE802154_AFILT_IEEEADDR_CHANGED: Indicates that the extended address
31 * @IEEE802154_AFILT_PANC_CHANGED: Indicates that the address filter will
32 * do frame address filtering as a pan coordinator.
42 * struct ieee802154_hw_addr_filt - hardware address filtering settings
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2024 Intel Corporation. */
12 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
13 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
14 static int ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
15 static int ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
16 static int ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
17 static int ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
18 static int ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
19 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
[all …]
/linux-6.14.4/Documentation/driver-api/
Dntb.rst5 NTB (Non-Transparent Bridge) is a type of PCI-Express bridge chip that connects
6 the separate memory systems of two or more computers to the same PCI-Express
9 scratchpad and message registers. Scratchpad registers are read-and-writable
10 registers that are accessible from either side of the device, so that peers can
11 exchange a small amount of information at a fixed address. Message registers can
32 registration uses the Linux Device framework, so it should feel familiar to
36 ----------------------------------------
39 systems. So the NTB device features like Scratchpad/Message registers are
50 | dma-mapped |-ntb_mw_set_trans(addr) |
52 | (addr) |<======| MW xlat addr |<====| MW base addr |<== memory-mapped IO
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
8 * fm10k_stop_hw_vf - Stop Tx/Rx units
9 * @hw: pointer to hardware structure
12 static s32 fm10k_stop_hw_vf(struct fm10k_hw *hw) in fm10k_stop_hw_vf() argument
14 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf()
20 err = fm10k_stop_hw_generic(hw); in fm10k_stop_hw_vf()
24 /* If permanent address is set then we need to restore it */ in fm10k_stop_hw_vf()
36 tdlen = hw->mac.itr_scale << FM10K_TDLEN_ITR_SCALE_SHIFT; in fm10k_stop_hw_vf()
39 * update their base address registers in fm10k_stop_hw_vf()
[all …]
/linux-6.14.4/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include <linux/device.h>
27 #define ST_LSM6DS3TRC_DEV_NAME "lsm6ds3tr-c"
29 #define ST_LSM9DS1_DEV_NAME "lsm9ds1-imu"
86 .address = addr, \
107 .address = addr, \
165 * struct st_lsm6dsx_fifo_ops - ST IMU FIFO settings
175 int (*read_fifo)(struct st_lsm6dsx_hw *hw);
189 * struct st_lsm6dsx_hw_ts_settings - ST IMU hw timer settings
190 * @timer_en: Hw timer enable register info (addr + mask).
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/igc/
Digc_phy.c1 // SPDX-License-Identifier: GPL-2.0
8 * igc_check_reset_block - Check if PHY reset is blocked
9 * @hw: pointer to the HW structure
15 s32 igc_check_reset_block(struct igc_hw *hw) in igc_check_reset_block() argument
26 * igc_get_phy_id - Retrieve the PHY ID and revision
27 * @hw: pointer to the HW structure
32 s32 igc_get_phy_id(struct igc_hw *hw) in igc_get_phy_id() argument
34 struct igc_phy_info *phy = &hw->phy; in igc_get_phy_id()
38 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id()
42 phy->id = (u32)(phy_id << 16); in igc_get_phy_id()
[all …]
Digc_mac.c1 // SPDX-License-Identifier: GPL-2.0
11 * igc_disable_pcie_master - Disables PCI-express master access
12 * @hw: pointer to the HW structure
14 * Returns 0 (0) if successful, else returns -10
15 * (-IGC_ERR_MASTER_REQUESTS_PENDING) if master disable bit has not caused
18 * Disables PCI-Express master access and verifies there are no pending
21 s32 igc_disable_pcie_master(struct igc_hw *hw) in igc_disable_pcie_master() argument
36 timeout--; in igc_disable_pcie_master()
41 ret_val = -IGC_ERR_MASTER_REQUESTS_PENDING; in igc_disable_pcie_master()
50 * igc_init_rx_addrs - Initialize receive addresses
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/e1000e/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
9 * e1000e_get_bus_info_pcie - Get PCIe bus information
10 * @hw: pointer to the HW structure
16 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie() argument
18 struct pci_dev *pdev = hw->adapter->pdev; in e1000e_get_bus_info_pcie()
19 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie()
20 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie()
24 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie()
27 bus->width = (enum e1000_bus_width)FIELD_GET(PCI_EXP_LNKSTA_NLW, in e1000e_get_bus_info_pcie()
[all …]
/linux-6.14.4/drivers/net/ethernet/micrel/
Dksz884x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/net/ethernet/micrel/ksx884x.c - Micrel KSZ8841/2 PCI Ethernet driver
5 * Copyright (c) 2009-2010 Micrel, Inc.
103 /* MAC Additional Station Address */
271 #define PHY_CTRL_INTERVAL (KS884X_P2MBCR_P - KS884X_P1MBCR_P)
293 #define PHY_SPECIAL_INTERVAL (KS884X_P2VCT_P - KS884X_P1VCT_P)
482 (KS8842_PORT_2_CTRL_1 - KS8842_PORT_1_CTRL_1))
587 #define STATIC_MAC_TABLE_ADDR 00-0000FFFF-FFFFFFFF
588 #define STATIC_MAC_TABLE_FWD_PORTS 00-00070000-00000000
589 #define STATIC_MAC_TABLE_VALID 00-00080000-00000000
[all …]
/linux-6.14.4/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 1999 - 2010 Intel Corporation.
4 * Copyright (C) 2010 - 2012 LAPIS SEMICONDUCTOR CO., LTD.
37 /* Initialize the wake-on-LAN settings */
56 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
57 (R)->next_to_clean - (R)->next_to_use - 1)
106 u8 *data = skb->data; in pch_ptp_match()
116 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in pch_ptp_match()
134 if (!adapter->hwts_rx_en) in pch_rx_timestamp()
138 pdev = adapter->ptp_pdev; in pch_rx_timestamp()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/igbvf/
Dvf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009 - 2018 Intel Corporation. */
8 static s32 e1000_check_for_link_vf(struct e1000_hw *hw);
9 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
11 static s32 e1000_init_hw_vf(struct e1000_hw *hw);
12 static s32 e1000_reset_hw_vf(struct e1000_hw *hw);
14 static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *,
18 static s32 e1000_set_uc_addr_vf(struct e1000_hw *hw, u32 subcmd, u8 *addr);
22 * e1000_init_mac_params_vf - Inits MAC params
23 * @hw: pointer to the HW structure
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/ixgbevf/
Dvf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2024 Intel Corporation. */
7 /* On Hyper-V, to reset, we need to read from this offset
9 * Hyper-V to support PF/VF communication.
13 static inline s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, in ixgbevf_write_msg_read_ack() argument
16 s32 retval = ixgbevf_write_mbx(hw, msg, size); in ixgbevf_write_msg_read_ack()
21 return ixgbevf_poll_mbx(hw, retmsg, size); in ixgbevf_write_msg_read_ack()
25 * ixgbevf_start_hw_vf - Prepare hardware for Tx/Rx
26 * @hw: pointer to hardware structure
29 * all on chip counters, initializes receive address registers, multicast
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/igb/
De1000_i210.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
14 static s32 igb_update_flash_i210(struct e1000_hw *hw);
17 * igb_get_hw_semaphore_i210 - Acquire hardware semaphore
18 * @hw: pointer to the HW structure
20 * Acquire the HW semaphore to access the PHY or NVM
22 static s32 igb_get_hw_semaphore_i210(struct e1000_hw *hw) in igb_get_hw_semaphore_i210() argument
25 s32 timeout = hw->nvm.word_size + 1; in igb_get_hw_semaphore_i210()
42 if (hw->dev_spec._82575.clear_semaphore_once) { in igb_get_hw_semaphore_i210()
43 hw->dev_spec._82575.clear_semaphore_once = false; in igb_get_hw_semaphore_i210()
[all …]
De1000_mac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
15 static s32 igb_set_default_fc(struct e1000_hw *hw);
16 static void igb_set_fc_watermarks(struct e1000_hw *hw);
19 * igb_get_bus_info_pcie - Get PCIe bus information
20 * @hw: pointer to the HW structure
26 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie() argument
28 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie()
33 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie()
35 ret_val = igb_read_pcie_cap_reg(hw, in igb_get_bus_info_pcie()
[all …]
/linux-6.14.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 STMMAC Ethernet Driver -- MDIO bus implementation
6 Copyright (C) 2007-2009 STMicroelectronics Ltd
54 tmp = readl(priv->ioaddr + XGMAC_MDIO_C22P); in stmmac_xgmac2_c45_format()
56 writel(tmp, priv->ioaddr + XGMAC_MDIO_C22P); in stmmac_xgmac2_c45_format()
67 if (priv->synopsys_id < DWXGMAC_CORE_2_20) { in stmmac_xgmac2_c22_format()
71 tmp = readl(priv->ioaddr + XGMAC_MDIO_C22P); in stmmac_xgmac2_c22_format()
76 writel(tmp, priv->ioaddr + XGMAC_MDIO_C22P); in stmmac_xgmac2_c22_format()
84 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_read()
85 unsigned int mii_data = priv->hw->mii.data; in stmmac_xgmac2_mdio_read()
[all …]
/linux-6.14.4/include/linux/
Dclk-provider.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2010-2011 Jeremy Kerr <[email protected]>
4 * Copyright (C) 2011-2012 Linaro Ltd <[email protected]>
14 * top-level framework. custom flags for dealing with hardware specifics
20 #define CLK_SET_PARENT_GATE BIT(1) /* must be gated across re-parent */
26 #define CLK_SET_RATE_NO_REPARENT BIT(7) /* don't re-parent on rate change */
31 /* parents need enable during gate/ungate, set rate and re-parent */
42 * struct clk_rate_request - Structure encoding the clk constraints that
67 void clk_hw_init_rate_request(const struct clk_hw *hw,
77 * struct clk_duty - Structure encoding the duty cycle ratio of a clock
[all …]
/linux-6.14.4/drivers/dma/
Dloongson2-apb-dma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for the Loongson-2 APB DMA Controller
5 * Copyright (C) 2017-2023 Loongson Corporation
9 #include <linux/dma-mapping.h>
13 #include <linux/io-64-nonatomic-lo-hi.h>
21 #include "virt-dma.h"
36 /* Bitfields in ndesc_addr field of HW descriptor */
40 /* Bitfields in cmd field of HW descriptor */
42 #define LDMA_DATA_DIRECTION BIT(12) /* 1: write to device, 0: read from device */
49 /*-- descriptors -----------------------------------------------------*/
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/e1000/
De1000_hw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
11 static s32 e1000_check_downshift(struct e1000_hw *hw);
12 static s32 e1000_check_polarity(struct e1000_hw *hw,
14 static void e1000_clear_hw_cntrs(struct e1000_hw *hw);
15 static void e1000_clear_vfta(struct e1000_hw *hw);
16 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw,
18 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw);
19 static s32 e1000_detect_gig_phy(struct e1000_hw *hw);
20 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw);
[all …]
/linux-6.14.4/drivers/net/wireless/ath/ath6kl/
Dinit.c4 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
32 #include "hif-ops.h"
33 #include "htc-ops.h"
38 .name = "ar6003 hw 2.0",
47 /* hw2.0 needs override address hardcoded */
63 .name = "ar6003 hw 2.1.1",
88 .name = "ar6004 hw 1.0",
108 .name = "ar6004 hw 1.1",
127 .name = "ar6004 hw 1.2",
146 .name = "ar6004 hw 1.3",
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/ice/devlink/
Dport.c1 // SPDX-License-Identifier: GPL-2.0
12 static int ice_active_port_option = -1;
15 * ice_devlink_port_opt_speed_str - convert speed to a string
39 return "-"; in ice_devlink_port_opt_speed_str()
44 * ice_devlink_port_options_print - Print available port split options
53 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_options_print()
69 status = ice_aq_get_port_options(&pf->hw, opt, &options_count, in ice_devlink_port_options_print()
94 cnt += snprintf(&desc[cnt], ICE_PORT_OPT_DESC_LEN - cnt, in ice_devlink_port_options_print()
95 "%-8s", str); in ice_devlink_port_options_print()
97 cnt += snprintf(&desc[cnt], ICE_PORT_OPT_DESC_LEN - cnt, in ice_devlink_port_options_print()
[all …]
/linux-6.14.4/drivers/net/fjes/
Dfjes_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * FUJITSU Extended Socket Network Device driver
19 /* Device Control registers */
20 #define XSCT_DCTL 0x0010 /* Device Control */
25 #define XSCT_SHSTSAL 0x0028 /* Share status address Low */
26 #define XSCT_SHSTSAH 0x002C /* Share status address High */
29 #define XSCT_REQBAL 0x0038 /* Request Buffer Address Low */
30 #define XSCT_REQBAH 0x003C /* Request Buffer Address High */
33 #define XSCT_RESPBAL 0x0048 /* Response Buffer Address Low */
34 #define XSCT_RESPBAH 0x004C /* Response Buffer Address High */
[all …]

12345678910>>...43