Lines Matching defs:offset
314 int offset; /* Location of field, specified in bits; */
644 get_bits(struct link_packet *packet, int offset, int width)
649 index = offset / 32 + 1;
650 shift = 32 - (offset & 31) - width;
695 int offset;
702 if (f->offset < 0)
703 offset = length * 8 + f->offset - 32;
705 offset = f->offset;
710 bits = get_bits(packet, offset, f->width);
714 dump_data((unsigned char *) packet + (offset / 8 + 4), data_length);
720 if ((offset & ~31) != ((offset + f->width - 1) & ~31)) {
722 high_width = ((offset + 31) & ~31) - offset;
725 bits = get_bits(packet, offset, high_width);
727 get_bits(packet, offset + high_width, low_width);
729 bits = get_bits(packet, offset, f->width);