Home
last modified time | relevance | path

Searched refs:map_base (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/irqchip/
Dirq-bcm7038-l1.c51 void __iomem *map_base; member
140 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle()
158 l1_writel(mask, intc->cpus[cpu_idx]->map_base + in __bcm7038_l1_unmask()
169 l1_writel(mask, intc->cpus[cpu_idx]->map_base + in __bcm7038_l1_mask()
257 cpu->map_base = ioremap(res.start, sz); in bcm7038_l1_init_one()
258 if (!cpu->map_base) in bcm7038_l1_init_one()
263 cpu->map_base + reg_mask_set(intc, i)); in bcm7038_l1_init_one()
265 cpu->map_base + reg_mask_clr(intc, i)); in bcm7038_l1_init_one()
312 intc->cpus[boot_cpu]->map_base + reg_mask_set(intc, word)); in bcm7038_l1_suspend()
314 intc->cpus[boot_cpu]->map_base + reg_mask_clr(intc, word)); in bcm7038_l1_suspend()
[all …]
Dirq-bcm6345-l1.c85 void __iomem *map_base; member
130 pending = __raw_readl(cpu->map_base + reg_status(intc, idx)); in bcm6345_l1_irq_handle()
131 pending &= __raw_readl(cpu->map_base + reg_enable(intc, idx)); in bcm6345_l1_irq_handle()
151 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_unmask()
163 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_mask()
247 cpu->map_base = ioremap(res.start, sz); in bcm6345_l1_init_one()
248 if (!cpu->map_base) in bcm6345_l1_init_one()
256 __raw_writel(0, cpu->map_base + reg_enable(intc, i)); in bcm6345_l1_init_one()
342 if (cpu->map_base) in bcm6345_l1_of_init()
343 iounmap(cpu->map_base); in bcm6345_l1_of_init()
Dirq-bcm7120-l2.c43 void __iomem *map_base[MAX_MAPPINGS]; member
155 data->map_base[0] = of_iomap(dn, 0); in bcm7120_l2_intc_iomap_7120()
156 if (!data->map_base[0]) { in bcm7120_l2_intc_iomap_7120()
161 data->pair_base[0] = data->map_base[0]; in bcm7120_l2_intc_iomap_7120()
195 data->map_base[map_idx + 0] = en; in bcm7120_l2_intc_iomap_3380()
196 data->map_base[map_idx + 1] = stat; in bcm7120_l2_intc_iomap_3380()
338 if (data->map_base[idx]) in bcm7120_l2_intc_probe()
339 iounmap(data->map_base[idx]); in bcm7120_l2_intc_probe()
/linux-6.12.1/drivers/thermal/
Duniphier_thermal.c75 u32 map_base; member
106 ret = regmap_read(map, tdev->data->map_base + TMODCOEF, &val); in uniphier_tm_initialize_sensor()
133 regmap_write_bits(map, tdev->data->map_base + PVTCTLSEL, in uniphier_tm_initialize_sensor()
145 regmap_write_bits(map, tdev->data->map_base + SETALERT0 + (ch << 2), in uniphier_tm_set_alert()
162 regmap_write_bits(map, tdev->data->map_base + PMALERTINTCTL, in uniphier_tm_enable_sensor()
177 regmap_write_bits(map, tdev->data->map_base + PMALERTINTCTL, in uniphier_tm_disable_sensor()
194 ret = regmap_read(map, tdev->data->map_base + TMOD, &temp); in uniphier_tm_get_temp()
220 tdev->data->map_base + PMALERTINTCTL, mask, bits); in uniphier_tm_irq_clear()
340 .map_base = 0xe000,
346 .map_base = 0xe000,
/linux-6.12.1/arch/parisc/kernel/
Dvdso.c56 unsigned long vdso_text_start, vdso_text_len, map_base; in arch_setup_additional_pages() local
76 map_base = mm->mmap_base; in arch_setup_additional_pages()
78 map_base -= get_random_u32_below(0x20) * PAGE_SIZE; in arch_setup_additional_pages()
80 vdso_text_start = get_unmapped_area(NULL, map_base, vdso_text_len, 0, 0); in arch_setup_additional_pages()
/linux-6.12.1/drivers/char/tpm/
Dtpm_infineon.c39 unsigned long map_base; /* phys MMIO base */ member
442 tpm_dev.map_base = pnp_mem_start(dev, 0); in tpm_inf_pnp_probe()
449 if (request_mem_region(tpm_dev.map_base, tpm_dev.map_size, in tpm_inf_pnp_probe()
455 tpm_dev.mem_base = ioremap(tpm_dev.map_base, tpm_dev.map_size); in tpm_inf_pnp_probe()
457 release_mem_region(tpm_dev.map_base, tpm_dev.map_size); in tpm_inf_pnp_probe()
543 tpm_dev.map_base + tpm_dev.index_off, in tpm_inf_pnp_probe()
546 tpm_dev.map_base + tpm_dev.data_regs, in tpm_inf_pnp_probe()
573 release_mem_region(tpm_dev.map_base, tpm_dev.map_size); in tpm_inf_pnp_probe()
592 release_mem_region(tpm_dev.map_base, tpm_dev.map_size); in tpm_inf_pnp_remove()
/linux-6.12.1/arch/x86/kernel/
Dtboot.c169 u32 map_base, map_size; in tboot_create_trampoline() local
172 map_base = PFN_DOWN(tboot->tboot_base); in tboot_create_trampoline()
174 if (map_tboot_pages(map_base << PAGE_SHIFT, map_base, map_size)) in tboot_create_trampoline()
176 map_base, map_size); in tboot_create_trampoline()
/linux-6.12.1/arch/parisc/include/asm/
Dprocessor.h29 #define TASK_UNMAPPED_BASE (current->thread.map_base)
108 unsigned long map_base; member
145 .map_base = DEFAULT_MAP_BASE, \
Delf.h238 current->thread.map_base = DEFAULT_MAP_BASE; \
248 current->thread.map_base = DEFAULT_MAP_BASE32; \
/linux-6.12.1/drivers/ntb/test/
Dntb_tool.c809 phys_addr_t map_base; in tool_setup_peer_mw() local
816 ret = ntb_peer_mw_get_addr(tc->ntb, widx, &map_base, &map_size); in tool_setup_peer_mw()
824 outmw->io_base = ioremap_wc(map_base, map_size); in tool_setup_peer_mw()
871 phys_addr_t map_base; in tool_peer_mw_trans_read() local
878 &map_base, &map_size); in tool_peer_mw_trans_read()
905 "Phys Address \t%pap\n", &map_base); in tool_peer_mw_trans_read()