Home
last modified time | relevance | path

Searched refs:cmask (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.3-rc2/arch/openrisc/kernel/
A Dsmp.c228 static void smp_flush_tlb_mm(struct cpumask *cmask, struct mm_struct *mm) in smp_flush_tlb_mm() argument
232 if (cpumask_empty(cmask)) in smp_flush_tlb_mm()
237 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in smp_flush_tlb_mm()
241 on_each_cpu_mask(cmask, ipi_flush_tlb_mm, mm, 1); in smp_flush_tlb_mm()
265 static void smp_flush_tlb_range(const struct cpumask *cmask, unsigned long start, in smp_flush_tlb_range() argument
270 if (cpumask_empty(cmask)) in smp_flush_tlb_range()
275 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in smp_flush_tlb_range()
288 on_each_cpu_mask(cmask, ipi_flush_tlb_page, &fd, 1); in smp_flush_tlb_range()
290 on_each_cpu_mask(cmask, ipi_flush_tlb_range, &fd, 1); in smp_flush_tlb_range()
313 const struct cpumask *cmask = vma ? mm_cpumask(vma->vm_mm) in flush_tlb_range() local
[all …]
/linux-6.3-rc2/arch/riscv/mm/
A Dtlbflush.c19 struct cpumask *cmask = mm_cpumask(mm); in __sbi_tlb_flush_range() local
23 if (cpumask_empty(cmask)) in __sbi_tlb_flush_range()
28 broadcast = cpumask_any_but(cmask, cpuid) < nr_cpu_ids; in __sbi_tlb_flush_range()
39 cpumask_andnot(pmask, pmask, cmask); in __sbi_tlb_flush_range()
42 sbi_remote_sfence_vma_asid(cmask, start, size, asid); in __sbi_tlb_flush_range()
50 sbi_remote_sfence_vma(cmask, start, size); in __sbi_tlb_flush_range()
/linux-6.3-rc2/drivers/perf/
A Dthunderx2_pmu.c326 u32 cmask; in init_cntr_base_l3c() local
329 cmask = tx2_pmu->counters_mask; in init_cntr_base_l3c()
342 u32 cmask; in init_cntr_base_dmc() local
345 cmask = tx2_pmu->counters_mask; in init_cntr_base_dmc()
358 u32 cmask; in init_cntr_base_ccpi2() local
360 cmask = tx2_pmu->counters_mask; in init_cntr_base_ccpi2()
390 u32 val, cmask, emask; in uncore_start_event_dmc() local
396 cmask = tx2_pmu->counters_mask; in uncore_start_event_dmc()
415 u32 val, cmask; in uncore_stop_event_dmc() local
470 u32 cmask, emask; in tx2_uncore_event_update() local
[all …]
A Driscv_pmu.c102 unsigned long cmask; in riscv_pmu_event_update() local
108 cmask = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_event_update()
117 delta = (new_raw_count - prev_raw_count) & cmask; in riscv_pmu_event_update()
250 uint64_t cmask; in riscv_pmu_event_init() local
277 cmask = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_event_init()
278 hwc->sample_period = cmask >> 1; in riscv_pmu_event_init()
A Driscv_pmu_sbi.c56 static unsigned long cmask; variable
284 if (!cmask) in riscv_pmu_get_hpm_info()
287 for_each_set_bit(i, &cmask, RISCV_MAX_COUNTERS) { in riscv_pmu_get_hpm_info()
339 rvpmu->cmask, cflags, hwc->event_base, hwc->config, in pmu_sbi_ctr_get_idx()
343 rvpmu->cmask, cflags, hwc->event_base, hwc->config, 0); in pmu_sbi_ctr_get_idx()
352 if (!test_bit(idx, &rvpmu->cmask) || !pmu_ctr_list[idx].value) in pmu_sbi_ctr_get_idx()
556 0, pmu->cmask, 0, 0, 0, 0); in pmu_sbi_stop_all()
872 if (pmu_sbi_get_ctrinfo(num_counters, &cmask)) in pmu_sbi_device_probe()
883 pmu->cmask = cmask; in pmu_sbi_device_probe()
A Driscv_pmu_legacy.c85 pmu->cmask = BIT(RISCV_PMU_LEGACY_CYCLE) | in pmu_legacy_init()
/linux-6.3-rc2/sound/usb/
A Dmixer_quirks.c58 unsigned int cmask, in snd_create_std_mono_ctl_offset() argument
75 cval->cmask = cmask; in snd_create_std_mono_ctl_offset()
1538 .cmask = 0x0,
1545 .cmask = 0x1,
1552 .cmask = 0x2,
1560 .cmask = 0x0,
1567 .cmask = 0x1,
1574 .cmask = 0x2,
1582 .cmask = 0x0,
1589 .cmask = 0x1,
[all …]
A Dmixer.h84 unsigned int cmask; /* channel mask bitmap: 0 = master */ member
A Dmixer.c1247 if (cval->cmask) { in get_min_max_with_quirks()
1249 if (cval->cmask & (1 << i)) { in get_min_max_with_quirks()
1349 if (!cval->cmask) { in get_min_max_with_quirks()
1354 if (cval->cmask & (1 << i)) { in get_min_max_with_quirks()
1409 if (cval->cmask) { in mixer_ctl_feature_get()
1412 if (!(cval->cmask & (1 << c))) in mixer_ctl_feature_get()
1441 if (cval->cmask) { in mixer_ctl_feature_put()
1444 if (!(cval->cmask & (1 << c))) in mixer_ctl_feature_put()
1677 cval->cmask = ctl_mask; in __build_feature_ctl()
2172 cval->cmask |= (1 << i); in build_mixer_unit_ctl()
[all …]
/linux-6.3-rc2/drivers/hid/
A Dhid-samsung.c153 unsigned int cmask = HID_CONNECT_DEFAULT; in samsung_probe() local
167 cmask = (cmask & ~HID_CONNECT_HIDINPUT) | in samsung_probe()
172 ret = hid_hw_start(hdev, cmask); in samsung_probe()
/linux-6.3-rc2/drivers/regulator/
A Dhi655x-regulator.c108 sreg, cmask, vtable) { \ argument
122 .enable_mask = BIT(cmask), \
129 sreg, cmask, minv, nvolt, vstep) { \ argument
144 .enable_mask = BIT(cmask), \
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/abm/
A Dcls.c190 u32 cmask; in nfp_abm_u32_knode_replace() local
197 cmask = iter->mask & mask; in nfp_abm_u32_knode_replace()
198 if ((iter->val & cmask) == (val & cmask) && in nfp_abm_u32_knode_replace()
/linux-6.3-rc2/fs/nls/
A Dnls_base.c29 int cmask; member
64 for (t = utf8_table; t->cmask; t++) { in utf8_to_utf32()
66 if ((c0 & t->cmask) == t->cval) { in utf8_to_utf32()
100 for (t = utf8_table; t->cmask && maxout; t++, maxout--) { in utf32_to_utf8()
/linux-6.3-rc2/arch/x86/events/zhaoxin/
A Dcore.c429 if ((event->hw.config & c->cmask) == c->code) in zhaoxin_get_event_constraints()
441 PMU_FORMAT_ATTR(cmask, "config:24-31");
570 X86_CONFIG(.event = 0x01, .umask = 0x01, .inv = 0x01, .cmask = 0x01); in zhaoxin_pmu_init()
573 X86_CONFIG(.event = 0x0f, .umask = 0x04, .inv = 0, .cmask = 0); in zhaoxin_pmu_init()
/linux-6.3-rc2/arch/riscv/kvm/
A Dvcpu_pmu.c158 unsigned long cbase, unsigned long cmask) in kvm_pmu_get_programmable_pmc_index() argument
174 for_each_set_bit(i, &cmask, BITS_PER_LONG) { in kvm_pmu_get_programmable_pmc_index()
187 unsigned long cbase, unsigned long cmask) in pmu_get_pmc_index() argument
196 return kvm_pmu_get_programmable_pmc_index(pmu, eidx, cbase, cmask); in pmu_get_pmc_index()
/linux-6.3-rc2/include/linux/perf/
A Driscv_pmu.h50 unsigned long cmask; member
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-list.txt113 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
124 A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and
188 perf stat -e cpu/event=0xa8,umask=0x1,name=LSD.UOPS_CYCLES,cmask=0x1/ ...
192 perf stat -e cpu/event=0xa8,umask=0x1,cmask=0x1,name=\'LSD.UOPS_CYCLES:cmask=0x1\'/ ...
/linux-6.3-rc2/drivers/isdn/mISDN/
A Dsocket.c99 if (_pms(sk)->cmask & MISDN_TIME_STAMP) { in mISDN_sock_cmsg()
423 _pms(sk)->cmask |= MISDN_TIME_STAMP; in data_sock_setsockopt()
425 _pms(sk)->cmask &= ~MISDN_TIME_STAMP; in data_sock_setsockopt()
449 if (_pms(sk)->cmask & MISDN_TIME_STAMP) in data_sock_getsockopt()
/linux-6.3-rc2/arch/x86/events/intel/
A Dp6.c189 PMU_FORMAT_ATTR(cmask, "config:24-31" );
A Dknc.c279 PMU_FORMAT_ATTR(cmask, "config:24-31" );
/linux-6.3-rc2/sound/soc/codecs/
A Dwcd938x.h600 #define WCD_SDW_CH(id, pn, cmask) \ argument
603 .ch_mask = cmask, \
/linux-6.3-rc2/arch/x86/events/
A Dperf_event.h57 u64 cmask; member
66 return ((ecode & c->cmask) - c->code) <= (u64)c->size; in constraint_match()
350 .cmask = (m), \
634 cmask:8, member
/linux-6.3-rc2/drivers/usb/gadget/function/
A Du_uac1_legacy.c82 params->cmask |= 1 << var; in _snd_pcm_hw_param_set()
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-bus-event_source-devices-events53 event=0x423,inv,cmask=0x3
/linux-6.3-rc2/sound/core/
A Dpcm_lib.c1518 params->cmask |= 1 << var; in _snd_pcm_hw_param_any()
1524 params->cmask |= 1 << var; in _snd_pcm_hw_param_any()
1580 params->cmask |= 1 << var; in _snd_pcm_hw_param_setempty()
1584 params->cmask |= 1 << var; in _snd_pcm_hw_param_setempty()
1603 params->cmask |= 1 << var; in _snd_pcm_hw_param_first()
1649 params->cmask |= 1 << var; in _snd_pcm_hw_param_last()

Completed in 102 milliseconds

12