Home
last modified time | relevance | path

Searched refs:param (Results 176 – 200 of 497) sorted by relevance

12345678910>>...20

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_peripheral.c65 static void ticker_op_stop_adv_cb(uint32_t status, void *param);
66 static void ticker_op_cb(uint32_t status, void *param);
68 void *param);
96 adv = ((struct lll_adv *)ftr->param)->hdr.parent;
169 ((struct lll_adv *)ftr->param)->conn = NULL;
524 void *param) argument
535 conn = param;
582 p.param = &conn->lll;
583 mfy.param = &p;
656 static void ticker_op_stop_adv_cb(uint32_t status, void *param) argument
[all …]
Dull_sync.c86 void *param);
87 static void ticker_start_op_cb(uint32_t status, void *param);
88 static void ticker_update_op_cb(uint32_t status, void *param);
89 static void ticker_stop_sync_expire_op_cb(uint32_t status, void *param);
90 static void sync_expire(void *param);
91 static void ticker_stop_sync_lost_op_cb(uint32_t status, void *param);
92 static void sync_lost(void *param);
104 static void ticker_update_op_status_give(uint32_t status, void *param);
309 rx->rx_ftr.param = sync; in ull_sync_setup_from_sync_transfer()
546 node_rx->rx_ftr.param = sync; in ll_sync_create_cancel()
[all …]
Dull_adv_iso.c65 static void mfy_iso_offset_get(void *param);
74 void *param);
75 static void ticker_op_cb(uint32_t status, void *param);
76 static void ticker_stop_op_cb(uint32_t status, void *param);
77 static void adv_iso_disable(void *param);
78 static void disabled_cb(void *param);
79 static void tx_lll_flush(void *param);
750 node_rx->rx_ftr.param = adv_iso; in ll_big_terminate()
881 iso_lll = rx->rx_ftr.param; in ull_adv_iso_chm_complete()
947 mfy.param = sync; in ull_adv_iso_offset_get()
[all …]
Dlll.h233 void (*disabled_cb)(void *param);
256 void *param; member
263 void *param);
342 void *param; member
564 void *param; member
591 void lll_done_score(void *param, uint8_t result);
596 void lll_resume(void *param);
597 void lll_disable(void *param);
634 void *ull_event_done(void *param);
Dull_adv.c81 void *param);
82 static void ticker_update_op_cb(uint32_t status, void *param);
87 void *param);
88 static void ticker_stop_op_cb(uint32_t status, void *param);
89 static void adv_disable(void *param);
90 static void disabled_cb(void *param);
99 static void ticker_stop_aux_op_cb(uint32_t status, void *param);
100 static void aux_disable(void *param);
101 static void aux_disabled_cb(void *param);
102 static void ticker_stop_ext_op_cb(uint32_t status, void *param);
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dmicp_mic_dev.c148 static int prepare_aics_inst(struct bt_micp_mic_dev_register_param *param) in prepare_aics_inst() argument
167 &param->aics_param[j]); in prepare_aics_inst()
190 int bt_micp_mic_dev_register(struct bt_micp_mic_dev_register_param *param) in bt_micp_mic_dev_register() argument
199 __ASSERT(param, "MICS register parameter cannot be NULL"); in bt_micp_mic_dev_register()
202 err = prepare_aics_inst(param); in bt_micp_mic_dev_register()
218 micp_inst.cb = param->cb; in bt_micp_mic_dev_register()
Dbap_unicast_server.c32 int bt_bap_unicast_server_register(const struct bt_bap_unicast_server_register_param *param) in bt_bap_unicast_server_register() argument
34 if (param == NULL) { in bt_bap_unicast_server_register()
39 return bt_ascs_register(param->snk_cnt, param->src_cnt); in bt_bap_unicast_server_register()
Dvocs.c382 const struct bt_vocs_register_param *param) in bt_vocs_register() argument
402 CHECKIF(!param) { in bt_vocs_register()
417 CHECKIF(param->offset > BT_VOCS_MAX_OFFSET || param->offset < BT_VOCS_MIN_OFFSET) { in bt_vocs_register()
418 LOG_DBG("Invalid offset %d", param->offset); in bt_vocs_register()
422 inst->location = param->location; in bt_vocs_register()
423 inst->state.offset = param->offset; in bt_vocs_register()
424 inst->cb = param->cb; in bt_vocs_register()
426 if (param->output_desc) { in bt_vocs_register()
427 (void)utf8_lcpy(inst->output_desc, param->output_desc, in bt_vocs_register()
430 strcmp(inst->output_desc, param->output_desc)) { in bt_vocs_register()
[all …]
Dbap_unicast_client.c2328 struct bt_iso_cig_param param = {0}; in bt_audio_cig_create() local
2333 param.num_cis = unicast_group_get_cis_count(group); in bt_audio_cig_create()
2334 param.cis_channels = group->cis; in bt_audio_cig_create()
2335 bt_bap_qos_cfg_to_cig_param(&param, group); in bt_audio_cig_create()
2337 err = bt_iso_cig_create(&param, &group->cig); in bt_audio_cig_create()
2348 struct bt_iso_cig_param param; in bt_audio_cig_reconfigure() local
2364 param.num_cis = cis_count; in bt_audio_cig_reconfigure()
2365 param.cis_channels = group->cis; in bt_audio_cig_reconfigure()
2366 bt_bap_qos_cfg_to_cig_param(&param, group); in bt_audio_cig_reconfigure()
2368 err = bt_iso_cig_reconfigure(group->cig, &param); in bt_audio_cig_reconfigure()
[all …]
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c204 struct bt_bap_broadcast_assistant_add_src_param *param = user_data; in add_pa_sync_base_subgroup_cb() local
214 subgroup_param = param->subgroups; in add_pa_sync_base_subgroup_cb()
228 param->num_subgroups++; in add_pa_sync_base_subgroup_cb()
572 struct bt_bap_broadcast_assistant_add_src_param param = { 0 }; in main() local
656 bt_addr_le_copy(&param.addr, &selected_addr); in main()
657 param.adv_sid = selected_sid; in main()
658 param.pa_interval = selected_pa_interval; in main()
659 param.broadcast_id = selected_broadcast_id; in main()
660 param.pa_sync = true; in main()
661 param.subgroups = bass_subgroups; in main()
[all …]
/Zephyr-latest/drivers/hdlc_rcp_if/
Dhdlc_rcp_if_uart.c44 void *param; member
76 otuart->cb(data, len, otuart->param); in ot_uart_rx_cb()
159 static int hdlc_register_rx_cb(hdlc_rx_callback_t hdlc_rx_callback, void *param) in hdlc_register_rx_cb() argument
162 ot_uart.param = param; in hdlc_register_rx_cb()
/Zephyr-latest/samples/bluetooth/central_gatt_write/src/
Dgatt_write_common.c150 static bool le_param_req(struct bt_conn *conn, struct bt_le_conn_param *param) in le_param_req() argument
153 param->interval_min, param->interval_max, param->latency, in le_param_req()
154 param->timeout); in le_param_req()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_acceptor.c93 struct bt_csip_set_member_register_param param = { in cmd_cap_acceptor_init() local
131 param.set_size = set_size; in cmd_cap_acceptor_init()
155 param.rank = rank; in cmd_cap_acceptor_init()
157 param.lockable = false; in cmd_cap_acceptor_init()
167 len = hex2bin(argv[argn], strlen(argv[argn]), param.sirk, in cmd_cap_acceptor_init()
168 sizeof(param.sirk)); in cmd_cap_acceptor_init()
181 err = bt_cap_acceptor_register(&param, &cap_csip_svc_inst); in cmd_cap_acceptor_init()
Dmcc.c395 err, cmd->opcode, cmd->param); in mcc_send_cmd_cb()
399 shell_print(ctx_shell, "Command opcode: %d, param: %d", cmd->opcode, cmd->param); in mcc_send_cmd_cb()
1102 .param = 0, in cmd_mcc_play()
1119 .param = 0, in cmd_mcc_pause()
1137 .param = 0, in cmd_mcc_fast_rewind()
1155 .param = 0, in cmd_mcc_fast_forward()
1172 .param = 0, in cmd_mcc_stop()
1208 cmd.param = (int32_t)offset; in cmd_mcc_move_relative()
1224 .param = 0, in cmd_mcc_prev_segment()
1242 .param = 0, in cmd_mcc_next_segment()
[all …]
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/
Dbap_broadcast_sink.c133 struct bt_le_per_adv_sync_param param; in sync_broadcast_pa() local
143 bt_addr_le_copy(&param.addr, info->addr); in sync_broadcast_pa()
144 param.options = 0; in sync_broadcast_pa()
145 param.sid = info->sid; in sync_broadcast_pa()
146 param.skip = PA_SYNC_SKIP; in sync_broadcast_pa()
147 param.timeout = interval_to_sync_timeout(info->interval); in sync_broadcast_pa()
148 err = bt_le_per_adv_sync_create(&param, &bcast_pa_sync); in sync_broadcast_pa()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpbp_public_broadcast_sink_test.c231 struct bt_le_per_adv_sync_param param; in sync_broadcast_pa() local
241 bt_addr_le_copy(&param.addr, info->addr); in sync_broadcast_pa()
242 param.options = 0; in sync_broadcast_pa()
243 param.sid = info->sid; in sync_broadcast_pa()
244 param.skip = PA_SYNC_SKIP; in sync_broadcast_pa()
245 param.timeout = interval_to_sync_timeout(info->interval); in sync_broadcast_pa()
246 err = bt_le_per_adv_sync_create(&param, &bcast_pa_sync); in sync_broadcast_pa()
/Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c290 struct mqtt_sn_param param; in ZTEST() local
299 memset(&param, 0, sizeof(param)); in ZTEST()
302 err = mqtt_sn_decode_msg(&msg, &param); in ZTEST()
305 LOG_HEXDUMP_DBG(&param, sizeof(param), "Decoded data"); in ZTEST()
306 LOG_HEXDUMP_DBG(&decode_tests[i].expected, sizeof(param), "Expected data"); in ZTEST()
307 zassert_mem_equal(&param, &decode_tests[i].expected, sizeof(param), "in test %zu", in ZTEST()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c445 struct bt_cap_unicast_audio_start_param param = {0}; in unicast_audio_start() local
451 stream_param[param.count].member.member = peer.conn; in unicast_audio_start()
452 stream_param[param.count].stream = &peer.sink_stream; in unicast_audio_start()
453 stream_param[param.count].ep = peer.sink_ep; in unicast_audio_start()
454 stream_param[param.count].codec_cfg = &unicast_preset_16_2_1.codec_cfg; in unicast_audio_start()
455 param.count++; in unicast_audio_start()
459 stream_param[param.count].member.member = peer.conn; in unicast_audio_start()
460 stream_param[param.count].stream = &peer.source_stream; in unicast_audio_start()
461 stream_param[param.count].ep = peer.source_ep; in unicast_audio_start()
462 stream_param[param.count].codec_cfg = &unicast_preset_16_2_1.codec_cfg; in unicast_audio_start()
[all …]
/Zephyr-latest/modules/openthread/platform/
Dsettings.c40 void *param) in ot_setting_delete_cb() argument
45 (struct ot_setting_delete_ctx *)param; in ot_setting_delete_cb()
118 void *param) in ot_setting_exists_cb() argument
120 bool *exists = (bool *)param; in ot_setting_exists_cb()
162 void *param) in ot_setting_read_cb() argument
165 struct ot_setting_read_ctx *ctx = (struct ot_setting_read_ctx *)param; in ot_setting_read_cb()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull.c217 void ull_ticker_status_give(uint32_t status, void *param) in ull_ticker_status_give() argument
226 void *ull_disable_mark(void *param) in ull_disable_mark() argument
231 void *ull_disable_unmark(void *param) in ull_disable_unmark() argument
241 int ull_ticker_stop_with_mark(uint8_t ticker_handle, void *param, void *lll_disable) in ull_ticker_stop_with_mark() argument
246 void *ull_update_mark(void *param) in ull_update_mark() argument
251 void *ull_update_unmark(void *param) in ull_update_unmark() argument
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_central_iso.c44 static void abort_cb(struct lll_prepare_param *prepare_param, void *param);
45 static void isr_tx(void *param);
46 static void isr_rx(void *param);
47 static void isr_prepare_subevent(void *param);
48 static void isr_done(void *param);
93 void lll_central_iso_prepare(void *param) in lll_central_iso_prepare() argument
105 p = param; in lll_central_iso_prepare()
109 cig_lll = p->param; in lll_central_iso_prepare()
113 err = lll_prepare(lll_is_abort_cb, abort_cb, prepare_cb, 0U, param); in lll_central_iso_prepare()
124 struct lll_conn_iso_group *cig_lll = p->param; in prepare_cb()
[all …]
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map.c122 const struct flash_parameters *param; in flash_area_erased_val() local
124 param = flash_get_parameters(fa->fa_dev); in flash_area_erased_val()
126 return param->erase_value; in flash_area_erased_val()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_sink/src/
Dmain.c142 struct bt_le_per_adv_sync_param param; in sync_broadcast_pa() local
153 bt_addr_le_copy(&param.addr, info->addr); in sync_broadcast_pa()
154 param.options = 0; in sync_broadcast_pa()
155 param.sid = info->sid; in sync_broadcast_pa()
156 param.skip = PA_SYNC_SKIP; in sync_broadcast_pa()
157 param.timeout = interval_to_sync_timeout(info->interval); in sync_broadcast_pa()
158 err = bt_le_per_adv_sync_create(&param, &bcast_pa_sync); in sync_broadcast_pa()
/Zephyr-latest/subsys/bluetooth/host/classic/
Davrcp.c548 uint8_t param[5]; in bt_avrcp_get_unit_info() local
555 memset(param, 0xFF, ARRAY_SIZE(param)); in bt_avrcp_get_unit_info()
556 net_buf_add_mem(buf, param, sizeof(param)); in bt_avrcp_get_unit_info()
564 uint8_t param[5]; in bt_avrcp_get_subunit_info() local
571 memset(param, 0xFF, ARRAY_SIZE(param)); in bt_avrcp_get_subunit_info()
572 param[0] = FIELD_PREP(GENMASK(6, 4), AVRCP_SUBUNIT_PAGE) | in bt_avrcp_get_subunit_info()
574 net_buf_add_mem(buf, param, sizeof(param)); in bt_avrcp_get_subunit_info()
/Zephyr-latest/drivers/sensor/vishay/veml7700/
Dveml7700.c189 uint16_t param = 0; in veml7700_build_als_conf_param() local
192 param |= data->gain << 11; in veml7700_build_als_conf_param()
195 param |= veml7700_it_values[data->it] << 6; in veml7700_build_als_conf_param()
198 param |= data->int_mode << 4; in veml7700_build_als_conf_param()
200 param |= BIT(1); in veml7700_build_als_conf_param()
205 param |= BIT(0); in veml7700_build_als_conf_param()
207 *return_value = param; in veml7700_build_als_conf_param()
246 uint16_t param; in veml7700_write_als_conf() local
249 ret = veml7700_build_als_conf_param(data, &param); in veml7700_write_als_conf()
253 LOG_DBG("Writing ALS configuration: 0x%04x", param); in veml7700_write_als_conf()
[all …]

12345678910>>...20