Searched refs:bbits (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/ui/ |
H A D | qemu-pixman.c | 25 pf.bbits = PIXMAN_FORMAT_B(format); in qemu_pixelformat_from_pixman() 29 pf.ashift = pf.bbits + pf.gbits + pf.rbits; in qemu_pixelformat_from_pixman() 30 pf.rshift = pf.bbits + pf.gbits; in qemu_pixelformat_from_pixman() 31 pf.gshift = pf.bbits; in qemu_pixelformat_from_pixman() 35 pf.ashift = pf.rbits + pf.gbits + pf.bbits; in qemu_pixelformat_from_pixman() 41 pf.bshift = bpp - pf.bbits; in qemu_pixelformat_from_pixman() 42 pf.gshift = bpp - (pf.bbits + pf.gbits); in qemu_pixelformat_from_pixman() 43 pf.rshift = bpp - (pf.bbits + pf.gbits + pf.rbits); in qemu_pixelformat_from_pixman() 49 pf.bshift = bpp - (pf.rbits + pf.gbits + pf.bbits); in qemu_pixelformat_from_pixman() 59 pf.bmax = (1 << pf.bbits) - 1; in qemu_pixelformat_from_pixman() [all …]
|
H A D | vnc.c | 884 b = (((v & 0x000000ff) >> 0) << vs->client_pf.bbits) >> 8; in vnc_convert_pixel() 2271 vnc_write_u16(vs, (((i >> pf->bshift) & pf->bmax) << (16 - pf->bbits))); in send_color_map() 2311 vs->client_pf.bbits = ctpopl(blue_max); in set_pixel_format()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgk104.c | 936 u32 abits, bbits, pmask; in gk104_grctx_generate_alpha_beta_tables() local 940 bbits = ppc_tpcs - abits; in gk104_grctx_generate_alpha_beta_tables() 942 bbits = btarget ? ppc_tpcs : 0; in gk104_grctx_generate_alpha_beta_tables() 943 abits = ppc_tpcs - bbits; in gk104_grctx_generate_alpha_beta_tables() 955 btarget -= min(bbits, btarget); in gk104_grctx_generate_alpha_beta_tables() 956 if ((abits > 0) || (bbits > 0)) in gk104_grctx_generate_alpha_beta_tables()
|
H A D | ctxgf100.c | 1274 u32 bbits = gr->tpc_nr[gpc] - abits[gpc]; in gf100_grctx_generate_alpha_beta_tables() local 1276 bmask |= ((1 << bbits) - 1) << abits[gpc] << (gpc * 8); in gf100_grctx_generate_alpha_beta_tables()
|
/openbmc/linux/fs/ |
H A D | buffer.c | 1821 unsigned int blocksize, bbits; in __block_write_full_folio() local 1840 bbits = block_size_bits(blocksize); in __block_write_full_folio() 1842 block = (sector_t)folio->index << (PAGE_SHIFT - bbits); in __block_write_full_folio() 1843 last_block = (i_size_read(inode) - 1) >> bbits; in __block_write_full_folio() 2095 unsigned blocksize, bbits; in __block_write_begin_int() local 2105 bbits = block_size_bits(blocksize); in __block_write_begin_int() 2107 block = (sector_t)folio->index << (PAGE_SHIFT - bbits); in __block_write_begin_int() 2374 unsigned int blocksize, bbits; in block_read_full_folio() local 2388 bbits = block_size_bits(blocksize); in block_read_full_folio() 2390 iblock = (sector_t)folio->index << (PAGE_SHIFT - bbits); in block_read_full_folio() [all …]
|
/openbmc/qemu/include/ui/ |
H A D | qemu-pixman.h | 71 uint8_t rbits, gbits, bbits, abits; member
|
/openbmc/linux/fs/ocfs2/ |
H A D | super.c | 566 static unsigned long long ocfs2_max_file_offset(unsigned int bbits, in ocfs2_max_file_offset() argument 2005 int i, cbits, bbits; in ocfs2_initialize_super() local 2030 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super() 2031 sb->s_maxbytes = ocfs2_max_file_offset(bbits, cbits); in ocfs2_initialize_super() 2035 osb->osb_dx_mask = (1 << (cbits - bbits)) - 1; in ocfs2_initialize_super()
|
/openbmc/linux/fs/ext4/ |
H A D | inode.c | 1053 unsigned bbits; in ext4_block_write_begin() local 1068 bbits = ilog2(blocksize); in ext4_block_write_begin() 1069 block = (sector_t)folio->index << (PAGE_SHIFT - bbits); in ext4_block_write_begin()
|