Home
last modified time | relevance | path

Searched refs:intptr_t (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/include/
Dchip_chipregs.h15 #define ECREG(x) (*((volatile unsigned char *)fake_ecreg((intptr_t)x)))
16 #define ECREG_u16(x) (*((volatile unsigned short *)fake_ecreg((intptr_t)x)))
17 #define ECREG_u32(x) (*((volatile unsigned long *)fake_ecreg((intptr_t)x)))
19 unsigned int *fake_ecreg(intptr_t r);
/Zephyr-latest/tests/benchmarks/sys_kernel/src/
Dlifo.c40 intptr_t element_a[2]; in lifo_thread1()
41 intptr_t element_b[2]; in lifo_thread1()
42 intptr_t *pelement; in lifo_thread1()
78 intptr_t element[2]; in lifo_thread2()
79 intptr_t *pelement; in lifo_thread2()
108 intptr_t element[2]; in lifo_thread3()
109 intptr_t *pelement; in lifo_thread3()
139 intptr_t element[2]; in lifo_test()
227 intptr_t more_element[2]; in lifo_test()
228 intptr_t *pelement; in lifo_test()
Dmwfifo.c42 intptr_t element[2]; in fifo_thread1()
43 intptr_t *pelement; in fifo_thread1()
73 intptr_t element[2]; in fifo_thread2()
74 intptr_t *pelement; in fifo_thread2()
106 intptr_t element[2]; in fifo_thread3()
107 intptr_t *pelement; in fifo_thread3()
140 intptr_t element[2]; in fifo_test()
228 intptr_t more_element[2]; in fifo_test()
229 intptr_t *pelement; in fifo_test()
/Zephyr-latest/tests/subsys/logging/log_immediate/src/
Dlog_immediate_test.c40 intptr_t id = (intptr_t)p1; in thread_func()
63 for (intptr_t i = 0; i < NUM_THREADS; i++) { in ZTEST()
/Zephyr-latest/drivers/clock_control/
Dclock_control_agilex5.c39 switch ((intptr_t)sub_system) { in clock_get_rate()
73 LOG_ERR("Clock ID %ld is not supported\n", (intptr_t)sub_system); in clock_get_rate()
Dclock_agilex.c18 switch ((intptr_t) sub_system) { in clk_get_rate()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_socket_offload.c31 #define OBJ_TO_SD(obj) (((intptr_t)obj) - 1)
58 intptr_t sock = OBJ_TO_SD(obj); in eswifi_socket_connect()
97 intptr_t sock = OBJ_TO_SD(obj); in eswifi_socket_listen()
120 intptr_t sock = OBJ_TO_SD(obj); in __eswifi_socket_accept()
149 intptr_t sock; in eswifi_socket_accept()
243 intptr_t sd = OBJ_TO_SD(obj); in eswifi_socket_setsockopt()
268 intptr_t sock = OBJ_TO_SD(obj); in eswifi_socket_send()
323 intptr_t sock = OBJ_TO_SD(obj); in eswifi_socket_recv()
403 intptr_t sock = OBJ_TO_SD(obj); in eswifi_socket_close()
470 intptr_t sock; in eswifi_socket_poll()
[all …]
/Zephyr-latest/include/zephyr/drivers/console/
Dconsole.h23 intptr_t _unused;
/Zephyr-latest/tests/subsys/edac/ibecc/src/
Dibecc.c269 intptr_t address = (intptr_t)p1; in check_values()
270 intptr_t type = (intptr_t)p2; in check_values()
271 intptr_t addr, errtype; in check_values()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c315 (*context)->offload_context = (void *)(intptr_t)sock; in winc1500_get()
332 SOCKET socket = (intptr_t)context->offload_context; in winc1500_bind()
340 ret = bind((intptr_t)context->offload_context, (struct sockaddr *)addr, addrlen); in winc1500_bind()
362 SOCKET socket = (intptr_t)context->offload_context; in winc1500_listen()
365 ret = listen((intptr_t)context->offload_context, backlog); in winc1500_listen()
391 SOCKET socket = (intptr_t)context->offload_context; in winc1500_connect()
422 SOCKET socket = (intptr_t)context->offload_context; in winc1500_accept()
454 SOCKET socket = (intptr_t)context->offload_context; in winc1500_send()
494 SOCKET socket = (intptr_t)context->offload_context; in winc1500_sendto()
558 SOCKET socket = (intptr_t)context->offload_context; in winc1500_recv()
[all …]
/Zephyr-latest/tests/lib/newlib/heap_listener/src/
Dmain.c20 extern void *sbrk(intptr_t count);
/Zephyr-latest/subsys/net/lib/shell/
Dpkt.c83 uint8_t buf[sizeof(intptr_t)]; in get_net_pkt()
84 intptr_t ptr = 0; in get_net_pkt()
/Zephyr-latest/lib/cpp/minimal/include/
Dcstdint51 using ::intptr_t;
/Zephyr-latest/arch/riscv/core/
Delf.c82 intptr_t loc = (intptr_t)loc_unsigned; in arch_elf_relocate()
95 const intptr_t sym_base_addr = (intptr_t)sym_base_addr_unsigned; in arch_elf_relocate()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c588 static const intptr_t user_data[5] = { 0x1337, 0xbabe, 0xd00d, 0xdeaf, 0xfade };
604 intptr_t data_retrieved = (intptr_t)k_timer_user_data_get(timer); in user_data_timer_handler()
630 intptr_t check; in ZTEST_USER()
634 check = (intptr_t)k_timer_user_data_get(user_data_timer[ii]); in ZTEST_USER()
/Zephyr-latest/include/zephyr/sys/
Dutil.h52 #define POINTER_TO_INT(x) ((intptr_t) (x))
54 #define INT_TO_POINTER(x) ((void *) (intptr_t) (x))
/Zephyr-latest/tests/subsys/shell/shell/src/
Dmain.c436 int n = (intptr_t)data; in cmd_handler_dict_1()
443 int n = (intptr_t)data; in cmd_handler_dict_2()
/Zephyr-latest/tests/kernel/pending/src/
Dmain.c44 intptr_t reserved;
49 intptr_t reserved;
/Zephyr-latest/lib/libc/minimal/include/
Dstdint.h104 typedef __INTPTR_TYPE__ intptr_t; typedef
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_advertiser.c157 ASSERT_EQUAL(seq_checker, (intptr_t)cb_data); in seq_start_cb()
163 ASSERT_EQUAL(seq_checker, (intptr_t)cb_data); in seq_end_cb()
385 bt_mesh_adv_send(adv[i], &send_cb, (void *)(intptr_t)i); in test_tx_cb_multi()
/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c204 #define SYMBOL_SPAN(_ep, _sp) (int)(intptr_t)((uintptr_t)(_ep) - (uintptr_t)(_sp))
/Zephyr-latest/subsys/net/lib/ptp/
Dmsg.c460 if ((intptr_t)(suffix + length) >= (intptr_t)&msg->ref) { in ptp_msg_add_tlv()
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dmain.c315 int val = (intptr_t)data; in cmd_dict()
/Zephyr-latest/subsys/net/ip/
Dnet_private.h365 char pkt_str[sizeof("0x") + sizeof(intptr_t) * 2]; in net_pkt_hexdump()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp.c33 intptr_t _reserved;

12