/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/ |
D | log_utils.h | 13 int source_id; in bt_testlib_log_level_set() local 18 source_id = log_source_id_get(module); in bt_testlib_log_level_set() 19 __ASSERT(source_id >= 0, "%d", source_id); in bt_testlib_log_level_set() 21 result_level = log_filter_set(NULL, Z_LOG_LOCAL_DOMAIN_ID, source_id, new_level); in bt_testlib_log_level_set() 33 for (uint32_t source_id = 0; source_id < source_count; source_id++) { in bt_testlib_log_level_set_all() local 36 result_level = log_filter_set(NULL, Z_LOG_LOCAL_DOMAIN_ID, source_id, new_level); in bt_testlib_log_level_set_all()
|
/Zephyr-latest/subsys/logging/ |
D | log_mgmt.c | 50 uint16_t source_id; member 68 return (s0.id.source_id == s1.id.source_id) && in source_id_cmp() 121 uint32_t *z_log_link_get_dynamic_filter(uint8_t domain_id, uint32_t source_id) in z_log_link_get_dynamic_filter() argument 131 return &link->ctrl_blk->filters[source_offset + source_id]; in z_log_link_get_dynamic_filter() 212 static const char *link_source_name_get(uint8_t domain_id, uint32_t source_id) in link_source_name_get() argument 219 .source_id = source_id in link_source_name_get() 231 err = log_link_get_source_name(link, rel_domain_id, source_id, in link_source_name_get() 243 const char *log_source_name_get(uint32_t domain_id, uint32_t source_id) in log_source_name_get() argument 249 if (source_id < log_src_cnt_get(domain_id)) { in log_source_name_get() 250 return TYPE_SECTION_START(log_const)[source_id].name; in log_source_name_get() [all …]
|
D | log_multidomain_link.c | 238 uint32_t domain_id, uint16_t source_id, in link_remote_get_source_name() argument 247 .source_id = source_id in link_remote_get_source_name() 265 uint32_t domain_id, uint16_t source_id, in link_remote_get_levels() argument 274 .source_id = source_id in link_remote_get_levels() 296 uint32_t domain_id, uint16_t source_id, in link_remote_set_runtime_level() argument 305 .source_id = source_id, in link_remote_set_runtime_level()
|
D | log_core.c | 480 int16_t source_id; in msg_filter_check() local 484 source_id = log_msg_get_source_id(&msg->log); in msg_filter_check() 490 if (source_id >= 0) { in msg_filter_check() 491 backend_level = log_filter_get(backend, domain_id, source_id, true); in msg_filter_check()
|
/Zephyr-latest/tests/subsys/logging/log_api/src/ |
D | mock_frontend.c | 43 void mock_log_frontend_generic_record(uint16_t source_id, in mock_log_frontend_generic_record() argument 54 mock_log_backend_generic_record(&backend, source_id, domain_id, level, in mock_log_frontend_generic_record() 113 uint32_t source_id; in log_frontend_msg() local 116 source_id = (uintptr_t)source; in log_frontend_msg() 118 source_id = log_source_id(source); in log_frontend_msg() 121 zassert_equal(source_id, exp_msg->source_id, "got: %d, exp: %d", in log_frontend_msg() 122 source_id, exp_msg->source_id); in log_frontend_msg()
|
D | mock_frontend.h | 17 void mock_log_frontend_generic_record(uint16_t source_id, 24 static inline void mock_log_frontend_record(uint16_t source_id, uint8_t level, const char *str) in mock_log_frontend_record() argument 26 mock_log_frontend_generic_record(source_id, 0, level, str, NULL, 0); in mock_log_frontend_record()
|
D | mock_backend.c | 56 uint16_t source_id, in mock_log_backend_generic_record() argument 77 exp->source_id = source_id; in mock_log_backend_generic_record() 152 uint32_t source_id; in process() local 156 source_id = (uintptr_t)source; in process() 158 source_id = 0; in process() 160 source_id = log_source_id(source); in process() 163 zassert_equal(source_id, exp->source_id, "source_id:%p (exp: %d)", in process() 164 source_id, exp->source_id); in process()
|
D | mock_backend.h | 20 uint16_t source_id; member 53 uint16_t source_id, 62 uint16_t source_id, in mock_log_backend_record() argument 68 mock_log_backend_generic_record(backend, source_id, domain_id, level, in mock_log_backend_record()
|
/Zephyr-latest/tests/subsys/logging/log_links/src/ |
D | mock_log_link.c | 42 uint16_t source_id, char *buf, size_t *length) in get_source_name() argument 46 strncpy(buf, mock->domains[domain_id]->sources[source_id].source, in get_source_name() 48 *length = strlen(mock->domains[domain_id]->sources[source_id].source); in get_source_name() 54 uint16_t source_id, uint8_t *level, uint8_t *runtime_level) in get_levels() argument 58 *level = mock->domains[domain_id]->sources[source_id].clevel; in get_levels() 61 *runtime_level = mock->domains[domain_id]->sources[source_id].rlevel; in get_levels() 68 uint16_t source_id, uint8_t level) in set_runtime_level() argument 72 mock->domains[domain_id]->sources[source_id].rlevel = level; in set_runtime_level()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_cap.h | 69 uint8_t source_id; member 81 uint8_t source_id; member 93 uint8_t source_id; member 105 uint8_t source_id; member 114 uint8_t source_id; member 119 uint8_t source_id; member 124 uint8_t source_id; member 129 uint8_t source_id; member 134 uint8_t source_id; member 139 uint8_t source_id; member
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_link.h | 45 uint16_t source_id, char *buf, size_t *length); 47 uint16_t source_id, uint8_t *level, 50 uint16_t source_id, uint8_t level); 223 uint32_t domain_id, uint16_t source_id, in log_link_get_source_name() argument 229 return link->api->get_source_name(link, domain_id, source_id, in log_link_get_source_name() 244 uint32_t domain_id, uint16_t source_id, in log_link_get_levels() argument 249 return link->api->get_levels(link, domain_id, source_id, in log_link_get_levels() 263 uint32_t domain_id, uint16_t source_id, in log_link_set_runtime_level() argument 269 return link->api->set_runtime_level(link, domain_id, source_id, level); in log_link_set_runtime_level()
|
D | log_ctrl.h | 121 const char *log_source_name_get(uint32_t domain_id, uint32_t source_id); 162 uint32_t domain_id, int16_t source_id, bool runtime); 176 uint32_t domain_id, int16_t source_id, 187 uint32_t log_frontend_filter_get(int16_t source_id, bool runtime); 197 __syscall uint32_t log_frontend_filter_set(int16_t source_id, uint32_t level);
|
D | log_frontend_stmesp_demux.h | 131 uint16_t source_id; member 227 int log_frontend_stmesp_demux_log0(uint16_t source_id, uint64_t *ts); 233 void log_frontend_stmesp_demux_source_id(uint16_t source_id);
|
D | log_internal.h | 87 static inline uint32_t *z_log_dynamic_filters_get(uint32_t source_id) in z_log_dynamic_filters_get() argument 89 return &TYPE_SECTION_START(log_dynamic)[source_id].filters; in z_log_dynamic_filters_get()
|
D | log_multidomain_helper.h | 96 uint16_t source_id; member 103 uint16_t source_id; member 111 uint16_t source_id; member
|
/Zephyr-latest/subsys/shell/modules/kernel_service/ |
D | log-level.c | 32 int source_id = log_source_id_get(argv[1]); in cmd_kernel_log_level_set() local 35 if (source_id < 0) { in cmd_kernel_log_level_set() 39 log_filter_set(NULL, 0, (int16_t)source_id, severity); in cmd_kernel_log_level_set()
|
/Zephyr-latest/tests/subsys/logging/log_core_additional/src/ |
D | log_test_user.c | 50 static void call_log_generic(uint32_t source_id, const char *fmt, ...) in call_log_generic() argument 62 uint32_t source_id = 0; in ZTEST_USER() local 64 call_log_generic(source_id, "log generic\n"); in ZTEST_USER()
|
/Zephyr-latest/tests/subsys/logging/log_link_order/src/ |
D | mock_log_link.c | 32 uint16_t source_id, char *buf, size_t *length) in get_source_name() argument 42 uint16_t source_id, uint8_t *level, uint8_t *runtime_level) in get_levels() argument 55 uint16_t source_id, uint8_t level) in set_runtime_level() argument
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_multidomain_backend.c | 92 uint8_t domain_id, uint16_t source_id, in get_name_response() argument 97 log_source_name_get(domain_id, source_id); in get_name_response() 120 outmsg->data.source_name.source_id = source_id; in get_name_response() 158 msg->data.source_name.source_id, in log_multidomain_backend_on_recv_cb() 166 outmsg.data.levels.source_id, in log_multidomain_backend_on_recv_cb() 171 outmsg.data.levels.source_id, in log_multidomain_backend_on_recv_cb() 178 outmsg.data.set_rt_level.source_id, in log_multidomain_backend_on_recv_cb()
|
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/ |
D | log_database.py | 231 def add_log_instance(self, source_id, name, level, address): argument 233 self.database['log_subsys']['log_instances'][source_id] = { 234 'source_id' : source_id, 241 def get_log_source_string(self, domain_id, source_id): argument 244 src_id = str(source_id)
|
/Zephyr-latest/subsys/logging/frontends/ |
D | log_frontend_stmesp_demux.c | 80 uint16_t source_id; member 96 static void store_source_id(uint16_t m_id, uint16_t entry_id, uint16_t source_id) in store_source_id() argument 104 source_ids[*wr_idx].source_id = source_id; in store_source_id() 122 return source_ids[rd_idx].source_id; in get_source_id() 262 static void store_turbo_log0(uint16_t m_id, uint16_t id, uint64_t *ts, uint16_t source_id) in store_turbo_log0() argument 271 .source_id = source_id, in store_turbo_log0() 288 .source_id = get_source_id(m_id, id), in store_turbo_log1() 353 int log_frontend_stmesp_demux_log0(uint16_t source_id, uint64_t *ts) in log_frontend_stmesp_demux_log0() argument 378 store_turbo_log0(m, ch, ts, source_id); in log_frontend_stmesp_demux_log0()
|
D | log_frontend_stmesp.c | 88 uint32_t source_id: 12; member 106 .source_id = _source_id, \ 666 uint16_t source_id = log_source_id(source); in log_frontend_stmesp_log0() local 670 stmesp_data16(port, source_id, true, true, in log_frontend_stmesp_log0() 679 uint16_t source_id = log_source_id(source); in log_frontend_stmesp_log1() local 683 stmesp_data16(port, source_id, false, true, in log_frontend_stmesp_log1()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.h | 17 uint8_t source_id; member 56 struct btp_bap_broadcast_local_source *btp_bap_broadcast_local_source_get(uint8_t source_id);
|
D | btp_cap.c | 466 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_setup_stream() 503 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_setup_subgroup() 608 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_setup() 696 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_release() 771 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_start() 796 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_stop() 820 btp_bap_broadcast_local_source_get(cp->source_id); in btp_cap_broadcast_source_update()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_intel_vtd.h | 72 uint64_t source_id : 16; member
|