Lines Matching refs:write_params

317 	struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params);  in mcs_write_track_position_cb()
379 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_playback_speed_cb()
511 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_current_track_obj_id_cb()
579 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_next_track_obj_id_cb()
684 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_current_group_obj_id_cb()
749 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_playing_order_cb()
838 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_cp_cb()
911 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, write_params); in mcs_write_scp_cb()
2408 mcs_inst->write_params.offset = 0; in bt_mcc_set_track_position()
2409 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_set_track_position()
2410 mcs_inst->write_params.length = sizeof(pos); in bt_mcc_set_track_position()
2411 mcs_inst->write_params.handle = mcs_inst->track_position_handle; in bt_mcc_set_track_position()
2412 mcs_inst->write_params.func = mcs_write_track_position_cb; in bt_mcc_set_track_position()
2414 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, sizeof(pos), "Track position sent"); in bt_mcc_set_track_position()
2416 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_set_track_position()
2493 mcs_inst->write_params.offset = 0; in bt_mcc_set_playback_speed()
2494 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_set_playback_speed()
2495 mcs_inst->write_params.length = sizeof(speed); in bt_mcc_set_playback_speed()
2496 mcs_inst->write_params.handle = mcs_inst->playback_speed_handle; in bt_mcc_set_playback_speed()
2497 mcs_inst->write_params.func = mcs_write_playback_speed_cb; in bt_mcc_set_playback_speed()
2499 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, sizeof(speed), "Playback speed"); in bt_mcc_set_playback_speed()
2501 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_set_playback_speed()
2658 mcs_inst->write_params.offset = 0; in bt_mcc_set_current_track_obj_id()
2659 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_set_current_track_obj_id()
2660 mcs_inst->write_params.length = BT_OTS_OBJ_ID_SIZE; in bt_mcc_set_current_track_obj_id()
2661 mcs_inst->write_params.handle = mcs_inst->current_track_obj_id_handle; in bt_mcc_set_current_track_obj_id()
2662 mcs_inst->write_params.func = mcs_write_current_track_obj_id_cb; in bt_mcc_set_current_track_obj_id()
2664 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, BT_OTS_OBJ_ID_SIZE, "Object Id"); in bt_mcc_set_current_track_obj_id()
2666 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_set_current_track_obj_id()
2743 mcs_inst->write_params.offset = 0; in bt_mcc_set_next_track_obj_id()
2744 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_set_next_track_obj_id()
2745 mcs_inst->write_params.length = BT_OTS_OBJ_ID_SIZE; in bt_mcc_set_next_track_obj_id()
2746 mcs_inst->write_params.handle = mcs_inst->next_track_obj_id_handle; in bt_mcc_set_next_track_obj_id()
2747 mcs_inst->write_params.func = mcs_write_next_track_obj_id_cb; in bt_mcc_set_next_track_obj_id()
2749 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, BT_OTS_OBJ_ID_SIZE, "Object Id"); in bt_mcc_set_next_track_obj_id()
2751 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_set_next_track_obj_id()
2866 mcs_inst->write_params.offset = 0; in bt_mcc_set_current_group_obj_id()
2867 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_set_current_group_obj_id()
2868 mcs_inst->write_params.length = BT_OTS_OBJ_ID_SIZE; in bt_mcc_set_current_group_obj_id()
2869 mcs_inst->write_params.handle = mcs_inst->current_group_obj_id_handle; in bt_mcc_set_current_group_obj_id()
2870 mcs_inst->write_params.func = mcs_write_current_group_obj_id_cb; in bt_mcc_set_current_group_obj_id()
2872 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, BT_OTS_OBJ_ID_SIZE, "Object Id"); in bt_mcc_set_current_group_obj_id()
2874 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_set_current_group_obj_id()
2958 mcs_inst->write_params.offset = 0; in bt_mcc_set_playing_order()
2959 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_set_playing_order()
2960 mcs_inst->write_params.length = sizeof(order); in bt_mcc_set_playing_order()
2961 mcs_inst->write_params.handle = mcs_inst->playing_order_handle; in bt_mcc_set_playing_order()
2962 mcs_inst->write_params.func = mcs_write_playing_order_cb; in bt_mcc_set_playing_order()
2964 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, sizeof(order), "Playing order"); in bt_mcc_set_playing_order()
2966 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_set_playing_order()
3102 mcs_inst->write_params.offset = 0; in bt_mcc_send_cmd()
3103 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_send_cmd()
3104 mcs_inst->write_params.length = length; in bt_mcc_send_cmd()
3105 mcs_inst->write_params.handle = mcs_inst->cp_handle; in bt_mcc_send_cmd()
3106 mcs_inst->write_params.func = mcs_write_cp_cb; in bt_mcc_send_cmd()
3108 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, sizeof(*cmd), "Command sent"); in bt_mcc_send_cmd()
3110 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_send_cmd()
3199 mcs_inst->write_params.offset = 0; in bt_mcc_send_search()
3200 mcs_inst->write_params.data = mcs_inst->write_buf; in bt_mcc_send_search()
3201 mcs_inst->write_params.length = search->len; in bt_mcc_send_search()
3202 mcs_inst->write_params.handle = mcs_inst->scp_handle; in bt_mcc_send_search()
3203 mcs_inst->write_params.func = mcs_write_scp_cb; in bt_mcc_send_search()
3205 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, search->len, "Search sent"); in bt_mcc_send_search()
3207 err = bt_gatt_write(conn, &mcs_inst->write_params); in bt_mcc_send_search()