linux/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_stream2mmio_local.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/*
   3 * Support for Intel Camera Imaging ISP subsystem.
   4 * Copyright (c) 2015, Intel Corporation.
   5 *
   6 * This program is free software; you can redistribute it and/or modify it
   7 * under the terms and conditions of the GNU General Public License,
   8 * version 2, as published by the Free Software Foundation.
   9 *
  10 * This program is distributed in the hope it will be useful, but WITHOUT
  11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  13 * more details.
  14 */
  15
  16#ifndef __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__
  17#define __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__
  18
  19#include "isys_stream2mmio_global.h"
  20
  21typedef struct stream2mmio_state_s              stream2mmio_state_t;
  22typedef struct stream2mmio_sid_state_s  stream2mmio_sid_state_t;
  23
  24struct stream2mmio_sid_state_s {
  25        hrt_data rcv_ack;
  26        hrt_data pix_width_id;
  27        hrt_data start_addr;
  28        hrt_data end_addr;
  29        hrt_data strides;
  30        hrt_data num_items;
  31        hrt_data block_when_no_cmd;
  32};
  33
  34struct stream2mmio_state_s {
  35        stream2mmio_sid_state_t sid_state[N_STREAM2MMIO_SID_ID];
  36};
  37#endif /* __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__ */
  38