/* * 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. */ #include #include int nvgpu_tegra_fuse_read(unsigned long offset, u32 *value) { return tegra_fuse_readl(offset, value); } void nvgpu_tegra_fuse_write(u32 value, unsigned long offset) { tegra_fuse_control_write(value, offset); } int nvgpu_tegra_get_gpu_speedo_id(void) { return tegra_sku_info.gpu_speedo_id; }