Path: blob/master/drivers/media/video/ivtv/ivtv-mailbox.h
17778 views
/*1mailbox functions2Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>3Copyright (C) 2005-2007 Hans Verkuil <[email protected]>45This program is free software; you can redistribute it and/or modify6it under the terms of the GNU General Public License as published by7the Free Software Foundation; either version 2 of the License, or8(at your option) any later version.910This program is distributed in the hope that it will be useful,11but WITHOUT ANY WARRANTY; without even the implied warranty of12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13GNU General Public License for more details.1415You should have received a copy of the GNU General Public License16along with this program; if not, write to the Free Software17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA18*/1920#ifndef IVTV_MAILBOX_H21#define IVTV_MAILBOX_H2223#define IVTV_MBOX_DMA_END 824#define IVTV_MBOX_DMA 92526void ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb,27int argc, u32 data[]);28int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]);29int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...);30int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...);31int ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]);32void ivtv_mailbox_cache_invalidate(struct ivtv *itv);3334#endif353637