Home
last modified time | relevance | path

Searched refs:mcp_info (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c33 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \
37 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset))
54 if (!p_hwfn->mcp_info || !p_hwfn->mcp_info->public_base) in qed_mcp_is_init()
61 u32 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in qed_mcp_cmd_port_init()
65 p_hwfn->mcp_info->port_addr = SECTION_ADDR(mfw_mb_offsize, in qed_mcp_cmd_port_init()
69 p_hwfn->mcp_info->port_addr, MFW_PORT(p_hwfn)); in qed_mcp_cmd_port_init()
74 u32 length = MFW_DRV_MSG_MAX_DWORDS(p_hwfn->mcp_info->mfw_mb_length); in qed_mcp_read_mb()
77 if (!p_hwfn->mcp_info->public_base) in qed_mcp_read_mb()
82 p_hwfn->mcp_info->mfw_mb_addr + in qed_mcp_read_mb()
86 ((u32 *)p_hwfn->mcp_info->mfw_mb_cur)[i] = in qed_mcp_read_mb()
[all …]
Dqed_dev.c2377 memcpy(p_hwfn->mcp_info->mfw_mb_shadow, in qed_resc_setup()
2378 p_hwfn->mcp_info->mfw_mb_cur, in qed_resc_setup()
2379 p_hwfn->mcp_info->mfw_mb_length); in qed_resc_setup()
2597 if (p_hwfn->mcp_info) { in qed_hw_init_common()
2598 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common()
2600 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common()
2819 if (p_hwfn->mcp_info) { in qed_hw_init_pf()
2822 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf()
2946 memcpy(p_hwfn->mcp_info->mfw_mb_shadow, in qed_reset_mb_shadow()
2947 p_hwfn->mcp_info->mfw_mb_cur, p_hwfn->mcp_info->mfw_mb_length); in qed_reset_mb_shadow()
[all …]
Dqed_dcbx.c747 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_local_lldp_mib()
765 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_remote_lldp_mib()
783 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_operational_mib()
800 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_remote_mib()
816 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_local_mib()
1223 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_config_params()
Dqed_fcoe.c737 info->wwpn = hwfn->mcp_info->func_info.wwn_port; in qed_fill_fcoe_dev_info()
738 info->wwnn = hwfn->mcp_info->func_info.wwn_node; in qed_fill_fcoe_dev_info()
Dqed_mcp.h794 return !!(p_hwfn->mcp_info->capabilities & in qed_mcp_is_ext_speed_supported()
Dqed.h612 struct qed_mcp_info *mcp_info; member
Dqed_l2.c1769 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats()
1845 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats()
1860 if (b_get_port_stats && p_hwfn->mcp_info) in __qed_get_vport_stats()
Dqed_rdma.c551 port->port_state = p_hwfn->mcp_info->link_output.link_up ? in qed_rdma_init_port()
830 p_link_output = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output; in qed_rdma_query_port()
Dqed_mng_tlv.c1251 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in qed_mfw_process_tlv_req()
Dqed_cxt.c1984 if (p_hwfn->mcp_info->func_info.protocol == QED_PCI_ETH_RDMA) { in qed_rdma_set_pf_params()