Home
last modified time | relevance | path

Searched refs:read_params (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/audio/
Dmcc.c127 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_player_name_cb()
141 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_icon_obj_id_cb()
175 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_icon_url_cb()
232 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_track_title_cb()
268 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_track_duration_cb()
304 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_track_position_cb()
366 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_playback_speed_cb()
427 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_seeking_speed_cb()
441 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_segments_obj_id_cb()
500 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_current_track_obj_id_cb()
[all …]
Dtmap.c45 static struct bt_gatt_read_params read_params[CONFIG_BT_MAX_CONN]; variable
122 read_params[conn_id].func = tmap_char_read; in discover_func()
123 read_params[conn_id].handle_count = 1u; in discover_func()
124 read_params[conn_id].single.handle = bt_gatt_attr_value_handle(attr); in discover_func()
125 read_params[conn_id].single.offset = 0; in discover_func()
128 err = bt_gatt_read(conn, &read_params[0]); in discover_func()
Dvocs_client.c280 inst->read_params.func = internal_read_volume_offset_state_cb; in vocs_client_write_vocs_cp_cb()
281 inst->read_params.handle_count = 1; in vocs_client_write_vocs_cp_cb()
282 inst->read_params.single.handle = inst->state_handle; in vocs_client_write_vocs_cp_cb()
286 cb_err = bt_gatt_read(conn, &inst->read_params); in vocs_client_write_vocs_cp_cb()
464 inst->read_params.func = vocs_client_read_offset_state_cb; in bt_vocs_client_state_get()
465 inst->read_params.handle_count = 1; in bt_vocs_client_state_get()
466 inst->read_params.single.handle = inst->state_handle; in bt_vocs_client_state_get()
467 inst->read_params.single.offset = 0U; in bt_vocs_client_state_get()
469 err = bt_gatt_read(inst->conn, &inst->read_params); in bt_vocs_client_state_get()
535 inst->read_params.func = vocs_client_read_location_cb; in bt_vocs_client_location_get()
[all …]
Daics_client.c428 inst->cli.read_params.func = internal_read_state_cb; in aics_client_write_aics_cp_cb()
429 inst->cli.read_params.handle_count = 1; in aics_client_write_aics_cp_cb()
430 inst->cli.read_params.single.handle = inst->cli.state_handle; in aics_client_write_aics_cp_cb()
431 inst->cli.read_params.single.offset = 0U; in aics_client_write_aics_cp_cb()
435 cb_err = bt_gatt_read(conn, &inst->cli.read_params); in aics_client_write_aics_cp_cb()
792 inst->cli.read_params.func = aics_client_read_state_cb; in bt_aics_client_state_get()
793 inst->cli.read_params.handle_count = 1; in bt_aics_client_state_get()
794 inst->cli.read_params.single.handle = inst->cli.state_handle; in bt_aics_client_state_get()
796 err = bt_gatt_read(inst->cli.conn, &inst->cli.read_params); in bt_aics_client_state_get()
830 inst->cli.read_params.func = aics_client_read_gain_settings_cb; in bt_aics_client_gain_setting_get()
[all …]
Dmicp_internal.h38 struct bt_gatt_read_params read_params; member
Dcsip_set_coordinator.c86 struct bt_gatt_read_params read_params; member
593 client->read_params.func = csip_set_coordinator_discover_insts_read_sirk_cb; in read_sirk()
594 client->read_params.handle_count = 1; in read_sirk()
595 client->read_params.single.handle = svc_inst->sirk_handle; in read_sirk()
596 client->read_params.single.offset = 0U; in read_sirk()
598 return bt_gatt_read(svc_inst->conn, &client->read_params); in read_sirk()
628 client->read_params.func = cb; in csip_set_coordinator_read_set_size()
629 client->read_params.handle_count = 1; in csip_set_coordinator_read_set_size()
630 client->read_params.single.handle = client->cur_inst->set_size_handle; in csip_set_coordinator_read_set_size()
631 client->read_params.single.offset = 0U; in csip_set_coordinator_read_set_size()
[all …]
Dvcp_vol_ctlr.c308 vol_ctlr->read_params.func = internal_read_vol_state_cb; in vcp_vol_ctlr_write_vcs_cp_cb()
309 vol_ctlr->read_params.handle_count = 1; in vcp_vol_ctlr_write_vcs_cp_cb()
310 vol_ctlr->read_params.single.handle = vol_ctlr->state_handle; in vcp_vol_ctlr_write_vcs_cp_cb()
311 vol_ctlr->read_params.single.offset = 0U; in vcp_vol_ctlr_write_vcs_cp_cb()
313 cb_err = bt_gatt_read(conn, &vol_ctlr->read_params); in vcp_vol_ctlr_write_vcs_cp_cb()
1114 vol_ctlr->read_params.func = vcp_vol_ctlr_read_vol_state_cb; in bt_vcp_vol_ctlr_read_state()
1115 vol_ctlr->read_params.handle_count = 1; in bt_vcp_vol_ctlr_read_state()
1116 vol_ctlr->read_params.single.handle = vol_ctlr->state_handle; in bt_vcp_vol_ctlr_read_state()
1117 vol_ctlr->read_params.single.offset = 0U; in bt_vcp_vol_ctlr_read_state()
1119 err = bt_gatt_read(vol_ctlr->conn, &vol_ctlr->read_params); in bt_vcp_vol_ctlr_read_state()
[all …]
Dbap_broadcast_assistant.c94 struct bt_gatt_read_params read_params; member
453 inst->read_params.func = broadcast_assistant_bap_ntf_read_func; in long_bap_read()
454 inst->read_params.handle_count = 1U; in long_bap_read()
455 inst->read_params.single.handle = handle; in long_bap_read()
456 inst->read_params.single.offset = att_buf.len; in long_bap_read()
458 err = bt_gatt_read(conn, &inst->read_params); in long_bap_read()
995 memset(&inst->read_params, 0, sizeof(inst->read_params)); in broadcast_assistant_reset()
1669 inst->read_params.func = read_recv_state_cb; in read_recv_state()
1670 inst->read_params.handle_count = 1; in read_recv_state()
1671 inst->read_params.single.handle = inst->recv_state_handles[idx]; in read_recv_state()
[all …]
Dvcp_internal.h71 struct bt_gatt_read_params read_params; member
Dtbs_client.c771 (void)memset(&inst->read_params, 0, sizeof(inst->read_params)); in tbs_client_gatt_read_complete()
788 inst->read_params.func = func; in tbs_client_gatt_read()
789 inst->read_params.handle_count = 1U; in tbs_client_gatt_read()
790 inst->read_params.single.handle = handle; in tbs_client_gatt_read()
791 inst->read_params.single.offset = 0U; in tbs_client_gatt_read()
793 err = bt_gatt_read(conn, &inst->read_params); in tbs_client_gatt_read()
937 struct bt_tbs_instance *inst = CONTAINER_OF(params, struct bt_tbs_instance, read_params); in read_bearer_provider_name_cb()
977 struct bt_tbs_instance *inst = CONTAINER_OF(params, struct bt_tbs_instance, read_params); in read_bearer_uci_cb()
1008 read_params); in read_technology_cb()
1053 struct bt_tbs_instance *inst = CONTAINER_OF(params, struct bt_tbs_instance, read_params); in read_uri_list_cb()
[all …]
Dvocs_internal.h72 struct bt_gatt_read_params read_params; member
Dbap_unicast_client.c126 struct bt_gatt_read_params read_params; member
1720 client->read_params.func = unicast_client_ase_ntf_read_func; in long_ase_read()
1721 client->read_params.handle_count = 1U; in long_ase_read()
1722 client->read_params.single.handle = client_ep->handle; in long_ase_read()
1723 client->read_params.single.offset = long_read_buf->len; in long_ase_read()
1725 err = bt_gatt_read(conn, &client->read_params); in long_ase_read()
3785 client->read_params.func = unicast_client_ase_read_func; in unicast_client_ase_discover_cb()
3786 client->read_params.handle_count = 1U; in unicast_client_ase_discover_cb()
3787 client->read_params.single.handle = value_handle; in unicast_client_ase_discover_cb()
3788 client->read_params.single.offset = 0U; in unicast_client_ase_discover_cb()
[all …]
Dmcc_internal.h115 struct bt_gatt_read_params read_params; member
Dmicp_mic_ctlr.c699 mic_ctlr->read_params.func = micp_mic_ctlr_read_mute_cb; in bt_micp_mic_ctlr_mute_get()
700 mic_ctlr->read_params.handle_count = 1; in bt_micp_mic_ctlr_mute_get()
701 mic_ctlr->read_params.single.handle = mic_ctlr->mute_handle; in bt_micp_mic_ctlr_mute_get()
702 mic_ctlr->read_params.single.offset = 0U; in bt_micp_mic_ctlr_mute_get()
704 err = bt_gatt_read(mic_ctlr->conn, &mic_ctlr->read_params); in bt_micp_mic_ctlr_mute_get()
Daics_internal.h84 struct bt_gatt_read_params read_params; member
/Zephyr-latest/subsys/bluetooth/host/shell/
Dgatt.c284 static struct bt_gatt_read_params read_params; variable
311 if (read_params.func) { in cmd_read()
316 read_params.func = read_func; in cmd_read()
317 read_params.handle_count = 1; in cmd_read()
318 read_params.single.handle = strtoul(argv[1], NULL, 16); in cmd_read()
319 read_params.single.offset = 0U; in cmd_read()
320 SET_CHAN_OPT_ANY(read_params); in cmd_read()
323 read_params.single.offset = strtoul(argv[2], NULL, 16); in cmd_read()
326 err = bt_gatt_read(default_conn, &read_params); in cmd_read()
347 if (read_params.func) { in cmd_mread()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/
Dgatt_client_test.c241 static struct bt_gatt_read_params read_params; in gatt_read() local
246 read_params.func = gatt_read_cb; in gatt_read()
247 read_params.handle_count = 1; in gatt_read()
248 read_params.single.handle = chrc_handle; in gatt_read()
249 read_params.single.offset = 0; in gatt_read()
253 err = bt_gatt_read(g_conn, &read_params); in gatt_read()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/
Dgatt_client_test.c268 static struct bt_gatt_read_params read_params; in gatt_read() local
273 read_params.func = gatt_read_cb; in gatt_read()
274 read_params.handle_count = 1; in gatt_read()
275 read_params.single.handle = handle; in gatt_read()
276 read_params.single.offset = 0; in gatt_read()
280 err = bt_gatt_read(g_conn, &read_params); in gatt_read()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gatt.c1442 static struct bt_gatt_read_params read_params; variable
1539 read_params.handle_count = 1; in read_data()
1540 read_params.single.handle = sys_le16_to_cpu(cp->handle); in read_data()
1541 read_params.single.offset = 0x0000; in read_data()
1542 read_params.func = read_cb; in read_data()
1543 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_data()
1548 if (bt_gatt_read(conn, &read_params) < 0) { in read_data()
1549 read_destroy(&read_params); in read_data()
1585 read_params.by_uuid.uuid = &uuid.uuid; in read_uuid()
1586 read_params.handle_count = 0; in read_uuid()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/
Dgatt_client_test.c313 static struct bt_gatt_read_params read_params; in gatt_read() local
329 read_params.func = gatt_read_cb; in gatt_read()
330 read_params.handle_count = 1; in gatt_read()
331 read_params.single.handle = handle; in gatt_read()
332 read_params.single.offset = 0; in gatt_read()
336 err = bt_gatt_read(g_conn, &read_params); in gatt_read()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dgatt_utils.c322 struct bt_gatt_read_params read_params = { in read_char() local
331 read_params.func = _expect_success; in read_char()
333 read_params.func = _expect_out_of_sync_cb; in read_char()
338 err = bt_gatt_read(get_conn(), &read_params); in read_char()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_oacp_internal.h86 } read_params; member
Dots_oacp.c219 const struct bt_gatt_ots_oacp_read_params *params = &proc->read_params; in oacp_read_proc_validate()
247 memcpy(&ots->cur_obj->state.read_op.oacp_params, &proc->read_params, in oacp_read_proc_validate()
419 proc->read_params.offset = in oacp_command_decode()
421 proc->read_params.len = in oacp_command_decode()
/Zephyr-latest/drivers/flash/
Dflash_mcux_flexspi_nor.c918 uint32_t *read_params) in flash_flexspi_nor_is25_clear_read_param() argument
927 .data = read_params, in flash_flexspi_nor_is25_clear_read_param()
958 uint32_t read_params; in flash_flexspi_nor_check_jedec() local
970 read_params = 0xE0U; in flash_flexspi_nor_check_jedec()
971 ret = flash_flexspi_nor_is25_clear_read_param(data, flexspi_lut, &read_params); in flash_flexspi_nor_check_jedec()
990 read_params = 0; in flash_flexspi_nor_check_jedec()
991 ret = flash_flexspi_nor_is25_clear_read_param(data, flexspi_lut, &read_params); in flash_flexspi_nor_check_jedec()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/
Dgatt_client_test.c269 static void gatt_read(struct bt_gatt_read_params *read_params) in gatt_read() argument
275 err = bt_gatt_read(g_conn, read_params); in gatt_read()

12