Lines Matching +defs:bit +defs:offset

59 	remain = (dbg_buff->offset - entity_hdr->start_offset) % 4;
62 memcpy(((u8 *) dbg_buff->data) + dbg_buff->offset, &zero_buf,
64 dbg_buff->offset += padding;
68 entity_hdr->size = dbg_buff->offset - entity_hdr->start_offset;
101 if (dbg_buff->size - dbg_buff->offset <=
119 if (dbg_buff->size - dbg_buff->offset + *ext_size <=
138 /* update the data offset */
139 dbg_buff->offset = ext_offset;
217 int index, bit, i, rc = -1;
225 dbg_buff.offset = 0;
268 /* If ext flag is set then move the offset to the end of the buf
279 dbg_buff.offset = cudbg_hdr->data_len;
281 dbg_buff.offset += cudbg_hdr->hdr_len; /* move 24 bytes*/
282 dbg_buff.offset += CUDBG_MAX_ENTITY *
286 total_size = dbg_buff.offset;
293 bit = i % 8;
295 if (entity_list[i].bit == CUDBG_EXT_ENTITY)
298 if (all || (dbg_bitmap[index] & (1 << bit))) {
312 /* move the offset after the ext header */
313 dbg_buff.offset +=
318 entity_hdr->start_offset = dbg_buff.offset;
320 remaining_buf_size = dbg_buff.size - dbg_buff.offset;
357 dbg_buff.offset = entity_hdr->start_offset;
427 dbg_buff.offset +=
447 entity_hdr->start_offset = dbg_buff.offset;
458 dbg_buff.offset = entity_hdr->start_offset;
1729 int bit;
1744 bit = bit_pos % 32;
1746 return buf[index] & (1U << bit);
1970 u32 offset;
2003 offset = scratch_buff.offset;
2008 offset), 1);
2141 scratch_buff.offset), qsize);
2256 scratch_buff.offset), qsize);
2302 scratch_buff.offset),
2304 scratch_buff.offset + 5 * CIM_MALA_SIZE));
2354 memcpy((char *)scratch_buff.data + scratch_buff.offset, &cfg,
2359 scratch_buff.offset + sizeof(cfg)), NULL);
2388 u32 offset;
2399 offset = scratch_buff.offset;
2403 offset));
2686 bit */
3168 /* static entries start when bit 6 is set */
3533 * CtlXYBitSel- 0: Y bit, 1: X bit
3553 * [71:48] bit locations are overloaded for
3732 /* Poll the DBGICMDBUSY bit */