Home
last modified time | relevance | path

Searched refs:bshift (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/ui/
H A Dqemu-pixman.c31 pf.bshift = 0; in qemu_pixelformat_from_pixman()
35 pf.bshift = pf.rbits + pf.gbits; in qemu_pixelformat_from_pixman()
40 pf.bshift = bpp - pf.bbits; in qemu_pixelformat_from_pixman()
48 pf.bshift = bpp - (pf.rbits + pf.gbits + pf.bbits); in qemu_pixelformat_from_pixman()
63 pf.bmask = pf.bmax << pf.bshift; in qemu_pixelformat_from_pixman()
129 int qemu_pixman_get_type(int rshift, int gshift, int bshift) in qemu_pixman_get_type() argument
133 if (rshift > gshift && gshift > bshift) { in qemu_pixman_get_type()
134 if (bshift == 0) { in qemu_pixman_get_type()
139 } else if (rshift < gshift && gshift < bshift) { in qemu_pixman_get_type()
155 type = qemu_pixman_get_type(pf->rshift, pf->gshift, pf->bshift); in qemu_pixman_get_format()
H A Dvnc-enc-tight.c228 shift[2] = vs->client_pf.bshift; \
566 shift[2] = vs->client_pf.bshift; in tight_filter_gradient24()
570 shift[2] = 24 - vs->client_pf.bshift; in tight_filter_gradient24()
627 shift[2] = vs->client_pf.bshift; \
890 int rshift, gshift, bshift; in tight_pack24() local
897 bshift = vs->client_pf.bshift; in tight_pack24()
901 bshift = 24 - vs->client_pf.bshift; in tight_pack24()
912 *buf++ = (char)(pix >> bshift); in tight_pack24()
1248 color->blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()
1256 blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()
H A Dvnc-enc-zrle.c309 (vs->client_pf.bmax << vs->client_pf.bshift) < (1 << 24)); in zrle_send_framebuffer_update()
313 vs->client_pf.bshift > 7); in zrle_send_framebuffer_update()
H A Dvnc.c890 (b << vs->client_pf.bshift); in vnc_convert_pixel()
2271 vnc_write_u16(vs, (((i >> pf->bshift) & pf->bmax) << (16 - pf->bbits))); in send_color_map()
2312 vs->client_pf.bshift = blue_shift; in set_pixel_format()
2348 vnc_write_u8(vs, vs->client_pf.bshift); /* blue-shift */ in pixel_format_message()
/openbmc/linux/arch/m68k/emu/
H A Dnfblock.c56 int bshift; member
69 shift = dev->bshift; in nfhd_submit_bio()
84 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()
118 dev->bshift = ffs(bsize) - 10; in nfhd_init_one()
/openbmc/qemu/include/ui/
H A Dqemu-pixman.h67 uint8_t rshift, gshift, bshift, ashift; member
76 int qemu_pixman_get_type(int rshift, int gshift, int bshift);
/openbmc/linux/fs/cachefiles/
H A Dcache.c96 cache->bshift = ilog2(stats.f_bsize); in cachefiles_add_cache()
99 cache->bsize, cache->bshift); in cachefiles_add_cache()
H A Dio.c316 ki->b_writing = (len + (1 << cache->bshift) - 1) >> cache->bshift; in __cachefiles_write()
H A Dinternal.h111 unsigned bshift; /* ilog2(bsize) */ member
/openbmc/linux/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c878 static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, en… in map_high() argument
883 bytes = (1UL << bshift) * (max_pnode + 1); in map_high()
/openbmc/qemu/libdecnumber/
H A DdecNumber.c6486 const Unit *b, Int blength, Int bshift, argument
6505 if (bshift!=0) { /* B is shifted; low As copy across */
6506 minC+=bshift;
6508 if (a==c && bshift<=alength) {
6509 c+=bshift;
6510 a+=bshift;
6512 else for (; c<clsu+bshift; a++, c++) { /* copy needed */