Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dhrtimer.c54 * cpu_base->active
137 * timer->base->cpu_base
141 .cpu_base = &migration_cpu_base,
171 raw_spin_lock_irqsave(&base->cpu_base->lock, *flags); in lock_hrtimer_base()
175 raw_spin_unlock_irqrestore(&base->cpu_base->lock, *flags); in lock_hrtimer_base()
193 * Called with cpu_base->lock of target cpu held.
219 return expires >= new_base->cpu_base->expires_next; in hrtimer_suitable_target()
277 raw_spin_unlock(&base->cpu_base->lock); in switch_hrtimer_base()
278 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
282 raw_spin_unlock(&new_base->cpu_base in switch_hrtimer_base()
495 __next_base(struct hrtimer_cpu_base * cpu_base,unsigned int * active) __next_base() argument
508 for_each_active_base(base,cpu_base,active) global() argument
511 __hrtimer_next_event_base(struct hrtimer_cpu_base * cpu_base,const struct hrtimer * exclude,unsigned int active,ktime_t expires_next) __hrtimer_next_event_base() argument
578 __hrtimer_get_next_event(struct hrtimer_cpu_base * cpu_base,unsigned int active_mask) __hrtimer_get_next_event() argument
603 hrtimer_update_next_event(struct hrtimer_cpu_base * cpu_base) hrtimer_update_next_event() argument
653 hrtimer_hres_active(struct hrtimer_cpu_base * cpu_base) hrtimer_hres_active() argument
659 __hrtimer_reprogram(struct hrtimer_cpu_base * cpu_base,struct hrtimer * next_timer,ktime_t expires_next) __hrtimer_reprogram() argument
694 hrtimer_force_reprogram(struct hrtimer_cpu_base * cpu_base,int skip_equal) hrtimer_force_reprogram() argument
812 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimer_reprogram() local
871 update_needs_ipi(struct hrtimer_cpu_base * cpu_base,unsigned int active) update_needs_ipi() argument
949 struct hrtimer_cpu_base *cpu_base = raw_cpu_ptr(&hrtimer_bases); clock_was_set() local
1113 struct hrtimer_cpu_base *cpu_base = base->cpu_base; __remove_hrtimer() local
1193 hrtimer_update_softirq_timer(struct hrtimer_cpu_base * cpu_base,bool reprogram) hrtimer_update_softirq_timer() argument
1399 hrtimer_sync_wait_running(struct hrtimer_cpu_base * cpu_base,unsigned long flags) hrtimer_sync_wait_running() argument
1526 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimer_get_next_event() local
1549 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimer_next_event_without() local
1596 struct hrtimer_cpu_base *cpu_base; __hrtimer_setup() local
1718 __run_hrtimer(struct hrtimer_cpu_base * cpu_base,struct hrtimer_clock_base * base,struct hrtimer * timer,ktime_t * now,unsigned long flags) __run_hrtimer() argument
1793 __hrtimer_run_queues(struct hrtimer_cpu_base * cpu_base,ktime_t now,unsigned long flags,unsigned int active_mask) __hrtimer_run_queues() argument
1834 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimer_run_softirq() local
1859 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimer_interrupt() local
1954 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimer_run_queues() local
2214 struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); hrtimers_prepare_cpu() local
2232 struct hrtimer_cpu_base *cpu_base = this_cpu_ptr(&hrtimer_bases); hrtimers_cpu_starting() local
[all...]
H 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()
H A Dtick-broadcast-hrtimer.c71 bc->bound_on = bctimer.base->cpu_base->cpu; in bc_set_next()
/linux/drivers/irqchip/
H A Dirq-gic.c72 union gic_base cpu_base; member
146 #define gic_data_cpu_base(d) __get_base(&(d)->cpu_base)
149 #define gic_data_cpu_base(d) ((d)->cpu_base.common_base)
338 void __iomem *cpu_base = gic_data_cpu_base(gic); in gic_handle_irq() local
341 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in gic_handle_irq()
348 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq()
442 void __iomem *cpu_base = gic_data_cpu_base(gic); in gic_cpu_if_up() local
450 if (gic_check_gicv2(cpu_base)) in gic_cpu_if_up()
452 writel_relaxed(0, cpu_base + GIC_CPU_ACTIVEPRIO + i * 4); in gic_cpu_if_up()
457 bypass = readl(cpu_base in gic_cpu_if_up()
529 void __iomem *cpu_base; gic_cpu_if_down() local
640 void __iomem *cpu_base; gic_cpu_save() local
670 void __iomem *cpu_base; gic_cpu_restore() local
[all...]
/linux/drivers/remoteproc/
H 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/arm64/kvm/vgic/
H 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/
H A Dtimerlist.py69 cpu_base = cpus.per_cpu(hrtimer_bases, cpu)
77 text += print_base(cpu_base['clock_base'][i])
86 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
/linux/drivers/net/ethernet/broadcom/
H 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()
380 struct bgmac_dma_desc *dma_desc = ring->cpu_base + desc_idx; in bgmac_dma_rx_setup_desc()
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()
[all...]
H A Dtg3.c3582 static int tg3_pause_cpu(struct tg3 *tp, u32 cpu_base) in tg3_pause_cpu() argument
3588 tw32(cpu_base + CPU_STATE, 0xffffffff); in tg3_pause_cpu()
3589 tw32(cpu_base + CPU_MODE, CPU_MODE_HALT); in tg3_pause_cpu()
3590 if (tr32(cpu_base + CPU_MODE) & CPU_MODE_HALT) in tg3_pause_cpu()
3618 static void tg3_resume_cpu(struct tg3 *tp, u32 cpu_base) in tg3_resume_cpu() argument
3620 tw32(cpu_base + CPU_STATE, 0xffffffff); in tg3_resume_cpu()
3621 tw32_f(cpu_base + CPU_MODE, 0x00000000); in tg3_resume_cpu()
3631 static int tg3_halt_cpu(struct tg3 *tp, u32 cpu_base) in tg3_halt_cpu() argument
3635 BUG_ON(cpu_base == TX_CPU_BASE && tg3_flag(tp, 5705_PLUS)); in tg3_halt_cpu()
3643 if (cpu_base in tg3_halt_cpu()
3696 tg3_load_firmware_cpu(struct tg3 * tp,u32 cpu_base,u32 cpu_scratch_base,int cpu_scratch_size,const struct tg3_firmware_hdr * fw_hdr) tg3_load_firmware_cpu() argument
3762 tg3_pause_cpu_and_set_pc(struct tg3 * tp,u32 cpu_base,u32 pc) tg3_pause_cpu_and_set_pc() argument
3900 unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size; tg3_load_tso_firmware() local
[all...]
H A Dbgmac.h424 struct bgmac_dma_desc *cpu_base; member
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1212 static int alloc_fake_root_bt(struct hns_roce_dev *hr_dev, void *cpu_base, in alloc_fake_root_bt() argument
1231 hem_list_assign_bt(hem, cpu_base, phy_base); in alloc_fake_root_bt()
1241 static int setup_middle_bt(struct hns_roce_dev *hr_dev, void *cpu_base, in setup_middle_bt() argument
1257 hem_list_link_bt(cpu_base + offset, hem->dma_addr); in setup_middle_bt()
1271 void *cpu_base; in setup_root_hem() local
1288 cpu_base = root_hem->addr + total * BA_BYTE_LEN; in setup_root_hem()
1295 ret = alloc_fake_root_bt(hr_dev, cpu_base, phy_base, r, in setup_root_hem()
1298 ret = setup_middle_bt(hr_dev, cpu_base, unit, r, in setup_root_hem()
1446 void *cpu_base = NULL; in hns_roce_hem_list_find_mtt() local
1457 cpu_base in hns_roce_hem_list_find_mtt()
[all...]
/linux/include/linux/
H A Dhrtimer_defs.h37 * @cpu_base: per cpu clock base
48 struct hrtimer_cpu_base *cpu_base; member
H A Dhrtimer.h72 * timer->base->cpu_base->running == timer
80 * All state transitions are protected by cpu_base->lock.
170 timer->base->cpu_base->hres_active : 0; in hrtimer_is_hres_active()
340 guard(raw_spinlock_irqsave)(&timer->base->cpu_base->lock); in hrtimer_update_function()
/linux/drivers/media/platform/qcom/venus/
H A Dcore.c259 core->cpu_base = core->base + CPU_BASE_V6; in venus_assign_register_offsets()
267 core->cpu_base = core->base + CPU_BASE; in venus_assign_register_offsets()
H A Dcore.h128 * @cpu_base: IO memory cpu base address
182 void __iomem *cpu_base; member