Home
last modified time | relevance | path

Searched refs:clients (Results 1 – 25 of 73) sorted by relevance

123

/Zephyr-latest/drivers/interrupt_controller/
Dintc_shared_irq.c49 struct shared_irq_runtime *clients = dev->data; in isr_register() local
54 if (!clients->client[i].isr_dev) { in isr_register()
55 clients->client[i].isr_dev = isr_dev; in isr_register()
56 clients->client[i].isr_func = isr_func; in isr_register()
71 struct shared_irq_runtime *clients = dev->data; in enable() local
76 if (clients->client[i].isr_dev == isr_dev) { in enable()
77 clients->client[i].enabled = 1U; in enable()
85 static int last_enabled_isr(struct shared_irq_runtime *clients, int count) in last_enabled_isr() argument
90 if (clients->client[i].enabled) { in last_enabled_isr()
104 struct shared_irq_runtime *clients = dev->data; in disable() local
[all …]
/Zephyr-latest/arch/common/
Dshared_irq.c28 client = &entry->clients[i]; in z_shared_isr()
82 shared_entry->clients[shared_entry->client_num].isr = entry->isr; in z_isr_install()
83 shared_entry->clients[shared_entry->client_num].arg = entry->arg; in z_isr_install()
93 client = &shared_entry->clients[i]; in z_isr_install()
99 shared_entry->clients[shared_entry->client_num].isr = routine; in z_isr_install()
100 shared_entry->clients[shared_entry->client_num].arg = param; in z_isr_install()
126 shared_entry->clients[client_idx].isr = NULL; in shared_irq_remove_client()
127 shared_entry->clients[client_idx].arg = NULL; in shared_irq_remove_client()
131 swap_client_data(&shared_entry->clients[i], in shared_irq_remove_client()
132 &shared_entry->clients[i + 1]); in shared_irq_remove_client()
[all …]
Disr_tables_shell.c45 dump_isr_table_entry(sh, idx, &z_shared_sw_isr_table[idx].clients[c]); in cmd_shared_sw_isr_table()
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_subsys.c149 if (ctrl->clients[i].token == c_token) { in sip_svc_get_c_idx()
176 ctrl->clients[c_idx].id = c_idx; in sip_svc_register()
177 ctrl->clients[c_idx].token = sip_svc_generate_c_token(); in sip_svc_register()
178 ctrl->clients[c_idx].state = SIP_SVC_CLIENT_ST_IDLE; in sip_svc_register()
179 ctrl->clients[c_idx].priv_data = priv_data; in sip_svc_register()
181 LOG_INF("Register the client channel 0x%x", ctrl->clients[c_idx].token); in sip_svc_register()
182 return ctrl->clients[c_idx].token; in sip_svc_register()
212 if (ctrl->clients[c_idx].id == SIP_SVC_ID_INVALID) { in sip_svc_unregister()
217 if (ctrl->clients[c_idx].active_trans_cnt != 0) { in sip_svc_unregister()
222 if (ctrl->clients[c_idx].state != SIP_SVC_CLIENT_ST_IDLE) { in sip_svc_unregister()
[all …]
Dsip_svc_shell.c365 if (ctrl->clients[i].id != SIP_SVC_ID_INVALID) { in cmd_info()
366 if (ctrl->clients[i].state <= SIP_SVC_CLIENT_ST_ABORT) { in cmd_info()
367 state_str = state_str_list[ctrl->clients[i].state]; in cmd_info()
370 shell_print(sh, "%08x \t%-10s\t%-9d\n", ctrl->clients[i].token, in cmd_info()
371 state_str, ctrl->clients[i].active_trans_cnt); in cmd_info()
/Zephyr-latest/lib/utils/
Donoff.c217 && !sys_slist_is_empty(&mgr->clients)) { in process_recheck()
223 && !sys_slist_is_empty(&mgr->clients)) { in process_recheck()
238 sys_slist_t *clients, in process_complete() argument
245 *clients = mgr->clients; in process_complete()
246 sys_slist_init(&mgr->clients); in process_complete()
250 *clients = mgr->clients; in process_complete()
251 sys_slist_init(&mgr->clients); in process_complete()
259 SYS_SLIST_FOR_EACH_CONTAINER(clients, cp, node) { in process_complete()
302 sys_slist_t clients; in process_event() local
324 sys_slist_init(&clients); in process_event()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.pacs19 This option enables support for clients to be notified on the Sink
32 This option enables support for clients to write to the Sink PAC
39 This option enables support for clients to be notified on the Sink
54 This option enables support for clients to be notified on the Source
67 This option enables support for clients to write to the Source PAC
74 This option enables support for clients to be notified on the Source
86 This option enables support for clients to be notified on the
Dcsip_set_member.c79 struct csip_client clients[CONFIG_BT_MAX_PAIRED]; member
122 for (size_t i = 0U; i < ARRAY_SIZE(svc_inst->clients); i++) { in notify_clients()
125 client = &svc_inst->clients[i]; in notify_clients()
479 for (size_t j = 0U; j < ARRAY_SIZE(svc_inst->clients); j++) { in csip_security_changed()
482 client = &svc_inst->clients[i]; in csip_security_changed()
513 for (size_t i = 0U; i < ARRAY_SIZE(svc_inst->clients); i++) { in handle_csip_disconnect()
516 client = &svc_inst->clients[i]; in handle_csip_disconnect()
540 for (size_t i = 0U; i < ARRAY_SIZE(svc_inst->clients); i++) { in handle_csip_auth_complete()
543 client = &svc_inst->clients[i]; in handle_csip_auth_complete()
552 for (size_t i = 0U; i < ARRAY_SIZE(svc_inst->clients); i++) { in handle_csip_auth_complete()
[all …]
Dpacs.c95 } clients[CONFIG_BT_MAX_PAIRED]; variable
120 for (size_t i = 0; i < ARRAY_SIZE(clients); i++) { in client_lookup_conn()
121 if (atomic_test_bit(clients[i].flags, FLAG_ACTIVE) && in client_lookup_conn()
122 bt_addr_le_eq(&clients[i].addr, bt_conn_get_dst(conn))) { in client_lookup_conn()
123 return &clients[i]; in client_lookup_conn()
132 for (size_t i = 0U; i < ARRAY_SIZE(clients); i++) { in pacs_set_notify_bit()
133 if (atomic_test_bit(clients[i].flags, FLAG_ACTIVE)) { in pacs_set_notify_bit()
134 atomic_set_bit(clients[i].flags, bit); in pacs_set_notify_bit()
939 for (size_t i = 0U; i < ARRAY_SIZE(clients); i++) { in pacs_auth_pairing_complete()
940 if (atomic_test_bit(clients[i].flags, FLAG_ACTIVE) && in pacs_auth_pairing_complete()
[all …]
Dmcs.c80 } clients[CONFIG_BT_MAX_CONN]; variable
85 memset(&clients[bt_conn_index(conn)], 0, sizeof(struct client_state)); in disconnected()
105 struct client_state *client = &clients[bt_conn_index(conn)]; in read_player_name()
150 struct client_state *client = &clients[bt_conn_index(conn)]; in read_icon_url()
177 struct client_state *client = &clients[bt_conn_index(conn)]; in read_track_title()
206 struct client_state *client = &clients[bt_conn_index(conn)]; in read_track_duration()
228 struct client_state *client = &clients[bt_conn_index(conn)]; in read_track_position()
276 struct client_state *client = &clients[bt_conn_index(conn)]; in read_playback_speed()
318 struct client_state *client = &clients[bt_conn_index(conn)]; in read_seeking_speed()
361 struct client_state *client = &clients[bt_conn_index(conn)]; in read_current_track_id()
[all …]
DKconfig.has20 This option enables support for clients to subscribe for notifications
45 This option enables support for clients to subscribe for notifications
/Zephyr-latest/tests/kernel/interrupt/src/
Dtest_shared_irq.h50 client = &shared_entry->clients[i]; in client_exists_at_index()
61 client = &shared_entry->clients[idx]; in client_exists_at_index()
/Zephyr-latest/samples/subsys/sip_svc/boards/
Dintel_socfpga_agilex5_socdk.overlay10 zephyr,num-clients = <1>;
Dintel_socfpga_agilex_socdk.overlay10 zephyr,num-clients = <1>;
/Zephyr-latest/tests/subsys/sip_svc/boards/
Dintel_socfpga_agilex5_socdk.overlay10 zephyr,num-clients = <16>;
Dintel_socfpga_agilex_socdk.overlay10 zephyr,num-clients = <16>;
/Zephyr-latest/subsys/bluetooth/mesh/
Dproxy_srv.c71 } clients[CONFIG_BT_MAX_CONN] = { variable
81 return &clients[bt_conn_index(conn)]; in find_client()
368 for (i = 0; i < ARRAY_SIZE(clients); i++) { in bt_mesh_proxy_beacon_send()
369 if (clients[i].cli) { in bt_mesh_proxy_beacon_send()
370 beacon_send(&clients[i], sub); in bt_mesh_proxy_beacon_send()
980 for (int i = 0; i < ARRAY_SIZE(clients); i++) { in svc_reg_work_handler()
981 if (clients[i].cli) { in svc_reg_work_handler()
982 clients[i].filter_type = ACCEPT; in svc_reg_work_handler()
1019 for (i = 0; i < ARRAY_SIZE(clients); i++) { in bt_mesh_proxy_gatt_disconnect()
1020 struct bt_mesh_proxy_client *client = &clients[i]; in bt_mesh_proxy_gatt_disconnect()
[all …]
/Zephyr-latest/samples/subsys/shell/shell_module/boards/
Dintel_socfpga_agilex_socdk.overlay14 zephyr,num-clients = <2>;
Dintel_socfpga_agilex5_socdk.overlay32 zephyr,num-clients = <2>;
/Zephyr-latest/doc/services/resource_management/
Dindex.rst7 use at runtime among multiple clients. These include power rails,
26 An on-off manager supports an arbitrary number of clients of a service
53 immediately turned on again (where context allows) and waiting clients
56 Requests are reference counted, but not tracked. That means clients are
60 shut out, and the manager does not maintain a record of specific clients
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c54 struct http_client_ctx clients[HTTP_SERVER_MAX_CLIENTS]; member
94 memset(ctx->clients, 0, sizeof(ctx->clients)); in http_server_init()
295 &server_ctx.clients[i - ctx->listen_fds]; in close_all_sockets()
348 __ASSERT_NO_MSG(IS_ARRAY_ELEMENT(server_ctx.clients, client)); in http_server_release_client()
391 __ASSERT_NO_MSG(IS_ARRAY_ELEMENT(server_ctx.clients, client)); in http_client_timer_restart()
565 client = &ctx->clients[i - ctx->listen_fds]; in http_server_run()
578 client = &ctx->clients[i - ctx->listen_fds]; in http_server_run()
618 init_client_ctx(&ctx->clients[j - ctx->listen_fds], in http_server_run()
633 client = &ctx->clients[i - ctx->listen_fds]; in http_server_run()
/Zephyr-latest/doc/services/sensing/
Dindex.rst43 with it's multiple clients support design.
68 * Focus on framework for sensor fusion, multiple clients, arbitration, data sampling, timing
158 For a sensor instance, could have two kinds of clients:
159 ``Application clients`` and ``Sensor clients``.
161 ``Application clients`` can use :c:func:`sensing_open_sensor` to open a sensor instance
164 For ``Sensor clients``, there is no open API for opening a reporter, because the client-report
169 ``Sensor clients`` can get it's reporters' handlers via :c:func:`sensing_sensor_get_reporters`.
/Zephyr-latest/include/zephyr/sip_svc/
Dsip_svc_controller.h79 struct sip_svc_client *clients; member
/Zephyr-latest/subsys/bluetooth/host/
DKconfig.gatt125 characteristics which can be used by clients to detect if anything has
262 bool "Allow to write device name by remote GATT clients"
266 Enabling this option allows remote GATT clients to write to device
275 clients.
290 bool "Allow to write GAP Appearance by remote GATT clients"
294 Enabling this option allows remote GATT clients to write to device
303 clients.
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c24 static struct coap_client *clients[CONFIG_COAP_CLIENT_MAX_INSTANCES]; variable
167 if (has_ongoing_exchange(clients[i])) { in has_ongoing_exchanges()
555 if (clients[i]->fd == sock) { in get_client()
556 return clients[i]; in get_client()
572 short events = (has_ongoing_exchange(clients[i]) ? ZSOCK_POLLIN : 0) | in handle_poll()
573 (has_timeout_expired(clients[i]) ? ZSOCK_POLLOUT : 0); in handle_poll()
579 fds[nfds].fd = clients[i]->fd; in handle_poll()
1108 clients[num_clients] = client; in coap_client_init()

123