Lines Matching refs:bt_vocs_client
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()
358 struct bt_vocs_client *inst = CONTAINER_OF(params, struct bt_vocs_client, discover_params); in vocs_discover_func()
440 int bt_vocs_client_state_get(struct bt_vocs_client *inst) in bt_vocs_client_state_get()
477 int bt_vocs_client_location_set(struct bt_vocs_client *inst, uint32_t location) in bt_vocs_client_location_set()
513 int bt_vocs_client_location_get(struct bt_vocs_client *inst) in bt_vocs_client_location_get()
548 int bt_vocs_client_state_set(struct bt_vocs_client *inst, int16_t offset) in bt_vocs_client_state_set()
593 int bt_vocs_client_description_get(struct bt_vocs_client *inst) in bt_vocs_client_description_get()
628 int bt_vocs_client_description_set(struct bt_vocs_client *inst, in bt_vocs_client_description_set()
674 struct bt_vocs_client *inst; in bt_vocs_client_conn_get()
686 inst = CONTAINER_OF(vocs, struct bt_vocs_client, vocs); in bt_vocs_client_conn_get()
698 static void vocs_client_reset(struct bt_vocs_client *inst) in vocs_client_reset()
724 struct bt_vocs_client *inst; in bt_vocs_discover()
745 inst = CONTAINER_OF(vocs, struct bt_vocs_client, vocs); in bt_vocs_discover()
774 struct bt_vocs_client *inst; in bt_vocs_client_cb_register()
786 inst = CONTAINER_OF(vocs, struct bt_vocs_client, vocs); in bt_vocs_client_cb_register()