Lines Matching refs:lvl
40 struct nv30_miptree_level *lvl = &mt->level[level]; in layer_offset() local
43 return (layer * mt->layer_size) + lvl->offset; in layer_offset()
45 return lvl->offset + (layer * lvl->zslice_size); in layer_offset()
93 struct nv30_miptree_level *lvl = &mt->level[level]; in define_rect() local
108 rect->pitch = lvl->pitch; in define_rect()
323 struct nv30_miptree_level *lvl = &mt->level[l]; in nv30_miptree_create() local
327 lvl->offset = size; in nv30_miptree_create()
328 lvl->pitch = mt->uniform_pitch; in nv30_miptree_create()
329 if (!lvl->pitch) in nv30_miptree_create()
330 lvl->pitch = nbx * blocksz; in nv30_miptree_create()
332 lvl->zslice_size = lvl->pitch * nby; in nv30_miptree_create()
333 size += lvl->zslice_size * d; in nv30_miptree_create()
403 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; in nv30_miptree_surface_new() local
426 ns->pitch = lvl->pitch; in nv30_miptree_surface_new()