Home
last modified time | relevance | path

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

12

/arch/microblaze/kernel/
Dearly_printk.c24 static u32 base_addr; variable
39 while (--retries && (in_be32(base_addr + 8) & (1 << 3))) in early_printk_uartlite_putc()
45 out_be32(base_addr + 4, c & 0xff); in early_printk_uartlite_putc()
85 !((in_be32(base_addr + 0x14) & BOTH_EMPTY) == BOTH_EMPTY)) in early_printk_uart16550_putc()
89 out_be32(base_addr, c & 0xff); in early_printk_uart16550_putc()
118 base_addr = of_early_console(&version); in setup_early_printk()
119 if (base_addr) { in setup_early_printk()
121 early_console_reg_tlb_alloc(base_addr); in setup_early_printk()
127 base_addr); in setup_early_printk()
134 base_addr); in setup_early_printk()
[all …]
Dheartbeat.c19 static unsigned int base_addr; variable
25 if (base_addr) { in microblaze_heartbeat()
27 out_be32(base_addr, 1); in microblaze_heartbeat()
29 out_be32(base_addr, 0); in microblaze_heartbeat()
63 base_addr = be32_to_cpup(of_get_property(gpio, "reg", NULL)); in microblaze_setup_heartbeat()
64 base_addr = (unsigned long) ioremap(base_addr, PAGE_SIZE); in microblaze_setup_heartbeat()
65 pr_notice("Heartbeat GPIO at 0x%x\n", base_addr); in microblaze_setup_heartbeat()
70 out_be32(base_addr + 4, 0); in microblaze_setup_heartbeat()
/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.h90 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri() argument
97 mtdcrx(base_addr, reg); in __mfdcri()
100 __mtdcr(base_addr, reg); in __mfdcri()
107 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri() argument
114 mtdcrx(base_addr, reg); in __mtdcri()
117 __mtdcr(base_addr, reg); in __mtdcri()
123 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset() argument
131 mtdcrx(base_addr, reg); in __dcri_clrset()
135 __mtdcr(base_addr, reg); in __dcri_clrset()
Dprom.h88 u64 base_addr; member
/arch/sparc/mm/
Dinit_32.c67 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages()
68 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
88 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
90 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()
98 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
113 end_of_phys_memory = sp_banks[i].base_addr + in bootmem_init()
125 sp_banks[i].base_addr = 0xdeadbeef; in bootmem_init()
128 sp_banks[i+1].base_addr = 0xdeadbeef; in bootmem_init()
188 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in bootmem_init()
192 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in bootmem_init()
[all …]
/arch/m68k/mvme16x/
Dconfig.c212 volatile unsigned char *base_addr = (u_char *)CD2401_ADDR; in mvme16x_cons_write() local
222 base_addr[CyCAR] = (u_char)port; in mvme16x_cons_write()
223 while (base_addr[CyCCR]) in mvme16x_cons_write()
225 base_addr[CyCCR] = CyENB_XMTR; in mvme16x_cons_write()
227 ier = base_addr[CyIER]; in mvme16x_cons_write()
228 base_addr[CyIER] = CyTxMpty; in mvme16x_cons_write()
235 if ((base_addr[CyLICR] >> 2) == port) { in mvme16x_cons_write()
238 base_addr[CyTEOIR] = CyNOTRANS; in mvme16x_cons_write()
242 base_addr[CyTDR] = '\n'; in mvme16x_cons_write()
248 base_addr[CyTDR] = '\r'; in mvme16x_cons_write()
[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/alpha/kernel/
Dsmc37c669.c1236 SMC37c669_SERIAL_BASE_ADDRESS_REGISTER base_addr; in SMC37c669_enable_device() local
1253 base_addr.as_uchar = 0; in SMC37c669_enable_device()
1254 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device()
1258 base_addr.as_uchar in SMC37c669_enable_device()
1265 SMC37c669_SERIAL_BASE_ADDRESS_REGISTER base_addr; in SMC37c669_enable_device() local
1282 base_addr.as_uchar = 0; in SMC37c669_enable_device()
1283 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device()
1287 base_addr.as_uchar in SMC37c669_enable_device()
1294 SMC37c669_PARALLEL_BASE_ADDRESS_REGISTER base_addr; in SMC37c669_enable_device() local
1330 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/platforms/pseries/
Dhotplug-memory.c126 lmbs[i].base_addr = be64_to_cpu(lmbs[i].base_addr); in dlpar_clone_drconf_property()
150 lmbs[i].base_addr = cpu_to_be64(lmbs[i].base_addr); in dlpar_update_drconf_property()
333 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()
442 phys_addr = lmb->base_addr; in lmb_is_removable()
482 nid = memory_add_physaddr_to_nid(lmb->base_addr); in dlpar_remove_lmb()
484 remove_memory(nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()
487 memblock_remove(lmb->base_addr, block_sz); in dlpar_remove_lmb()
559 lmbs[i].base_addr); in dlpar_memory_remove_by_count()
599 lmbs[i].base_addr); in dlpar_memory_remove_by_index()
601 pr_info("Memory at %llx was hot-removed\n", lmbs[i].base_addr); in dlpar_memory_remove_by_index()
[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()
124 start->region_start += base_addr; in unwind_table_init()
125 start->region_end += base_addr; in unwind_table_init()
144 unwind_table_add(const char *name, unsigned long base_addr, in unwind_table_add() argument
158 unwind_table_init(table, name, base_addr, gp, start, end); in unwind_table_add()
/arch/ia64/sn/kernel/
Dbte.c444 u64 *base_addr; in bte_init_node() local
447 base_addr = (u64 *) in bte_init_node()
449 mynodepda->bte_if[i].bte_base_addr = base_addr; in bte_init_node()
450 mynodepda->bte_if[i].bte_source_addr = BTE_SOURCE_ADDR(base_addr); in bte_init_node()
451 mynodepda->bte_if[i].bte_destination_addr = BTE_DEST_ADDR(base_addr); in bte_init_node()
452 mynodepda->bte_if[i].bte_control_addr = BTE_CTRL_ADDR(base_addr); in bte_init_node()
453 mynodepda->bte_if[i].bte_notify_addr = BTE_NOTIF_ADDR(base_addr); in bte_init_node()
/arch/parisc/include/asm/
Dunwind.h48 unsigned long base_addr; member
66 unwind_table_add(const char *name, unsigned long base_addr,
/arch/x86/include/asm/
Ddesc.h19 desc->base0 = (info->base_addr & 0x0000ffff); in fill_ldt()
20 desc->base1 = (info->base_addr & 0x00ff0000) >> 16; in fill_ldt()
35 desc->base2 = (info->base_addr & 0xff000000) >> 24; in fill_ldt()
339 ((info)->base_addr == 0 && \
351 return (info->base_addr == 0 && in LDT_zero()
/arch/sh/mm/
Dcache-sh4.c320 unsigned long base_addr = addr; in __flush_cache_one() local
353 ea = base_addr + PAGE_SIZE; in __flush_cache_one()
354 a = base_addr; in __flush_cache_one()
369 base_addr += way_incr; in __flush_cache_one()
/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/arm64/include/asm/
Dptdump.h32 unsigned long base_addr; member
/arch/sparc/kernel/
Dsetup_32.c347 if (sp_banks[i].base_addr < phys_base) in setup_arch()
348 phys_base = sp_banks[i].base_addr; in setup_arch()
349 top = sp_banks[i].base_addr + in setup_arch()
Dchmc.c165 u64 base_addr; member
282 if (phys_addr < dp->base_addr || in jbusmc_find_dimm_group()
283 (dp->base_addr + dp->size) <= phys_addr) in jbusmc_find_dimm_group()
376 dp->base_addr = (p->portid * (64UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
377 dp->base_addr += (index * (8UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
378 dp->size = jbusmc_dimm_group_size(dp->base_addr, mem_regs, num_mem_regs); in jbusmc_construct_one_dimm_group()
/arch/arc/kernel/
Dsetup.c81 cpu->iccm.base_addr = iccm.base << 16; in read_decode_ccm_bcr()
90 cpu->dccm.base_addr = base & ~0xF; in read_decode_ccm_bcr()
104 cpu->iccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
114 cpu->dccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
327 cpu->dccm.base_addr, TO_KB(cpu->dccm.sz), in arc_extn_mumbojumbo()
328 cpu->iccm.base_addr, TO_KB(cpu->iccm.sz)); in arc_extn_mumbojumbo()
355 if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr) in arc_chk_core_config()
/arch/x86/kernel/
Dtls.c181 p->thread.fsbase = info.base_addr; in do_set_thread_area()
184 p->thread.gsbase = info.base_addr; in do_set_thread_area()
207 info->base_addr = get_desc_base(desc); in fill_user_desc()
/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c165 base_addr); in cvmx_bootmem_alloc_named_range_once()
688 (unsigned long long)named_block_ptr->base_addr, in cvmx_bootmem_phy_named_block_free()
691 __cvmx_bootmem_phy_free(named_block_ptr->base_addr, in cvmx_bootmem_phy_named_block_free()
765 named_block_desc_ptr->base_addr = addr_allocated; in cvmx_bootmem_phy_named_block_alloc()

12