linux/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Support for Intel Camera Imaging ISP subsystem.
 * Copyright (c) 2015, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#include "ia_css_queue.h"
#include <math_support.h>
#include <ia_css_circbuf.h>
#include <ia_css_circbuf_desc.h>
#include "queue_access.h"

/*****************************************************************************
 * Queue Public APIs
 *****************************************************************************/
int ia_css_queue_local_init(ia_css_queue_t *qhandle, ia_css_queue_local_t *desc)
{}

int ia_css_queue_remote_init(ia_css_queue_t *qhandle, ia_css_queue_remote_t *desc)
{}

int ia_css_queue_uninit(ia_css_queue_t *qhandle)
{}

int ia_css_queue_enqueue(ia_css_queue_t *qhandle, uint32_t item)
{}

int ia_css_queue_dequeue(ia_css_queue_t *qhandle, uint32_t *item)
{}

int ia_css_queue_is_full(ia_css_queue_t *qhandle, bool *is_full)
{}

int ia_css_queue_get_free_space(ia_css_queue_t *qhandle, uint32_t *size)
{}

int ia_css_queue_get_used_space(ia_css_queue_t *qhandle, uint32_t *size)
{}

int ia_css_queue_peek(ia_css_queue_t *qhandle, u32 offset, uint32_t *element)
{}

int ia_css_queue_is_empty(ia_css_queue_t *qhandle, bool *is_empty)
{}

int ia_css_queue_get_size(ia_css_queue_t *qhandle, uint32_t *size)
{}