Lines Matching refs:index
45 u32 index; member
122 if (has_subleafs(leaf->index)) { in leaf_print_raw()
124 printf("0x%08x: subleafs:\n", leaf->index); in leaf_print_raw()
130 leaf->index, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw()
168 leaf->index = f; in cpuid_store()
188 u32 index = f; in raw_dump_range() local
191 index += 0x80000000; in raw_dump_range()
294 u32 index; in parse_line() local
331 index = strtoull(tokens[0], NULL, 0); in parse_line()
333 if (index & 0x80000000) in parse_line()
338 index &= 0x7FFFFFFF; in parse_line()
340 if ((int)index >= range->nr) in parse_line()
343 func = &range->funcs[index]; in parse_line()
499 static inline struct cpuid_func *index_to_func(u32 index) in index_to_func() argument
503 range = (index & 0x80000000) ? leafs_ext : leafs_basic; in index_to_func()
504 index &= 0x7FFFFFFF; in index_to_func()
506 if (((index & 0xFFFF) + 1) > (u32)range->nr) { in index_to_func()
507 printf("ERR: invalid input index (0x%x)\n", index); in index_to_func()
510 return &range->funcs[index]; in index_to_func()