Lines Matching refs:test_info
793 memcpy(buf, bp->test_info->string, in bnxt_get_strings()
3675 hwrm_req_timeout(bp, req, bp->test_info->timeout); in bnxt_run_fw_tests()
3725 if (!(bp->test_info->offline_mask & bit_val)) in bnxt_self_test()
3926 struct bnxt_test_info *test_info; in bnxt_ethtool_init() local
3937 test_info = bp->test_info; in bnxt_ethtool_init()
3938 if (!test_info) { in bnxt_ethtool_init()
3939 test_info = kzalloc(sizeof(*bp->test_info), GFP_KERNEL); in bnxt_ethtool_init()
3940 if (!test_info) in bnxt_ethtool_init()
3942 bp->test_info = test_info; in bnxt_ethtool_init()
3957 test_info->offline_mask = resp->offline_tests; in bnxt_ethtool_init()
3958 test_info->timeout = le16_to_cpu(resp->test_timeout); in bnxt_ethtool_init()
3959 if (!test_info->timeout) in bnxt_ethtool_init()
3960 test_info->timeout = HWRM_CMD_TIMEOUT; in bnxt_ethtool_init()
3962 char *str = test_info->string[i]; in bnxt_ethtool_init()
3975 fw_str, test_info->offline_mask & (1 << i) ? in bnxt_ethtool_init()
4127 kfree(bp->test_info); in bnxt_ethtool_free()
4128 bp->test_info = NULL; in bnxt_ethtool_free()