Home
last modified time | relevance | path

Searched +full:hsi +full:- +full:mac (Results 1 – 21 of 21) sorted by relevance

/linux/Documentation/devicetree/bindings/net/
H A Dairoha,en7581-eth.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/airoha,en7581-eth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Bianconi <lorenzo@kernel.org>
14 These SoCs have multi-GMAC ports.
19 - airoha,en7581-eth
23 - description: Frame engine base address
24 - description: QDMA0 base address
25 - description: QDMA1 base address
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A 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
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,
166 * mechanism [version-based] and allow a VF that can't be supported to pass
191 /* It's possible PF had to configure an older fastpath HSI
194 * non-matching versions to shed light in VF about failure.
[all …]
H A Dqed_vf.c1 // 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.
15 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_prep()
23 mutex_lock(&(p_iov->mutex)); in qed_vf_pf_prep()
31 p_iov->offset = (u8 *)p_iov->vf2pf_request; in qed_vf_pf_prep()
33 /* Clear mailbox - both request and reply */ in qed_vf_pf_prep()
34 memset(p_iov->vf2pf_request, 0, sizeof(union vfpf_tlvs)); in qed_vf_pf_prep()
35 memset(p_iov->pf2vf_reply, 0, sizeof(union pfvf_tlvs)); in qed_vf_pf_prep()
38 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep()
[all …]
H A Dqed_sriov.c1 // 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.
23 static int qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid);
27 return le16_to_cpu(entity_id) - MAX_NUM_PFS; in qed_vf_from_entity_id()
34 if (p_vf->acquire.vfdev_info.eth_fp_hsi_minor == in qed_vf_calculate_legacy()
38 if (!(p_vf->acquire.vfdev_info.capabilities & in qed_vf_calculate_legacy()
51 int rc = -EINVAL; in qed_sp_vf_start()
57 init_data.opaque_fid = p_vf->opaque_fid; in qed_sp_vf_start()
66 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
[all …]
H A Dqed_mcp.c1 // 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.
34 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + (_offset)), \
38 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + (_offset)))
55 if (!p_hwfn->mcp_info || !p_hwfn->mcp_info->public_base) in qed_mcp_is_init()
62 u32 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in qed_mcp_cmd_port_init()
66 p_hwfn->mcp_info->port_addr = SECTION_ADDR(mfw_mb_offsize, in qed_mcp_cmd_port_init()
70 p_hwfn->mcp_info->port_addr, MFW_PORT(p_hwfn)); in qed_mcp_cmd_port_init()
75 u32 length = MFW_DRV_MSG_MAX_DWORDS(p_hwfn->mcp_info->mfw_mb_length); in qed_mcp_read_mb()
[all …]
H A Dqed_dev.c1 // 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.
11 #include <linux/dma-mapping.h>
72 db_entry->db_addr, in qed_db_recovery_dp_entry()
73 db_entry->db_data, in qed_db_recovery_dp_entry()
74 db_entry->db_width == DB_REC_WIDTH_32B ? "32b" : "64b", in qed_db_recovery_dp_entry()
75 db_entry->db_space == DB_REC_USER ? "user" : "kernel", in qed_db_recovery_dp_entry()
76 db_entry->hwfn_idx); in qed_db_recovery_dp_entry()
88 if (db_addr < cdev->doorbells || in qed_db_rec_sanity()
[all …]
H A Dqed_hsi.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2021 Marvell International Ltd.
94 /* Light-L2 RX Producers in Tstorm RAM */
113 /* Light-L2 RX Producers in Tstorm RAM */
999 /* Event Ring VF-PF Channel data */
1074 /* Major and Minor hsi Versions */
1157 /* Mstorm non-triggering VF zone */
1300 /* Protocol-common error code */
1320 /* Pstorm non-triggering VF zone */
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dst,stm32mp1-rcc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/st,stm32mp1-rcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gabriel Fernandez <gabriel.fernandez@foss.st.com>
18 Documentation/devicetree/bindings/clock/clock-bindings.txt
24 dt-bindings/clock/stm32mp1-clks.h header and can be used in device
43 include/dt-bindings/reset-controller/stm32mp1-resets.h
44 include/dt-bindings/reset-controller/stm32mp13-resets.h
50 "#clock-cells":
[all …]
/linux/include/linux/qed/
H A Dqed_nvmetcp_if.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
33 u8 mac[ETH_ALEN]; member
86 /* IO path HSI function SGL params */
95 /* IO path HSI function FW task context params */
97 void *context; /* Output parameter - set/filled by the HSI function */
110 * struct qed_nvmetcp_ops - qed NVMeTCP operations.
119 * @param ops - specified using qed_nvmetcp_cb_ops
120 * @param cookie - driver private
123 * @param tasks - qed will fill information about tasks
130 * @param handle - qed will fill handle that should be
[all …]
H A Dqed_if.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.
24 #include <linux/io-64-nonatomic-lo-hi.h>
457 /* The following parameters are used during HW-init
463 /* per-VF number of CIDs */
467 /* To enable arfs, previous to HW-init a positive number needs to be
469 * This will set the maximal number of configured steering-filters.
475 /* The following parameters are used during protocol-init */
479 /* The following parameters are used during HW-init
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c3 * Copyright 2009-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
35 tl->type = type; in bnx2x_add_tlv()
36 tl->length = length; in bnx2x_add_tlv()
43 mutex_lock(&bp->vf2pf_mutex); in bnx2x_vfpf_prep()
49 memset(bp->vf2pf_mbox, 0, sizeof(struct bnx2x_vf_mbx_msg)); in bnx2x_vfpf_prep()
52 bnx2x_add_tlv(bp, &first_tlv->tl, 0, type, length); in bnx2x_vfpf_prep()
55 first_tlv->resp_msg_offset = sizeof(bp->vf2pf_mbox->req); in bnx2x_vfpf_prep()
63 first_tlv->tl.type); in bnx2x_vfpf_finalize()
65 mutex_unlock(&bp->vf2pf_mutex); in bnx2x_vfpf_finalize()
[all …]
H A Dbnx2x.h3 * Copyright (c) 2007-2013 Broadcom Corporation
21 #include <linux/dma-mapping.h>
37 * to break this driver due to amount of abuse of in-kernel interfaces
42 #define DRV_MODULE_VERSION "1.713.36-0"
53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt)
94 bp->dev ? (bp->dev->name) : "?", \
99 if (unlikely(bp->msg_enable & (__mask))) \
105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \
111 if (unlikely(bp->msg_enable & (__mask))) \
121 bp->dev ? (bp->dev->name) : "?", \
[all …]
H A Dbnx2x_hsi.h3 * Copyright (c) 2007-2013 Broadcom Corporation
125 /* Up to 16 bytes of NULL-terminated string */
145 (if multiple found, priority order is: NC-SI, UMP, IPMI) */
150 /* Use SPIO4 as an arbiter between: 0-NC_SI, 1-IPMI
151 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */
153 /* Use SPIO4 as an arbiter between: 0-UMP, 1-IPMI
154 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */
156 /* Use SPIO4 as an arbiter between: 0-NC-SI, 1-UMP
157 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */
409 /* Default values: 2P-64, 4P-32 */
[all …]
H A Dbnx2x_sp.c3 * Copyright 2011-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
38 * bnx2x_exe_queue_init - init the Exe Queue object
62 INIT_LIST_HEAD(&o->exe_queue); in bnx2x_exe_queue_init()
63 INIT_LIST_HEAD(&o->pending_comp); in bnx2x_exe_queue_init()
65 spin_lock_init(&o->lock); in bnx2x_exe_queue_init()
67 o->exe_chunk_len = exe_len; in bnx2x_exe_queue_init()
68 o->owner = owner; in bnx2x_exe_queue_init()
71 o->validate = validate; in bnx2x_exe_queue_init()
72 o->remove = remove; in bnx2x_exe_queue_init()
[all …]
H A Dbnx2x_link.c1 /* Copyright 2008-2013 Broadcom Corporation
8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1)
205 (_phy)->def_md_devad, \
211 (_phy)->def_md_devad, \
239 * bnx2x_check_lfa - This function checks if link reinitialization is required,
251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa()
254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
257 /* NOTE: must be first condition checked - in bnx2x_check_lfa()
262 REG_WR(bp, params->lfa_base + in bnx2x_check_lfa()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c1 /* Broadcom NetXtreme-C/E network driver.
46 * For VF-reps: src_fid the fid of the VF
53 if (!netdev_port_same_parent_id(pf_bp->dev, dev)) { in bnxt_flow_get_dst_fid()
54 netdev_info(pf_bp->dev, "dev(ifindex=%d) not on same switch\n", in bnxt_flow_get_dst_fid()
55 dev->ifindex); in bnxt_flow_get_dst_fid()
59 /* Is dev a VF-rep? */ in bnxt_flow_get_dst_fid()
64 return bp->pf.fw_fid; in bnxt_flow_get_dst_fid()
71 struct net_device *dev = act->dev; in bnxt_tc_parse_redir()
74 netdev_info(bp->dev, "no dev in mirred action\n"); in bnxt_tc_parse_redir()
75 return -EINVAL; in bnxt_tc_parse_redir()
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dairoha_eth.c1 // SPDX-License-Identifier: GPL-2.0-only
490 (((_n) < 8) ? 0x0100 + ((_n) << 5) : 0x0b00 + (((_n) - 8) << 5))
493 (((_n) < 8) ? 0x0104 + ((_n) << 5) : 0x0b04 + (((_n) - 8) << 5))
502 (((_n) < 8) ? 0x0108 + ((_n) << 5) : 0x0b08 + (((_n) - 8) << 5))
507 (((_n) < 8) ? 0x010c + ((_n) << 5) : 0x0b0c + (((_n) - 8) << 5))
515 (((_n) < 16) ? 0x0200 + ((_n) << 5) : 0x0e00 + (((_n) - 16) << 5))
518 (((_n) < 16) ? 0x0204 + ((_n) << 5) : 0x0e04 + (((_n) - 16) << 5))
524 (((_n) < 16) ? 0x0208 + ((_n) << 5) : 0x0e08 + (((_n) - 16) << 5))
529 (((_n) < 16) ? 0x020c + ((_n) << 5) : 0x0e0c + (((_n) - 16) << 5))
532 (((_n) < 16) ? 0x0210 + ((_n) << 5) : 0x0e10 + (((_n) - 16) << 5))
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp131.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp13-clks.h>
8 #include <dt-bindings/reset/stm32mp13-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c5 * Copyright (c) 2008-2013 Broadcom Corporation
6 * Copyright (c) 2014-2016 QLogic Corporation
7 * Copyright (c) 2016-2017 Cavium Inc.
42 stat_req.stat_params_addr_lo = (u32) hba->stats_buf_dma; in bnx2fc_send_stat_req()
43 stat_req.stat_params_addr_hi = (u32) ((u64)hba->stats_buf_dma >> 32); in bnx2fc_send_stat_req()
47 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_stat_req()
48 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_stat_req()
54 * bnx2fc_send_fw_fcoe_init_msg - initiates initial handshake with FCoE f/w
71 if (!hba->cnic) { in bnx2fc_send_fw_fcoe_init_msg()
72 printk(KERN_ERR PFX "hba->cnic NULL during fcoe fw init\n"); in bnx2fc_send_fw_fcoe_init_msg()
[all …]
/linux/drivers/s390/net/
H A Dqeth_core_main.c1 // SPDX-License-Identifier: GPL-2.0
49 /* define dbf - Name, Pages, Areas, Maxlen, Level, View, Handle */
77 switch (card->info.type) { in qeth_get_cardname()
83 return " Virtual NIC QDIO - OSM"; in qeth_get_cardname()
85 return " Virtual NIC QDIO - OSX"; in qeth_get_cardname()
90 switch (card->info.type) { in qeth_get_cardname()
110 switch (card->info.type) { in qeth_get_cardname_short()
123 switch (card->info.type) { in qeth_get_cardname_short()
125 switch (card->info.link_type) { in qeth_get_cardname_short()
165 spin_lock_irqsave(&card->thread_mask_lock, flags); in qeth_set_allowed_threads()
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]