Lines Matching refs:spirom_ver
6164 static int bnx2x_null_format_ver(u32 spirom_ver, u8 *str, u16 *len) in bnx2x_null_format_ver() argument
6207 u32 spirom_ver = 0; in bnx2x_get_ext_phy_fw_version() local
6217 spirom_ver = REG_RD(bp, params->phy[EXT_PHY1].ver_addr); in bnx2x_get_ext_phy_fw_version()
6220 status |= params->phy[EXT_PHY1].format_fw_ver(spirom_ver, in bnx2x_get_ext_phy_fw_version()
6227 spirom_ver = REG_RD(bp, params->phy[EXT_PHY2].ver_addr); in bnx2x_get_ext_phy_fw_version()
6233 spirom_ver, in bnx2x_get_ext_phy_fw_version()
7071 u32 spirom_ver, u32 ver_addr) in bnx2x_save_spirom_version() argument
7074 (u16)(spirom_ver>>16), (u16)spirom_ver, port); in bnx2x_save_spirom_version()
7077 REG_WR(bp, ver_addr, spirom_ver); in bnx2x_save_spirom_version()
10622 u32 spirom_ver; in bnx2x_848xx_format_ver() local
10624 spirom_ver = ((raw_ver & 0xF80) >> 7) << 16 | (raw_ver & 0x7F); in bnx2x_848xx_format_ver()
10625 return bnx2x_format_ver(spirom_ver, str, len); in bnx2x_848xx_format_ver()
11540 static int bnx2x_7101_format_ver(u32 spirom_ver, u8 *str, u16 *len) in bnx2x_7101_format_ver() argument
11544 str[0] = (spirom_ver & 0xFF); in bnx2x_7101_format_ver()
11545 str[1] = (spirom_ver & 0xFF00) >> 8; in bnx2x_7101_format_ver()
11546 str[2] = (spirom_ver & 0xFF0000) >> 16; in bnx2x_7101_format_ver()
11547 str[3] = (spirom_ver & 0xFF000000) >> 24; in bnx2x_7101_format_ver()