Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c711 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_check_overflow()
732 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_enable_all()
923 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_v2_handle_irq()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_umc.h45 for_each_set_bit((node_inst), &(adev->umc.active_mask), adev->umc.node_inst_num)
93 unsigned long active_mask; member
/linux-6.6.21/arch/s390/kvm/
Dinterrupt.c352 unsigned long active_mask) in disable_iscs() argument
358 active_mask &= ~(1UL << (isc_to_irq_type(i))); in disable_iscs()
360 return active_mask; in disable_iscs()
365 unsigned long active_mask; in deliverable_irqs() local
367 active_mask = pending_irqs(vcpu); in deliverable_irqs()
368 if (!active_mask) in deliverable_irqs()
372 active_mask &= ~IRQ_PEND_EXT_MASK; in deliverable_irqs()
374 active_mask &= ~IRQ_PEND_IO_MASK; in deliverable_irqs()
376 active_mask = disable_iscs(vcpu, active_mask); in deliverable_irqs()
378 __clear_bit(IRQ_PEND_EXT_EXTERNAL, &active_mask); in deliverable_irqs()
[all …]
/linux-6.6.21/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-6.6.21/arch/sh/include/asm/
Dhw_breakpoint.h37 unsigned long (*active_mask)(void); member
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c233 old_mask = pll->active_mask; in intel_enable_shared_dpll()
236 drm_WARN_ON(&dev_priv->drm, pll->active_mask & pipe_mask)) in intel_enable_shared_dpll()
239 pll->active_mask |= pipe_mask; in intel_enable_shared_dpll()
243 pll->info->name, pll->active_mask, pll->on, in intel_enable_shared_dpll()
282 if (drm_WARN(&dev_priv->drm, !(pll->active_mask & pipe_mask), in intel_disable_shared_dpll()
289 pll->info->name, pll->active_mask, pll->on, in intel_disable_shared_dpll()
295 pll->active_mask &= ~pipe_mask; in intel_disable_shared_dpll()
296 if (pll->active_mask) in intel_disable_shared_dpll()
340 pll->active_mask); in intel_find_shared_dpll()
4358 pll->active_mask = pll->state.pipe_mask; in readout_dpll_hw_state()
[all …]
Dintel_dpll_mgr.h296 u8 active_mask; member
/linux-6.6.21/arch/sh/kernel/cpu/sh4a/
Dubc.c93 .active_mask = sh4a_ubc_active_mask,
/linux-6.6.21/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-6.6.21/kernel/time/
Dhrtimer.c571 __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base, unsigned int active_mask) in __hrtimer_get_next_event() argument
577 if (!cpu_base->softirq_activated && (active_mask & HRTIMER_ACTIVE_SOFT)) { in __hrtimer_get_next_event()
586 if (active_mask & HRTIMER_ACTIVE_HARD) { in __hrtimer_get_next_event()
1722 unsigned long flags, unsigned int active_mask) in __hrtimer_run_queues() argument
1725 unsigned int active = cpu_base->active_bases & active_mask; in __hrtimer_run_queues()
1754 if (active_mask == HRTIMER_ACTIVE_SOFT) in __hrtimer_run_queues()
/linux-6.6.21/sound/usb/
Dcard.h100 unsigned long active_mask; /* bitmask of active urbs */ member
Dendpoint.c523 set_bit(ctx->index, &ep->active_mask); in snd_usb_queue_pending_output_urbs()
563 clear_bit(ctx->index, &ep->active_mask); in snd_complete_urb()
596 clear_bit(ctx->index, &ep->active_mask); in snd_complete_urb()
1050 if (test_bit(i, &ep->active_mask)) { in stop_urbs()
1572 ep->active_mask = 0; in snd_usb_endpoint_start()
1627 set_bit(i, &ep->active_mask); in snd_usb_endpoint_start()
/linux-6.6.21/drivers/irqchip/
Dirq-gic.c967 u32 val, cur_target_mask, active_mask; in gic_migrate_target() local
992 active_mask = val & cur_target_mask; in gic_migrate_target()
993 if (active_mask) { in gic_migrate_target()
994 val &= ~active_mask; in gic_migrate_target()
995 val |= ror32(active_mask, ror_val); in gic_migrate_target()
/linux-6.6.21/drivers/iio/frequency/
Dad9523.c762 unsigned long active_mask = 0; in ad9523_setup() local
911 __set_bit(chan->channel_num, &active_mask); in ad9523_setup()
946 for_each_clear_bit(i, &active_mask, AD9523_NUM_CHAN) { in ad9523_setup()
/linux-6.6.21/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-6.6.21/arch/powerpc/perf/
Dimc-pmu.c107 cpumask_t *active_mask; in imc_pmu_cpumask_get_attr() local
111 active_mask = &nest_imc_cpumask; in imc_pmu_cpumask_get_attr()
114 active_mask = &core_imc_cpumask; in imc_pmu_cpumask_get_attr()
120 return cpumap_print_to_pagebuf(true, buf, active_mask); in imc_pmu_cpumask_get_attr()
/linux-6.6.21/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-6.6.21/arch/x86/events/intel/
Dknc.c247 if (!test_bit(bit, cpuc->active_mask)) in knc_pmu_handle_irq()
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()
Dcore.c2216 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
2242 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) { in __intel_pmu_enable_all()
2408 if (!test_bit(3, cpuc->active_mask)) in intel_tfa_pmu_enable_all()
2468 if (*(u64 *)cpuc->active_mask & INTEL_PMC_OTHER_TOPDOWN_BITS(idx)) in intel_pmu_disable_fixed()
2632 for_each_set_bit(idx, cpuc->active_mask, metric_end + 1) { in update_saved_topdown_regs()
2664 for_each_set_bit(idx, cpuc->active_mask, metric_end + 1) { in intel_update_topdown_event()
2677 if (event && !test_bit(event->hw.idx, cpuc->active_mask)) { in intel_update_topdown_event()
2760 if (*(u64 *)cpuc->active_mask & INTEL_PMC_OTHER_TOPDOWN_BITS(idx)) in intel_pmu_enable_fixed()
3052 if (!test_bit(bit, cpuc->active_mask)) in handle_pmi_common()
4148 if (!test_bit(idx, cpuc->active_mask)) in core_guest_get_msrs()
[all …]
/linux-6.6.21/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-6.6.21/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()

12