Home
last modified time | relevance | path

Searched refs:shmem_base2 (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_phy.c1833 u32_t shmem_base[MAX_PATH_NUM], shmem_base2[MAX_PATH_NUM]; in lm_update_external_phy_fw_prepare() local
1835 shmem_base2[0] = pdev->hw_info.shmem_base2; in lm_update_external_phy_fw_prepare()
1840 LM_SHMEM2_READ(pdev, OFFSETOF(shmem2_region_t,other_shmem2_base_addr), &shmem_base2[1]); in lm_update_external_phy_fw_prepare()
1843 elink_common_init_phy(pdev, shmem_base, shmem_base2, CHIP_ID(pdev), 0); in lm_update_external_phy_fw_prepare()
1844 elink_pre_init_phy(pdev, shmem_base[0], shmem_base2[0], CHIP_ID(pdev), 0); in lm_update_external_phy_fw_prepare()
H A Dlm_hw_init_reset.c4195 u32_t shmem_base2[MAX_PATH_NUM] = {0}; in init_common_part() local
4285 shmem_base2[0] = pdev->hw_info.shmem_base2; in init_common_part()
4290 LM_SHMEM2_READ(pdev, OFFSETOF(shmem2_region_t,other_shmem2_base_addr), &shmem_base2[1]); in init_common_part()
4296 rc = elink_common_init_phy(pdev, shmem_base, shmem_base2, CHIP_ID(pdev), 0); in init_common_part()
4299 rc = elink_pre_init_phy(pdev, shmem_base[0], shmem_base2[0], CHIP_ID(pdev), port); in init_common_part()
4308 if(pdev->hw_info.shmem_base2) in init_common_part()
4318 DbgBreakIf(!pdev->hw_info.shmem_base2); in init_common_part()
4325 DbgBreakIf(!pdev->hw_info.shmem_base2); in init_common_part()
4389 …(pdev, &pdev->vars.link, CHIP_ID(pdev), pdev->hw_info.shmem_base, pdev->hw_info.shmem_base2, port); in init_port_part()
H A Dlm_devinfo.c1995 if (pdev->hw_info.shmem_base2 != 0) in lm_get_shmem_mf_cfg_base()
2622 …pdev->hw_info.shmem_base2 = REG_RD(pdev, PATH_ID(pdev) ? MISC_REG_GENERIC_CR_1 : MISC_REG_GENERIC_… in lm_get_shmem_info()
2626 pdev->hw_info.shmem_base, pdev->hw_info.shmem_base2, pdev->hw_info.mf_cfg_base); in lm_get_shmem_info()
2703 pdev->params.link.shmem2_base= pdev->hw_info.shmem_base2; in init_link_params()
4114 if (pdev->hw_info.shmem_base2 != 0) in lm_set_cli_drv_ver_to_shmem()
H A Dlm_hw_access.c362 …ired |= elink_fan_failure_det_req(pdev, pdev->hw_info.shmem_base, pdev->hw_info.shmem_base2, port); in lm_setup_fan_failure_detection()
H A Dlm_dcbx.c2659 if (pdev->hw_info.shmem_base2 != 0) in lm_dcbx_read_shmem2_mcp_fields()
2681 if (pdev->hw_info.shmem_base2 != 0) in lm_dcbx_write_shmem2_mcp_fields()
H A Dlm_stats.c412 if (pdev->hw_info.shmem_base2 != 0) in lm_edebug_if_is_stats_disabled()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h1632 u32_t shmem_base2; /* Firmware share memory 2 base addr. */ member
4218 #define LM_SHMEM2_READ(_pdev,_offset,_ret) LM_SHMEM_READ_IMP(_pdev,_offset,_ret, shmem_base2 );
4225 #define LM_SHMEM2_WRITE(_pdev,_offset,_val) LM_SHMEM_WRITE_IMP(_pdev,_offset,_val,shmem_base2);
4228 #define LM_SHMEM2_ADDR(_pdev, field) (_pdev->hw_info.shmem_base2 + OFFSETOF(struct shmem2_region, f…
4229 #define LM_SHMEM2_HAS(_pdev, field) ((_pdev)->hw_info.shmem_base2 && \