Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/openrisc/kernel/
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.1.9/arch/riscv/mm/
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.1.9/drivers/perf/
Dthunderx2_pmu.c326 u32 cmask; in init_cntr_base_l3c() local
329 cmask = tx2_pmu->counters_mask; in init_cntr_base_l3c()
333 + L3C_COUNTER_CTL + (8 * GET_COUNTERID(event, cmask)); in init_cntr_base_l3c()
335 + L3C_COUNTER_DATA + (8 * GET_COUNTERID(event, cmask)); 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()
351 + DMC_COUNTER_DATA + (0xc * GET_COUNTERID(event, cmask)); 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()
363 + CCPI2_COUNTER_CTL + (4 * GET_COUNTERID(event, cmask)); in init_cntr_base_ccpi2()
[all …]
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()
Driscv_pmu_sbi.c285 rvpmu->cmask, cflags, hwc->event_base, hwc->config, in pmu_sbi_ctr_get_idx()
289 rvpmu->cmask, cflags, hwc->event_base, hwc->config, 0); in pmu_sbi_ctr_get_idx()
298 if (!test_bit(idx, &rvpmu->cmask) || !pmu_ctr_list[idx].value) in pmu_sbi_ctr_get_idx()
505 0, pmu->cmask, 0, 0, 0, 0); in pmu_sbi_stop_all()
801 unsigned long cmask = 0; in pmu_sbi_device_probe() local
817 if (pmu_sbi_get_ctrinfo(num_counters, &cmask)) in pmu_sbi_device_probe()
828 pmu->cmask = cmask; in pmu_sbi_device_probe()
Driscv_pmu_legacy.c85 pmu->cmask = BIT(RISCV_PMU_LEGACY_CYCLE) | in pmu_legacy_init()
/linux-6.1.9/sound/usb/
Dmixer_quirks.c42 unsigned int unitid, control, cmask; member
58 unsigned int cmask, in snd_create_std_mono_ctl_offset() argument
75 cval->cmask = cmask; in snd_create_std_mono_ctl_offset()
111 unsigned int cmask, in snd_create_std_mono_ctl() argument
116 return snd_create_std_mono_ctl_offset(mixer, unitid, control, cmask, in snd_create_std_mono_ctl()
130 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table()
1133 unsigned int control, cmask; in snd_ftu_create_volume_ctls() local
1142 cmask = 1 << in; in snd_ftu_create_volume_ctls()
1147 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1153 cmask = 1 << in; in snd_ftu_create_volume_ctls()
[all …]
Dmixer.h84 unsigned int cmask; /* channel mask bitmap: 0 = master */ member
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.1.9/drivers/hid/
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.1.9/drivers/net/can/
Dpch_can.c125 u32 cmask; member
285 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[dir].cmask); in pch_can_set_rxtx()
290 &priv->regs->ifregs[dir].cmask); in pch_can_set_rxtx()
333 iowrite32(PCH_CMASK_RX_TX_SET, &priv->regs->ifregs[0].cmask); in pch_can_clear_if_buffers()
345 &priv->regs->ifregs[0].cmask); in pch_can_clear_if_buffers()
355 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask); in pch_can_config_rx_tx_buffers()
378 PCH_CMASK_CTRL, &priv->regs->ifregs[0].cmask); in pch_can_config_rx_tx_buffers()
384 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[1].cmask); in pch_can_config_rx_tx_buffers()
400 PCH_CMASK_CTRL, &priv->regs->ifregs[1].cmask); in pch_can_config_rx_tx_buffers()
443 &priv->regs->ifregs[0].cmask); in pch_can_int_clr()
[all …]
/linux-6.1.9/drivers/regulator/
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.1.9/drivers/net/ethernet/netronome/nfp/abm/
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.1.9/fs/nls/
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.1.9/arch/x86/events/zhaoxin/
Dcore.c429 if ((event->hw.config & c->cmask) == c->code) in zhaoxin_get_event_constraints()
441 PMU_FORMAT_ATTR(cmask, "config:24-31");
564 X86_CONFIG(.event = 0x01, .umask = 0x01, .inv = 0x01, .cmask = 0x01); in zhaoxin_pmu_init()
567 X86_CONFIG(.event = 0x0f, .umask = 0x04, .inv = 0, .cmask = 0); in zhaoxin_pmu_init()
/linux-6.1.9/include/linux/perf/
Driscv_pmu.h48 unsigned long cmask; member
/linux-6.1.9/tools/perf/Documentation/
Dperf-list.txt109 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
120 A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and
184 perf stat -e cpu/event=0xa8,umask=0x1,name=LSD.UOPS_CYCLES,cmask=0x1/ ...
188 perf stat -e cpu/event=0xa8,umask=0x1,cmask=0x1,name=\'LSD.UOPS_CYCLES:cmask=0x1\'/ ...
/linux-6.1.9/drivers/isdn/mISDN/
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.1.9/arch/x86/events/intel/
Dp6.c189 PMU_FORMAT_ATTR(cmask, "config:24-31" );
Dknc.c279 PMU_FORMAT_ATTR(cmask, "config:24-31" );
/linux-6.1.9/sound/soc/codecs/
Dwcd938x.h600 #define WCD_SDW_CH(id, pn, cmask) \ argument
603 .ch_mask = cmask, \
/linux-6.1.9/arch/x86/events/
Dperf_event.h55 u64 cmask; member
64 return ((ecode & c->cmask) - c->code) <= (u64)c->size; in constraint_match()
348 .cmask = (m), \
631 cmask:8, member
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-events53 event=0x423,inv,cmask=0x3
/linux-6.1.9/drivers/usb/gadget/function/
Du_uac1_legacy.c82 params->cmask |= 1 << var; in _snd_pcm_hw_param_set()
/linux-6.1.9/sound/core/
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()

12