Home
last modified time | relevance | path

Searched refs:param (Results 51 – 75 of 497) sorted by relevance

12345678910>>...20

/Zephyr-latest/boards/shields/st7789v_generic/
Dst7789v_waveshare_240x240.overlay40 porch-param = [0c 0c 00 33 33];
41 cmd2en-param = [5a 69 02 01];
42 pwctrl1-param = [a4 a1];
43 pvgam-param = [D0 04 0D 11 13 2B 3F 54 4C 18 0D 0B 1F 23];
44 nvgam-param = [D0 04 0C 11 13 2C 3F 44 51 2F 1F 1F 20 23];
45 ram-param = [00 F0];
46 rgb-param = [CD 08 14];
/Zephyr-latest/include/zephyr/
Dsw_isr_table.h147 const void *param; member
203 #define _Z_ISR_TABLE_ENTRY(irq, func, param, sect) \ argument
207 .arg = (const void *)(param), \
211 #define Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument
212 _Z_ISR_DECLARE_C(irq, flags, func, param, counter)
214 #define _Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument
215 _Z_ISR_TABLE_ENTRY(irq, func, param, _MK_ISR_ELEMENT_SECTION(counter)); \
225 #define Z_ISR_DECLARE(irq, flags, func, param) \ argument
227 Z_ISR_DECLARE_C(irq, flags, func, param, __COUNTER__)
273 #define Z_ISR_DECLARE(irq, flags, func, param) \ argument
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dhas.c43 struct bt_has_preset_register_param param = { in cmd_preset_reg() local
55 err = bt_has_preset_register(&param); in cmd_preset_reg()
86 struct bt_has_features_param param = { in cmd_features_set() local
96 param.type = BT_HAS_HEARING_AID_TYPE_BINAURAL; in cmd_features_set()
98 param.type = BT_HAS_HEARING_AID_TYPE_MONAURAL; in cmd_features_set()
100 param.type = BT_HAS_HEARING_AID_TYPE_BANDED; in cmd_features_set()
102 param.preset_sync_support = true; in cmd_features_set()
104 param.independent_presets = true; in cmd_features_set()
111 err = bt_has_features_set(&param); in cmd_features_set()
123 struct bt_has_features_param param = { in cmd_has_register() local
[all …]
Dbap_broadcast_assistant.c354 struct bt_bap_broadcast_assistant_add_src_param param = { 0 }; in cmd_bap_broadcast_assistant_add_src() local
360 result = bt_addr_le_from_str(argv[1], argv[2], &param.addr); in cmd_bap_broadcast_assistant_add_src()
380 param.adv_sid = adv_sid; in cmd_bap_broadcast_assistant_add_src()
382 param.pa_sync = shell_strtobool(argv[4], 0, &result); in cmd_bap_broadcast_assistant_add_src()
402 param.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_src()
424 param.pa_interval = pa_interval; in cmd_bap_broadcast_assistant_add_src()
426 param.pa_interval = BT_BAP_PA_INTERVAL_UNKNOWN; in cmd_bap_broadcast_assistant_add_src()
467 param.num_subgroups = 1; in cmd_bap_broadcast_assistant_add_src()
468 param.subgroups = &subgroup; in cmd_bap_broadcast_assistant_add_src()
470 result = bt_bap_broadcast_assistant_add_src(default_conn, &param); in cmd_bap_broadcast_assistant_add_src()
[all …]
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_shell.c205 struct zperf_download_params *param) in zperf_bind_host() argument
211 param->port = strtoul(argv[1], NULL, 10); in zperf_bind_host()
213 param->port = DEF_PORT; in zperf_bind_host()
230 memcpy(&param->addr, &addr, sizeof(struct sockaddr)); in zperf_bind_host()
379 struct zperf_download_params *param) in shell_cmd_download() argument
401 (void)memset(param->if_name, 0x0, IFNAMSIZ); in shell_cmd_download()
402 strncpy(param->if_name, argv[i], IFNAMSIZ - 1); in shell_cmd_download()
437 struct zperf_download_params param = { 0 }; in cmd_udp_download() local
441 start = shell_cmd_download(sh, argc, argv, &param); in cmd_udp_download()
448 ret = zperf_bind_host(sh, argc - start, &argv[start], &param); in cmd_udp_download()
[all …]
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt.c240 const struct mqtt_publish_param *param) in mqtt_publish() argument
248 NULL_PARAM_CHECK(param); in mqtt_publish()
252 param->message.topic.topic.size, in mqtt_publish()
253 param->message.payload.len); in mqtt_publish()
264 err_code = publish_encode(param, &packet); in mqtt_publish()
271 io_vector[1].iov_base = param->message.payload.data; in mqtt_publish()
272 io_vector[1].iov_len = param->message.payload.len; in mqtt_publish()
291 const struct mqtt_puback_param *param) in mqtt_publish_qos1_ack() argument
297 NULL_PARAM_CHECK(param); in mqtt_publish_qos1_ack()
300 client, client->internal.state, param->message_id); in mqtt_publish_qos1_ack()
[all …]
Dmqtt_rx.c36 err_code = connect_ack_decode(client, buf, &evt.param.connack); in mqtt_handle_packet()
39 evt.param.connack.return_code); in mqtt_handle_packet()
41 if (evt.param.connack.return_code == in mqtt_handle_packet()
49 evt.result = evt.param.connack.return_code; in mqtt_handle_packet()
61 &evt.param.publish); in mqtt_handle_packet()
65 evt.param.publish.message.payload.len; in mqtt_handle_packet()
68 evt.param.publish.message.topic.qos, in mqtt_handle_packet()
69 evt.param.publish.message.payload.len, in mqtt_handle_packet()
70 evt.param.publish.message.topic.topic.size); in mqtt_handle_packet()
78 err_code = publish_ack_decode(buf, &evt.param.puback); in mqtt_handle_packet()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_common.c45 struct lll_hdr *hdr = prepare_param->param; in lll_prepare()
70 void lll_resume(void *param) in lll_resume() argument
75 next = param; in lll_resume()
82 void lll_done_score(void *param, uint8_t result) in lll_done_score() argument
84 struct lll_hdr *hdr = param; in lll_done_score()
Dull_sched_internal.h13 void ull_sched_mfy_win_offset_use(void *param);
14 void ull_sched_mfy_free_win_offset_calc(void *param);
15 void ull_sched_mfy_win_offset_select(void *param);
/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c238 struct bt_iso_cig_param param; in main() local
261 param.cis_channels = channels; in main()
262 param.num_cis = ARRAY_SIZE(channels); in main()
263 param.sca = BT_GAP_SCA_UNKNOWN; in main()
264 param.packing = 0; in main()
265 param.framing = 0; in main()
266 param.c_to_p_latency = latency_ms; /* ms */ in main()
267 param.p_to_c_latency = latency_ms; /* ms */ in main()
268 param.c_to_p_interval = interval_us; /* us */ in main()
269 param.p_to_c_interval = interval_us; /* us */ in main()
[all …]
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dthrd.c16 static uintptr_t param; variable
60 param = 0; in ZTEST()
65 zassert_equal(thrd_error, thrd_create(NULL, NULL, &param)); in ZTEST()
67 zassert_equal(thrd_error, thrd_create(NULL, fun, &param)); in ZTEST()
69 zassert_equal(thrd_error, thrd_create(&thr, NULL, &param)); in ZTEST()
75 zassert_equal(thrd_success, thrd_create(&thr, fun, &param)); in ZTEST()
77 zassert_equal(BIOS_FOOD, param, "expected: %d actual: %d", BIOS_FOOD, param); in ZTEST()
98 param = 0; in ZTEST()
100 zassert_equal(thrd_success, thrd_create(&thr, thrd_exit_fn, &param)); in ZTEST()
102 zassert_equal(BIOS_FOOD, param); in ZTEST()
/Zephyr-latest/tests/bluetooth/common/testlib/src/
Dadv.c42 struct bt_le_adv_param param = {}; in bt_testlib_adv_conn() local
50 param.id = id; in bt_testlib_adv_conn()
51 param.interval_min = BT_GAP_ADV_FAST_INT_MIN_1; in bt_testlib_adv_conn()
52 param.interval_max = BT_GAP_ADV_FAST_INT_MAX_1; in bt_testlib_adv_conn()
53 param.options |= BT_LE_ADV_OPT_CONN; in bt_testlib_adv_conn()
61 api_err = bt_le_ext_adv_create(&param, &cb, &adv); in bt_testlib_adv_conn()
/Zephyr-latest/include/zephyr/drivers/
Dtee.h274 unsigned int num_param, struct tee_param *param,
302 unsigned int num_param, struct tee_param *param);
329 struct tee_param *param);
339 struct tee_param *param);
394 unsigned int num_param, struct tee_param *param,
399 unsigned int num_param, struct tee_param *param, in z_impl_tee_open_session() argument
408 return api->open_session(dev, arg, num_param, param, session_id); in z_impl_tee_open_session()
478 unsigned int num_param, struct tee_param *param);
481 unsigned int num_param, struct tee_param *param) in z_impl_tee_invoke_func() argument
489 return api->invoke_func(dev, arg, num_param, param); in z_impl_tee_invoke_func()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_broadcast_assistant.c1296 static bool valid_add_src_param(const struct bt_bap_broadcast_assistant_add_src_param *param) in valid_add_src_param() argument
1298 CHECKIF(param == NULL) { in valid_add_src_param()
1303 CHECKIF(param->addr.type > BT_ADDR_LE_RANDOM) { in valid_add_src_param()
1304 LOG_DBG("Invalid address type %u", param->addr.type); in valid_add_src_param()
1308 CHECKIF(param->adv_sid > BT_GAP_SID_MAX) { in valid_add_src_param()
1309 LOG_DBG("Invalid adv_sid %u", param->adv_sid); in valid_add_src_param()
1313 CHECKIF(!(param->pa_interval != BT_BAP_PA_INTERVAL_UNKNOWN) && in valid_add_src_param()
1314 !IN_RANGE(param->pa_interval, BT_GAP_PER_ADV_MIN_INTERVAL, in valid_add_src_param()
1316 LOG_DBG("Invalid pa_interval 0x%04X", param->pa_interval); in valid_add_src_param()
1320 CHECKIF(param->broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in valid_add_src_param()
[all …]
Dbap_broadcast_source.c477 static bool valid_broadcast_source_param(const struct bt_bap_broadcast_source_param *param, in valid_broadcast_source_param() argument
482 CHECKIF(param == NULL) { in valid_broadcast_source_param()
487 CHECKIF(!IN_RANGE(param->params_count, 1U, CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT)) { in valid_broadcast_source_param()
488 LOG_DBG("param->params_count %zu is invalid", param->params_count); in valid_broadcast_source_param()
492 CHECKIF(param->packing != BT_ISO_PACKING_SEQUENTIAL && in valid_broadcast_source_param()
493 param->packing != BT_ISO_PACKING_INTERLEAVED) { in valid_broadcast_source_param()
494 LOG_DBG("param->packing %u is invalid", param->packing); in valid_broadcast_source_param()
498 qos = param->qos; in valid_broadcast_source_param()
509 CHECKIF(param->qos->rtn > BT_ISO_BROADCAST_RTN_MAX) { in valid_broadcast_source_param()
510 LOG_DBG("param->qos->rtn %u invalid", param->qos->rtn); in valid_broadcast_source_param()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_commander_test.c849 const struct bt_cap_commander_change_volume_param param = { in test_change_volume() local
857 printk("Changing volume to %u\n", param.volume); in test_change_volume()
860 for (size_t i = 0U; i < param.count; i++) { in test_change_volume()
861 param.members[i].member = connected_conns[i]; in test_change_volume()
864 err = bt_cap_commander_change_volume(&param); in test_change_volume()
871 printk("Volume changed to %u\n", param.volume); in test_change_volume()
877 const struct bt_cap_commander_change_volume_mute_state_param param = { in test_change_volume_mute() local
885 printk("Changing volume mute state to %d\n", param.mute); in test_change_volume_mute()
888 for (size_t i = 0U; i < param.count; i++) { in test_change_volume_mute()
889 param.members[i].member = connected_conns[i]; in test_change_volume_mute()
[all …]
Dbap_scan_delegator_test.c138 struct bt_le_per_adv_sync_transfer_param param = { 0 }; in pa_sync_past() local
141 param.options = BT_LE_PER_ADV_SYNC_TRANSFER_OPT_FILTER_DUPLICATES; in pa_sync_past()
142 param.skip = PA_SYNC_SKIP; in pa_sync_past()
143 param.timeout = interval_to_sync_timeout(pa_interval); in pa_sync_past()
145 err = bt_le_per_adv_sync_transfer_subscribe(conn, &param); in pa_sync_past()
153 K_MSEC(param.timeout * 10)); in pa_sync_past()
163 struct bt_le_per_adv_sync_param param = { 0 }; in pa_sync_no_past() local
169 bt_addr_le_copy(&param.addr, &recv_state->addr); in pa_sync_no_past()
170 param.sid = recv_state->adv_sid; in pa_sync_no_past()
171 param.skip = PA_SYNC_SKIP; in pa_sync_no_past()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/
Dbs_bt_utils.c161 struct bt_le_adv_param param = {}; in advertise_connectable() local
163 param.id = id; in advertise_connectable()
164 param.interval_min = 0x0020; in advertise_connectable()
165 param.interval_max = 0x4000; in advertise_connectable()
166 param.options |= BT_LE_ADV_OPT_CONN; in advertise_connectable()
169 param.options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in advertise_connectable()
170 param.peer = directed_dst; in advertise_connectable()
173 err = bt_le_adv_start(&param, NULL, 0, NULL, 0); in advertise_connectable()
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_denied/src/
Dbs_bt_utils.c161 struct bt_le_adv_param param = {}; in advertise_connectable() local
163 param.id = id; in advertise_connectable()
164 param.interval_min = 0x0020; in advertise_connectable()
165 param.interval_max = 0x4000; in advertise_connectable()
166 param.options |= BT_LE_ADV_OPT_CONN; in advertise_connectable()
169 param.options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in advertise_connectable()
170 param.peer = directed_dst; in advertise_connectable()
173 err = bt_le_adv_start(&param, NULL, 0, NULL, 0); in advertise_connectable()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_aux.c56 static void abort_cb(struct lll_prepare_param *prepare_param, void *param);
57 static void isr_done(void *param);
58 static void isr_rx_ull_schedule(void *param);
59 static void isr_rx_lll_schedule(void *param);
68 static void isr_tx_scan_req_ull_schedule(void *param);
69 static void isr_tx_scan_req_lll_schedule(void *param);
71 static void isr_tx_connect_req(void *param);
72 static void isr_rx_connect_rsp(void *param);
76 static void isr_early_abort(void *param);
106 void lll_scan_aux_prepare(void *param) in lll_scan_aux_prepare() argument
[all …]
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Dmqtt_client.c139 evt->param.publish.message.topic.topic.utf8, payload); in on_mqtt_publish()
142 if (strcmp(evt->param.publish.message.topic.topic.utf8, in on_mqtt_publish()
174 LOG_INF("PUBACK packet ID: %u", evt->param.puback.message_id); in mqtt_event_handler()
183 LOG_INF("PUBREC packet ID: %u", evt->param.pubrec.message_id); in mqtt_event_handler()
186 .message_id = evt->param.pubrec.message_id in mqtt_event_handler()
198 LOG_INF("PUBREL packet ID: %u", evt->param.pubrel.message_id); in mqtt_event_handler()
201 .message_id = evt->param.pubrel.message_id in mqtt_event_handler()
213 LOG_INF("PUBCOMP packet ID: %u", evt->param.pubcomp.message_id); in mqtt_event_handler()
222 LOG_INF("SUBACK packet ID: %d", evt->param.suback.message_id); in mqtt_event_handler()
226 const struct mqtt_publish_param *p = &evt->param.publish; in mqtt_event_handler()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dsol_pdu_rpl_cli.c29 struct sol_rpl_param *param; in handle_status() local
61 ctx->addr, (void **)&param)) { in handle_status()
62 if (param->start) { in handle_status()
63 *param->start = primary; in handle_status()
66 if (param->len) { in handle_status()
67 *param->len = len; in handle_status()
95 struct sol_rpl_param param = { in bt_mesh_sol_pdu_rpl_clear() local
103 .user_data = &param, in bt_mesh_sol_pdu_rpl_clear()
/Zephyr-latest/tests/bsim/bluetooth/host/security/security_changed_callback/src/
Dbs_bt_utils.c173 struct bt_le_adv_param param = {}; in advertise_connectable() local
175 param.id = id; in advertise_connectable()
176 param.interval_min = 0x0020; in advertise_connectable()
177 param.interval_max = 0x4000; in advertise_connectable()
178 param.options |= BT_LE_ADV_OPT_CONN; in advertise_connectable()
181 param.options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in advertise_connectable()
182 param.peer = directed_dst; in advertise_connectable()
185 err = bt_le_adv_start(&param, NULL, 0, NULL, 0); in advertise_connectable()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_unicast_start.c111 const struct bt_cap_unicast_audio_start_param param = { in ZTEST_F() local
126 err = bt_cap_initiator_unicast_audio_start(&param); in ZTEST_F()
155 const struct bt_cap_unicast_audio_start_param param = { in ZTEST_F() local
162 err = bt_cap_initiator_unicast_audio_start(&param); in ZTEST_F()
174 const struct bt_cap_unicast_audio_start_param param = { in ZTEST_F() local
187 err = bt_cap_initiator_unicast_audio_start(&param); in ZTEST_F()
198 const struct bt_cap_unicast_audio_start_param param = { in ZTEST_F() local
212 err = bt_cap_initiator_unicast_audio_start(&param); in ZTEST_F()
224 const struct bt_cap_unicast_audio_start_param param = { in ZTEST_F() local
238 err = bt_cap_initiator_unicast_audio_start(&param); in ZTEST_F()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_conn.c38 static void isr_done(void *param);
39 static void isr_cleanup(void *param);
40 static void isr_race(void *param);
88 void lll_conn_abort_cb(struct lll_prepare_param *prepare_param, void *param) in lll_conn_abort_cb() argument
99 radio_isr_set(isr_done, param); in lll_conn_abort_cb()
111 lll = prepare_param->param; in lll_conn_abort_cb()
114 lll_done(param); in lll_conn_abort_cb()
117 void lll_conn_isr_rx(void *param) in lll_conn_isr_rx() argument
120 struct lll_conn *lll = param; in lll_conn_isr_rx()
157 radio_isr_set(isr_done, param); in lll_conn_isr_rx()
[all …]

12345678910>>...20