Home
last modified time | relevance | path

Searched refs:param (Results 26 – 50 of 497) sorted by relevance

12345678910>>...20

/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_vcp.c74 const struct bt_cap_commander_change_volume_param param = { in ZTEST_F() local
96 err = bt_cap_commander_change_volume(&param); in ZTEST_F()
106 const struct bt_cap_commander_change_volume_param param = { in ZTEST_F() local
128 err = bt_cap_commander_change_volume(&param); in ZTEST_F()
135 err = bt_cap_commander_change_volume(&param); in ZTEST_F()
152 const struct bt_cap_commander_change_volume_param param = { in ZTEST_F() local
160 err = bt_cap_commander_change_volume(&param); in ZTEST_F()
167 const struct bt_cap_commander_change_volume_param param = { in ZTEST_F() local
180 err = bt_cap_commander_change_volume(&param); in ZTEST_F()
187 const struct bt_cap_commander_change_volume_param param = { in ZTEST_F() local
[all …]
Dtest_micp.c76 const struct bt_cap_commander_change_microphone_gain_setting_param param = { in ZTEST_F() local
78 .param = member_params, in ZTEST_F()
98 err = bt_cap_commander_change_microphone_gain_setting(&param); in ZTEST_F()
109 const struct bt_cap_commander_change_microphone_gain_setting_param param = { in ZTEST_F() local
111 .param = member_params, in ZTEST_F()
131 err = bt_cap_commander_change_microphone_gain_setting(&param); in ZTEST_F()
138 err = bt_cap_commander_change_microphone_gain_setting(&param); in ZTEST_F()
156 const struct bt_cap_commander_change_microphone_gain_setting_param param = { in ZTEST_F() local
158 .param = NULL, in ZTEST_F()
163 err = bt_cap_commander_change_microphone_gain_setting(&param); in ZTEST_F()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dgmap_ugg_test.c603 static int gmap_unicast_ac_create_unicast_group(const struct gmap_unicast_ac_param *param, in gmap_unicast_ac_create_unicast_group() argument
634 for (size_t i = 0U; i < param->conn_cnt; i++) { in gmap_unicast_ac_create_unicast_group()
635 for (size_t j = 0; j < MAX(param->snk_cnt[i], param->src_cnt[i]); j++) { in gmap_unicast_ac_create_unicast_group()
636 if (param->snk_cnt[i] > j) { in gmap_unicast_ac_create_unicast_group()
643 if (param->src_cnt[i] > j) { in gmap_unicast_ac_create_unicast_group()
661 static int gmap_ac_cap_unicast_start(const struct gmap_unicast_ac_param *param, in gmap_ac_cap_unicast_start() argument
682 for (size_t i = 0U; i < param->conn_cnt; i++) { in gmap_ac_cap_unicast_start()
684 for (size_t j = 0U; j < param->snk_cnt[i]; j++) { in gmap_ac_cap_unicast_start()
696 for (size_t j = 0U; j < param->src_cnt[i]; j++) { in gmap_ac_cap_unicast_start()
735 for (size_t i = 0U; i < param->conn_cnt; i++) { in gmap_ac_cap_unicast_start()
[all …]
/Zephyr-latest/include/zephyr/arch/arm64/
Dhypercall.h11 int HYPERVISOR_sched_op(int op, void *param);
12 int HYPERVISOR_event_channel_op(int op, void *param);
13 int HYPERVISOR_hvm_op(int op, void *param);
14 int HYPERVISOR_memory_op(int op, void *param);
18 int HYPERVISOR_domctl(void *param);
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c363 struct bt_cap_unicast_audio_update_param param = {0}; in cmd_cap_initiator_unicast_update() local
389 stream_params[param.count].stream = stream; in cmd_cap_initiator_unicast_update()
397 stream_params[param.count].meta = uni_stream->codec_cfg.meta; in cmd_cap_initiator_unicast_update()
398 stream_params[param.count].meta_len = uni_stream->codec_cfg.meta_len; in cmd_cap_initiator_unicast_update()
400 param.count++; in cmd_cap_initiator_unicast_update()
431 stream_params[param.count].stream = stream; in cmd_cap_initiator_unicast_update()
439 stream_params[param.count].meta = uni_stream->codec_cfg.meta; in cmd_cap_initiator_unicast_update()
440 stream_params[param.count].meta_len = uni_stream->codec_cfg.meta_len; in cmd_cap_initiator_unicast_update()
442 param.count++; in cmd_cap_initiator_unicast_update()
446 if (param.count == 0) { in cmd_cap_initiator_unicast_update()
[all …]
Dgmap.c271 const struct bap_unicast_ac_param param = { in cmd_gmap_ac_1() local
280 return cap_ac_unicast(sh, &param); in cmd_gmap_ac_1()
287 const struct bap_unicast_ac_param param = { in cmd_gmap_ac_2() local
296 return cap_ac_unicast(sh, &param); in cmd_gmap_ac_2()
303 const struct bap_unicast_ac_param param = { in cmd_gmap_ac_3() local
312 return cap_ac_unicast(sh, &param); in cmd_gmap_ac_3()
319 const struct bap_unicast_ac_param param = { in cmd_gmap_ac_4() local
328 return cap_ac_unicast(sh, &param); in cmd_gmap_ac_4()
335 const struct bap_unicast_ac_param param = { in cmd_gmap_ac_5() local
344 return cap_ac_unicast(sh, &param); in cmd_gmap_ac_5()
[all …]
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_uploader.c142 const struct zperf_upload_params *param, in udp_upload() argument
145 uint32_t duration_in_ms = param->duration_ms; in udp_upload()
146 uint32_t packet_size = param->packet_size; in udp_upload()
147 uint32_t rate_in_kbps = param->rate_kbps; in udp_upload()
259 if (param->peer_addr.sa_family == AF_INET) { in udp_upload()
260 if (net_ipv4_is_addr_mcast(&net_sin(&param->peer_addr)->sin_addr)) { in udp_upload()
263 } else if (param->peer_addr.sa_family == AF_INET6) { in udp_upload()
264 if (net_ipv6_is_addr_mcast(&net_sin6(&param->peer_addr)->sin6_addr)) { in udp_upload()
285 int zperf_udp_upload(const struct zperf_upload_params *param, in zperf_udp_upload() argument
293 if (param == NULL || result == NULL) { in zperf_udp_upload()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dhealth_cli.c44 struct health_fault_param *param; in health_fault_status() local
56 (void **)&param)) { in health_fault_status()
57 if (param->expect_test_id && in health_fault_status()
58 (test_id != *param->expect_test_id)) { in health_fault_status()
62 if (cid != param->cid) { in health_fault_status()
66 if (param->test_id) { in health_fault_status()
67 *param->test_id = test_id; in health_fault_status()
70 if (param->faults && param->fault_count) { in health_fault_status()
71 if (buf->len > *param->fault_count) { in health_fault_status()
74 *param->fault_count = buf->len; in health_fault_status()
[all …]
Dcfg_cli.c56 struct comp_data *param; in comp_data_status() local
67 (void **)&param)) { in comp_data_status()
68 if (param->page) { in comp_data_status()
69 *(param->page) = page; in comp_data_status()
72 if (param->comp) { in comp_data_status()
73 to_copy = MIN(net_buf_simple_tailroom(param->comp), buf->len); in comp_data_status()
74 net_buf_simple_add_mem(param->comp, buf->data, to_copy); in comp_data_status()
93 uint8_t *param; in state_status_u8() local
102 (void **)&param)) { in state_status_u8()
104 if (param) { in state_status_u8()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_phy.c377 static void lp_pu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_tx() argument
503 static void lp_pu_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_tx_ntf() argument
512 static void lp_pu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_complete() argument
524 static void lp_pu_send_phy_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_send_phy_req() argument
537 lp_pu_tx(conn, ctx, evt, param); in lp_pu_send_phy_req()
543 void *param) in lp_pu_send_phy_update_ind() argument
552 lp_pu_tx(conn, ctx, evt, param); in lp_pu_send_phy_update_ind()
557 static void lp_pu_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_st_idle() argument
561 lp_pu_send_phy_req(conn, ctx, evt, param); in lp_pu_st_idle()
570 void *param) in lp_pu_st_wait_tx_phy_req() argument
[all …]
Dull_llcp_past.c108 static void rp_past_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_past_st_idle() argument
121 static void rp_past_resolve_cb(void *param) in rp_past_resolve_cb() argument
123 uint8_t rl_idx = (uint8_t)(uint32_t)param; in rp_past_resolve_cb()
186 void *param) in rp_past_st_wait_resolve_if() argument
202 void *param) in rp_past_st_wait_rx() argument
204 struct pdu_data *pdu = (struct pdu_data *)param; in rp_past_st_wait_rx()
270 void *param) in rp_past_st_wait_next_evt() argument
307 void *param) in rp_past_execute_fsm() argument
311 rp_past_st_idle(conn, ctx, evt, param); in rp_past_execute_fsm()
314 rp_past_st_wait_rx(conn, ctx, evt, param); in rp_past_execute_fsm()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/
Ddut.c22 struct bt_le_scan_param param; in start_scanning() local
31 param.type = BT_LE_SCAN_TYPE_ACTIVE; in start_scanning()
32 param.options = BT_LE_SCAN_OPT_FILTER_DUPLICATE; in start_scanning()
33 param.interval = BT_GAP_SCAN_FAST_INTERVAL; in start_scanning()
34 param.window = BT_GAP_SCAN_FAST_WINDOW; in start_scanning()
35 param.timeout = 0; in start_scanning()
36 param.interval_coded = 0; in start_scanning()
37 param.window_coded = 0; in start_scanning()
39 err = bt_le_scan_start(&param, NULL); in start_scanning()
/Zephyr-latest/lib/posix/options/
Dsched.c37 int sched_getparam(pid_t pid, struct sched_param *param) in sched_getparam() argument
40 ARG_UNUSED(param); in sched_getparam()
66 int sched_setparam(pid_t pid, const struct sched_param *param) in sched_setparam() argument
69 ARG_UNUSED(param); in sched_setparam()
81 int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in sched_setscheduler() argument
85 ARG_UNUSED(param); in sched_setscheduler()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h71 int bt_cap_acceptor_register(const struct bt_csip_set_member_register_param *param,
373 int bt_cap_initiator_unicast_audio_start(const struct bt_cap_unicast_audio_start_param *param);
388 int bt_cap_initiator_unicast_audio_update(const struct bt_cap_unicast_audio_update_param *param);
406 int bt_cap_initiator_unicast_audio_stop(const struct bt_cap_unicast_audio_stop_param *param);
548 const struct bt_cap_initiator_broadcast_create_param *param,
684 int bt_cap_initiator_unicast_to_broadcast(const struct bt_cap_unicast_to_broadcast_param *param,
728 int bt_cap_initiator_broadcast_to_unicast(const struct bt_cap_broadcast_to_unicast_param *param,
960 struct bt_cap_commander_broadcast_reception_start_member_param *param; member
975 const struct bt_cap_commander_broadcast_reception_start_param *param);
994 struct bt_cap_commander_broadcast_reception_stop_member_param *param; member
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dadv.c188 enum adv_name_type get_adv_name_type_param(const struct bt_le_adv_param *param) in get_adv_name_type_param() argument
190 if (param->options & BT_LE_ADV_OPT_USE_NAME) { in get_adv_name_type_param()
191 if (param->options & BT_LE_ADV_OPT_FORCE_NAME_IN_AD) { in get_adv_name_type_param()
195 if ((param->options & BT_LE_ADV_OPT_EXT_ADV) && in get_adv_name_type_param()
196 !(param->options & BT_LE_ADV_OPT_SCANNABLE)) { in get_adv_name_type_param()
348 const struct bt_le_ext_adv_start_param *param) in bt_le_adv_set_enable_ext() argument
368 net_buf_add_le16(buf, param ? param->timeout : 0); in bt_le_adv_set_enable_ext()
369 net_buf_add_u8(buf, param ? param->num_events : 0); in bt_le_adv_set_enable_ext()
391 static bool valid_adv_ext_param(const struct bt_le_adv_param *param) in valid_adv_ext_param() argument
395 if (param->peer && in valid_adv_ext_param()
[all …]
Diso.c81 static int hci_le_create_cis(const struct bt_iso_connect_param *param, size_t count);
1718 const struct bt_iso_cig_param *param) in hci_le_set_cig_params() argument
1727 sizeof(*req) + sizeof(*cis_param) * param->num_cis); in hci_le_set_cig_params()
1737 req->c_latency = sys_cpu_to_le16(param->c_to_p_latency); in hci_le_set_cig_params()
1738 req->p_latency = sys_cpu_to_le16(param->p_to_c_latency); in hci_le_set_cig_params()
1739 sys_put_le24(param->c_to_p_interval, req->c_interval); in hci_le_set_cig_params()
1740 sys_put_le24(param->p_to_c_interval, req->p_interval); in hci_le_set_cig_params()
1742 req->sca = param->sca; in hci_le_set_cig_params()
1743 req->packing = param->packing; in hci_le_set_cig_params()
1744 req->framing = param->framing; in hci_le_set_cig_params()
[all …]
/Zephyr-latest/subsys/bluetooth/host/shell/
Diso.c197 struct bt_iso_cig_param param = {0}; in cmd_cig_create() local
230 param.c_to_p_interval = interval; in cmd_cig_create()
232 param.c_to_p_interval = 10000; in cmd_cig_create()
243 param.p_to_c_interval = interval; in cmd_cig_create()
245 param.p_to_c_interval = param.c_to_p_interval; in cmd_cig_create()
254 cis_sdu_interval_us = param.c_to_p_interval; in cmd_cig_create()
272 param.packing = packing; in cmd_cig_create()
274 param.packing = 0; in cmd_cig_create()
293 param.framing = framing; in cmd_cig_create()
295 param.framing = 0; in cmd_cig_create()
[all …]
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_encoder.c398 int publish_encode(const struct mqtt_publish_param *param, struct buf_ctx *buf) in publish_encode() argument
401 MQTT_PKT_TYPE_PUBLISH, param->dup_flag, in publish_encode()
402 param->message.topic.qos, param->retain_flag); in publish_encode()
407 if ((param->message.topic.qos) && (param->message_id == 0U)) { in publish_encode()
415 err_code = pack_utf8_str(&param->message.topic.topic, buf); in publish_encode()
420 if (param->message.topic.qos) { in publish_encode()
421 err_code = pack_uint16(param->message_id, buf); in publish_encode()
430 buf->cur += param->message.payload.len; in publish_encode()
437 buf->end -= param->message.payload.len; in publish_encode()
442 int publish_ack_encode(const struct mqtt_puback_param *param, in publish_ack_encode() argument
[all …]
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c49 void helper_pdu_encode_ping_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_ping_req() argument
57 void helper_pdu_encode_ping_rsp(struct pdu_data *pdu, void *param) in helper_pdu_encode_ping_rsp() argument
65 void helper_pdu_encode_feature_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_feature_req() argument
67 struct pdu_data_llctrl_feature_req *feature_req = param; in helper_pdu_encode_feature_req()
79 void helper_pdu_encode_peripheral_feature_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_peripheral_feature_req() argument
81 struct pdu_data_llctrl_feature_req *feature_req = param; in helper_pdu_encode_peripheral_feature_req()
95 void helper_pdu_encode_feature_rsp(struct pdu_data *pdu, void *param) in helper_pdu_encode_feature_rsp() argument
97 struct pdu_data_llctrl_feature_rsp *feature_rsp = param; in helper_pdu_encode_feature_rsp()
110 void helper_pdu_encode_min_used_chans_ind(struct pdu_data *pdu, void *param) in helper_pdu_encode_min_used_chans_ind() argument
112 struct pdu_data_llctrl_min_used_chans_ind *p = param; in helper_pdu_encode_min_used_chans_ind()
[all …]
/Zephyr-latest/boards/shields/st7789v_generic/
Dst7789v_tl019fqv01.overlay38 porch-param = [0c 0c 00 33 33];
39 cmd2en-param = [5a 69 02 01];
40 pwctrl1-param = [52 a1];
41 pvgam-param = [D0 00 02 07 0B 1A 31 54 40 29 12 12 12 17];
42 nvgam-param = [D0 00 02 07 05 15 2D 44 44 1C 18 16 1C 1D];
43 ram-param = [00 F8];
44 rgb-param = [CD 08 14];
/Zephyr-latest/tests/posix/common/src/
Dpthread_attr.c152 struct sched_param param = { in ZTEST() local
161 zassert_equal(pthread_attr_getschedparam(NULL, &param), EINVAL); in ZTEST()
162 zassert_equal(pthread_attr_getschedparam(&uninit_attr, &param), EINVAL); in ZTEST()
168 zassert_ok(pthread_attr_getschedparam(&attr, &param)); in ZTEST()
169 zassert_not_equal(BIOS_FOOD, param.sched_priority); in ZTEST()
174 struct sched_param param = {0}; in ZTEST() local
181 zassert_equal(pthread_attr_setschedparam(NULL, &param), EINVAL); in ZTEST()
183 pthread_attr_setschedparam((pthread_attr_t *)&uninit_attr, &param), in ZTEST()
189 zassert_ok(pthread_attr_setschedparam(&attr, &param)); in ZTEST()
329 struct sched_param param; in inheritsched_entry() local
[all …]
/Zephyr-latest/drivers/tee/optee/
Doptee.c65 struct tee_param *param; member
107 static int param_to_msg_param(const struct tee_param *param, unsigned int num_param, in param_to_msg_param() argument
111 const struct tee_param *tp = param; in param_to_msg_param()
114 if (!param || !msg_param) { in param_to_msg_param()
173 static int msg_param_to_param(struct tee_param *param, unsigned int num_param, in msg_param_to_param() argument
177 struct tee_param *tp = param; in msg_param_to_param()
180 if (!param || !msg_param) { in msg_param_to_param()
255 struct tee_param *param) in optee_call_supp() argument
270 req->param = param; in optee_call_supp()
297 struct tee_param param; in cmd_alloc_suppl() local
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_st7796s.c203 uint8_t param; in st7796s_lcd_config() local
206 param = ST7796S_UNLOCK_1; in st7796s_lcd_config()
207 ret = st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
212 param = ST7796S_UNLOCK_2; in st7796s_lcd_config()
213 ret = st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
293 param = 0x0; /* Set TMEM bit to 0 */ in st7796s_lcd_config()
294 ret = st7796s_send_cmd(dev, ST7796S_CMD_TEON, &param, sizeof(param)); in st7796s_lcd_config()
301 param = ST7796S_LOCK_1; in st7796s_lcd_config()
302 ret = st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
307 param = ST7796S_LOCK_2; in st7796s_lcd_config()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_internal.h7 int lll_prepare_done(void *param);
8 int lll_done(void *param);
9 bool lll_is_done(void *param);
11 void lll_abort_cb(struct lll_prepare_param *prepare_param, void *param);
/Zephyr-latest/include/zephyr/net/
Dzperf.h94 int zperf_udp_upload(const struct zperf_upload_params *param,
106 int zperf_tcp_upload(const struct zperf_upload_params *param,
121 int zperf_udp_upload_async(const struct zperf_upload_params *param,
136 int zperf_tcp_upload_async(const struct zperf_upload_params *param,
150 int zperf_udp_download(const struct zperf_download_params *param,
164 int zperf_tcp_download(const struct zperf_download_params *param,

12345678910>>...20