/* * include/linux/nvmap_t19x.h * * structure declarations for nvmem and nvmap user-space ioctls * * Copyright (c) 2009-2022, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #include #include #include #include #ifndef _LINUX_NVMAP_T19x_H #define _LINUX_NVMAP_T19x_H #define NVMAP_HEAP_CARVEOUT_CVSRAM (1ul<<25) int nvmap_register_cvsram_carveout(struct device *dma_dev, phys_addr_t base, size_t size, int (*pmops_busy)(void), int (*pmops_idle)(void)); struct nvmap_handle_t19x { atomic_t nc_pin; /* no. of pins from non io coherent devices */ }; extern bool nvmap_version_t19x; #endif /* _LINUX_NVMAP_T19x_H */