Searched refs:bt_vocs_client (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/bluetooth/audio/ |
D | vocs_internal.h | 55 struct bt_vocs_client { struct 101 int bt_vocs_client_state_get(struct bt_vocs_client *inst); 102 int bt_vocs_client_state_set(struct bt_vocs_client *inst, int16_t offset); 103 int bt_vocs_client_location_get(struct bt_vocs_client *inst); 104 int bt_vocs_client_location_set(struct bt_vocs_client *inst, uint32_t location); 105 int bt_vocs_client_description_get(struct bt_vocs_client *inst); 106 int bt_vocs_client_description_set(struct bt_vocs_client *inst, const char *description);
|
D | vocs_client.c | 36 LOG_MODULE_REGISTER(bt_vocs_client, CONFIG_BT_VOCS_CLIENT_LOG_LEVEL); 38 static struct bt_vocs_client insts[CONFIG_BT_MAX_CONN * CONFIG_BT_VOCS_CLIENT_MAX_INSTANCE_COUNT]; 40 static struct bt_vocs_client *lookup_vocs_by_handle(struct bt_conn *conn, uint16_t handle) in lookup_vocs_by_handle() 61 struct bt_vocs_client *inst; in vocs_client_notify_handler() 126 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_offset_state_cb() 167 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_location_cb() 207 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in internal_read_volume_offset_state_cb() 258 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->handle); in vocs_client_write_vocs_cp_cb() 308 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_output_desc_cb() 347 static bool valid_inst_discovered(struct bt_vocs_client *inst) in valid_inst_discovered() [all …]
|
D | vocs.c | 480 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_state_get() 503 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_location_get() 526 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_location_set() 546 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_state_set() 571 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_description_get() 599 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_description_set()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_vcp.c | 671 struct bt_vocs_client *vocs_cli = in vcp_vol_ctlr_discover_cb() 672 CONTAINER_OF(vol_ctlr->vocs[0], struct bt_vocs_client, vocs); in vcp_vol_ctlr_discover_cb()
|