162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci mailbox functions 462306a36Sopenharmony_ci Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 562306a36Sopenharmony_ci Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifndef IVTV_MAILBOX_H 1062306a36Sopenharmony_ci#define IVTV_MAILBOX_H 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#define IVTV_MBOX_DMA_END 8 1362306a36Sopenharmony_ci#define IVTV_MBOX_DMA 9 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_civoid ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb, 1662306a36Sopenharmony_ci int argc, u32 data[]); 1762306a36Sopenharmony_ciint ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]); 1862306a36Sopenharmony_ciint ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...); 1962306a36Sopenharmony_ciint ivtv_vapi(struct ivtv *itv, int cmd, int args, ...); 2062306a36Sopenharmony_ciint ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]); 2162306a36Sopenharmony_civoid ivtv_mailbox_cache_invalidate(struct ivtv *itv); 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci#endif 24