Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c34 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()
78 if (!p_hwfn->mcp_info->public_base) in qed_mcp_read_mb()
83 p_hwfn->mcp_info->mfw_mb_addr + in qed_mcp_read_mb()
87 ((u32 *)p_hwfn->mcp_info->mfw_mb_cur)[i] = in qed_mcp_read_mb()
[all …]
Dqed_dev.c2443 memcpy(p_hwfn->mcp_info->mfw_mb_shadow, in qed_resc_setup()
2444 p_hwfn->mcp_info->mfw_mb_cur, in qed_resc_setup()
2445 p_hwfn->mcp_info->mfw_mb_length); in qed_resc_setup()
2677 if (p_hwfn->mcp_info) { in qed_hw_init_common()
2678 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common()
2680 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common()
2901 if (p_hwfn->mcp_info) { in qed_hw_init_pf()
2904 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf()
3029 memcpy(p_hwfn->mcp_info->mfw_mb_shadow, in qed_reset_mb_shadow()
3030 p_hwfn->mcp_info->mfw_mb_cur, p_hwfn->mcp_info->mfw_mb_length); in qed_reset_mb_shadow()
[all …]
Dqed_dcbx.c746 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_local_lldp_mib()
764 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_remote_lldp_mib()
782 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_operational_mib()
799 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_remote_mib()
814 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_local_mib()
1221 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.h836 return !!(p_hwfn->mcp_info->capabilities & in qed_mcp_is_ext_speed_supported()
Dqed.h606 struct qed_mcp_info *mcp_info; member
Dqed_l2.c1770 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats()
1846 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats()
1861 if (b_get_port_stats && p_hwfn->mcp_info) in __qed_get_vport_stats()
Dqed_rdma.c524 port->port_state = p_hwfn->mcp_info->link_output.link_up ? in qed_rdma_init_port()
803 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.c1971 if (p_hwfn->mcp_info->func_info.protocol == QED_PCI_ETH_RDMA) { in qed_rdma_set_pf_params()