Lines Matching refs:_
2239 #define _(n,p,m) case NVKM_SUBDEV_##n: if (p) return (m); break in nvkm_device_subdev() macro
2240 _(BAR , device->bar , &device->bar->subdev); in nvkm_device_subdev()
2241 _(VBIOS , device->bios , &device->bios->subdev); in nvkm_device_subdev()
2242 _(BUS , device->bus , &device->bus->subdev); in nvkm_device_subdev()
2243 _(CLK , device->clk , &device->clk->subdev); in nvkm_device_subdev()
2244 _(DEVINIT , device->devinit , &device->devinit->subdev); in nvkm_device_subdev()
2245 _(FB , device->fb , &device->fb->subdev); in nvkm_device_subdev()
2246 _(FUSE , device->fuse , &device->fuse->subdev); in nvkm_device_subdev()
2247 _(GPIO , device->gpio , &device->gpio->subdev); in nvkm_device_subdev()
2248 _(I2C , device->i2c , &device->i2c->subdev); in nvkm_device_subdev()
2249 _(IBUS , device->ibus , device->ibus); in nvkm_device_subdev()
2250 _(ICCSENSE, device->iccsense, &device->iccsense->subdev); in nvkm_device_subdev()
2251 _(INSTMEM , device->imem , &device->imem->subdev); in nvkm_device_subdev()
2252 _(LTC , device->ltc , &device->ltc->subdev); in nvkm_device_subdev()
2253 _(MC , device->mc , &device->mc->subdev); in nvkm_device_subdev()
2254 _(MMU , device->mmu , &device->mmu->subdev); in nvkm_device_subdev()
2255 _(MXM , device->mxm , device->mxm); in nvkm_device_subdev()
2256 _(PCI , device->pci , &device->pci->subdev); in nvkm_device_subdev()
2257 _(PMU , device->pmu , &device->pmu->subdev); in nvkm_device_subdev()
2258 _(SECBOOT , device->secboot , &device->secboot->subdev); in nvkm_device_subdev()
2259 _(THERM , device->therm , &device->therm->subdev); in nvkm_device_subdev()
2260 _(TIMER , device->timer , &device->timer->subdev); in nvkm_device_subdev()
2261 _(TOP , device->top , &device->top->subdev); in nvkm_device_subdev()
2262 _(VOLT , device->volt , &device->volt->subdev); in nvkm_device_subdev()
2263 #undef _ in nvkm_device_subdev()
2280 #define _(n,p,m) case NVKM_ENGINE_##n: if (p) return (m); break in nvkm_device_engine() macro
2281 _(BSP , device->bsp , device->bsp); in nvkm_device_engine()
2282 _(CE0 , device->ce[0] , device->ce[0]); in nvkm_device_engine()
2283 _(CE1 , device->ce[1] , device->ce[1]); in nvkm_device_engine()
2284 _(CE2 , device->ce[2] , device->ce[2]); in nvkm_device_engine()
2285 _(CE3 , device->ce[3] , device->ce[3]); in nvkm_device_engine()
2286 _(CE4 , device->ce[4] , device->ce[4]); in nvkm_device_engine()
2287 _(CE5 , device->ce[5] , device->ce[5]); in nvkm_device_engine()
2288 _(CIPHER , device->cipher , device->cipher); in nvkm_device_engine()
2289 _(DISP , device->disp , &device->disp->engine); in nvkm_device_engine()
2290 _(DMAOBJ , device->dma , &device->dma->engine); in nvkm_device_engine()
2291 _(FIFO , device->fifo , &device->fifo->engine); in nvkm_device_engine()
2292 _(GR , device->gr , &device->gr->engine); in nvkm_device_engine()
2293 _(IFB , device->ifb , device->ifb); in nvkm_device_engine()
2294 _(ME , device->me , device->me); in nvkm_device_engine()
2295 _(MPEG , device->mpeg , device->mpeg); in nvkm_device_engine()
2296 _(MSENC , device->msenc , device->msenc); in nvkm_device_engine()
2297 _(MSPDEC , device->mspdec , device->mspdec); in nvkm_device_engine()
2298 _(MSPPP , device->msppp , device->msppp); in nvkm_device_engine()
2299 _(MSVLD , device->msvld , device->msvld); in nvkm_device_engine()
2300 _(NVENC0 , device->nvenc[0], device->nvenc[0]); in nvkm_device_engine()
2301 _(NVENC1 , device->nvenc[1], device->nvenc[1]); in nvkm_device_engine()
2302 _(NVENC2 , device->nvenc[2], device->nvenc[2]); in nvkm_device_engine()
2303 _(NVDEC , device->nvdec , device->nvdec); in nvkm_device_engine()
2304 _(PM , device->pm , &device->pm->engine); in nvkm_device_engine()
2305 _(SEC , device->sec , device->sec); in nvkm_device_engine()
2306 _(SW , device->sw , &device->sw->engine); in nvkm_device_engine()
2307 _(VIC , device->vic , device->vic); in nvkm_device_engine()
2308 _(VP , device->vp , device->vp); in nvkm_device_engine()
2309 #undef _ in nvkm_device_engine()
2687 #define _(s,m) case s: \ macro
2703 _(NVKM_SUBDEV_BAR , bar);
2704 _(NVKM_SUBDEV_VBIOS , bios);
2705 _(NVKM_SUBDEV_BUS , bus);
2706 _(NVKM_SUBDEV_CLK , clk);
2707 _(NVKM_SUBDEV_DEVINIT , devinit);
2708 _(NVKM_SUBDEV_FB , fb);
2709 _(NVKM_SUBDEV_FUSE , fuse);
2710 _(NVKM_SUBDEV_GPIO , gpio);
2711 _(NVKM_SUBDEV_I2C , i2c);
2712 _(NVKM_SUBDEV_IBUS , ibus);
2713 _(NVKM_SUBDEV_ICCSENSE, iccsense);
2714 _(NVKM_SUBDEV_INSTMEM , imem);
2715 _(NVKM_SUBDEV_LTC , ltc);
2716 _(NVKM_SUBDEV_MC , mc);
2717 _(NVKM_SUBDEV_MMU , mmu);
2718 _(NVKM_SUBDEV_MXM , mxm);
2719 _(NVKM_SUBDEV_PCI , pci);
2720 _(NVKM_SUBDEV_PMU , pmu);
2721 _(NVKM_SUBDEV_SECBOOT , secboot);
2722 _(NVKM_SUBDEV_THERM , therm);
2723 _(NVKM_SUBDEV_TIMER , timer);
2724 _(NVKM_SUBDEV_TOP , top);
2725 _(NVKM_SUBDEV_VOLT , volt);
2726 _(NVKM_ENGINE_BSP , bsp);
2727 _(NVKM_ENGINE_CE0 , ce[0]);
2728 _(NVKM_ENGINE_CE1 , ce[1]);
2729 _(NVKM_ENGINE_CE2 , ce[2]);
2730 _(NVKM_ENGINE_CE3 , ce[3]);
2731 _(NVKM_ENGINE_CE4 , ce[4]);
2732 _(NVKM_ENGINE_CE5 , ce[5]);
2733 _(NVKM_ENGINE_CIPHER , cipher);
2734 _(NVKM_ENGINE_DISP , disp);
2735 _(NVKM_ENGINE_DMAOBJ , dma);
2736 _(NVKM_ENGINE_FIFO , fifo);
2737 _(NVKM_ENGINE_GR , gr);
2738 _(NVKM_ENGINE_IFB , ifb);
2739 _(NVKM_ENGINE_ME , me);
2740 _(NVKM_ENGINE_MPEG , mpeg);
2741 _(NVKM_ENGINE_MSENC , msenc);
2742 _(NVKM_ENGINE_MSPDEC , mspdec);
2743 _(NVKM_ENGINE_MSPPP , msppp);
2744 _(NVKM_ENGINE_MSVLD , msvld);
2745 _(NVKM_ENGINE_NVENC0 , nvenc[0]);
2746 _(NVKM_ENGINE_NVENC1 , nvenc[1]);
2747 _(NVKM_ENGINE_NVENC2 , nvenc[2]);
2748 _(NVKM_ENGINE_NVDEC , nvdec);
2749 _(NVKM_ENGINE_PM , pm);
2750 _(NVKM_ENGINE_SEC , sec);
2751 _(NVKM_ENGINE_SW , sw);
2752 _(NVKM_ENGINE_VIC , vic);
2753 _(NVKM_ENGINE_VP , vp);
2758 #undef _