summaryrefslogblamecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/fuse.h
blob: 1e306b2d75bb12e46fb5238f5df80a5d37a6b7d2 (plain) (tree)




















                                                                            
/*
 * Copyright (c) 2017, 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.
 */
#ifndef __NVGPU_FUSE_H__
#define __NVGPU_FUSE_H__

int nvgpu_tegra_fuse_read(unsigned long offset, u32 *value);
void nvgpu_tegra_fuse_write(u32 value, unsigned long offset);

int nvgpu_tegra_get_gpu_speedo_id(void);

#endif