xref: /kernel/linux/linux-5.10/drivers/media/pci/ivtv/ivtv-mailbox.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/pci/ivtv/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci    mailbox functions
48c2ecf20Sopenharmony_ci    Copyright (C) 2003-2004  Kevin Thayer <nufan_wfk at yahoo.com>
58c2ecf20Sopenharmony_ci    Copyright (C) 2005-2007  Hans Verkuil <hverkuil@xs4all.nl>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef IVTV_MAILBOX_H
108c2ecf20Sopenharmony_ci#define IVTV_MAILBOX_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define IVTV_MBOX_DMA_END         8
138c2ecf20Sopenharmony_ci#define IVTV_MBOX_DMA             9
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_civoid ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb,
168c2ecf20Sopenharmony_ci		       int argc, u32 data[]);
178c2ecf20Sopenharmony_ciint ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]);
188c2ecf20Sopenharmony_ciint ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...);
198c2ecf20Sopenharmony_ciint ivtv_vapi(struct ivtv *itv, int cmd, int args, ...);
208c2ecf20Sopenharmony_ciint ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]);
218c2ecf20Sopenharmony_civoid ivtv_mailbox_cache_invalidate(struct ivtv *itv);
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#endif
24

Indexes created Thu Nov 07 10:32:03 CST 2024