Lines Matching +full:assoc +full:- +full:select
1 // SPDX-License-Identifier: GPL-2.0
105 * "srmcons" - early callback prints
106 * "console=srm" - full callback based console, including early prints
141 * i386-setup code. This is just enough to make the console
232 { .name = "rtc", .start = -1, .end = -1 }, in reserve_std_resources()
247 for (hose = hose_head; hose; hose = hose->next) in reserve_std_resources()
248 if (hose->index == 0) { in reserve_std_resources()
249 io = hose->io_space; in reserve_std_resources()
264 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
265 (i) < (memdesc)->numclusters; (i)++, (_cluster)++)
294 size = initrd_end - initrd_start; in move_initrd()
319 (hwrpb->mddt_offset + (unsigned long) hwrpb); in setup_memory()
325 i, cluster->usage, cluster->start_pfn, in setup_memory()
326 cluster->start_pfn + cluster->numpages); in setup_memory()
329 non-volatile memory -- we might want to mark in setup_memory()
331 if (cluster->usage & 3) in setup_memory()
334 end = cluster->start_pfn + cluster->numpages; in setup_memory()
338 memblock_add(PFN_PHYS(cluster->start_pfn), in setup_memory()
339 cluster->numpages << PAGE_SHIFT); in setup_memory()
363 mem_size_limit << (PAGE_SHIFT - 10), in setup_memory()
364 max_low_pfn << (PAGE_SHIFT - 10)); in setup_memory()
369 kernel_size = virt_to_phys(kernel_end) - KERNEL_START_PHYS; in setup_memory()
404 (hwrpb->mddt_offset + (unsigned long) hwrpb); in page_is_ram()
407 if (pfn >= cluster->start_pfn && in page_is_ram()
408 pfn < cluster->start_pfn + cluster->numpages) { in page_is_ram()
409 return (cluster->usage & 3) ? 0 : 1; in page_is_ram()
424 return -ENOMEM; in register_cpus()
457 hwrpb = (struct hwrpb_struct*) __va(INIT_HWRPB->phys_addr); in setup_arch()
461 * Pre-process the system type to make sure it will be valid. in setup_arch()
470 if ((long)hwrpb->sys_type < 0) { in setup_arch()
471 hwrpb->sys_type = -((long)hwrpb->sys_type); in setup_arch()
482 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()
486 alpha_using_qemu = strstr((const char *)hwrpb->ssn, "QEMU") != 0; in setup_arch()
510 * Process command-line arguments. in setup_arch()
563 /* If we're using SRM, make sysrq-b halt back to the prom, in setup_arch()
564 not auto-reboot. */ in setup_arch()
574 cpu = (struct percpu_struct*)((char*)hwrpb + hwrpb->processor_offset); in setup_arch()
576 get_sysnames(hwrpb->sys_type, hwrpb->sys_variation, in setup_arch()
577 cpu->type, &type_name, &var_name); in setup_arch()
582 vec = get_sysvec(hwrpb->sys_type, hwrpb->sys_variation, in setup_arch()
583 cpu->type); in setup_arch()
589 hwrpb->sys_type, hwrpb->sys_variation); in setup_arch()
653 determine_cpu_caches(cpu->type); in setup_arch()
688 if (hwrpb->max_asn != MAX_ASN) { in setup_arch()
689 printk("Max ASN from HWRPB is bad (0x%lx)\n", hwrpb->max_asn); in setup_arch()
766 NULL, /* Sable -- see below. */ in get_sysvec()
774 NULL, /* Mikasa -- see below. */ in get_sysvec()
776 NULL, /* EB66 -- see variation. */ in get_sysvec()
777 NULL, /* EB64+ -- see variation. */ in get_sysvec()
783 NULL, /* EB164 -- see variation. */ in get_sysvec()
784 NULL, /* Noritake -- see below. */ in get_sysvec()
791 NULL, /* Tsunami -- see variation. */ in get_sysvec()
873 (type - ST_API_BIAS) < ARRAY_SIZE(api_vecs)) { in get_sysvec()
874 vec = api_vecs[type - ST_API_BIAS]; in get_sysvec()
876 (type - ST_UNOFFICIAL_BIAS) < ARRAY_SIZE(unofficial_vecs)) { in get_sysvec()
877 vec = unofficial_vecs[type - ST_UNOFFICIAL_BIAS]; in get_sysvec()
883 /* Member ID is a bit-field. */ in get_sysvec()
993 if (strcasecmp(mv->vector_name, name) == 0) in get_sysvec_byname()
1010 (type - ST_API_BIAS) < ARRAY_SIZE(api_names)) { in get_sysnames()
1011 *type_name = api_names[type - ST_API_BIAS]; in get_sysnames()
1013 (type - ST_UNOFFICIAL_BIAS) < ARRAY_SIZE(unofficial_names)) { in get_sysnames()
1014 *type_name = unofficial_names[type - ST_UNOFFICIAL_BIAS]; in get_sysnames()
1027 member = (variation >> 10) & 0x3f; /* member ID is a bit-field */ in get_sysnames()
1031 switch (type) { /* select by family */ in get_sysnames()
1082 * the string--a pointer to the name of the platform.
1085 * - Pointer to a ASCII string if it's in the HWRPB
1086 * - Pointer to a blank string if the data is not in the HWRPB.
1099 if (hwrpb->revision < 5) in platform_string()
1107 ((char *)hwrpb + hwrpb->dsr_offset)); in platform_string()
1108 return ((char *)dsr + (dsr->sysname_off + in platform_string()
1122 ((char *)cpubase + i*hwrpb->processor_size); in get_nr_processors()
1123 if ((cpu->flags & 0x1cc) == 0x1cc) in get_nr_processors()
1132 if (shape == -1) in show_cache_size()
1137 seq_printf (f, "%s\t\t: %dK, %d-way, %db line\n", in show_cache_size()
1163 cpu_index = (unsigned) (cpu->type - 1); in show_cpuinfo()
1168 get_sysnames(hwrpb->sys_type, hwrpb->sys_variation, in show_cpuinfo()
1169 cpu->type, &systype_name, &sysvariation_name); in show_cpuinfo()
1171 nr_processors = get_nr_processors(cpu, hwrpb->nr_processors); in show_cpuinfo()
1174 timer_freq = (100UL * hwrpb->intr_freq) / 4096; in show_cpuinfo()
1198 cpu_name, cpu->variation, cpu->revision, in show_cpuinfo()
1199 (char*)cpu->serial_no, in show_cpuinfo()
1200 systype_name, sysvariation_name, hwrpb->sys_revision, in show_cpuinfo()
1201 (char*)hwrpb->ssn, in show_cpuinfo()
1202 est_cycle_freq ? : hwrpb->cycle_freq, in show_cpuinfo()
1205 hwrpb->pagesize, in show_cpuinfo()
1206 hwrpb->pa_bits, in show_cpuinfo()
1207 hwrpb->max_asn, in show_cpuinfo()
1252 #define CSHAPE(totalsize, linesize, assoc) \ argument
1253 ((totalsize & ~0xff) | (linesize << 4) | assoc)
1288 return -1; /* No BCACHE found. */ in external_cache_probe()
1305 L3 = -1; in determine_cpu_caches()
1307 /* BIU_CTL is a write-only Abox register. PALcode has a in determine_cpu_caches()
1326 L3 = -1; in determine_cpu_caches()
1330 /* No typo -- 8 byte cacheline size. Whodathunk. */ in determine_cpu_caches()
1331 L2 = (car & 1 ? CSHAPE (size, 3, 1) : -1); in determine_cpu_caches()
1347 /* BC_CONTROL and BC_CONFIG are write-only IPRs. PALcode in determine_cpu_caches()
1352 size = 1024*1024 * (1 << ((bc_config & 7) - 1)); in determine_cpu_caches()
1353 L3 = (bc_control & 1 ? CSHAPE (size, width, 1) : -1); in determine_cpu_caches()
1371 L3 = -1; in determine_cpu_caches()
1379 L2 = ((cbox_config >> 31) & 1 ? CSHAPE (size, 6, 1) : -1); in determine_cpu_caches()
1394 L3 = -1; in determine_cpu_caches()
1401 L3 = -1; in determine_cpu_caches()
1422 return *pos ? NULL : (char *)hwrpb + hwrpb->processor_offset; in c_start()
1462 pd = platform_device_alloc("pcspkr", -1); in add_pcspkr()
1464 return -ENOMEM; in add_pcspkr()