Lines Matching refs:width

41   unsigned int width;			/* Byte width of the access */  member
118 int width = op->width; in exec_op() local
146 if (addr & (width-1)) in exec_op()
147 die("%s: Unaligned access of width %d to register %04x", slot, width, addr); in exec_op()
148 if (addr + width > 0x1000) in exec_op()
149 die("%s: Access of width %d to register %04x out of range", slot, width, addr); in exec_op()
162 if ((op->values[i].mask & max_values[width]) == max_values[width]) in exec_op()
165 trace(formats[width], op->values[i].value); in exec_op()
169 switch (width) in exec_op()
182 trace(mask_formats[width], y, op->values[i].value, op->values[i].mask, x); in exec_op()
186 switch (width) in exec_op()
199 addr += width; in exec_op()
206 switch (width) in exec_op()
218 printf(formats[width]+1, x); in exec_op()
269 unsigned int width; member
419 printf(" %02x %c %s\n", r->offset, "-BW?L"[r->width], r->name); in dump_registers()
635 if (r->width && !op->width) in parse_register()
636 op->width = r->width; in parse_register()
664 char *base, *offset, *width, *value, *number; in parse_op() local
675 if (width = strchr(base, '.')) in parse_op()
676 *width++ = 0; in parse_op()
700 if (width) in parse_op()
702 if (width[1]) in parse_op()
703 parse_err("Invalid width \"%s\"", width); in parse_op()
704 switch (*width & 0xdf) in parse_op()
707 op->width = 1; break; in parse_op()
709 op->width = 2; break; in parse_op()
711 op->width = 4; break; in parse_op()
713 parse_err("Invalid width \"%c\"", *width); in parse_op()
717 op->width = 0; in parse_op()
733 if (!op->width) in parse_op()
746 if (op->addr >= 0x1000 || op->addr + op->width*(n ? n : 1) > 0x1000) in parse_op()
748 if (op->addr & (op->width - 1)) in parse_op()
760 lim = max_values[op->width]; in parse_op()