Lines Matching refs:shmem_info

1376 			struct public_func shmem_info;  in qed_mcp_handle_link_change()  local
1378 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, in qed_mcp_handle_link_change()
1380 p_link->link_up = !!(shmem_info.status & in qed_mcp_handle_link_change()
1382 qed_read_pf_bandwidth(p_hwfn, &shmem_info); in qed_mcp_handle_link_change()
1764 struct public_func shmem_info; in qed_mcp_update_bw() local
1767 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_update_bw()
1769 qed_read_pf_bandwidth(p_hwfn, &shmem_info); in qed_mcp_update_bw()
1783 struct public_func shmem_info; in qed_mcp_update_stag() local
1786 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_update_stag()
1788 p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag & in qed_mcp_update_stag()
1942 struct public_func shmem_info; in qed_mcp_read_ufp_config() local
1970 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_read_ufp_config()
1971 val = (shmem_info.oem_cfg_func & OEM_CFG_FUNC_TC_MASK) >> in qed_mcp_read_ufp_config()
1974 val = (shmem_info.oem_cfg_func & OEM_CFG_FUNC_HOST_PRI_CTRL_MASK) >> in qed_mcp_read_ufp_config()
2527 struct public_func shmem_info; in qed_mcp_fill_shmem_func_info() local
2529 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); in qed_mcp_fill_shmem_func_info()
2532 info->pause_on_host = (shmem_info.config & in qed_mcp_fill_shmem_func_info()
2535 if (qed_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt, in qed_mcp_fill_shmem_func_info()
2538 (u32)(shmem_info.config & FUNC_MF_CFG_PROTOCOL_MASK)); in qed_mcp_fill_shmem_func_info()
2542 qed_read_pf_bandwidth(p_hwfn, &shmem_info); in qed_mcp_fill_shmem_func_info()
2544 if (shmem_info.mac_upper || shmem_info.mac_lower) { in qed_mcp_fill_shmem_func_info()
2545 info->mac[0] = (u8)(shmem_info.mac_upper >> 8); in qed_mcp_fill_shmem_func_info()
2546 info->mac[1] = (u8)(shmem_info.mac_upper); in qed_mcp_fill_shmem_func_info()
2547 info->mac[2] = (u8)(shmem_info.mac_lower >> 24); in qed_mcp_fill_shmem_func_info()
2548 info->mac[3] = (u8)(shmem_info.mac_lower >> 16); in qed_mcp_fill_shmem_func_info()
2549 info->mac[4] = (u8)(shmem_info.mac_lower >> 8); in qed_mcp_fill_shmem_func_info()
2550 info->mac[5] = (u8)(shmem_info.mac_lower); in qed_mcp_fill_shmem_func_info()
2558 info->wwn_port = (u64)shmem_info.fcoe_wwn_port_name_lower | in qed_mcp_fill_shmem_func_info()
2559 (((u64)shmem_info.fcoe_wwn_port_name_upper) << 32); in qed_mcp_fill_shmem_func_info()
2560 info->wwn_node = (u64)shmem_info.fcoe_wwn_node_name_lower | in qed_mcp_fill_shmem_func_info()
2561 (((u64)shmem_info.fcoe_wwn_node_name_upper) << 32); in qed_mcp_fill_shmem_func_info()
2563 info->ovlan = (u16)(shmem_info.ovlan_stag & FUNC_MF_CFG_OV_STAG_MASK); in qed_mcp_fill_shmem_func_info()
2565 info->mtu = (u16)shmem_info.mtu_size; in qed_mcp_fill_shmem_func_info()