vic.h (a976c2951d8f376112361830aa7762beff83a205) | vic.h (f3779cb190a5a12d2e26fd5af724fb1384a9144f) |
---|---|
1/* 2 * Copyright (c) 2015, NVIDIA Corporation. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 9#ifndef TEGRA_VIC_H 10#define TEGRA_VIC_H 11 12/* VIC methods */ 13 14#define VIC_SET_APPLICATION_ID 0x00000200 15#define VIC_SET_FCE_UCODE_SIZE 0x0000071C 16#define VIC_SET_FCE_UCODE_OFFSET 0x0000072C 17 18/* VIC registers */ 19 | 1/* 2 * Copyright (c) 2015, NVIDIA Corporation. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 9#ifndef TEGRA_VIC_H 10#define TEGRA_VIC_H 11 12/* VIC methods */ 13 14#define VIC_SET_APPLICATION_ID 0x00000200 15#define VIC_SET_FCE_UCODE_SIZE 0x0000071C 16#define VIC_SET_FCE_UCODE_OFFSET 0x0000072C 17 18/* VIC registers */ 19 |
20#define VIC_THI_STREAMID0 0x00000030 21#define VIC_THI_STREAMID1 0x00000034 22 |
|
20#define NV_PVIC_MISC_PRI_VIC_CG 0x000016d0 21#define CG_IDLE_CG_DLY_CNT(val) ((val & 0x3f) << 0) 22#define CG_IDLE_CG_EN (1 << 6) 23#define CG_WAKEUP_DLY_CNT(val) ((val & 0xf) << 16) 24 | 23#define NV_PVIC_MISC_PRI_VIC_CG 0x000016d0 24#define CG_IDLE_CG_DLY_CNT(val) ((val & 0x3f) << 0) 25#define CG_IDLE_CG_EN (1 << 6) 26#define CG_WAKEUP_DLY_CNT(val) ((val & 0xf) << 16) 27 |
28#define VIC_TFBIF_TRANSCFG 0x00002044 29#define TRANSCFG_ATT(i, v) (((v) & 0x3) << (i * 4)) 30#define TRANSCFG_SID_HW 0 31#define TRANSCFG_SID_PHY 1 32#define TRANSCFG_SID_FALCON 2 33 |
|
25/* Firmware offsets */ 26 27#define VIC_UCODE_FCE_HEADER_OFFSET (6*4) 28#define VIC_UCODE_FCE_DATA_OFFSET (7*4) 29#define FCE_UCODE_SIZE_OFFSET (2*4) 30 31#endif /* TEGRA_VIC_H */ | 34/* Firmware offsets */ 35 36#define VIC_UCODE_FCE_HEADER_OFFSET (6*4) 37#define VIC_UCODE_FCE_DATA_OFFSET (7*4) 38#define FCE_UCODE_SIZE_OFFSET (2*4) 39 40#endif /* TEGRA_VIC_H */ |