Home
last modified time | relevance | path

Searched full:info (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/Zephyr-latest/samples/posix/uname/src/
Dmain.c12 struct utsname info; in main() local
14 uname(&info); in main()
17 printf("sysname[%zu]: %s\n", sizeof(info.sysname), info.sysname); in main()
18 printf("nodename[%zu]: %s\n", sizeof(info.nodename), info.nodename); in main()
19 printf("release[%zu]: %s\n", sizeof(info.release), info.release); in main()
20 printf("version[%zu]: %s\n", sizeof(info.version), info.version); in main()
21 printf("machine[%zu]: %s\n", sizeof(info.machine), info.machine); in main()
/Zephyr-latest/subsys/debug/
Dthread_analyzer.c39 static void thread_print_cb(struct thread_analyzer_info *info) in thread_print_cb() argument
41 size_t pcnt = (info->stack_used * 100U) / info->stack_size; in thread_print_cb()
46 THREAD_ANALYZER_VSTR(info->name), in thread_print_cb()
47 info->stack_size - info->stack_used, info->stack_used, in thread_print_cb()
48 info->stack_size, pcnt, in thread_print_cb()
49 info->utilization); in thread_print_cb()
52 if (info->priv_stack_size > 0) { in thread_print_cb()
53 pcnt = (info->priv_stack_used * 100U) / info->priv_stack_size; in thread_print_cb()
58 " ", info->priv_stack_size - info->priv_stack_used, info->priv_stack_used, in thread_print_cb()
59 info->priv_stack_size, pcnt); in thread_print_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_stream_rx.c18 static void log_stream_rx(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in log_stream_rx() argument
24 test_stream->rx_cnt, stream, buf->len, info->flags, info->seq_num, info->ts); in log_stream_rx()
27 void bap_stream_rx_recv_cb(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in bap_stream_rx_recv_cb() argument
33 log_stream_rx(stream, info, buf); in bap_stream_rx_recv_cb()
36 if (test_stream->rx_cnt > 0U && info->ts == test_stream->last_info.ts) { in bap_stream_rx_recv_cb()
37 log_stream_rx(stream, info, buf); in bap_stream_rx_recv_cb()
42 if (test_stream->rx_cnt > 0U && info->seq_num == test_stream->last_info.seq_num) { in bap_stream_rx_recv_cb()
43 log_stream_rx(stream, info, buf); in bap_stream_rx_recv_cb()
48 if (info->flags & BT_ISO_FLAGS_ERROR) { in bap_stream_rx_recv_cb()
51 log_stream_rx(stream, info, buf); in bap_stream_rx_recv_cb()
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_mcux_lpc_rtc.c24 struct counter_config_info info; member
38 const struct counter_config_info *info = dev->config; in mcux_lpc_rtc_isr() local
40 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_isr()
85 const struct counter_config_info *info = dev->config; in mcux_lpc_rtc_start() local
87 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_start()
96 const struct counter_config_info *info = dev->config; in mcux_lpc_rtc_stop() local
98 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_stop()
110 const struct counter_config_info *info = dev->config; in mcux_lpc_rtc_read() local
112 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_read()
128 const struct counter_config_info *info = dev->config; in mcux_lpc_rtc_set_alarm() local
[all …]
Dcounter_mcux_rtc.c27 struct counter_config_info info; member
34 const struct counter_config_info *info = dev->config; in mcux_rtc_start() local
36 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_start()
49 const struct counter_config_info *info = dev->config; in mcux_rtc_stop() local
51 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_stop()
67 const struct counter_config_info *info = dev->config; in mcux_rtc_read() local
69 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_read()
96 const struct counter_config_info *info = dev->config; in mcux_rtc_set_alarm() local
98 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_set_alarm()
150 const struct counter_config_info *info = dev->config; in mcux_rtc_set_top_value() local
[all …]
/Zephyr-latest/kernel/
Dmem_slab.c35 memcpy(stats, &slab->info, sizeof(slab->info)); in k_mem_slab_stats_raw()
51 ptr->free_bytes = (slab->info.num_blocks - slab->info.num_used) * in k_mem_slab_stats_query()
52 slab->info.block_size; in k_mem_slab_stats_query()
53 ptr->allocated_bytes = slab->info.num_used * slab->info.block_size; in k_mem_slab_stats_query()
55 ptr->max_allocated_bytes = slab->info.max_used * slab->info.block_size; in k_mem_slab_stats_query()
75 slab->info.max_used = slab->info.num_used; in k_mem_slab_stats_reset()
109 CHECKIF(((slab->info.block_size | (uintptr_t)slab->buffer) & in create_free_list()
115 p = slab->buffer + slab->info.block_size * (slab->info.num_blocks - 1); in create_free_list()
120 p -= slab->info.block_size; in create_free_list()
158 k_obj_core_stats_register(K_OBJ_CORE(slab), &slab->info, in init_mem_slab_obj_core_list()
[all …]
/Zephyr-latest/lib/mem_blocks/
Dmem_blocks.c37 mem_block->info.used_blocks += (uint32_t)num_blocks; in alloc_blocks()
39 if (mem_block->info.max_used_blocks < mem_block->info.used_blocks) { in alloc_blocks()
40 mem_block->info.max_used_blocks = mem_block->info.used_blocks; in alloc_blocks()
48 blk = mem_block->buffer + (offset << mem_block->info.blk_sz_shift); in alloc_blocks()
66 offset = (blk - mem_block->buffer) >> mem_block->info.blk_sz_shift; in free_blocks()
67 if (offset >= mem_block->info.num_blocks) { in free_blocks()
79 mem_block->info.used_blocks -= (uint32_t)num_blocks; in free_blocks()
103 if (count > mem_block->info.num_blocks) { in sys_mem_blocks_alloc_contiguous()
119 ptr, count << mem_block->info.blk_sz_shift); in sys_mem_blocks_alloc_contiguous()
142 if (count > mem_block->info.num_blocks) { in sys_mem_blocks_alloc()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_page_layout.c12 uint32_t index, struct flash_pages_info *info) in flash_get_page_info() argument
19 info->start_offset = 0; in flash_get_page_info()
20 info->index = 0U; in flash_get_page_info()
25 info->size = layout->pages_size; in flash_get_page_info()
27 index_jmp = index - info->index; in flash_get_page_info()
29 index_jmp = (offs - info->start_offset) / info->size; in flash_get_page_info()
33 info->start_offset += (index_jmp * info->size); in flash_get_page_info()
34 info->index += index_jmp; in flash_get_page_info()
46 struct flash_pages_info *info) in z_impl_flash_get_page_info_by_offs() argument
48 return flash_get_page_info(dev, offs, 0U, info); in z_impl_flash_get_page_info_by_offs()
[all …]
/Zephyr-latest/samples/bluetooth/observer/src/
Dobserver.c53 static void scan_recv(const struct bt_le_scan_recv_info *info, in scan_recv() argument
66 data_status = BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS(info->adv_props); in scan_recv()
68 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
73 le_addr, info->adv_type, info->tx_power, info->rssi, in scan_recv()
75 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
76 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
77 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
78 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
79 (info->adv_props & BT_GAP_ADV_PROP_EXT_ADV) != 0, in scan_recv()
80 phy2str(info->primary_phy), phy2str(info->secondary_phy), in scan_recv()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dmem.c22 static bool slab_pool_found_already(struct ctx_info *info, in slab_pool_found_already() argument
30 if (info->tx_slabs[i] == slab) { in slab_pool_found_already()
34 if (info->data_pools[i] == pool) { in slab_pool_found_already()
49 struct ctx_info *info = data->user_data; in context_info() local
60 if (slab_pool_found_already(info, slab, NULL)) { in context_info()
66 slab, slab->info.num_blocks, k_mem_slab_num_free_get(slab)); in context_info()
68 PR("%p\t%d\tETX\n", slab, slab->info.num_blocks); in context_info()
70 info->are_external_pools = true; in context_info()
71 info->tx_slabs[info->pos] = slab; in context_info()
77 if (slab_pool_found_already(info, NULL, pool)) { in context_info()
[all …]
Devents.c59 memcpy(msg.data, cb->info, msg.len); in event_handler()
89 char *info = NULL; in get_l3_desc() local
102 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
108 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
114 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
120 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
126 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
132 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
138 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
144 info = net_addr_ntop(AF_INET6, msg->data, extra_info, in get_l3_desc()
[all …]
/Zephyr-latest/samples/bluetooth/periodic_sync/src/
Dmain.c74 static void scan_recv(const struct bt_le_scan_recv_info *info, in scan_recv() argument
88 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
92 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
93 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
94 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
95 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
96 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
97 (info->adv_props & BT_GAP_ADV_PROP_EXT_ADV) != 0, in scan_recv()
98 phy2str(info->primary_phy), phy2str(info->secondary_phy), in scan_recv()
99 info->interval, info->interval * 5 / 4, info->sid); in scan_recv()
[all …]
/Zephyr-latest/tests/posix/single_process/src/
Duname.c13 struct utsname info; in ZTEST() local
15 zassert_ok(uname(&info)); in ZTEST()
16 zassert_ok(strncmp(info.sysname, "Zephyr", sizeof(info.sysname))); in ZTEST()
17 zassert_ok(strncmp(info.machine, CONFIG_ARCH, sizeof(info.machine))); in ZTEST()
/Zephyr-latest/boards/intel/socfpga_std/cyclonev_socdk/doc/
Dindex.rst231 -- runners.intel_cyclonev: OpenOCD GDB server running on port 3333; no thread info available
235 Info : only one transport option; autoselect 'jtag'
237 Info : Listening on port 6666 for tcl connections
238 Info : Listening on port 4444 for telnet connections
239 Info : Altera USB-Blaster II (uninitialized) found
240 Info : Loading firmware...
241 Info : Waiting for reenumerate...
242 Info : Waiting for reenumerate...
243 Info : Altera USB-Blaster II found (Firm. rev. = 1.39)
244 Info : This adapter doesn't support configurable speed
[all …]
/Zephyr-latest/arch/x86/core/
Dmultiboot.c25 * info struct. we need to grab the relevant data before any dynamic memory
40 struct multiboot_info *info; in z_multiboot_init() local
51 info = info_pa; in z_multiboot_init()
53 k_mem_map_phys_bare((uint8_t **)&info, POINTER_TO_UINT(info_pa), in z_multiboot_init()
57 if (info == NULL) { in z_multiboot_init()
61 memcpy(&multiboot_info, info, sizeof(*info)); in z_multiboot_init()
69 if ((info->flags & MULTIBOOT_INFO_FLAGS_MMAP) && in z_multiboot_init()
78 address = info->mmap_addr; in z_multiboot_init()
82 k_mem_map_phys_bare(&address_va, info->mmap_addr, info->mmap_length, in z_multiboot_init()
88 address_end = address + info->mmap_length; in z_multiboot_init()
[all …]
/Zephyr-latest/samples/bluetooth/central_past/src/
Dmain.c58 static void scan_recv(const struct bt_le_scan_recv_info *info, in scan_recv() argument
66 if (info->rssi < -70) { in scan_recv()
74 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
80 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
81 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
82 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
83 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
84 (info->adv_props & BT_GAP_ADV_PROP_EXT_ADV) != 0, in scan_recv()
85 phy2str(info->primary_phy), phy2str(info->secondary_phy), in scan_recv()
[all …]
/Zephyr-latest/tests/subsys/sensing/src/
Dmain.c44 static bool check_sensor_type(const struct sensing_sensor_info *info, in check_sensor_type() argument
48 if (info->type == sensor->sensor_types[i]) { in check_sensor_type()
62 const struct sensing_sensor_info *info; in ZTEST() local
66 ret = sensing_get_sensors(&num, &info); in ZTEST()
70 zassert_not_null(info, "Expected sensor info to be not null"); in ZTEST()
76 if (strcmp(info[i].name, sensors[j].name) == 0) { in ZTEST()
77 zassert_true(strcmp(info[i].friendly_name, in ZTEST()
80 info[i].name); in ZTEST()
81 zassert_true(check_sensor_type(&info[i], &sensors[j]), in ZTEST()
83 info[i].name); in ZTEST()
[all …]
/Zephyr-latest/samples/sensor/sensor_shell/pytest/
Dtest_sensor_shell.py12 logger.info('send "sensor info" command')
14 lines = shell.exec_command('sensor info')
18 logger.info('response is valid')
22 logger.info('send "sensor get" command')
35 logger.info('response is valid')
39 logger.info('send "sensor attr_get" command')
47 logger.info('response is valid')
51 logger.info('send "sensor attr_set" command')
61 logger.info('response is valid')
65 logger.info('send "sensor trig" command')
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c54 static void scan_recv(const struct bt_le_scan_recv_info *info,
58 struct bt_le_per_adv_sync_synced_info *info);
60 const struct bt_le_per_adv_sync_term_info *info);
62 const struct bt_le_per_adv_sync_recv_info *info,
64 static void scan_recv(const struct bt_le_scan_recv_info *info,
134 case BT_DF_CTE_CRC_ERR_CTE_BASED_TIME: return "CRC not OK, CTE Info OK"; in pocket_status2str()
159 struct bt_le_per_adv_sync_synced_info *info) in sync_cb() argument
163 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
168 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
174 const struct bt_le_per_adv_sync_term_info *info) in term_cb() argument
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_common.c37 conn->info.type = BT_CONN_TYPE_LE; in test_conn_init()
38 conn->info.role = BT_CONN_ROLE_PERIPHERAL; in test_conn_init()
39 conn->info.state = BT_CONN_STATE_CONNECTED; in test_conn_init()
40 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
41 conn->info.security.enc_key_size = BT_ENC_KEY_SIZE_MAX; in test_conn_init()
42 conn->info.security.flags = BT_SECURITY_FLAG_OOB | BT_SECURITY_FLAG_SC; in test_conn_init()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/
Dtestcase.yaml20 mgmt.mcumgr.os.info: {}
21 mgmt.mcumgr.os.info.no_hooks:
25 mgmt.mcumgr.os.info.bt:
30 mgmt.mcumgr.os.info.net:
48 mgmt.mcumgr.os.info.build_date:
51 mgmt.mcumgr.os.info.limited_size:
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dmem_slab.c12 if (slab->info.num_used >= slab->info.num_blocks) { in k_mem_slab_alloc()
17 *mem = malloc(slab->info.block_size); in k_mem_slab_alloc()
20 slab->info.num_used++; in k_mem_slab_alloc()
27 slab->info.num_used--; in k_mem_slab_free()
/Zephyr-latest/tests/drivers/flash/erase_blocks/src/
Dmain.c130 static void test_flash_write_across_page_boundary(const struct flash_pages_info *info, in test_flash_write_across_page_boundary() argument
133 off_t page_boundary = info->start_offset; in test_flash_write_across_page_boundary()
134 uint32_t page0_index = info->index - 1; in test_flash_write_across_page_boundary()
135 uint32_t page1_index = info->index; in test_flash_write_across_page_boundary()
147 static bool test_flash_write_across_page_boundaries(const struct flash_pages_info *info, in test_flash_write_across_page_boundaries() argument
152 if (info->start_offset <= TEST_FLASH_PART_OFFSET) { in test_flash_write_across_page_boundaries()
157 if (info->start_offset >= TEST_FLASH_PART_END_OFFSET) { in test_flash_write_across_page_boundaries()
162 test_flash_write_across_page_boundary(info, write_block_size); in test_flash_write_across_page_boundaries()
175 static void test_flash_erase_page(const struct flash_pages_info *info) in test_flash_erase_page() argument
177 off_t page_offset = info->start_offset; in test_flash_erase_page()
[all …]
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_msgq.c32 osStatus osMessagePut(osMessageQId queue_id, uint32_t info, uint32_t millisec) in osMessagePut() argument
42 retval = k_msgq_put(queue_def->msgq, (void *)&info, K_NO_WAIT); in osMessagePut()
44 retval = k_msgq_put(queue_def->msgq, (void *)&info, K_FOREVER); in osMessagePut()
46 retval = k_msgq_put(queue_def->msgq, (void *)&info, in osMessagePut()
65 uint32_t info; in osMessageGet() local
75 retval = k_msgq_get(queue_def->msgq, &info, K_NO_WAIT); in osMessageGet()
77 retval = k_msgq_get(queue_def->msgq, &info, K_FOREVER); in osMessageGet()
79 retval = k_msgq_get(queue_def->msgq, &info, K_MSEC(millisec)); in osMessageGet()
84 evt.value.v = info; in osMessageGet()
/Zephyr-latest/samples/bluetooth/iso_receive/src/
Dmain.c94 static void scan_recv(const struct bt_le_scan_recv_info *info, in scan_recv() argument
104 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
108 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
109 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
110 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
111 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
112 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
113 (info->adv_props & BT_GAP_ADV_PROP_EXT_ADV) != 0, in scan_recv()
114 phy2str(info->primary_phy), phy2str(info->secondary_phy), in scan_recv()
115 info->interval, BT_CONN_INTERVAL_TO_US(info->interval), info->sid); in scan_recv()
[all …]

12345678910>>...44