Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_umc.h50 for_each_set_bit((node_inst), &(adev->umc.active_mask), adev->umc.node_inst_num)
102 unsigned long active_mask; member
/linux/net/ethtool/
H A 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/arch/sh/include/asm/
H A Dhw_breakpoint.h37 unsigned long (*active_mask)(void); member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpll_mgr.c265 old_mask = pll->active_mask; in intel_enable_shared_dpll()
268 drm_WARN_ON(&i915->drm, pll->active_mask & pipe_mask)) in intel_enable_shared_dpll()
271 pll->active_mask |= pipe_mask; in intel_enable_shared_dpll()
275 pll->info->name, pll->active_mask, pll->on, in intel_enable_shared_dpll()
314 if (drm_WARN(&i915->drm, !(pll->active_mask & pipe_mask), in intel_disable_shared_dpll()
321 pll->info->name, pll->active_mask, pll->on, in intel_disable_shared_dpll()
327 pll->active_mask &= ~pipe_mask; in intel_disable_shared_dpll()
328 if (pll->active_mask) in intel_disable_shared_dpll()
393 pll->active_mask); in intel_find_shared_dpll()
4525 pll->active_mask = pll->state.pipe_mask; in readout_dpll_hw_state()
[all …]
H A Dintel_dpll_mgr.h367 u8 active_mask; member
/linux/arch/sh/kernel/cpu/sh4a/
H A Dubc.c93 .active_mask = sh4a_ubc_active_mask,
/linux/sound/pci/echoaudio/
H A 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()
H A Dechoaudio.h423 u32 active_mask; /* Chs. active mask or member
/linux/kernel/time/
H A Dhrtimer.c563 __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base, unsigned int active_mask) in __hrtimer_get_next_event() argument
569 if (!cpu_base->softirq_activated && (active_mask & HRTIMER_ACTIVE_SOFT)) { in __hrtimer_get_next_event()
578 if (active_mask & HRTIMER_ACTIVE_HARD) { in __hrtimer_get_next_event()
1772 unsigned long flags, unsigned int active_mask) in __hrtimer_run_queues() argument
1775 unsigned int active = cpu_base->active_bases & active_mask; in __hrtimer_run_queues()
1804 if (active_mask == HRTIMER_ACTIVE_SOFT) in __hrtimer_run_queues()
/linux/drivers/irqchip/
H A Dirq-gic.c964 u32 val, cur_target_mask, active_mask; in gic_migrate_target() local
989 active_mask = val & cur_target_mask; in gic_migrate_target()
990 if (active_mask) { in gic_migrate_target()
991 val &= ~active_mask; in gic_migrate_target()
992 val |= ror32(active_mask, ror_val); in gic_migrate_target()
/linux/sound/usb/
H A Dendpoint.c528 set_bit(ctx->index, &ep->active_mask); in snd_usb_queue_pending_output_urbs()
568 clear_bit(ctx->index, &ep->active_mask); in snd_complete_urb()
604 clear_bit(ctx->index, &ep->active_mask);
1061 if (test_bit(i, &ep->active_mask)) { in stop_urbs()
1583 ep->active_mask = 0; in snd_usb_endpoint_start()
1638 set_bit(i, &ep->active_mask); in snd_usb_endpoint_start()
H A Dcard.h100 unsigned long active_mask; /* bitmask of active urbs */ member
/linux/arch/powerpc/perf/
H A 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/arch/sh/kernel/
H A Dhw_breakpoint.c289 resume_mask = sh_ubc->active_mask(); in hw_breakpoint_handler()
H A Dperf_event.c31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; member
/linux/arch/x86/events/
H A Dcore.c693 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_disable_all()
749 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_enable_all()
1517 __set_bit(idx, cpuc->active_mask); in x86_pmu_start()
1562 pr_info("CPU#%d: active: %016llx\n", cpu, *(u64 *)cpuc->active_mask); in perf_event_print_debug()
1592 if (test_bit(hwc->idx, cpuc->active_mask)) { in x86_pmu_stop()
1594 __clear_bit(hwc->idx, cpuc->active_mask); in x86_pmu_stop()
1691 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_handle_irq()
/linux/arch/x86/events/intel/
H A Dknc.c247 if (!test_bit(bit, cpuc->active_mask)) in knc_pmu_handle_irq()
H A 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()
H A Dcore.c2286 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
2312 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) { in __intel_pmu_enable_all()
2478 if (!test_bit(3, cpuc->active_mask)) in intel_tfa_pmu_enable_all()
2538 if (*(u64 *)cpuc->active_mask & INTEL_PMC_OTHER_TOPDOWN_BITS(idx)) in intel_pmu_disable_fixed()
2697 for_each_set_bit(idx, cpuc->active_mask, metric_end + 1) { in update_saved_topdown_regs()
2729 for_each_set_bit(idx, cpuc->active_mask, metric_end + 1) { in intel_update_topdown_event()
2742 if (event && !test_bit(event->hw.idx, cpuc->active_mask)) { in intel_update_topdown_event()
2815 if (*(u64 *)cpuc->active_mask & INTEL_PMC_OTHER_TOPDOWN_BITS(idx)) in intel_pmu_enable_fixed()
3109 if (!test_bit(bit, cpuc->active_mask)) in handle_pmi_common()
4271 if (!test_bit(idx, cpuc->active_mask)) in core_guest_get_msrs()
[all …]
H A Duncore.c328 for_each_set_bit(bit, box->active_mask, UNCORE_PMC_IDX_MAX) in uncore_pmu_hrtimer()
540 __set_bit(idx, box->active_mask); in uncore_pmu_event_start()
563 if (__test_and_clear_bit(hwc->idx, box->active_mask)) { in uncore_pmu_event_stop()
H A Duncore.h152 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; member
H A Dbts.c527 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in bts_event_add()
/linux/drivers/iio/proximity/
H A 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/drivers/scsi/qla2xxx/
H A 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/arch/x86/events/zhaoxin/
H A Dcore.c391 if (!test_bit(bit, cpuc->active_mask)) in zhaoxin_pmu_handle_irq()

12