Searched refs:bits_to_bytes (Results 1 – 19 of 19) sorted by relevance
189 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()
475 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()
1114 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()
788 btlen = (mouse->button) ? bits_to_bytes(mouse->button->numButtons) : 0; in DeviceFocusEvent()
4627 btlen = (mouse->button) ? bits_to_bytes(mouse->button->numButtons) : 0; in DeviceEnterLeaveEvent()
67 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()
237 bytes_to_int32(bits_to_bytes(bi->num_buttons)); in reply_XIQueryDevice_data()
153 bytes_to_int32(bits_to_bytes(pDev->button->numButtons)); in ProcXIQueryPointer()
213 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()
661 pad_to_int32(bits_to_bytes in SDeviceChangedEvent()
182 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()
194 bits_to_bytes(const int bits) in bits_to_bytes() function
136 xcount = bits_to_bytes(src->bits->width); in load_cursor()
209 rowSize = bits_to_bytes(groupsPerRow); in __glXImageSize()
940 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()
110 int bytes_per_pixel = bits_to_bytes(depth); in xf86ModeBandwidth()
953 int src_rowsize = bits_to_bytes(sw * ebits); in __glXDisp_ReadPixels()
1167 p = pad_to_int32(pScrn->displayWidth * bits_to_bytes(pScrn->bitsPerPixel)); in DGAGetOldDGAMode()
125895 bits_to_bytes(bits) - the number of bytes needed to hold 'bits'