Searched refs:TG3_VER_SIZE (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | tg3.h | 3366 #define TG3_VER_SIZE ETHTOOL_FWVERS_LEN macro 3367 char fw_ver[TG3_VER_SIZE];
|
H A D | tg3.c | 15838 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver() 15859 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver() 15884 strncat(tp->fw_ver, "sb", TG3_VER_SIZE - strlen(tp->fw_ver) - 1); in tg3_read_sb_ver() 15925 snprintf(&tp->fw_ver[offset], TG3_VER_SIZE - offset, in tg3_read_sb_ver() 15930 if (offset < TG3_VER_SIZE - 1) in tg3_read_sb_ver() 15977 if (vlen > TG3_VER_SIZE - sizeof(v)) { in tg3_read_mgmtfw_ver() 15978 memcpy(&tp->fw_ver[vlen], &v, TG3_VER_SIZE - vlen); in tg3_read_mgmtfw_ver() 16020 snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " %s v%d.%d.%d.%d", in tg3_read_dash_ver() 16049 snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " .%02d", ver); in tg3_read_otp_ver() 16087 tp->fw_ver[TG3_VER_SIZE in tg3_read_fw_ver() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | tg3.h | 3366 #define TG3_VER_SIZE ETHTOOL_FWVERS_LEN macro 3367 char fw_ver[TG3_VER_SIZE];
|
H A D | tg3.c | 15762 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver() 15783 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver() 15808 strncat(tp->fw_ver, "sb", TG3_VER_SIZE - strlen(tp->fw_ver) - 1); in tg3_read_sb_ver() 15849 snprintf(&tp->fw_ver[offset], TG3_VER_SIZE - offset, in tg3_read_sb_ver() 15854 if (offset < TG3_VER_SIZE - 1) in tg3_read_sb_ver() 15901 if (vlen > TG3_VER_SIZE - sizeof(v)) { in tg3_read_mgmtfw_ver() 15902 memcpy(&tp->fw_ver[vlen], &v, TG3_VER_SIZE - vlen); in tg3_read_mgmtfw_ver() 15944 snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " %s v%d.%d.%d.%d", in tg3_read_dash_ver() 15973 snprintf(&tp->fw_ver[vlen], TG3_VER_SIZE - vlen, " .%02d", ver); in tg3_read_otp_ver() 16011 tp->fw_ver[TG3_VER_SIZE in tg3_read_fw_ver() [all...] |
Completed in 51 milliseconds