121b13791SBen Skeggs /* 221b13791SBen Skeggs * Copyright 2013 Red Hat Inc. 321b13791SBen Skeggs * 421b13791SBen Skeggs * Permission is hereby granted, free of charge, to any person obtaining a 521b13791SBen Skeggs * copy of this software and associated documentation files (the "Software"), 621b13791SBen Skeggs * to deal in the Software without restriction, including without limitation 721b13791SBen Skeggs * the rights to use, copy, modify, merge, publish, distribute, sublicense, 821b13791SBen Skeggs * and/or sell copies of the Software, and to permit persons to whom the 921b13791SBen Skeggs * Software is furnished to do so, subject to the following conditions: 1021b13791SBen Skeggs * 1121b13791SBen Skeggs * The above copyright notice and this permission notice shall be included in 1221b13791SBen Skeggs * all copies or substantial portions of the Software. 1321b13791SBen Skeggs * 1421b13791SBen Skeggs * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1521b13791SBen Skeggs * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1621b13791SBen Skeggs * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1721b13791SBen Skeggs * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 1821b13791SBen Skeggs * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 1921b13791SBen Skeggs * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 2021b13791SBen Skeggs * OTHER DEALINGS IN THE SOFTWARE. 2121b13791SBen Skeggs * 2221b13791SBen Skeggs * Authors: Ben Skeggs 2321b13791SBen Skeggs */ 2421b13791SBen Skeggs #include "priv.h" 2521b13791SBen Skeggs #include "fuc/gk208.fuc5.h" 2621b13791SBen Skeggs 2721b13791SBen Skeggs struct nvkm_oclass * 2821b13791SBen Skeggs gk208_pmu_oclass = &(struct nvkm_pmu_impl) { 2921b13791SBen Skeggs .base.handle = NV_SUBDEV(PMU, 0x00), 3021b13791SBen Skeggs .base.ofuncs = &(struct nvkm_ofuncs) { 3121b13791SBen Skeggs .ctor = _nvkm_pmu_ctor, 3221b13791SBen Skeggs .dtor = _nvkm_pmu_dtor, 3321b13791SBen Skeggs .init = _nvkm_pmu_init, 3421b13791SBen Skeggs .fini = _nvkm_pmu_fini, 3521b13791SBen Skeggs }, 3621b13791SBen Skeggs .code.data = gk208_pmu_code, 3721b13791SBen Skeggs .code.size = sizeof(gk208_pmu_code), 3821b13791SBen Skeggs .data.data = gk208_pmu_data, 3921b13791SBen Skeggs .data.size = sizeof(gk208_pmu_data), 4021b13791SBen Skeggs }.base; 41