Lines Matching refs:bits
69 uint8_t *bits;
210 return s->ev_bits[page - PAGE_EVBITS].bits[offset];
303 /* set bits [bitl..bith] in the ev_bits[type] array
308 uint8_t *bits;
314 bits = g_malloc0(ih + 1);
315 if (bits == NULL)
317 memcpy(bits, s->ev_bits[type].bits, s->ev_bits[type].len);
318 g_free(s->ev_bits[type].bits);
319 s->ev_bits[type].bits = bits;
323 bits = s->ev_bits[type].bits;
329 bits[il] |= maskl;
331 bits[il] = 0xff;
333 bits[ih] |= maskh;
347 uint8_t* bits = s->ev_bits[type].bits;
349 bits[ii] &= ~mask;
361 /* now set the events capability bits depending on hardware configuration */
425 * we don't want to enable certain bits in the middle
435 * corresponding bits. Doing this is simpler than trying to exclude