Files
linux-nv-oot/drivers/misc/nvscic2c-pcie/stream-extensions.h
dbadgaiyan f2088fd15d misc: nvscic2c-pcie: Update nvscic2c-pcie license
Modify nvscic2c-pcie files to use updated licenses
as per nvidia-oot.

Bug 3739487
Jira C2C-826

Change-Id: I819b459fdb0743d37bc08b4c9b92097d87e62884
Signed-off-by: dbadgaiyan <dbadgaiyan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2830686
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Arihant Jejani <ajejani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-12-22 20:29:46 -08:00

41 lines
956 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
/*
* Internal to gos-nvscic2c module. This file is not supposed to be included
* by any other external modules.
*/
#ifndef __STREAM_EXTENSIONS_H__
#define __STREAM_EXTENSIONS_H__
#include <linux/types.h>
#include "common.h"
/* forward declaration. */
struct driver_ctx_t;
/* params to instantiate a stream-extension instance.*/
struct stream_ext_params {
struct node_info_t *local_node;
struct node_info_t *peer_node;
u32 ep_id;
char *ep_name;
struct platform_device *host1x_pdev;
enum drv_mode_t drv_mode;
void *pci_client_h;
void *comm_channel_h;
void *vmap_h;
void *edma_h;
};
int
stream_extension_ioctl(void *stream_ext_h, unsigned int cmd, void *arg);
int
stream_extension_init(struct stream_ext_params *params, void **handle);
void
stream_extension_deinit(void **handle);
#endif //__STREAM_EXTENSIONS_H__