Home
last modified time | relevance | path

Searched refs:active_mask (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.1/arch/x86/events/amd/
Duncore.c47 cpumask_t *active_mask; member
281 cpumask_t *active_mask; in amd_uncore_attr_show_cpumask() local
285 active_mask = &amd_nb_active_mask; in amd_uncore_attr_show_cpumask()
287 active_mask = &amd_llc_active_mask; in amd_uncore_attr_show_cpumask()
291 return cpumap_print_to_pagebuf(true, buf, active_mask); in amd_uncore_attr_show_cpumask()
454 uncore_nb->active_mask = &amd_nb_active_mask; in amd_uncore_cpu_up_prepare()
472 uncore_llc->active_mask = &amd_llc_active_mask; in amd_uncore_cpu_up_prepare()
569 cpumask_set_cpu(cpu, uncore->active_mask); in uncore_online()
601 cpumask_clear_cpu(cpu, that->active_mask); in uncore_down_prepare()
602 cpumask_set_cpu(i, that->active_mask); in uncore_down_prepare()
[all …]
Dcore.c709 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_check_overflow()
730 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_enable_all()
913 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_v2_handle_irq()
/Linux-v6.1/arch/s390/kvm/
Dinterrupt.c358 unsigned long active_mask) in disable_iscs() argument
364 active_mask &= ~(1UL << (isc_to_irq_type(i))); in disable_iscs()
366 return active_mask; in disable_iscs()
371 unsigned long active_mask; in deliverable_irqs() local
373 active_mask = pending_irqs(vcpu); in deliverable_irqs()
374 if (!active_mask) in deliverable_irqs()
378 active_mask &= ~IRQ_PEND_EXT_MASK; in deliverable_irqs()
380 active_mask &= ~IRQ_PEND_IO_MASK; in deliverable_irqs()
382 active_mask = disable_iscs(vcpu, active_mask); in deliverable_irqs()
384 __clear_bit(IRQ_PEND_EXT_EXTERNAL, &active_mask); in deliverable_irqs()
[all …]
/Linux-v6.1/net/ethtool/
Dfeatures.c160 const unsigned long *active_mask, bool compact) in features_send_reply() argument
173 ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
192 active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
/Linux-v6.1/arch/sh/include/asm/
Dhw_breakpoint.h37 unsigned long (*active_mask)(void); member
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c250 old_mask = pll->active_mask; in intel_enable_shared_dpll()
253 drm_WARN_ON(&dev_priv->drm, pll->active_mask & pipe_mask)) in intel_enable_shared_dpll()
256 pll->active_mask |= pipe_mask; in intel_enable_shared_dpll()
260 pll->info->name, pll->active_mask, pll->on, in intel_enable_shared_dpll()
299 if (drm_WARN(&dev_priv->drm, !(pll->active_mask & pipe_mask), in intel_disable_shared_dpll()
306 pll->info->name, pll->active_mask, pll->on, in intel_disable_shared_dpll()
312 pll->active_mask &= ~pipe_mask; in intel_disable_shared_dpll()
313 if (pll->active_mask) in intel_disable_shared_dpll()
357 pll->active_mask); in intel_find_shared_dpll()
4404 pll->active_mask = pll->state.pipe_mask; in readout_dpll_hw_state()
[all …]
Dintel_dpll_mgr.h303 u8 active_mask; member
/Linux-v6.1/arch/sh/kernel/cpu/sh4a/
Dubc.c93 .active_mask = sh4a_ubc_active_mask,
/Linux-v6.1/sound/pci/echoaudio/
Dechoaudio_dsp.c874 chip->active_mask |= channel_mask; in start_transport()
899 chip->active_mask &= ~channel_mask; in pause_transport()
925 chip->active_mask &= ~channel_mask; in stop_transport()
950 stop_transport(chip, chip->active_mask); in rest_in_peace()
Dechoaudio.h423 u32 active_mask; /* Chs. active mask or member
/Linux-v6.1/kernel/time/
Dhrtimer.c569 __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base, unsigned int active_mask) in __hrtimer_get_next_event() argument
575 if (!cpu_base->softirq_activated && (active_mask & HRTIMER_ACTIVE_SOFT)) { in __hrtimer_get_next_event()
584 if (active_mask & HRTIMER_ACTIVE_HARD) { in __hrtimer_get_next_event()
1718 unsigned long flags, unsigned int active_mask) in __hrtimer_run_queues() argument
1721 unsigned int active = cpu_base->active_bases & active_mask; in __hrtimer_run_queues()
1750 if (active_mask == HRTIMER_ACTIVE_SOFT) in __hrtimer_run_queues()
/Linux-v6.1/sound/usb/
Dcard.h100 unsigned long active_mask; /* bitmask of active urbs */ member
Dendpoint.c514 set_bit(ctx->index, &ep->active_mask); in snd_usb_queue_pending_output_urbs()
552 clear_bit(ctx->index, &ep->active_mask); in snd_complete_urb()
580 clear_bit(ctx->index, &ep->active_mask); in snd_complete_urb()
1031 if (test_bit(i, &ep->active_mask)) { in stop_urbs()
1565 ep->active_mask = 0; in snd_usb_endpoint_start()
1616 set_bit(i, &ep->active_mask); in snd_usb_endpoint_start()
/Linux-v6.1/drivers/irqchip/
Dirq-gic.c968 u32 val, cur_target_mask, active_mask; in gic_migrate_target() local
993 active_mask = val & cur_target_mask; in gic_migrate_target()
994 if (active_mask) { in gic_migrate_target()
995 val &= ~active_mask; in gic_migrate_target()
996 val |= ror32(active_mask, ror_val); in gic_migrate_target()
/Linux-v6.1/drivers/iio/frequency/
Dad9523.c763 unsigned long active_mask = 0; in ad9523_setup() local
912 __set_bit(chan->channel_num, &active_mask); in ad9523_setup()
947 for_each_clear_bit(i, &active_mask, AD9523_NUM_CHAN) { in ad9523_setup()
/Linux-v6.1/arch/sh/kernel/
Dhw_breakpoint.c289 resume_mask = sh_ubc->active_mask(); in hw_breakpoint_handler()
Dperf_event.c31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; member
/Linux-v6.1/arch/powerpc/perf/
Dimc-pmu.c106 cpumask_t *active_mask; in imc_pmu_cpumask_get_attr() local
110 active_mask = &nest_imc_cpumask; in imc_pmu_cpumask_get_attr()
113 active_mask = &core_imc_cpumask; in imc_pmu_cpumask_get_attr()
119 return cpumap_print_to_pagebuf(true, buf, active_mask); in imc_pmu_cpumask_get_attr()
/Linux-v6.1/arch/x86/events/intel/
Dknc.c247 if (!test_bit(bit, cpuc->active_mask)) in knc_pmu_handle_irq()
Dcore.c2185 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
2211 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) { in __intel_pmu_enable_all()
2377 if (!test_bit(3, cpuc->active_mask)) in intel_tfa_pmu_enable_all()
2437 if (*(u64 *)cpuc->active_mask & INTEL_PMC_OTHER_TOPDOWN_BITS(idx)) in intel_pmu_disable_fixed()
2601 for_each_set_bit(idx, cpuc->active_mask, metric_end + 1) { in update_saved_topdown_regs()
2633 for_each_set_bit(idx, cpuc->active_mask, metric_end + 1) { in intel_update_topdown_event()
2646 if (event && !test_bit(event->hw.idx, cpuc->active_mask)) { in intel_update_topdown_event()
2729 if (*(u64 *)cpuc->active_mask & INTEL_PMC_OTHER_TOPDOWN_BITS(idx)) in intel_pmu_enable_fixed()
3021 if (!test_bit(bit, cpuc->active_mask)) in handle_pmi_common()
4107 if (!test_bit(idx, cpuc->active_mask)) in core_guest_get_msrs()
[all …]
Dp4.c924 if (!test_bit(idx, cpuc->active_mask)) in p4_pmu_disable_all()
1003 if (!test_bit(idx, cpuc->active_mask)) in p4_pmu_enable_all()
1046 if (!test_bit(idx, cpuc->active_mask)) { in p4_pmu_handle_irq()
/Linux-v6.1/arch/x86/events/
Dcore.c686 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_disable_all()
742 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_enable_all()
1514 __set_bit(idx, cpuc->active_mask); in x86_pmu_start()
1556 pr_info("CPU#%d: active: %016llx\n", cpu, *(u64 *)cpuc->active_mask); in perf_event_print_debug()
1587 if (test_bit(hwc->idx, cpuc->active_mask)) { in x86_pmu_stop()
1589 __clear_bit(hwc->idx, cpuc->active_mask); in x86_pmu_stop()
1685 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_handle_irq()
/Linux-v6.1/drivers/iio/proximity/
Disl29501.c940 const unsigned long *active_mask = indio_dev->active_scan_mask; in isl29501_trigger_handler() local
943 if (test_bit(ISL29501_DISTANCE_SCAN_INDEX, active_mask)) in isl29501_trigger_handler()
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_nx.c3003 uint32_t active_mask = 0; in qla82xx_need_reset_handler() local
3022 active_mask = ~(QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); in qla82xx_need_reset_handler()
3023 drv_active &= active_mask; in qla82xx_need_reset_handler()
3025 "active_mask: 0x%08x\n", active_mask); in qla82xx_need_reset_handler()
3038 drv_state, drv_active, dev_state, active_mask); in qla82xx_need_reset_handler()
3053 drv_active &= active_mask; in qla82xx_need_reset_handler()
3060 drv_state, drv_active, dev_state, active_mask); in qla82xx_need_reset_handler()
/Linux-v6.1/arch/x86/events/zhaoxin/
Dcore.c391 if (!test_bit(bit, cpuc->active_mask)) in zhaoxin_pmu_handle_irq()

12