Searched refs:zcomp (Results 1 – 16 of 16) sorted by relevance
/linux-6.3-rc2/drivers/block/zram/ |
A D | zcomp.c | 49 static int zcomp_strm_init(struct zcomp_strm *zstrm, struct zcomp *comp) in zcomp_strm_init() 106 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp) in zcomp_stream_get() 112 void zcomp_stream_put(struct zcomp *comp) in zcomp_stream_put() 153 struct zcomp *comp = hlist_entry(node, struct zcomp, node); in zcomp_cpu_up_prepare() 168 struct zcomp *comp = hlist_entry(node, struct zcomp, node); in zcomp_cpu_dead() 176 static int zcomp_init(struct zcomp *comp) in zcomp_init() 194 void zcomp_destroy(struct zcomp *comp) in zcomp_destroy() 209 struct zcomp *zcomp_create(const char *alg) in zcomp_create() 211 struct zcomp *comp; in zcomp_create() 222 comp = kzalloc(sizeof(struct zcomp), GFP_KERNEL); in zcomp_create()
|
A D | zcomp.h | 19 struct zcomp { struct 30 struct zcomp *zcomp_create(const char *alg); argument 31 void zcomp_destroy(struct zcomp *comp); 33 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp); 34 void zcomp_stream_put(struct zcomp *comp); 42 bool zcomp_set_max_streams(struct zcomp *comp, int num_strm);
|
A D | Makefile | 2 zram-y := zcomp.o zram_drv.o
|
A D | zram_drv.h | 110 struct zcomp *comps[ZRAM_MAX_COMPS];
|
A D | zram_drv.c | 2078 struct zcomp *comp = zram->comps[prio]; in zram_destroy_comps() 2117 struct zcomp *comp; in disksize_store()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | nv20.c | 49 if (!(flags & 2)) tile->zcomp = 0x00000000; /* Z16 */ in nv20_fb_tile_comp() 50 else tile->zcomp = 0x04000000; /* Z24S8 */ in nv20_fb_tile_comp() 51 tile->zcomp |= tile->tag->offset; in nv20_fb_tile_comp() 52 tile->zcomp |= 0x80000000; /* enable */ in nv20_fb_tile_comp() 54 tile->zcomp |= 0x08000000; in nv20_fb_tile_comp() 65 tile->zcomp = 0; in nv20_fb_tile_fini() 77 nvkm_wr32(device, 0x100300 + (i * 0x04), tile->zcomp); in nv20_fb_tile_prog()
|
A D | nv35.c | 36 if (flags & 2) tile->zcomp |= 0x04000000; /* Z16 */ in nv35_fb_tile_comp() 37 else tile->zcomp |= 0x08000000; /* Z24S8 */ in nv35_fb_tile_comp() 38 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv35_fb_tile_comp() 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 13; in nv35_fb_tile_comp() 41 tile->zcomp |= 0x40000000; in nv35_fb_tile_comp()
|
A D | nv36.c | 36 if (flags & 2) tile->zcomp |= 0x10000000; /* Z16 */ in nv36_fb_tile_comp() 37 else tile->zcomp |= 0x20000000; /* Z24S8 */ in nv36_fb_tile_comp() 38 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv36_fb_tile_comp() 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 14; in nv36_fb_tile_comp() 41 tile->zcomp |= 0x80000000; in nv36_fb_tile_comp()
|
A D | nv25.c | 36 if (!(flags & 2)) tile->zcomp = 0x00100000; /* Z16 */ in nv25_fb_tile_comp() 37 else tile->zcomp = 0x00200000; /* Z24S8 */ in nv25_fb_tile_comp() 38 tile->zcomp |= tile->tag->offset; in nv25_fb_tile_comp() 40 tile->zcomp |= 0x01000000; in nv25_fb_tile_comp()
|
A D | nv40.c | 37 tile->zcomp = 0x28000000; /* Z24S8_SPLIT_GRAD */ in nv40_fb_tile_comp() 38 tile->zcomp |= ((tile->tag->offset ) >> 8); in nv40_fb_tile_comp() 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13; in nv40_fb_tile_comp() 41 tile->zcomp |= 0x40000000; in nv40_fb_tile_comp()
|
A D | nv30.c | 55 if (flags & 2) tile->zcomp |= 0x01000000; /* Z16 */ in nv30_fb_tile_comp() 56 else tile->zcomp |= 0x02000000; /* Z24S8 */ in nv30_fb_tile_comp() 57 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv30_fb_tile_comp() 58 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 12; in nv30_fb_tile_comp() 60 tile->zcomp |= 0x10000000; in nv30_fb_tile_comp()
|
A D | nv41.c | 37 nvkm_wr32(device, 0x100700 + (i * 0x04), tile->zcomp); in nv41_fb_tile_prog()
|
A D | nv10.c | 44 tile->zcomp = 0; in nv10_fb_tile_fini()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | nv40.c | 198 nvkm_wr32(device, NV20_PGRAPH_ZCOMP(i), tile->zcomp); in nv40_gr_tile() 199 nvkm_wr32(device, NV40_PGRAPH_ZCOMP1(i), tile->zcomp); in nv40_gr_tile() 204 nvkm_wr32(device, NV41_PGRAPH_ZCOMP0(i), tile->zcomp); in nv40_gr_tile() 205 nvkm_wr32(device, NV41_PGRAPH_ZCOMP1(i), tile->zcomp); in nv40_gr_tile() 220 nvkm_wr32(device, NV47_PGRAPH_ZCOMP0(i), tile->zcomp); in nv40_gr_tile() 221 nvkm_wr32(device, NV47_PGRAPH_ZCOMP1(i), tile->zcomp); in nv40_gr_tile()
|
A D | nv20.c | 171 nvkm_wr32(device, NV20_PGRAPH_ZCOMP(i), tile->zcomp); in nv20_gr_tile() 173 nvkm_wr32(device, NV10_PGRAPH_RDI_DATA, tile->zcomp); in nv20_gr_tile()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
A D | fb.h | 30 u32 zcomp; member
|
Completed in 24 milliseconds