Home
last modified time | relevance | path

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

1234

/Zephyr-4.1.0/subsys/net/lib/sockets/
Dsockets_service.c36 #define get_idx(svc) (*(svc->idx)) argument
40 STRUCT_SECTION_FOREACH(net_socket_service_desc, svc) { in net_socket_service_foreach()
41 cb(svc, user_data); in net_socket_service_foreach()
45 static void cleanup_svc_events(const struct net_socket_service_desc *svc) in cleanup_svc_events() argument
47 for (int i = 0; i < svc->pev_len; i++) { in cleanup_svc_events()
48 svc->pev[i].event.fd = -1; in cleanup_svc_events()
49 svc->pev[i].event.events = 0; in cleanup_svc_events()
53 int z_impl_net_socket_service_register(const struct net_socket_service_desc *svc, in z_impl_net_socket_service_register() argument
64 NET_ERR("Socket service thread not running, service %p register fails.", svc); in z_impl_net_socket_service_register()
69 if (STRUCT_SECTION_START(net_socket_service_desc) > svc || in z_impl_net_socket_service_register()
[all …]
/Zephyr-4.1.0/include/zephyr/arch/arm/
Derror.h28 /* ARMv6 will hard-fault if SVC is called with interrupts locked. Just
41 "svc %[id]\n" \
48 * In order to support using svc for an exception while running in an
49 * isr, stack $lr_svc before calling svc. While exiting the isr,
51 * If the sentinel is wrong, it calls svc to cause an oops. This svc
53 * z_check_stack_sentinel call if it is not stacked before the svc.
61 "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-4.1.0/subsys/net/lib/shell/
Dhttp.c26 HTTP_SERVICE_FOREACH(svc) { in cmd_net_http()
29 svc->host == NULL || svc->host[0] == '\0' ? in cmd_net_http()
30 "<any>" : svc->host, svc->port ? *svc->port : 0, in cmd_net_http()
31 svc->concurrent, svc->backlog); in cmd_net_http()
33 HTTP_SERVICE_FOREACH_RESOURCE(svc, res) { in cmd_net_http()
Dsockets.c92 static void walk_socket_services(const struct net_socket_service_desc *svc, in walk_socket_services() argument
102 NET_ASSERT(svc->pev != NULL); in walk_socket_services()
104 for (int i = 0; i < svc->pev_len; i++) { in walk_socket_services()
106 "%d,", svc->pev[i].event.fd); in walk_socket_services()
114 len = strlen(svc->owner); in walk_socket_services()
121 svc->owner + offset + 1); in walk_socket_services()
126 PR("%32s %-5d %s\n", owner, svc->pev_len, pev_output); in walk_socket_services()
/Zephyr-4.1.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-4.1.0/tests/bluetooth/audio/mocks/src/
Dgatt.c250 struct bt_gatt_service *svc; in foreach_attr_type_dyndb() local
252 SYS_SLIST_FOR_EACH_CONTAINER(&db, svc, node) { in foreach_attr_type_dyndb()
255 next = SYS_SLIST_PEEK_NEXT_CONTAINER(svc, node); in foreach_attr_type_dyndb()
263 for (i = 0; i < svc->attr_count; i++) { in foreach_attr_type_dyndb()
264 struct bt_gatt_attr *attr = &svc->attrs[i]; in foreach_attr_type_dyndb()
323 STRUCT_SECTION_FOREACH(bt_gatt_service_static, svc) { in bt_gatt_service_init()
324 last_static_handle += svc->attr_count; in bt_gatt_service_init()
349 static void gatt_insert(struct bt_gatt_service *svc, uint16_t last_handle) in gatt_insert() argument
353 if (last_handle == 0 || svc->attrs[0].handle > last_handle) { in gatt_insert()
354 sys_slist_append(&db, &svc->node); in gatt_insert()
[all …]
/Zephyr-4.1.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-4.1.0/samples/subsys/shell/shell_module/boards/
Dintel_socfpga_agilex_socdk.conf14 #SiP SVC Service
19 #SiP SVC Service Shell
Dintel_socfpga_agilex5_socdk.conf20 #SiP SVC Service
25 #SiP SVC Service Shell
/Zephyr-4.1.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-4.1.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-4.1.0/samples/subsys/sip_svc/
DREADME.rst4 Use the SiP SVC subsystem to interact with the Secure Device Manager on Intel Agilex SoC FPGA.
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.
/Zephyr-4.1.0/drivers/fpga/
Dfpga_altera_agilex_bridge.c20 /* SiP SVC controller */
22 /* SiP SVC client token id */
29 * @brief Open SiP SVC client session
57 * @brief Close the svc client
80 /* Fill the SiP SVC buffer with CANCEL request */ in svc_client_close()
109 * @param[in] c_token Token id for our svc services
128 LOG_DBG("SiP SVC callback"); in smc_callback()
167 * the command data memory space had been freed by SiP SVC service. in smc_callback()
178 * @brief Send the data to SiP SVC service layer
240 /* Fill SiP SVC request buffer */ in smc_send()
[all …]
/Zephyr-4.1.0/subsys/bluetooth/services/nus/
Dnus_inst.c22 for (size_t i = 0 ; i < instance->svc->attr_count ; i++) { in bt_nus_inst_get_from_attr()
23 if (attr == &instance->svc->attrs[i]) { in bt_nus_inst_get_from_attr()
/Zephyr-4.1.0/tests/bluetooth/audio/mocks/include/
Dgatt.h25 int bt_gatt_service_register(struct bt_gatt_service *svc);
26 int bt_gatt_service_unregister(struct bt_gatt_service *svc);
/Zephyr-4.1.0/subsys/net/lib/http/
Dhttp_server_core.c113 HTTP_SERVICE_FOREACH(svc) { in http_server_init()
118 if (IS_ENABLED(CONFIG_NET_IPV6) && svc->host != NULL && in http_server_init()
119 zsock_inet_pton(AF_INET6, svc->host, &addr.addr6->sin6_addr) == 1) { in http_server_init()
124 addr.addr6->sin6_port = htons(*svc->port); in http_server_init()
125 } else if (IS_ENABLED(CONFIG_NET_IPV4) && svc->host != NULL && in http_server_init()
126 zsock_inet_pton(AF_INET, svc->host, &addr.addr4->sin_addr) == 1) { in http_server_init()
131 addr.addr4->sin_port = htons(*svc->port); in http_server_init()
138 addr.addr6->sin6_port = htons(*svc->port); in http_server_init()
144 addr.addr4->sin_port = htons(*svc->port); in http_server_init()
153 (svc->sec_tag_list != NULL), in http_server_init()
[all …]
/Zephyr-4.1.0/subsys/net/lib/coap/
Dcoap_server.c163 COAP_SERVICE_FOREACH(svc) { in coap_server_process()
164 if (svc->data->sock_fd == sock_fd) { in coap_server_process()
165 service = svc; in coap_server_process()
348 COAP_SERVICE_FOREACH(svc) { in coap_server_poll_timeout()
349 if (svc->data->sock_fd < -1) { in coap_server_poll_timeout()
353 pending = coap_pending_next_to_expire(svc->data->pending, MAX_PENDINGS); in coap_server_poll_timeout()
631 COAP_SERVICE_FOREACH(svc) { in coap_resource_send()
632 if (COAP_SERVICE_HAS_RESOURCE(svc, resource)) { in coap_resource_send()
633 return coap_service_send(svc, cpkt, addr, addr_len, params); in coap_resource_send()
658 COAP_SERVICE_FOREACH(svc) { in coap_resource_parse_observe()
[all …]
/Zephyr-4.1.0/arch/arm/core/cortex_a_r/
Dsemihost.c22 __asm__ volatile ("svc 0xab" in semihost_exec()
25 __asm__ volatile ("svc 0x123456" in semihost_exec()
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
DKconfig44 int "SVC stack size (in bytes)"
47 This option specifies the size of the stack used by the SVC handler.
195 int "SVC stack size (in bytes)"
198 This option specifies the size of the stack used by the SVC handler.
/Zephyr-4.1.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-4.1.0/arch/arm/core/
Dirq_offload.c28 /* ARMv6-M HardFault if you make a SVC call with interrupts locked. in arch_irq_offload()
37 __asm__ volatile ("svc %[id]" in arch_irq_offload()
/Zephyr-4.1.0/include/zephyr/bluetooth/services/nus/
Dinst.h20 const struct bt_gatt_service_static *svc; member
55 .svc = &_name##_svc, \

1234