Home
last modified time | relevance | path

Searched refs:base_addr (Results 1 – 25 of 48) sorted by relevance

12

/arch/sparc/prom/
Dmemory.c24 sp_banks[index].base_addr = (unsigned long) p->start_adr; in prom_meminit_v0()
43 sp_banks[i].base_addr = reg[i].phys_addr; in prom_meminit_v2()
54 if (x->base_addr > y->base_addr) in sp_banks_cmp()
56 if (x->base_addr < y->base_addr) in sp_banks_cmp()
83 sp_banks[num_ents].base_addr = 0xdeadbeef; in prom_meminit()
/arch/powerpc/include/asm/
Ddcr-native.h78 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri() argument
85 mtdcrx(base_addr, reg); in __mfdcri()
88 __mtdcr(base_addr, reg); in __mfdcri()
95 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri() argument
102 mtdcrx(base_addr, reg); in __mtdcri()
105 __mtdcr(base_addr, reg); in __mtdcri()
111 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset() argument
119 mtdcrx(base_addr, reg); in __dcri_clrset()
123 __mtdcr(base_addr, reg); in __dcri_clrset()
Ddrmem.h14 u64 base_addr; member
58 __be64 base_addr; member
72 u64 base_addr; member
/arch/sparc/mm/
Dinit_32.c65 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages()
66 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
86 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
88 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()
96 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
144 end_of_phys_memory = sp_banks[i].base_addr + in bootmem_init()
156 sp_banks[i].base_addr = 0xdeadbeef; in bootmem_init()
158 memblock_add(sp_banks[i].base_addr, in bootmem_init()
161 sp_banks[i+1].base_addr = 0xdeadbeef; in bootmem_init()
166 memblock_add(sp_banks[i].base_addr, sp_banks[i].num_bytes); in bootmem_init()
[all …]
/arch/mips/rb532/
Dirq.c50 volatile u32 *base_addr; member
62 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 0 * IC_GROUP_OFFSET)},
65 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 1 * IC_GROUP_OFFSET)},
68 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 2 * IC_GROUP_OFFSET)},
71 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 3 * IC_GROUP_OFFSET)},
74 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 4 * IC_GROUP_OFFSET)}
128 addr = intr_group[group].base_addr; in rb532_enable_irq()
146 addr = intr_group[group].base_addr; in rb532_disable_irq()
226 addr = intr_group[group].base_addr; in plat_irq_dispatch()
/arch/m68k/mvme16x/
Dconfig.c210 volatile unsigned char *base_addr = (u_char *)CD2401_ADDR; in mvme16x_cons_write() local
220 base_addr[CyCAR] = (u_char)port; in mvme16x_cons_write()
221 while (base_addr[CyCCR]) in mvme16x_cons_write()
223 base_addr[CyCCR] = CyENB_XMTR; in mvme16x_cons_write()
225 ier = base_addr[CyIER]; in mvme16x_cons_write()
226 base_addr[CyIER] = CyTxMpty; in mvme16x_cons_write()
233 if ((base_addr[CyLICR] >> 2) == port) { in mvme16x_cons_write()
236 base_addr[CyTEOIR] = CyNOTRANS; in mvme16x_cons_write()
240 base_addr[CyTDR] = '\n'; in mvme16x_cons_write()
246 base_addr[CyTDR] = '\r'; in mvme16x_cons_write()
[all …]
/arch/alpha/kernel/
Dsmc37c669.c1235 SMC37c669_SERIAL_BASE_ADDRESS_REGISTER base_addr; in SMC37c669_enable_device() local
1252 base_addr.as_uchar = 0; in SMC37c669_enable_device()
1253 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device()
1257 base_addr.as_uchar in SMC37c669_enable_device()
1264 SMC37c669_SERIAL_BASE_ADDRESS_REGISTER base_addr; in SMC37c669_enable_device() local
1281 base_addr.as_uchar = 0; in SMC37c669_enable_device()
1282 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device()
1286 base_addr.as_uchar in SMC37c669_enable_device()
1293 SMC37c669_PARALLEL_BASE_ADDRESS_REGISTER base_addr; in SMC37c669_enable_device() local
1329 base_addr.as_uchar = 0; in SMC37c669_enable_device()
[all …]
/arch/x86/um/asm/
Dmm_context.h38 ((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff))
41 (((info)->base_addr & 0xff000000) | \
42 (((info)->base_addr & 0x00ff0000) >> 16) | \
53 (info)->base_addr == 0 && \
Ddesc.h8 (info)->base_addr == 0 && \
/arch/powerpc/mm/
Ddrmem.c28 return last_lmb->base_addr + drmem_lmb_size(); in drmem_lmb_memory_max()
82 dr_cell->base_addr = cpu_to_be64(lmb->base_addr); in drmem_update_dt_v1()
97 dr_cell->base_addr = cpu_to_be64(lmb->base_addr); in init_drconf_v2_cell()
206 lmb->base_addr = of_read_number(p, n_root_addr_cells); in read_drconf_v1_cell()
243 dr_cell->base_addr = of_read_number(p, n_root_addr_cells); in read_drconf_v2_cell()
266 lmb.base_addr = dr_cell.base_addr; in __walk_drmem_v2_lmbs()
267 dr_cell.base_addr += drmem_lmb_size(); in __walk_drmem_v2_lmbs()
476 lmb->base_addr = dr_cell.base_addr; in init_drmem_v2_lmbs()
477 dr_cell.base_addr += drmem_info->lmb_size; in init_drmem_v2_lmbs()
/arch/powerpc/platforms/pseries/
Dhotplug-memory.c218 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()
359 if (is_fadump_memory_area(lmb->base_addr, memory_block_size_bytes())) in lmb_is_removable()
389 __remove_memory(lmb->base_addr, block_sz); in dlpar_remove_lmb()
393 memblock_remove(lmb->base_addr, block_sz); in dlpar_remove_lmb()
470 lmb->base_addr); in dlpar_memory_remove_by_count()
509 lmb->base_addr); in dlpar_memory_remove_by_index()
511 pr_debug("Memory at %llx was hot-removed\n", lmb->base_addr); in dlpar_memory_remove_by_index()
545 lmb->base_addr, lmb->drc_index); in dlpar_memory_remove_by_ic()
595 lmb->base_addr, lmb->drc_index); in dlpar_memory_remove_by_ic()
655 rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_NONE); in dlpar_add_lmb()
[all …]
/arch/parisc/kernel/
Dunwind.c102 unsigned long base_addr, unsigned long gp, in unwind_table_init() argument
110 table->base_addr = base_addr; in unwind_table_init()
112 table->start = base_addr + start->region_start; in unwind_table_init()
113 table->end = base_addr + end->region_end; in unwind_table_init()
125 start->region_start += base_addr; in unwind_table_init()
126 start->region_end += base_addr; in unwind_table_init()
145 unwind_table_add(const char *name, unsigned long base_addr, in unwind_table_add() argument
159 unwind_table_init(table, name, base_addr, gp, start, end); in unwind_table_add()
/arch/parisc/include/asm/
Dunwind.h51 unsigned long base_addr; member
69 unwind_table_add(const char *name, unsigned long base_addr,
/arch/riscv/kernel/probes/
Dsimulate-insn.c69 unsigned long base_addr; in simulate_jalr() local
74 ret = rv_insn_reg_get_val(regs, rs1_index, &base_addr); in simulate_jalr()
82 instruction_pointer_set(regs, (base_addr + sign_extend32((imm), 11))&~1); in simulate_jalr()
/arch/sh/mm/
Dcache-sh4.c316 unsigned long base_addr = addr; in __flush_cache_one() local
349 ea = base_addr + PAGE_SIZE; in __flush_cache_one()
350 a = base_addr; in __flush_cache_one()
365 base_addr += way_incr; in __flush_cache_one()
/arch/riscv/mm/
Dptdump.c57 unsigned long base_addr; member
110 .base_addr = 0,
124 .base_addr = 0,
315 {pinfo->base_addr, pinfo->end}, in ptdump_walk()
385 kernel_ptd_info.base_addr = KERN_VIRT_START; in ptdump_init()
/arch/x86/include/asm/
Ddesc.h20 desc->base0 = (info->base_addr & 0x0000ffff); in fill_ldt()
21 desc->base1 = (info->base_addr & 0x00ff0000) >> 16; in fill_ldt()
36 desc->base2 = (info->base_addr & 0xff000000) >> 24; in fill_ldt()
355 ((info)->base_addr == 0 && \
367 return (info->base_addr == 0 && in LDT_zero()
/arch/sparc/kernel/
Dsetup_32.c341 if (sp_banks[i].base_addr < phys_base) in setup_arch()
342 phys_base = sp_banks[i].base_addr; in setup_arch()
343 top = sp_banks[i].base_addr + in setup_arch()
Dchmc.c166 u64 base_addr; member
283 if (phys_addr < dp->base_addr || in jbusmc_find_dimm_group()
284 (dp->base_addr + dp->size) <= phys_addr) in jbusmc_find_dimm_group()
377 dp->base_addr = (p->portid * (64UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
378 dp->base_addr += (index * (8UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
379 dp->size = jbusmc_dimm_group_size(dp->base_addr, mem_regs, num_mem_regs); in jbusmc_construct_one_dimm_group()
/arch/x86/include/uapi/asm/
Dldt.h23 unsigned int base_addr; member
/arch/x86/um/shared/sysdep/
Dtls.h13 unsigned int base_addr; member
/arch/x86/kernel/
Dtls.c175 p->thread.fsbase = info.base_addr; in do_set_thread_area()
178 p->thread.gsbase = info.base_addr; in do_set_thread_area()
201 info->base_addr = get_desc_base(desc); in fill_user_desc()
/arch/arm/include/asm/
Dptdump.h19 unsigned long base_addr; member
/arch/arm64/include/asm/
Dptdump.h21 unsigned long base_addr; member
/arch/arc/kernel/
Dsetup.c79 cpu->iccm.base_addr = iccm.base << 16; in read_decode_ccm_bcr()
88 cpu->dccm.base_addr = base & ~0xF; in read_decode_ccm_bcr()
102 cpu->iccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
112 cpu->dccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
366 cpu->dccm.base_addr, TO_KB(cpu->dccm.sz), in arc_extn_mumbojumbo()
367 cpu->iccm.base_addr, TO_KB(cpu->iccm.sz)); in arc_extn_mumbojumbo()
420 if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr) in arc_chk_core_config()

12