Home
last modified time | relevance | path

Searched refs:TG3_VER_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.h3366 #define TG3_VER_SIZE ETHTOOL_FWVERS_LEN macro
3367 char fw_ver[TG3_VER_SIZE];
H A Dtg3.c15763 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver()
15784 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver()
15809 strncat(tp->fw_ver, "sb", TG3_VER_SIZE - strlen(tp->fw_ver) - 1); in tg3_read_sb_ver()
15850 snprintf(&tp->fw_ver[offset], TG3_VER_SIZE - offset, in tg3_read_sb_ver()
15855 if (offset < TG3_VER_SIZE - 1) in tg3_read_sb_ver()
15902 if (vlen > TG3_VER_SIZE - sizeof(v)) { in tg3_read_mgmtfw_ver()
15903 memcpy(&tp->fw_ver[vlen], &v, TG3_VER_SIZE - vlen); in tg3_read_mgmtfw_ver()
15945 snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " %s v%d.%d.%d.%d", in tg3_read_dash_ver()
15974 snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " .%02d", ver); in tg3_read_otp_ver()
16012 tp->fw_ver[TG3_VER_SIZE - 1] = 0; in tg3_read_fw_ver()