Lines Matching refs:shmem_info
1350 struct public_func shmem_info; in qed_mcp_handle_link_change() local
1352 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, in qed_mcp_handle_link_change()
1354 p_link->link_up = !!(shmem_info.status & in qed_mcp_handle_link_change()
1356 qed_read_pf_bandwidth(p_hwfn, &shmem_info); in qed_mcp_handle_link_change()
1650 struct public_func shmem_info; in qed_mcp_update_bw() local
1653 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_update_bw()
1655 qed_read_pf_bandwidth(p_hwfn, &shmem_info); in qed_mcp_update_bw()
1669 struct public_func shmem_info; in qed_mcp_update_stag() local
1672 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_update_stag()
1674 p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag & in qed_mcp_update_stag()
1707 struct public_func shmem_info; in qed_mcp_read_ufp_config() local
1735 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_read_ufp_config()
1736 val = (shmem_info.oem_cfg_func & OEM_CFG_FUNC_TC_MASK) >> in qed_mcp_read_ufp_config()
1739 val = (shmem_info.oem_cfg_func & OEM_CFG_FUNC_HOST_PRI_CTRL_MASK) >> in qed_mcp_read_ufp_config()
2262 struct public_func shmem_info; in qed_mcp_fill_shmem_func_info() local
2264 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_fill_shmem_func_info()
2267 info->pause_on_host = (shmem_info.config & in qed_mcp_fill_shmem_func_info()
2270 if (qed_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt, in qed_mcp_fill_shmem_func_info()
2273 (u32)(shmem_info.config & FUNC_MF_CFG_PROTOCOL_MASK)); in qed_mcp_fill_shmem_func_info()
2277 qed_read_pf_bandwidth(p_hwfn, &shmem_info); in qed_mcp_fill_shmem_func_info()
2279 if (shmem_info.mac_upper || shmem_info.mac_lower) { in qed_mcp_fill_shmem_func_info()
2280 info->mac[0] = (u8)(shmem_info.mac_upper >> 8); in qed_mcp_fill_shmem_func_info()
2281 info->mac[1] = (u8)(shmem_info.mac_upper); in qed_mcp_fill_shmem_func_info()
2282 info->mac[2] = (u8)(shmem_info.mac_lower >> 24); in qed_mcp_fill_shmem_func_info()
2283 info->mac[3] = (u8)(shmem_info.mac_lower >> 16); in qed_mcp_fill_shmem_func_info()
2284 info->mac[4] = (u8)(shmem_info.mac_lower >> 8); in qed_mcp_fill_shmem_func_info()
2285 info->mac[5] = (u8)(shmem_info.mac_lower); in qed_mcp_fill_shmem_func_info()
2293 info->wwn_port = (u64)shmem_info.fcoe_wwn_port_name_lower | in qed_mcp_fill_shmem_func_info()
2294 (((u64)shmem_info.fcoe_wwn_port_name_upper) << 32); in qed_mcp_fill_shmem_func_info()
2295 info->wwn_node = (u64)shmem_info.fcoe_wwn_node_name_lower | in qed_mcp_fill_shmem_func_info()
2296 (((u64)shmem_info.fcoe_wwn_node_name_upper) << 32); in qed_mcp_fill_shmem_func_info()
2298 info->ovlan = (u16)(shmem_info.ovlan_stag & FUNC_MF_CFG_OV_STAG_MASK); in qed_mcp_fill_shmem_func_info()
2300 info->mtu = (u16)shmem_info.mtu_size; in qed_mcp_fill_shmem_func_info()