Home
last modified time | relevance | path

Searched full:svc (Results 1 – 25 of 67) sorted by relevance

123

/Zephyr-Core-3.6.0/subsys/net/lib/sockets/
Dsockets_service.c29 #define get_idx(svc) (*(svc->idx)) argument
33 STRUCT_SECTION_FOREACH(net_socket_service_desc, svc) { in net_socket_service_foreach()
34 cb(svc, user_data); in net_socket_service_foreach()
38 static void cleanup_svc_events(const struct net_socket_service_desc *svc) in cleanup_svc_events() argument
40 for (int i = 0; i < svc->pev_len; i++) { in cleanup_svc_events()
41 ctx.events[get_idx(svc) + i].fd = -1; in cleanup_svc_events()
42 svc->pev[i].event.fd = -1; in cleanup_svc_events()
43 svc->pev[i].event.events = 0; in cleanup_svc_events()
47 int z_impl_net_socket_service_register(const struct net_socket_service_desc *svc, in z_impl_net_socket_service_register() argument
59 if (STRUCT_SECTION_START(net_socket_service_desc) > svc || in z_impl_net_socket_service_register()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/arch/arm/
Derror.h27 /* ARMv6 will hard-fault if SVC is called with interrupts locked. Just
40 "svc %[id]\n\t" \
51 "svc %[id]\n\t" \
59 * In order to support using svc for an exception while running in an
60 * isr, stack $lr_svc before calling svc. While exiting the isr,
62 * If the sentinel is wrong, it calls svc to cause an oops. This svc
64 * z_check_stack_sentinel call if it is not stacked before the svc.
72 "svc %[id]\n\t" \
Dsyscall.h52 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke6()
74 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke5()
94 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke4()
113 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke3()
129 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke2()
144 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke1()
157 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke0()
/Zephyr-Core-3.6.0/drivers/sip_svc/
DKconfig7 bool "ARM SIP SVC driver"
25 This is an option to be enabled by individual sip svc driver
26 to signal that there is a sip svc driver. This is used by other
27 modules which depends on sip svc driver.
/Zephyr-Core-3.6.0/subsys/sip_svc/
DKconfig7 bool "ARM SiP SVC Service"
11 implementing the platform-specifics via SIP SVC driver.
70 bool "ARM SiP SVC service shell"
73 Enable ARM SiP SVC service shell support to communicate with EL3/EL2
/Zephyr-Core-3.6.0/tests/subsys/sip_svc/
DKconfig1 # Private config options for sip svc stress test app
6 mainmenu "Intel Agilex SiP SVC stress test"
Dprj.conf7 # SiP SVC Service
/Zephyr-Core-3.6.0/include/zephyr/arch/arm64/
Dsyscall.h52 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke6()
74 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke5()
94 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke4()
113 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke3()
129 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke2()
144 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke1()
157 __asm__ volatile("svc %[svid]\n" in arch_syscall_invoke0()
/Zephyr-Core-3.6.0/samples/subsys/shell/shell_module/boards/
Dintel_socfpga_agilex_socdk.conf17 #SiP SVC Service
22 #SiP SVC Service Shell
Dintel_socfpga_agilex5_socdk.conf23 #SiP SVC Service
28 #SiP SVC Service Shell
/Zephyr-Core-3.6.0/samples/subsys/sip_svc/
DREADME.rst3 SiP SVC sample
9 This sample demonstrates the usage of SiP SVC subsystem.This sample
16 * SiP SVC subsystem relies on the firmware running in EL3 layer to be in compatible
17 with protocol defined inside the SiP SVC subsystem used by the project.
Dprj.conf4 # SiP SVC Service
Dsample.yml2 name: SIP SVC sample
/Zephyr-Core-3.6.0/subsys/net/lib/shell/
Dsockets.c91 static void walk_socket_services(const struct net_socket_service_desc *svc, in walk_socket_services() argument
101 NET_ASSERT(svc->pev != NULL); in walk_socket_services()
103 for (int i = 0; i < svc->pev_len; i++) { in walk_socket_services()
105 "%d,", svc->pev[i].event.fd); in walk_socket_services()
113 len = strlen(svc->owner); in walk_socket_services()
120 svc->owner + offset + 1); in walk_socket_services()
127 svc->pev->work.handler == NULL ? "SYNC" : "ASYNC", in walk_socket_services()
128 svc->pev_len, pev_output); in walk_socket_services()
/Zephyr-Core-3.6.0/subsys/net/lib/coap/
Dcoap_server.c164 COAP_SERVICE_FOREACH(svc) { in coap_server_process()
165 if (svc->data->sock_fd == sock_fd) { in coap_server_process()
166 service = svc; in coap_server_process()
313 COAP_SERVICE_FOREACH(svc) { in coap_server_poll_timeout()
314 if (svc->data->sock_fd < -1) { in coap_server_poll_timeout()
318 pending = coap_pending_next_to_expire(svc->data->pending, MAX_PENDINGS); in coap_server_poll_timeout()
596 COAP_SERVICE_FOREACH(svc) { in coap_resource_send()
597 if (COAP_SERVICE_HAS_RESOURCE(svc, resource)) { in coap_resource_send()
598 return coap_service_send(svc, cpkt, addr, addr_len, params); in coap_resource_send()
623 COAP_SERVICE_FOREACH(svc) { in coap_resource_parse_observe()
[all …]
/Zephyr-Core-3.6.0/tests/net/lib/coap_server/common/src/
Dmain.c129 COAP_SERVICE_FOREACH(svc) { in ZTEST()
130 if (svc == &service_A) { in ZTEST()
132 zassert_equal(svc->flags & COAP_SERVICE_AUTOSTART, COAP_SERVICE_AUTOSTART); in ZTEST()
133 } else if (svc == &service_B) { in ZTEST()
135 zassert_equal(svc->flags & COAP_SERVICE_AUTOSTART, 0); in ZTEST()
136 } else if (svc == &service_C) { in ZTEST()
138 zassert_equal(svc->flags & COAP_SERVICE_AUTOSTART, 0); in ZTEST()
140 zassert_unreachable("svc (%p) not equal to &service_A (%p), &service_B " in ZTEST()
142 svc, &service_A, &service_B, &service_C); in ZTEST()
/Zephyr-Core-3.6.0/arch/arm/core/cortex_a_r/
Dsemihost.c22 __asm__ __volatile__ ("svc 0xab" in semihost_exec()
25 __asm__ __volatile__ ("svc 0x123456" in semihost_exec()
DKconfig44 int "SVC stack size (in bytes)"
47 This option specifies the size of the stack used by the SVC handler.
158 int "SVC stack size (in bytes)"
161 This option specifies the size of the stack used by the SVC handler.
Dexc_exit.S37 * Copy return state from sys/usr state onto the svc stack.
41 * svc stack since we cannot trust the usr stack.
168 * Restore lr_svc stored into the SVC mode stack by the mode entry
177 * IRQ mode and z_arm_svc for SVC mode.
236 * Note that z_arm_do_swap must be called in the SVC mode because it
237 * switches to the SVC mode during context switch and returns to the
Dswap_helper.S202 * The service call (svc) is used in the following occasions:
276 * Store lr_svc to the SVC mode stack. This value will be restored prior to
277 * exiting the SVC call in z_arm_int_exit.
293 /* Get SVC number */
355 * the SVC.
357 * On SVC exception, the USER/SYSTEM stack looks like the following:
424 svc #_SVC_CALL_CONTEXT_SWITCH
/Zephyr-Core-3.6.0/arch/arm/core/
Dirq_offload.c26 /* ARMv6-M/ARMv8-M Baseline HardFault if you make a SVC call with in arch_irq_offload()
39 __asm__ volatile ("svc %[id]" in arch_irq_offload()
/Zephyr-Core-3.6.0/tests/net/lib/http_server/common/src/
Dmain.c92 HTTP_SERVICE_FOREACH(svc) { in ZTEST()
93 if (svc == &service_A) { in ZTEST()
95 } else if (svc == &service_B) { in ZTEST()
97 } else if (svc == &service_C) { in ZTEST()
100 zassert_unreachable("svc (%p) not equal to &service_A (%p), &service_B " in ZTEST()
102 svc, &service_A, &service_B, &service_C); in ZTEST()
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/
Dswap_helper.S350 * The service call (svc) is used in the following occasions:
378 /* Figure out what SVC call number was invoked */
381 /* SVC is a two-byte instruction, point to it and read the
382 * SVC number (lower byte of SCV instruction)
449 /* return from SVC exception is done here */
465 * when the SVC returns via the bx lr.
469 * the SVC.
471 * On SVC exeption, the stack looks like the following:
561 /* return from SVC to the modified LR - z_arm_do_syscall */
/Zephyr-Core-3.6.0/dts/bindings/sip_svc/
Dintel,agilex-socfpga-sip-smc.yaml5 description: SiP SVC driver instance on Intel Agilex SOC FPGA for SMC call
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dperipheral.c42 static struct bt_gatt_service svc = { variable
78 err = bt_gatt_service_register(&svc); in peripheral()

123