Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dsmp.c227 static void smp_flush_tlb_mm(struct cpumask *cmask, struct mm_struct *mm) in smp_flush_tlb_mm() argument
231 if (cpumask_empty(cmask)) in smp_flush_tlb_mm()
236 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in smp_flush_tlb_mm()
240 on_each_cpu_mask(cmask, ipi_flush_tlb_mm, mm, 1); in smp_flush_tlb_mm()
264 static void smp_flush_tlb_range(const struct cpumask *cmask, unsigned long start, in smp_flush_tlb_range() argument
269 if (cpumask_empty(cmask)) in smp_flush_tlb_range()
274 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in smp_flush_tlb_range()
287 on_each_cpu_mask(cmask, ipi_flush_tlb_page, &fd, 1); in smp_flush_tlb_range()
289 on_each_cpu_mask(cmask, ipi_flush_tlb_range, &fd, 1); in smp_flush_tlb_range()
312 const struct cpumask *cmask = vma ? mm_cpumask(vma->vm_mm) in flush_tlb_range() local
[all …]
/kernel/linux/linux-5.10/arch/riscv/mm/
Dtlbflush.c17 static void __sbi_tlb_flush_range(struct cpumask *cmask, unsigned long start, in __sbi_tlb_flush_range() argument
23 if (cpumask_empty(cmask)) in __sbi_tlb_flush_range()
28 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in __sbi_tlb_flush_range()
35 riscv_cpuid_to_hartid_mask(cmask, &hmask); in __sbi_tlb_flush_range()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/usb/
Dmixer_quirks.c41 unsigned int unitid, control, cmask; member
57 unsigned int cmask, in snd_create_std_mono_ctl_offset() argument
74 cval->cmask = cmask; in snd_create_std_mono_ctl_offset()
110 unsigned int cmask, in snd_create_std_mono_ctl() argument
115 return snd_create_std_mono_ctl_offset(mixer, unitid, control, cmask, in snd_create_std_mono_ctl()
129 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table()
991 unsigned int control, cmask; in snd_ftu_create_volume_ctls() local
1000 cmask = 1 << in; in snd_ftu_create_volume_ctls()
1005 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1011 cmask = 1 << in; in snd_ftu_create_volume_ctls()
[all …]
Dmixer.h84 unsigned int cmask; /* channel mask bitmap: 0 = master */ member
Dmixer.c1215 if (cval->cmask) { in get_min_max_with_quirks()
1218 if (cval->cmask & (1 << i)) { in get_min_max_with_quirks()
1365 if (cval->cmask) { in mixer_ctl_feature_get()
1368 if (!(cval->cmask & (1 << c))) in mixer_ctl_feature_get()
1397 if (cval->cmask) { in mixer_ctl_feature_put()
1400 if (!(cval->cmask & (1 << c))) in mixer_ctl_feature_put()
1613 cval->cmask = ctl_mask; in __build_feature_ctl()
2095 cval->cmask |= (1 << i); in build_mixer_unit_ctl()
3289 cval->control, cval->cmask, cval->channels, in snd_usb_mixer_dump_cval()
3645 if (cval->cmask) { in restore_mixer_value()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/can/
Dpch_can.c124 u32 cmask; member
284 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[dir].cmask); in pch_can_set_rxtx()
289 &priv->regs->ifregs[dir].cmask); in pch_can_set_rxtx()
332 iowrite32(PCH_CMASK_RX_TX_SET, &priv->regs->ifregs[0].cmask); in pch_can_clear_if_buffers()
344 &priv->regs->ifregs[0].cmask); in pch_can_clear_if_buffers()
354 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask); in pch_can_config_rx_tx_buffers()
377 PCH_CMASK_CTRL, &priv->regs->ifregs[0].cmask); in pch_can_config_rx_tx_buffers()
383 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[1].cmask); in pch_can_config_rx_tx_buffers()
399 PCH_CMASK_CTRL, &priv->regs->ifregs[1].cmask); in pch_can_config_rx_tx_buffers()
442 &priv->regs->ifregs[0].cmask); in pch_can_int_clr()
[all …]
/kernel/linux/linux-5.10/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), \
Dda9063-regulator.c109 creg, cmask) \ argument
117 .desc.csel_mask = (cmask), \
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-list.txt99 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
110 A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and
142 perf stat -e cpu/event=0xa8,umask=0x1,name=LSD.UOPS_CYCLES,cmask=0x1/ ...
146 perf stat -e cpu/event=0xa8,umask=0x1,cmask=0x1,name=\'LSD.UOPS_CYCLES:cmask=0x1\'/ ...
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/events/
Dperf_event.h53 u64 cmask; member
62 return ((ecode & c->cmask) - c->code) <= (u64)c->size; in constraint_match()
337 .cmask = (m), \
612 cmask:8, member
/kernel/linux/linux-5.10/arch/x86/events/intel/
Dp6.c189 PMU_FORMAT_ATTR(cmask, "config:24-31" );
Dknc.c279 PMU_FORMAT_ATTR(cmask, "config:24-31" );
Dcore.c3436 u64 alt_config = X86_CONFIG(.event=0xc0, .inv=1, .cmask=16); in intel_pebs_aliases_core2()
3464 u64 alt_config = X86_CONFIG(.event=0xc2, .umask=0x01, .inv=1, .cmask=16); in intel_pebs_aliases_snb()
3488 u64 alt_config = X86_CONFIG(.event=0xc0, .umask=0x01, .inv=1, .cmask=16); in intel_pebs_aliases_precdist()
3961 PMU_FORMAT_ATTR(cmask, "config:24-31" );
5073 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
5076 X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); in intel_pmu_init()
5231 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
5234 X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); in intel_pmu_init()
5271 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
5274 X86_CONFIG(.event=0xb1, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
[all …]
/kernel/linux/linux-5.10/sound/core/
Dpcm_lib.c1517 params->cmask |= 1 << var; in _snd_pcm_hw_param_any()
1523 params->cmask |= 1 << var; in _snd_pcm_hw_param_any()
1579 params->cmask |= 1 << var; in _snd_pcm_hw_param_setempty()
1583 params->cmask |= 1 << var; in _snd_pcm_hw_param_setempty()
1602 params->cmask |= 1 << var; in _snd_pcm_hw_param_first()
1648 params->cmask |= 1 << var; in _snd_pcm_hw_param_last()
Dpcm_native.c51 unsigned int cmask; member
296 params->cmask |= PARAM_MASK_BIT(k); in constrain_mask_params()
332 params->cmask |= PARAM_MASK_BIT(k); in constrain_interval_params()
442 params->cmask |= PARAM_MASK_BIT(r->var); in constrain_params_by_rules()
3956 params->cmask = __OLD_TO_NEW_MASK(oparams->cmask); in snd_pcm_hw_convert_from_old_params()
3975 oparams->cmask = __NEW_TO_OLD_MASK(params->cmask); in snd_pcm_hw_convert_to_old_params()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-events53 event=0x423,inv,cmask=0x3
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_uac1_legacy.c82 params->cmask |= 1 << var; in _snd_pcm_hw_param_set()
/kernel/linux/linux-5.10/drivers/edac/
Damd64_edac.c3118 cpumask_var_t cmask; in toggle_ecc_err_reporting() local
3121 if (!zalloc_cpumask_var(&cmask, GFP_KERNEL)) { in toggle_ecc_err_reporting()
3126 get_cpus_on_this_dct_cpumask(cmask, nid); in toggle_ecc_err_reporting()
3128 rdmsr_on_cpus(cmask, MSR_IA32_MCG_CTL, msrs); in toggle_ecc_err_reporting()
3130 for_each_cpu(cpu, cmask) { in toggle_ecc_err_reporting()
3147 wrmsr_on_cpus(cmask, MSR_IA32_MCG_CTL, msrs); in toggle_ecc_err_reporting()
3149 free_cpumask_var(cmask); in toggle_ecc_err_reporting()
/kernel/linux/linux-5.10/include/linux/
DmISDNif.h488 u_int cmask; member

12