Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 17 of 17) sorted by relevance

/arch/sparc/prom/
Dmemory.c24 sp_banks[index].num_bytes = p->num_bytes; in prom_meminit_v0()
43 sp_banks[i].num_bytes = reg[i].reg_size; in prom_meminit_v2()
83 sp_banks[num_ents].num_bytes = 0; in prom_meminit()
86 sp_banks[i].num_bytes &= PAGE_MASK; in prom_meminit()
Dmisc_32.c96 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
101 if((len>num_bytes) || (len==-1)) return 0xff; in prom_get_idprom()
102 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
Dmisc_64.c156 unsigned char prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
161 if ((len >num_bytes) || (len == -1)) in prom_get_idprom()
163 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
/arch/sparc/mm/
Dinit_32.c119 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
121 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
141 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
142 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
151 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
165 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
167 sp_banks[i].num_bytes; in bootmem_init()
168 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
176 sp_banks[i].num_bytes -= slack; in bootmem_init()
177 if (sp_banks[i].num_bytes == 0) { in bootmem_init()
[all …]
Dfault_32.c57 for (i = 0; sp_banks[i].num_bytes; i++) in probe_memory()
58 total += sp_banks[i].num_bytes; in probe_memory()
Dsun4c.c289 sun4c_vacinfo.num_bytes = 65536; in sun4c_probe_vac()
292 sun4c_vacinfo.num_bytes = in sun4c_probe_vac()
304 if (sun4c_vacinfo.num_bytes != 65536) { in sun4c_probe_vac()
1585 sun4c_vacinfo.num_bytes, in sun4c_mmu_info()
Dsrmmu.c1216 unsigned long vend = SRMMU_PGDIR_ALIGN(vbase + sp_banks[sp_entry].num_bytes); in map_spbank()
1249 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in map_kernel()
/arch/sparc/include/asm/
Dopenprom.h22 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
23 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
24 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
25 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
53 unsigned num_bytes; member
Dvac-ops.h92 unsigned int num_bytes; /* Size of the cache */ member
Doplib_64.h51 unsigned long num_bytes; member
Dpage_32.h41 unsigned long num_bytes; member
/arch/m68k/sun3/prom/
Dmisc.c56 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
61 for(i=0;i<num_bytes; i++) in prom_get_idprom()
/arch/m68k/include/asm/
Dopenprom.h30 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
31 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
32 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
33 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
61 unsigned num_bytes; member
Doplib.h58 …rn char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_bytes);
59 extern void prom_unmapio(char *virt_addr, unsigned int num_bytes);
/arch/m68k/sun3x/
Dprom.c157 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
162 for (i = 0; i < num_bytes; i++) in prom_get_idprom()
/arch/sparc/kernel/
Dsetup_32.c284 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in setup_arch()
290 sp_banks[i].num_bytes; in setup_arch()
/arch/powerpc/kernel/
Dtraps.c809 u32 num_bytes; in emulate_string_inst() local
824 num_bytes = regs->xer & 0x7f; in emulate_string_inst()
828 num_bytes = (NB_RB == 0) ? 32 : NB_RB; in emulate_string_inst()
834 while (num_bytes != 0) in emulate_string_inst()
859 num_bytes--; in emulate_string_inst()