Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c55 if (!p_hwfn->mcp_info || !p_hwfn->mcp_info->public_base) in qed_mcp_is_init()
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()
142 if (p_hwfn->mcp_info) { in qed_mcp_free()
145 kfree(p_hwfn->mcp_info->mfw_mb_cur); in qed_mcp_free()
157 kfree(p_hwfn->mcp_info); in qed_mcp_free()
158 p_hwfn->mcp_info = NULL; in qed_mcp_free()
244 p_hwfn->mcp_info = kzalloc(sizeof(*p_hwfn->mcp_info), GFP_KERNEL); in qed_mcp_cmd_init()
245 if (!p_hwfn->mcp_info) in qed_mcp_cmd_init()
247 p_info = p_hwfn->mcp_info; in qed_mcp_cmd_init()
[all …]
H A Dqed_dev.c2444 p_hwfn->mcp_info->mfw_mb_cur, in qed_resc_setup()
2677 if (p_hwfn->mcp_info) { 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()
4118 link = &p_hwfn->mcp_info->link_input; in qed_hw_get_nvm_info()
4171 if (p_hwfn->mcp_info->capabilities & in qed_hw_get_nvm_info()
4228 if (p_hwfn->mcp_info->capabilities & in qed_hw_get_nvm_info()
4559 p_hwfn->mcp_info->func_info.mac); in qed_get_hw_info()
[all …]
H A 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()
H A 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()
H A Dqed_mcp.h836 return !!(p_hwfn->mcp_info->capabilities & in qed_mcp_is_ext_speed_supported()
H A Dqed.h606 struct qed_mcp_info *mcp_info; member
H A 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()
H A 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()
H A Dqed_mng_tlv.c1251 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in qed_mfw_process_tlv_req()
H A Dqed_cxt.c1971 if (p_hwfn->mcp_info->func_info.protocol == QED_PCI_ETH_RDMA) { in qed_rdma_set_pf_params()