Home
last modified time | relevance | path

Searched refs:bits_to_bytes (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwincursor.c189 bits_to_bytes(pScreenPriv->cursor.sm_cx) * pScreenPriv->cursor.sm_cy; in winLoadCursor()
203 int x, y, xmax = bits_to_bytes(nCX); in winLoadCursor()
207 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + x; in winLoadCursor()
218 int x, y, xmax = bits_to_bytes(nCX); in winLoadCursor()
222 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + x; in winLoadCursor()
313 bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + in winLoadCursor()
/OK3568_Linux_fs/external/xserver/dix/
H A Deventconvert.c475 mask_len = bytes_to_int32(bits_to_bytes(dce->buttons.num_buttons)); in appendButtonInfo()
559 len += pad_to_int32(bits_to_bytes(dce->buttons.num_buttons)); in eventToDeviceChanged()
655 btlen = bytes_to_int32(bits_to_bytes(MAX_BUTTONS)); in eventToDeviceEvent()
660 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS)); in eventToDeviceEvent()
758 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS)); in eventToRawEvent()
H A Dinpututils.c1114 BUG_WARN(bits_to_bytes(event_type + 1) > mask->mask_size); in xi2mask_isset_for_device()
1148 BUG_WARN(bits_to_bytes(event_type + 1) > mask->mask_size); in xi2mask_set()
H A Denterleave.c788 btlen = (mouse->button) ? bits_to_bytes(mouse->button->numButtons) : 0; in DeviceFocusEvent()
H A Devents.c4627 btlen = (mouse->button) ? bits_to_bytes(mouse->button->numButtons) : 0; in DeviceEnterLeaveEvent()
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-eventconvert.c67 bytes_to_int32(bits_to_bytes(sizeof(in->valuators.mask)))); in test_values_XIRawEvent()
347 for (i = 0; i < bits_to_bytes(sizeof(in->buttons)); i++) { in test_values_XIDeviceEvent()
349 assert(out->buttons_len >= bytes_to_int32(bits_to_bytes(i))); in test_values_XIDeviceEvent()
363 assert(out->valuators_len >= bytes_to_int32(bits_to_bytes(valuators))); in test_values_XIDeviceEvent()
671 bytes_to_int32(bits_to_bytes(b->num_buttons)) + in test_values_XIDeviceChangedEvent()
676 pad_to_int32(bits_to_bytes(b->num_buttons))); in test_values_XIDeviceChangedEvent()
H A Dprotocol-xiquerydevice.c237 bytes_to_int32(bits_to_bytes(bi->num_buttons)); in reply_XIQueryDevice_data()
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerypointer.c153 bytes_to_int32(bits_to_bytes(pDev->button->numButtons)); in ProcXIQueryPointer()
H A Dxiquerydevice.c213 len += pad_to_int32(bits_to_bytes(dev->button->numButtons)); in SizeDeviceClasses()
247 *mask_words = bytes_to_int32(bits_to_bytes(info->num_buttons)); in ButtonInfoData()
H A Dextinit.c661 pad_to_int32(bits_to_bytes in SDeviceChangedEvent()
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa.c182 int max_pitch = pExaScr->info->maxPitchPixels * bits_to_bytes(bpp); in exaSetAccelBlock()
204 pExaPixmap->fb_pitch = bits_to_bytes((1 << (exaLog2(w - 1) + 1)) * bpp); in exaSetFbPitch()
206 pExaPixmap->fb_pitch = bits_to_bytes(w * bpp); in exaSetFbPitch()
/OK3568_Linux_fs/external/xserver/include/
H A Dmisc.h194 bits_to_bytes(const int bits) in bits_to_bytes() function
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A DxprCursor.c136 xcount = bits_to_bytes(src->bits->width); in load_cursor()
/OK3568_Linux_fs/external/xserver/glx/
H A Drensize.c209 rowSize = bits_to_bytes(groupsPerRow); in __glXImageSize()
/OK3568_Linux_fs/external/xserver/test/
H A Dinput.c940 assert(bits_to_bytes(i) >= i / 8); in test_bits_to_byte()
941 assert((bits_to_bytes(i) * 8) - i <= 7); in test_bits_to_byte()
942 assert(expected_bytes == bits_to_bytes(i)); in test_bits_to_byte()
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86Modes.c110 int bytes_per_pixel = bits_to_bytes(depth); in xf86ModeBandwidth()
/OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/
H A Dglxsingle.c953 int src_rowsize = bits_to_bytes(sw * ebits); in __glXDisp_ReadPixels()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86DGA.c1167 p = pad_to_int32(pScrn->displayWidth * bits_to_bytes(pScrn->bitsPerPixel)); in DGAGetOldDGAMode()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog125895 bits_to_bytes(bits) - the number of bytes needed to hold 'bits'