Searched defs:bit (Results 1 - 5 of 5) sorted by relevance

/system/core/libpixelflinger/
H A Dfixed.cpp54 // shift right 1-bit to make room for the sign bit
111 GGLfixed bit = 0x800000; local
114 GGLfixed temp = bit + (r<<1);
118 r += bit;
122 } while (bit>>=1);
189 // we get 3.75 cycles per bit in the main loop
190 // and 8 cycles per bit in the termination loop
256 // first we compute a*b as a 64-bit integer
316 // this function computes a*b/c with 64-bit intermediat
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/
H A Dwspi.c91 #define WSPI_INIT_CMD_BYPASS_BIT 0x80 /* the extra bypass bit is sampled by the TNET as '1' */
132 /* The 31's bit in the WSPI cmd is read bit */
1327 UINT8 bit, temp; local
1335 bit = (bits[i / 8] & (1 << (7 - (i % 8)))) >> (7 - (i % 8));
1343 CRC0 = temp ^ bit;
/system/extras/ext4_utils/
H A Dallocate.c161 static int bitmap_set_bit(u8 *bitmap, u32 bit) argument
163 if (bitmap[bit / 8] & 1 << (bit % 8))
166 bitmap[bit / 8] |= 1 << (bit % 8);
170 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) argument
172 int ret = bitmap[bit / 8];
173 bitmap[bit / 8] = 0xFF;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Rx/
H A Drx.c634 /* if the pattern bit mask is enabled add it to the end of the request */
641 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, ("%s: Closed field pattern, length = %d, total length = %d, pattern bit mask = %d.\n", __FUNCTION__, fieldPattern->length, *lenFieldPatterns, ((fieldPattern->flag & RX_DATA_FILTER_FLAG_USE_BIT_MASK) == RX_DATA_FILTER_FLAG_USE_BIT_MASK)));
673 /* which byte in the mask and which bit in the byte we're at */
674 int bit = maskIter % BIT_TO_BYTE_FACTOR; local
677 /* is the bit in the mask set */
678 BOOL isSet = ((request->mask[byte] & (1 << bit)) == (1 << bit));
681 ("%s: MaskIter = %d, Byte = %d, Bit = %d, isSet = %d\n", __FUNCTION__, maskIter, byte, bit, isSet));
684 /* the current bit is not set or we've reached the ethernet header boundary */
695 /* nothing to do in case the bit i
[all...]
/system/wlan/ti/wilink_6_1/stad/src/Data_link/
H A Drx.c610 /* if the pattern bit mask is enabled add it to the end of the request */
617 TRACE3(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Closed field pattern, length = %d, total length = %d, pattern bit mask = %d.\n", fieldPattern->length, *lenFieldPatterns, ((fieldPattern->flag & RX_DATA_FILTER_FLAG_USE_BIT_MASK) == RX_DATA_FILTER_FLAG_USE_BIT_MASK));
649 /* which byte in the mask and which bit in the byte we're at */
650 int bit = maskIter % 8; local
653 /* is the bit in the mask set */
654 TI_BOOL isSet = ((request->mask[byte] & (1 << bit)) == (1 << bit));
656 TRACE4(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": MaskIter = %d, Byte = %d, Bit = %d, isSet = %d\n", maskIter, byte, bit, isSet);
659 /* the current bit is not set or we've reached the ethernet header boundary */
670 /* nothing to do in case the bit i
[all...]

Completed in 121 milliseconds