Lines Matching refs:code

316 void qdf_trace(uint8_t module, uint16_t code, uint16_t session, uint32_t data)  in qdf_trace()  argument
360 rec->code = code; in qdf_trace()
413 void qdf_trace_dump_all(void *p_mac, uint8_t code, uint8_t session, in qdf_trace_dump_all() argument
458 if ((code == 0 || (code == p_record.code)) && in qdf_trace_dump_all()
718 static bool qdf_dp_trace_verbosity_check(enum QDF_DP_TRACE_ID code) in qdf_dp_trace_verbosity_check() argument
724 if (code <= QDF_DP_TRACE_MED_VERBOSITY) in qdf_dp_trace_verbosity_check()
728 if (code <= QDF_DP_TRACE_LOW_VERBOSITY) in qdf_dp_trace_verbosity_check()
732 if (code <= QDF_DP_TRACE_ULTRA_LOW_VERBOSITY) in qdf_dp_trace_verbosity_check()
736 if (code <= QDF_DP_TRACE_BASE_VERBOSITY) in qdf_dp_trace_verbosity_check()
821 const char *qdf_dp_code_to_string(enum QDF_DP_TRACE_ID code) in qdf_dp_code_to_string() argument
823 switch (code) { in qdf_dp_code_to_string()
1101 static bool qdf_dp_enable_check(qdf_nbuf_t nbuf, enum QDF_DP_TRACE_ID code, in qdf_dp_enable_check() argument
1108 if (qdf_dp_trace_verbosity_check(code) == false) in qdf_dp_enable_check()
1154 qdf_dp_code_to_string(record->code)); in qdf_dp_trace_fill_meta_str()
1221 static void qdf_dp_add_record(enum QDF_DP_TRACE_ID code, uint8_t pdev_id, in qdf_dp_add_record() argument
1232 if (code >= QDF_DP_TRACE_MAX) { in qdf_dp_add_record()
1235 code, QDF_DP_TRACE_MAX); in qdf_dp_add_record()
1281 rec->code = code; in qdf_dp_add_record()
1289 if (rec->code >= QDF_DP_TRACE_MAX) { in qdf_dp_add_record()
1292 rec->code, QDF_DP_TRACE_MAX); in qdf_dp_add_record()
1300 qdf_dp_trace_cb_table[rec->code] (rec, index, in qdf_dp_add_record()
1711 uint8_t code = *(data + EAP_CODE_OFFSET); in qdf_get_wlan_eap_code() local
1713 switch (code) { in qdf_get_wlan_eap_code()
2138 void qdf_dp_trace_mgmt_pkt(enum QDF_DP_TRACE_ID code, uint8_t vdev_id, in qdf_dp_trace_mgmt_pkt() argument
2145 if (qdf_dp_enable_check(NULL, code, QDF_NA) == false) in qdf_dp_trace_mgmt_pkt()
2154 qdf_dp_add_record(code, pdev_id, (uint8_t *)&buf, buf_size, in qdf_dp_trace_mgmt_pkt()
2221 enum QDF_DP_TRACE_ID code = QDF_DP_TRACE_TX_CREDIT_RECORD; in qdf_dp_trace_credit_record() local
2223 if (qdf_dp_enable_check(NULL, code, QDF_NA) == false) in qdf_dp_trace_credit_record()
2239 qdf_dp_add_record(code, QDF_TRACE_DEFAULT_PDEV_ID, (uint8_t *)&buf, in qdf_dp_trace_credit_record()
2263 void qdf_dp_trace_record_event(enum QDF_DP_TRACE_ID code, uint8_t vdev_id, in qdf_dp_trace_record_event() argument
2270 if (qdf_dp_enable_check(NULL, code, QDF_NA) == false) in qdf_dp_trace_record_event()
2279 qdf_dp_add_record(code, pdev_id, in qdf_dp_trace_record_event()
2323 void qdf_dp_trace_proto_pkt(enum QDF_DP_TRACE_ID code, in qdf_dp_trace_proto_pkt() argument
2332 if (qdf_dp_enable_check(NULL, code, dir) == false) in qdf_dp_trace_proto_pkt()
2342 qdf_dp_add_record(code, pdev_id, in qdf_dp_trace_proto_pkt()
2356 if ((record->code == QDF_DP_TRACE_FREE_PACKET_PTR_RECORD) || in qdf_dp_display_ptr_record()
2357 (record->code == QDF_DP_TRACE_LI_DP_FREE_PACKET_PTR_RECORD)) in qdf_dp_display_ptr_record()
2503 void qdf_dp_trace_ptr(qdf_nbuf_t nbuf, enum QDF_DP_TRACE_ID code, in qdf_dp_trace_ptr() argument
2515 if ((code == QDF_DP_TRACE_FREE_PACKET_PTR_RECORD || in qdf_dp_trace_ptr()
2516 code == QDF_DP_TRACE_LI_DP_FREE_PACKET_PTR_RECORD) && in qdf_dp_trace_ptr()
2535 if (qdf_dp_enable_check(nbuf, code, QDF_TX) == false) in qdf_dp_trace_ptr()
2544 qdf_dp_add_record(code, pdev_id, (uint8_t *)&buf, buf_size, NULL, 0, in qdf_dp_trace_ptr()
2550 enum QDF_DP_TRACE_ID code, uint16_t msdu_id, in qdf_dp_trace_data_pkt() argument
2557 if (code == QDF_DP_TRACE_DROP_PACKET_RECORD && in qdf_dp_trace_data_pkt()
2567 if (!qdf_dp_enable_check(nbuf, code, dir)) in qdf_dp_trace_data_pkt()
2570 qdf_dp_add_record(code, pdev_id, in qdf_dp_trace_data_pkt()
2593 switch (record->code) { in qdf_dp_display_record()
2633 void qdf_dp_trace(qdf_nbuf_t nbuf, enum QDF_DP_TRACE_ID code, uint8_t pdev_id, in qdf_dp_trace() argument
2637 if (qdf_dp_enable_check(nbuf, code, dir) == false) in qdf_dp_trace()
2640 qdf_dp_add_record(code, pdev_id, nbuf ? qdf_nbuf_data(nbuf) : NULL, in qdf_dp_trace()
2842 (record->code == in qdf_dpt_display_ptr_record_debugfs()
3002 switch (p_record.code) { in qdf_dpt_dump_stats_debugfs()
3035 qdf_dp_code_to_string(p_record.code)); in qdf_dpt_dump_stats_debugfs()
3043 qdf_dp_code_to_string(p_record.code)); in qdf_dpt_dump_stats_debugfs()
3051 qdf_dp_code_to_string(p_record.code)); in qdf_dpt_dump_stats_debugfs()
3151 qdf_dp_trace_cb_table[p_record.code](&p_record, in qdf_dp_trace_dump_all()