Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 32) sorted by relevance

12

/tests/bluetooth/audio/cap_initiator/uut/
A Dbap_unicast_client.c41 switch (stream->ep->status.state) { in bt_bap_unicast_client_config()
75 switch (stream->ep->status.state) { in bt_bap_unicast_client_qos()
110 switch (stream->ep->status.state) { in bt_bap_unicast_client_enable()
138 switch (stream->ep->status.state) { in bt_bap_unicast_client_metadata()
160 struct bt_bap_ep *ep; in bt_bap_unicast_client_connect() local
166 ep = stream->ep; in bt_bap_unicast_client_connect()
168 switch (ep->status.state) { in bt_bap_unicast_client_connect()
181 if (ep->dir == BT_AUDIO_DIR_SINK) { in bt_bap_unicast_client_connect()
196 if (stream == NULL || stream->ep == NULL || stream->ep->dir == BT_AUDIO_DIR_SINK) { in bt_bap_unicast_client_start()
200 switch (stream->ep->status.state) { in bt_bap_unicast_client_start()
[all …]
/tests/subsys/usb/uac2/src/
A Duac2_desc.c297 const struct usb_ep_descriptor *ep; in test_uac2_descriptors() local
389 ep = (const struct usb_ep_descriptor *)*ptr; in test_uac2_descriptors()
390 zassert_not_null(ep); in test_uac2_descriptors()
405 zassert_equal(ep->bInterval, 1); in test_uac2_descriptors()
451 zassert_not_null(ep); in test_uac2_descriptors()
466 zassert_equal(ep->bInterval, 1); in test_uac2_descriptors()
525 const struct usb_ep_descriptor *ep; in ZTEST() local
609 zassert_not_null(ep); in ZTEST()
619 zassert_equal(ep->bInterval, 1); in ZTEST()
629 zassert_not_null(ep); in ZTEST()
[all …]
/tests/subsys/ipc/ipc_sessions/src/
A Dmain.c27 struct ipc_ep *ep; member
49 .ep = priv in ep_bound()
64 .ep = priv in ep_unbound()
92 .ep = priv in ep_error()
110 static struct ipc_ept ep; variable
129 ep_cfg.priv = &ep; in test_suite_setup()
160 ret = ipc_service_send(&ep, &cmd_ping, sizeof(cmd_ping)); in execute_test_ping_pong()
230 zassert_equal_ptr(ev.ep, &ep, "Unexpected endpoint (unbound)"); in ZTEST()
239 zassert_equal_ptr(ev.ep, &ep, "Unexpected endpoint (bound)"); in ZTEST()
264 zassert_equal_ptr(ev.ep, &ep, "Unexpected endpoint (unbound)"); in ZTEST()
[all …]
/tests/bluetooth/audio/cap_initiator/src/
A Dtest_common.c47 struct bt_bap_ep *ep, struct bt_bap_lc3_preset *preset, in test_unicast_set_state() argument
60 zassert_not_null(ep); in test_unicast_set_state()
64 bap_stream->ep = ep; in test_unicast_set_state()
67 bap_stream->ep->status.state = state; in test_unicast_set_state()
A Dtest_unicast_start.c126 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F()
192 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F()
217 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F()
243 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F()
269 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F()
293 stream_param.ep = &fixture->eps[0]; in ZTEST_F()
316 stream_param.ep = &fixture->eps[0]; in ZTEST_F()
339 stream_param.ep = &fixture->eps[0]; in ZTEST_F()
362 stream_param.ep = NULL; in ZTEST_F()
385 stream_param.ep = &fixture->eps[0]; in ZTEST_F()
[all …]
A Dtest_unicast_stop.c138 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F()
173 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F()
207 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F()
241 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F()
276 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F()
/tests/net/lib/lwm2m/interop/pytest/
A Dconftest.py103 ep = 'client_' + binascii.b2a_hex(os.urandom(1)).decode()
120 yield Endpoint(ep, shell)
132 ep = 'client_' + binascii.b2a_hex(os.urandom(1)).decode()
140 logger.debug('Endpoint: %s', ep)
146 leshan_bootstrap.create_bs_device(ep, f'coaps://{addr}:{COAPS_PORT}', bs_passwd, passwd)
147 leshan.create_psk_device(ep, passwd)
160 yield Endpoint(ep, shell)
168 leshan.delete_device(ep)
169 leshan_bootstrap.delete_bs_device(ep)
A Dleshan.py383 ep = str([ord(n) for n in endpoint])
385 …ty":{"1":{"bootstrapServer":false,"clientOldOffTime":1,"publicKeyOrId":' + ep + ',"secretKey":' + …
/tests/bsim/bluetooth/audio/src/
A Dcap_handover_central_test.c158 LOG_DBG("Acceptor[%u] %p: Sink ep %p", conn_index, conn, ep); in add_remote_sink()
159 cap_acceptors[conn_index].unicast_sink_ep = ep; in add_remote_sink()
161 LOG_DBG("Could not add sink ep %p", ep); in add_remote_sink()
170 LOG_DBG("Acceptor[%u] %p: Source ep %p", conn_index, conn, ep); in add_remote_source()
171 cap_acceptors[conn_index].unicast_source_ep = ep; in add_remote_source()
173 LOG_DBG("Could not add Source ep %p", ep); in add_remote_source()
214 add_remote_sink(conn, ep); in endpoint_cb()
217 add_remote_source(conn, ep); in endpoint_cb()
614 const struct bt_bap_ep *ep = in handover_unicast_to_broadcast() local
618 if (ep == NULL) { in handover_unicast_to_broadcast()
[all …]
A Dbap_stream_tx.c56 if (bap_stream->ep == NULL) { in stream_is_streaming()
60 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming()
190 if (stream == NULL || stream->ep == NULL) { in bap_stream_tx_can_send()
194 err = bt_bap_ep_get_info(stream->ep, &info); in bap_stream_tx_can_send()
A Dbap_stream_rx.c89 if (stream == NULL || stream->ep == NULL) { in bap_stream_rx_can_recv()
93 err = bt_bap_ep_get_info(stream->ep, &info); in bap_stream_rx_can_recv()
A Dbap_unicast_server_test.c77 static void print_ase_info(struct bt_bap_ep *ep, void *user_data) in print_ase_info() argument
81 bt_bap_ep_get_info(ep, &info); in print_ase_info()
98 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config() argument
102 printk("ASE Codec Config: conn %p ep %p dir %u\n", conn, ep, dir); in lc3_config()
232 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled_cb()
299 if (stream->ep == NULL) { in transceive_test_streams()
304 err = bt_bap_ep_get_info(stream->ep, &info); in transceive_test_streams()
A Dbap_unicast_client_test.c278 static void add_remote_sink(struct bt_bap_ep *ep) in add_remote_sink() argument
282 printk("Sink #%zu: ep %p\n", i, ep); in add_remote_sink()
283 g_sinks[i] = ep; in add_remote_sink()
291 static void add_remote_source(struct bt_bap_ep *ep) in add_remote_source() argument
295 printk("Source #%u: ep %p\n", i, ep); in add_remote_source()
296 g_sources[i] = ep; in add_remote_source()
343 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb() argument
346 add_remote_sink(ep); in endpoint_cb()
348 add_remote_source(ep); in endpoint_cb()
571 static int codec_configure_stream(struct bt_bap_stream *stream, struct bt_bap_ep *ep, in codec_configure_stream() argument
[all …]
A Dcap_initiator_unicast_test.c311 static void add_remote_sink(const struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_sink() argument
317 printk("Conn[%u] %p: Sink #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_sink()
318 unicast_sink_eps[conn_index][i] = ep; in add_remote_sink()
332 printk("Conn[%u] %p: Source #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_source()
333 unicast_source_eps[conn_index][i] = ep; in add_remote_source()
378 add_remote_sink(conn, ep); in endpoint_cb()
381 add_remote_source(conn, ep); in endpoint_cb()
658 stream_param[0].ep = unicast_sink_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start()
664 stream_param[1].ep = unicast_source_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start()
1219 stream_param->ep = snk_eps[snk_stream_cnt]; in cap_initiator_ac_cap_unicast_start()
[all …]
A Dgmap_ugg_test.c316 static void add_remote_sink_ep(struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_sink_ep() argument
320 printk("Conn %p: Sink #%zu: ep %p\n", conn, i, ep); in add_remote_sink_ep()
321 sink_eps[bt_conn_index(conn)][i] = ep; in add_remote_sink_ep()
327 static void add_remote_source_ep(struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_source_ep() argument
331 printk("Conn %p: Source #%zu: ep %p\n", conn, i, ep); in add_remote_source_ep()
332 source_eps[bt_conn_index(conn)][i] = ep; in add_remote_source_ep()
346 static void bap_endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in bap_endpoint_cb() argument
349 add_remote_sink_ep(conn, ep); in bap_endpoint_cb()
351 add_remote_source_ep(conn, ep); in bap_endpoint_cb()
752 stream_param->ep = snk_eps[snk_stream_cnt]; in gmap_ac_cap_unicast_start()
[all …]
A Dgmap_ugt_test.c67 err = bt_bap_ep_get_info(stream->ep, &ep_info); in unicast_stream_enabled_cb()
150 static int unicast_server_config(struct bt_conn *conn, const struct bt_bap_ep *ep, in unicast_server_config() argument
156 printk("ASE Codec Config: conn %p ep %p dir %u\n", conn, ep, dir); in unicast_server_config()
A Dcap_handover_peripheral_test.c215 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled_cb()
337 static int unicast_server_config(struct bt_conn *conn, const struct bt_bap_ep *ep, in unicast_server_config() argument
343 LOG_DBG("ASE Codec Config: conn %p ep %p dir %u", conn, ep, dir); in unicast_server_config()
A Dcap_acceptor_test.c310 err = bt_bap_ep_get_info(stream->ep, &ep_info); in unicast_stream_enabled_cb()
467 static int unicast_server_config(struct bt_conn *conn, const struct bt_bap_ep *ep, in unicast_server_config() argument
473 printk("ASE Codec Config: conn %p ep %p dir %u\n", conn, ep, dir); in unicast_server_config()
/tests/bluetooth/tester/src/audio/
A Dbtp_bap_unicast.c127 if (stream->ep == NULL) { in btp_bap_unicast_stream_find()
147 if (ep == NULL) { in btp_bap_unicast_end_point_find()
153 return ep; in btp_bap_unicast_end_point_find()
488 if (stream->ep == NULL) { in stream_state_changed()
703 LOG_DBG("Stream received, ep %d, dir %d, len %d", ep->status.id, ep->dir, in send_stream_received_ev()
933 if (ep != NULL) { in unicast_client_endpoint_cb()
934 LOG_DBG("Discovered ASE %p, id %u, dir 0x%02x", ep, ep->status.id, ep->dir); in unicast_client_endpoint_cb()
1097 struct bt_bap_ep *ep; in client_unicast_group_param_set() local
1106 if (ep == NULL) { in client_unicast_group_param_set()
1240 struct bt_bap_ep *ep; in client_configure_codec() local
[all …]
A Dbtp_bap_audio_stream.c63 if (bap_stream->ep == NULL) { in stream_is_streaming()
67 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming()
206 if (bap_stream->ep == NULL) { in btp_bap_audio_stream_can_send()
210 err = bt_bap_ep_get_info(bap_stream->ep, &info); in btp_bap_audio_stream_can_send()
/tests/subsys/ipc/ipc_sessions/remote/src/
A Dremote.c143 struct ipc_ept *ep = priv; in ep_recv() local
162 ret = ipc_service_send(ep, &cmd_pong, sizeof(cmd_pong)); in ep_recv()
180 ret = ipc_service_send(ep, cmd_rsp, len); in ep_recv()
236 ret = ipc_service_send(ep, &cmd_stat, sizeof(cmd_stat)); in ep_recv()
252 ret = ipc_service_send(ep, &cmd_stat, sizeof(cmd_stat)); in ep_recv()
310 static struct ipc_ept ep; in init_ipc() local
313 ep_cfg.priv = &ep; in init_ipc()
323 ret = ipc_service_register_endpoint(ipc0_instance, &ep, &ep_cfg); in init_ipc()
/tests/bluetooth/audio/cap_initiator/include/
A Dtest_common.h20 struct bt_bap_ep *ep, struct bt_bap_lc3_preset *preset,
/tests/subsys/fs/common/
A Dtest_fs_util.c16 const char *ep = va_arg(ap, const char *); in path_vextend() local
19 while (ep) { in path_vextend()
20 size_t len = strlen(ep); in path_vextend()
24 if (strcmp(ep, "..") == 0) { in path_vextend()
35 memcpy(eos, ep, len); in path_vextend()
43 ep = va_arg(ap, const char *); in path_vextend()
/tests/bluetooth/audio/ascs/uut/
A Dbap_unicast_client.c15 bool bt_bap_ep_is_unicast_client(const struct bt_bap_ep *ep) in bt_bap_ep_is_unicast_client() argument
/tests/subsys/usb/device/src/
A Dmain.c69 static void bulk_in(uint8_t ep, enum usb_dc_ep_cb_status_code ep_status) in bulk_in() argument

Completed in 74 milliseconds

12