Home
last modified time | relevance | path

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

/linux/kernel/time/
A Dhrtimer.c618 cpu_base->next_timer = cpu_base->softirq_next_timer; in hrtimer_update_next_event()
678 if (!__hrtimer_hres_active(cpu_base) || cpu_base->hang_detected) in __hrtimer_reprogram()
699 __hrtimer_reprogram(cpu_base, cpu_base->next_timer, expires_next); in hrtimer_force_reprogram()
851 if (base->cpu_base != cpu_base) in hrtimer_reprogram()
861 if (cpu_base->in_hrtirq) in hrtimer_reprogram()
1108 struct hrtimer_cpu_base *cpu_base = base->cpu_base; in __remove_hrtimer() local
1789 cpu_base->nr_events++; in hrtimer_interrupt()
1844 cpu_base->nr_retries++; in hrtimer_interrupt()
1853 cpu_base->nr_hangs++; in hrtimer_interrupt()
2168 clock_b->cpu_base = cpu_base; in hrtimers_prepare_cpu()
[all …]
A Dtimer_list.c73 raw_spin_lock_irqsave(&base->cpu_base->lock, flags); in print_active_timers()
89 raw_spin_unlock_irqrestore(&base->cpu_base->lock, flags); in print_active_timers()
95 raw_spin_unlock_irqrestore(&base->cpu_base->lock, flags); in print_active_timers()
117 struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); in print_cpu() local
123 print_base(m, cpu_base->clock_base + i, now); in print_cpu()
127 (unsigned long long)(cpu_base->x)) in print_cpu()
130 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu()
A Dtick-broadcast-hrtimer.c76 bc->bound_on = bctimer.base->cpu_base->cpu; in bc_set_next()
/linux/drivers/irqchip/
A Dirq-gic.c71 union gic_base cpu_base; member
455 if (gic_check_gicv2(cpu_base)) in gic_cpu_if_up()
534 void __iomem *cpu_base; in gic_cpu_if_down() local
541 val = readl(cpu_base + GIC_CPU_CTRL); in gic_cpu_if_down()
645 void __iomem *cpu_base; in gic_cpu_save() local
651 cpu_base = gic_data_cpu_base(gic); in gic_cpu_save()
653 if (!dist_base || !cpu_base) in gic_cpu_save()
675 void __iomem *cpu_base; in gic_cpu_restore() local
681 cpu_base = gic_data_cpu_base(gic); in gic_cpu_restore()
683 if (!dist_base || !cpu_base) in gic_cpu_restore()
[all …]
A Dirq-hip04.c54 void __iomem *cpu_base; member
80 return hip04_data->cpu_base; in hip04_cpu_base()
202 void __iomem *cpu_base = hip04_data.cpu_base; in hip04_handle_irq() local
205 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in hip04_handle_irq()
271 void __iomem *base = intc->cpu_base; in hip04_irq_cpu_init()
363 hip04_data.cpu_base = of_iomap(node, 1); in hip04_of_init()
364 WARN(!hip04_data.cpu_base, "unable to map hip04 intc cpu registers\n"); in hip04_of_init()
/linux/drivers/remoteproc/
A Dmeson_mx_ao_arc.c48 void __iomem *cpu_base; member
105 writel(tmp, priv->cpu_base + AO_CPU_CNTL); in meson_mx_ao_arc_rproc_start()
116 writel(AO_CPU_CNTL_HALT, priv->cpu_base + AO_CPU_CNTL); in meson_mx_ao_arc_rproc_stop()
198 priv->cpu_base = devm_platform_ioremap_resource_byname(pdev, "cpu"); in meson_mx_ao_arc_rproc_probe()
199 if (IS_ERR(priv->cpu_base)) { in meson_mx_ao_arc_rproc_probe()
200 ret = PTR_ERR(priv->cpu_base); in meson_mx_ao_arc_rproc_probe()
/linux/arch/mips/ar7/
A Dclock.c337 int cpu_base, cpu_mul, cpu_prediv, cpu_postdiv; in tnetd7200_init_clocks() local
342 cpu_base = tnetd7200_get_clock_base(TNETD7200_CLOCK_ID_CPU, bootcr); in tnetd7200_init_clocks()
358 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks()
361 ((cpu_base / cpu_prediv) * cpu_mul) / cpu_postdiv; in tnetd7200_init_clocks()
362 tnetd7200_set_clock(cpu_base, &clocks->cpu, in tnetd7200_init_clocks()
371 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks()
373 cpu_clk.rate = ((cpu_base / cpu_prediv) * cpu_mul) in tnetd7200_init_clocks()
375 tnetd7200_set_clock(cpu_base, &clocks->cpu, in tnetd7200_init_clocks()
/linux/arch/arm64/kvm/vgic/
A Dvgic-v2.c274 static bool vgic_v2_check_base(gpa_t dist_base, gpa_t cpu_base) in vgic_v2_check_base() argument
278 if (cpu_base + KVM_VGIC_V2_CPU_SIZE < cpu_base) in vgic_v2_check_base()
281 if (dist_base + KVM_VGIC_V2_DIST_SIZE <= cpu_base) in vgic_v2_check_base()
283 if (cpu_base + KVM_VGIC_V2_CPU_SIZE <= dist_base) in vgic_v2_check_base()
/linux/scripts/gdb/linux/
A Dtimerlist.py70 cpu_base = cpus.per_cpu(hrtimer_bases, cpu)
78 text += print_base(cpu_base['clock_base'][i])
87 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
/linux/drivers/net/ethernet/broadcom/
A Dbgmac.c124 dma_desc = &ring->cpu_base[i]; in bgmac_dma_tx_add_buf()
217 u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1); in bgmac_dma_tx_add()
257 ctl0 = le32_to_cpu(ring->cpu_base[slot_idx].ctl0); in bgmac_dma_tx_free()
258 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()
529 struct bgmac_dma_desc *dma_desc = ring->cpu_base; in bgmac_dma_tx_ring_free()
579 if (!ring->cpu_base) in bgmac_dma_ring_desc_free()
584 dma_free_coherent(dma_dev, size, ring->cpu_base, in bgmac_dma_ring_desc_free()
637 ring->cpu_base = dma_alloc_coherent(dma_dev, size, in bgmac_dma_alloc()
640 if (!ring->cpu_base) { in bgmac_dma_alloc()
662 ring->cpu_base = dma_alloc_coherent(dma_dev, size, in bgmac_dma_alloc()
[all …]
A Dtg3.c3618 tw32(cpu_base + CPU_STATE, 0xffffffff); in tg3_resume_cpu()
3641 if (cpu_base == RX_CPU_BASE) { in tg3_halt_cpu()
3719 err = tg3_halt_cpu(tp, cpu_base); in tg3_load_firmware_cpu()
3728 tw32(cpu_base + CPU_MODE, in tg3_load_firmware_cpu()
3765 tw32(cpu_base + CPU_STATE, 0xffffffff); in tg3_pause_cpu_and_set_pc()
3766 tw32_f(cpu_base + CPU_PC, pc); in tg3_pause_cpu_and_set_pc()
3769 if (tr32(cpu_base + CPU_PC) == pc) in tg3_pause_cpu_and_set_pc()
3773 tw32_f(cpu_base + CPU_PC, pc); in tg3_pause_cpu_and_set_pc()
3915 cpu_base = RX_CPU_BASE; in tg3_load_tso_firmware()
3918 cpu_base = TX_CPU_BASE; in tg3_load_tso_firmware()
[all …]
A Dbgmac.h427 struct bgmac_dma_desc *cpu_base; member
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_hem.c1260 static int alloc_fake_root_bt(struct hns_roce_dev *hr_dev, void *cpu_base, in alloc_fake_root_bt() argument
1272 hem_list_assign_bt(hr_dev, hem, cpu_base, phy_base); in alloc_fake_root_bt()
1279 static int setup_middle_bt(struct hns_roce_dev *hr_dev, void *cpu_base, in setup_middle_bt() argument
1295 hem_list_link_bt(hr_dev, cpu_base + offset, hem->dma_addr); in setup_middle_bt()
1309 void *cpu_base; in setup_root_hem() local
1326 cpu_base = root_hem->addr + total * BA_BYTE_LEN; in setup_root_hem()
1333 ret = alloc_fake_root_bt(hr_dev, cpu_base, phy_base, r, in setup_root_hem()
1336 ret = setup_middle_bt(hr_dev, cpu_base, unit, r, in setup_root_hem()
1476 void *cpu_base = NULL; in hns_roce_hem_list_find_mtt() local
1483 cpu_base = hem->addr + nr * BA_BYTE_LEN; in hns_roce_hem_list_find_mtt()
[all …]
/linux/include/linux/
A Dhrtimer.h160 struct hrtimer_cpu_base *cpu_base; member
313 timer->base->cpu_base->hres_active : 0; in hrtimer_is_hres_active()
/linux/drivers/gpu/drm/amd/display/dmub/src/
A Ddmub_srv.c385 uint8_t *cpu_base; in dmub_srv_calc_fb_info() local
397 cpu_base = (uint8_t *)params->cpu_addr; in dmub_srv_calc_fb_info()
404 out->fb[i].cpu_addr = cpu_base + reg->base; in dmub_srv_calc_fb_info()
/linux/drivers/media/platform/qcom/venus/
A Dcore.c251 core->cpu_base = core->base + CPU_BASE_V6; in venus_assign_register_offsets()
259 core->cpu_base = core->base + CPU_BASE; in venus_assign_register_offsets()
A Dcore.h148 void __iomem *cpu_base; member

Completed in 63 milliseconds