/Linux-v4.19/kernel/time/ |
D | hrtimer.c | 148 .clock_base = { { .cpu_base = &migration_cpu_base, }, }, 174 raw_spin_lock_irqsave(&base->cpu_base->lock, *flags); in lock_hrtimer_base() 178 raw_spin_unlock_irqrestore(&base->cpu_base->lock, *flags); in lock_hrtimer_base() 199 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target() 253 raw_spin_unlock(&base->cpu_base->lock); in switch_hrtimer_base() 254 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base() 258 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base() 259 raw_spin_lock(&base->cpu_base->lock); in switch_hrtimer_base() 282 raw_spin_lock_irqsave(&base->cpu_base->lock, *flags); in lock_hrtimer_base() 476 __next_base(struct hrtimer_cpu_base *cpu_base, unsigned int *active) in __next_base() argument [all …]
|
D | timer_list.c | 91 raw_spin_lock_irqsave(&base->cpu_base->lock, flags); in print_active_timers() 107 raw_spin_unlock_irqrestore(&base->cpu_base->lock, flags); in print_active_timers() 113 raw_spin_unlock_irqrestore(&base->cpu_base->lock, flags); in print_active_timers() 137 struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); in print_cpu() local 143 print_base(m, cpu_base->clock_base + i, now); in print_cpu() 147 (unsigned long long)(cpu_base->x)) in print_cpu() 150 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu()
|
/Linux-v4.19/drivers/irqchip/ |
D | irq-gic.c | 74 union gic_base cpu_base; member 148 return data->get_base(&data->cpu_base); in gic_data_cpu_base() 158 #define gic_data_cpu_base(d) ((d)->cpu_base.common_base) 357 void __iomem *cpu_base = gic_data_cpu_base(gic); in gic_handle_irq() local 360 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in gic_handle_irq() 365 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq() 371 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq() 373 writel_relaxed(irqstat, cpu_base + GIC_CPU_DEACTIVATE); in gic_handle_irq() 464 void __iomem *cpu_base = gic_data_cpu_base(gic); in gic_cpu_if_up() local 472 if (gic_check_gicv2(cpu_base)) in gic_cpu_if_up() [all …]
|
D | irq-hip04.c | 57 void __iomem *cpu_base; member 83 return hip04_data->cpu_base; in hip04_cpu_base() 177 void __iomem *cpu_base = hip04_data.cpu_base; in hip04_handle_irq() local 180 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in hip04_handle_irq() 188 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in hip04_handle_irq() 255 void __iomem *base = intc->cpu_base; in hip04_irq_cpu_init() 371 hip04_data.cpu_base = of_iomap(node, 1); in hip04_of_init() 372 WARN(!hip04_data.cpu_base, "unable to map hip04 intc cpu registers\n"); in hip04_of_init()
|
/Linux-v4.19/arch/mips/ar7/ |
D | clock.c | 340 int cpu_base, cpu_mul, cpu_prediv, cpu_postdiv; in tnetd7200_init_clocks() local 344 cpu_base = tnetd7200_get_clock_base(TNETD7200_CLOCK_ID_CPU, bootcr); in tnetd7200_init_clocks() 360 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks() 363 ((cpu_base / cpu_prediv) * cpu_mul) / cpu_postdiv; in tnetd7200_init_clocks() 364 tnetd7200_set_clock(cpu_base, &clocks->cpu, in tnetd7200_init_clocks() 373 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks() 375 cpu_clk.rate = ((cpu_base / cpu_prediv) * cpu_mul) in tnetd7200_init_clocks() 377 tnetd7200_set_clock(cpu_base, &clocks->cpu, in tnetd7200_init_clocks()
|
/Linux-v4.19/virt/kvm/arm/vgic/ |
D | vgic-v2.c | 297 static bool vgic_v2_check_base(gpa_t dist_base, gpa_t cpu_base) in vgic_v2_check_base() argument 301 if (cpu_base + KVM_VGIC_V2_CPU_SIZE < cpu_base) in vgic_v2_check_base() 304 if (dist_base + KVM_VGIC_V2_DIST_SIZE <= cpu_base) in vgic_v2_check_base() 306 if (cpu_base + KVM_VGIC_V2_CPU_SIZE <= dist_base) in vgic_v2_check_base()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 124 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() 638 ring->cpu_base = dma_zalloc_coherent(dma_dev, size, in bgmac_dma_alloc() 641 if (!ring->cpu_base) { in bgmac_dma_alloc() [all …]
|
D | tg3.c | 3601 static int tg3_pause_cpu(struct tg3 *tp, u32 cpu_base) in tg3_pause_cpu() argument 3607 tw32(cpu_base + CPU_STATE, 0xffffffff); in tg3_pause_cpu() 3608 tw32(cpu_base + CPU_MODE, CPU_MODE_HALT); in tg3_pause_cpu() 3609 if (tr32(cpu_base + CPU_MODE) & CPU_MODE_HALT) in tg3_pause_cpu() 3637 static void tg3_resume_cpu(struct tg3 *tp, u32 cpu_base) in tg3_resume_cpu() argument 3639 tw32(cpu_base + CPU_STATE, 0xffffffff); in tg3_resume_cpu() 3640 tw32_f(cpu_base + CPU_MODE, 0x00000000); in tg3_resume_cpu() 3650 static int tg3_halt_cpu(struct tg3 *tp, u32 cpu_base) in tg3_halt_cpu() argument 3654 BUG_ON(cpu_base == TX_CPU_BASE && tg3_flag(tp, 5705_PLUS)); in tg3_halt_cpu() 3662 if (cpu_base == RX_CPU_BASE) { in tg3_halt_cpu() [all …]
|
D | bgmac.h | 464 struct bgmac_dma_desc *cpu_base; member
|
/Linux-v4.19/include/linux/ |
D | hrtimer.h | 151 struct hrtimer_cpu_base *cpu_base; member 296 timer->base->cpu_base->hres_active : 0; in hrtimer_is_hres_active()
|
/Linux-v4.19/drivers/block/ |
D | DAC960.c | 231 loaf->cpu_free = loaf->cpu_base = cpu_addr; in init_dma_loaf() 244 BUG_ON(cpu_end > loaf->cpu_base + loaf->length); in slice_dma_loaf() 253 if (loaf_handle->cpu_base != NULL) in free_dma_loaf() 255 loaf_handle->cpu_base, loaf_handle->dma_base); in free_dma_loaf()
|
D | DAC960.h | 112 void *cpu_base; member
|