tracer_event 360 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event) tracer_event 363 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c &tracer->hash[mlx5_tracer_message_hash(tracer_event->string_event.tmsn)]; tracer_event 376 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event) tracer_event 382 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c str_ptr = tracer_event->string_event.string_param; tracer_event 390 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string = mlx5_tracer_message_insert(tracer, tracer_event); tracer_event 445 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event) tracer_event 448 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c &tracer->hash[mlx5_tracer_message_hash(tracer_event->string_event.tmsn)]; tracer_event 450 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c return mlx5_tracer_message_find(head, tracer_event->event_id, tracer_event->string_event.tmsn); tracer_event 454 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event, u64 *trace) tracer_event 458 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->event_id = MLX5_GET(tracer_event, trace, event_id); tracer_event 459 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->lost_event = MLX5_GET(tracer_event, trace, lost); tracer_event 461 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c switch (tracer_event->event_id) { tracer_event 463 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->type = TRACER_EVENT_TYPE_TIMESTAMP; tracer_event 466 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->timestamp_event.unreliable = !!(urts >> 2); tracer_event 468 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->timestamp_event.unreliable = !!(urts & 1); tracer_event 477 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->timestamp_event.timestamp = tracer_event 483 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (tracer_event->event_id >= tracer->str_db.first_string_trace || tracer_event 484 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->event_id <= tracer->str_db.first_string_trace + tracer_event 486 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->type = TRACER_EVENT_TYPE_STRING; tracer_event 487 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->string_event.timestamp = tracer_event 489 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->string_event.string_param = tracer_event 491 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->string_event.tmsn = tracer_event 493 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->string_event.tdsn = tracer_event 496 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->type = TRACER_EVENT_TYPE_UNRECOGNIZED; tracer_event 504 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event tracer_event; tracer_event 507 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c event_id = MLX5_GET(tracer_event, ts_event, event_id); tracer_event 510 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c poll_trace(tracer, &tracer_event, ts_event); tracer_event 512 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event.timestamp_event.timestamp = 0; tracer_event 514 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c return tracer_event.timestamp_event.timestamp; tracer_event 583 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event) tracer_event 587 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (tracer_event->string_event.tdsn == 0) { tracer_event 588 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string = mlx5_tracer_get_string(tracer, tracer_event); tracer_event 594 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string->event_id = tracer_event->event_id; tracer_event 595 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string->tmsn = tracer_event->string_event.tmsn; tracer_event 596 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string->timestamp = tracer_event->string_event.timestamp; tracer_event 597 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string->lost = tracer_event->lost_event; tracer_event 601 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string = mlx5_tracer_message_get(tracer, tracer_event); tracer_event 604 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c __func__, tracer_event->string_event.tmsn); tracer_event 616 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->string_event.string_param; tracer_event 625 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event) tracer_event 628 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->timestamp_event; tracer_event 647 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event *tracer_event) tracer_event 649 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (tracer_event->type == TRACER_EVENT_TYPE_STRING) { tracer_event 650 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_tracer_handle_string_trace(tracer, tracer_event); tracer_event 651 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c } else if (tracer_event->type == TRACER_EVENT_TYPE_TIMESTAMP) { tracer_event 652 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!tracer_event->timestamp_event.unreliable) tracer_event 653 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_tracer_handle_timestamp_trace(tracer, tracer_event); tracer_event 656 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c __func__, tracer_event->type); tracer_event 667 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 trace_event_size = MLX5_ST_SZ_BYTES(tracer_event); tracer_event 669 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct tracer_event tracer_event; tracer_event 718 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c poll_trace(tracer, &tracer_event, &tmp_trace_block[i]); tracer_event 719 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_tracer_handle_trace(tracer, &tracer_event);