Searched refs:bit_offset (Results 1 – 2 of 2) sorted by relevance
423 uint8_t bit_offset = 0; in http_hpack_huffman_encode() local447 uint8_t to_copy = MIN(8 - bit_offset, bitlen); in http_hpack_huffman_encode()449 (24 + bit_offset)); in http_hpack_huffman_encode()452 if (bit_offset == 0) { in http_hpack_huffman_encode()460 bit_offset = (bit_offset + to_copy) % 8; in http_hpack_huffman_encode()462 if (bit_offset == 0) { in http_hpack_huffman_encode()474 if (bit_offset > 0) { in http_hpack_huffman_encode()475 *buf |= LSB_MASK((8 - bit_offset)); in http_hpack_huffman_encode()
320 static inline int npcx_i3c_status_wait_clear(struct i3c_reg *inst, uint8_t bit_offset) in npcx_i3c_status_wait_clear() argument322 if (WAIT_FOR(IS_BIT_SET(inst->MSTATUS, bit_offset), NPCX_I3C_CHK_TIMEOUT_US, NULL) == in npcx_i3c_status_wait_clear()327 inst->MSTATUS = BIT(bit_offset); /* W1C */ in npcx_i3c_status_wait_clear()