/linux/arch/openrisc/kernel/ |
H A D | smp.c | 226 static void smp_flush_tlb_mm(struct cpumask *cmask, struct mm_struct *mm) in smp_flush_tlb_mm() argument 230 if (cpumask_empty(cmask)) in smp_flush_tlb_mm() 235 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in smp_flush_tlb_mm() 239 on_each_cpu_mask(cmask, ipi_flush_tlb_mm, mm, 1); in smp_flush_tlb_mm() 263 static void smp_flush_tlb_range(const struct cpumask *cmask, unsigned long start, in smp_flush_tlb_range() argument 268 if (cpumask_empty(cmask)) in smp_flush_tlb_range() 273 if (cpumask_any_but(cmask, cpuid) >= nr_cpu_ids) { in smp_flush_tlb_range() 286 on_each_cpu_mask(cmask, ipi_flush_tlb_page, &fd, 1); in smp_flush_tlb_range() 288 on_each_cpu_mask(cmask, ipi_flush_tlb_range, &fd, 1); in smp_flush_tlb_range() 311 const struct cpumask *cmask = vma ? mm_cpumask(vma->vm_mm) in flush_tlb_range() local [all …]
|
/linux/sound/usb/ |
H A D | mixer_quirks.c | 44 unsigned int unitid, control, cmask; member 60 unsigned int cmask, in snd_create_std_mono_ctl_offset() argument 77 cval->cmask = cmask; in snd_create_std_mono_ctl_offset() 113 unsigned int cmask, in snd_create_std_mono_ctl() argument 118 return snd_create_std_mono_ctl_offset(mixer, unitid, control, cmask, in snd_create_std_mono_ctl() 132 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table() 1135 unsigned int control, cmask; in snd_ftu_create_volume_ctls() local 1144 cmask = BIT(in); in snd_ftu_create_volume_ctls() 1149 cmask, val_type, name, in snd_ftu_create_volume_ctls() 1155 cmask = BIT(in); in snd_ftu_create_volume_ctls() [all …]
|
H A D | mixer.h | 84 unsigned int cmask; /* channel mask bitmap: 0 = master */ member
|
H A D | mixer.c | 1234 if (cval->cmask) { in get_min_max_with_quirks() 1236 if (cval->cmask & BIT(i)) { in get_min_max_with_quirks() 1336 if (!cval->cmask) { in get_min_max_with_quirks() 1341 if (cval->cmask & BIT(i)) { in get_min_max_with_quirks() 1406 if (cval->cmask) { in mixer_ctl_feature_get() 1409 if (!(cval->cmask & BIT(c))) in mixer_ctl_feature_get() 1439 if (cval->cmask) { in mixer_ctl_feature_put() 1442 if (!(cval->cmask & BIT(c))) in mixer_ctl_feature_put() 1679 cval->cmask = ctl_mask; in __build_feature_ctl() 2179 cval->cmask |= BIT(i); in build_mixer_unit_ctl() [all …]
|
/linux/drivers/regulator/ |
H A D | hi655x-regulator.c | 108 sreg, cmask, vtable) { \ argument 122 .enable_mask = BIT(cmask), \ 129 sreg, cmask, minv, nvolt, vstep) { \ argument 144 .enable_mask = BIT(cmask), \
|
/linux/drivers/perf/ |
H A D | riscv_pmu.c | 165 unsigned long cmask; in riscv_pmu_event_update() local 171 cmask = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_event_update() 180 delta = (new_raw_count - prev_raw_count) & cmask; in riscv_pmu_event_update() 310 uint64_t cmask; in riscv_pmu_event_init() local 344 cmask = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_event_init() 345 hwc->sample_period = cmask >> 1; in riscv_pmu_event_init()
|
H A D | riscv_pmu_sbi.c | 100 static unsigned long cmask; variable 306 0, cmask, 0, edata->event_idx, 0, 0); in pmu_sbi_check_event() 356 if (!cmask) in riscv_pmu_get_hpm_info() 359 for_each_set_bit(i, &cmask, RISCV_MAX_COUNTERS) { in riscv_pmu_get_hpm_info() 409 uint64_t cbase = 0, cmask = rvpmu->cmask; in pmu_sbi_ctr_get_idx() local 422 cmask = 1; in pmu_sbi_ctr_get_idx() 425 cmask = BIT(CSR_INSTRET - CSR_CYCLE); in pmu_sbi_ctr_get_idx() 432 cmask, cflags, hwc->event_base, hwc->config, in pmu_sbi_ctr_get_idx() 436 cmask, cflags, hwc->event_base, hwc->config, 0); in pmu_sbi_ctr_get_idx() 445 if (!test_bit(idx, &rvpmu->cmask) || !pmu_ctr_list[idx].value) in pmu_sbi_ctr_get_idx() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | cls.c | 190 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/fs/nls/ |
H A D | nls_base.c | 29 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/drivers/hid/ |
H A D | hid-samsung.c | 512 unsigned int cmask = HID_CONNECT_DEFAULT; in samsung_probe() local 527 cmask = (cmask & ~HID_CONNECT_HIDINPUT) | in samsung_probe() 532 ret = hid_hw_start(hdev, cmask); in samsung_probe()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.h | 148 u64 cmask; member 184 return uctx ? (uctx->cmask & BNXT_RE_UCNTX_CAP_POW2_DISABLED) ? in bnxt_re_init_depth() 192 return uctx->cmask & BNXT_RE_UCNTX_CAP_VAR_WQE_ENABLED; in bnxt_re_is_var_size_supported()
|
/linux/arch/x86/events/zhaoxin/ |
H A D | core.c | 429 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/arch/riscv/kvm/ |
H A D | vcpu_pmu.c | 159 unsigned long cbase, unsigned long cmask) in kvm_pmu_get_programmable_pmc_index() argument 175 for_each_set_bit(i, &cmask, BITS_PER_LONG) { in kvm_pmu_get_programmable_pmc_index() 188 unsigned long cbase, unsigned long cmask) in pmu_get_pmc_index() argument 197 return kvm_pmu_get_programmable_pmc_index(pmu, eidx, cbase, cmask); in pmu_get_pmc_index()
|
/linux/include/linux/perf/ |
H A D | riscv_pmu.h | 58 unsigned long cmask; member
|
/linux/drivers/isdn/mISDN/ |
H A D | socket.c | 99 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/sound/soc/codecs/ |
H A D | wcd937x.h | 515 #define WCD_SDW_CH(id, pn, cmask) \ argument 518 .ch_mask = cmask, \
|
H A D | wcd938x.h | 595 #define WCD_SDW_CH(id, pn, cmask) \ argument 598 .ch_mask = cmask, \
|
H A D | wcd939x.h | 852 #define WCD_SDW_CH(id, pn, cmask) \ argument 855 .ch_mask = cmask, \
|
/linux/arch/x86/events/intel/ |
H A D | p6.c | 189 PMU_FORMAT_ATTR(cmask, "config:24-31" );
|
H A D | knc.c | 279 PMU_FORMAT_ATTR(cmask, "config:24-31" );
|
/linux/tools/testing/selftests/kvm/riscv/ |
H A D | sbi_pmu_test.c | 160 static unsigned long get_counter_index(unsigned long cbase, unsigned long cmask, in get_counter_index() argument 166 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, cbase, cmask, in get_counter_index()
|
/linux/sound/core/ |
H A D | pcm_lib.c | 1563 params->cmask |= 1 << var; in _snd_pcm_hw_param_any() 1569 params->cmask |= 1 << var; in _snd_pcm_hw_param_any() 1625 params->cmask |= 1 << var; in _snd_pcm_hw_param_setempty() 1629 params->cmask |= 1 << var; in _snd_pcm_hw_param_setempty() 1648 params->cmask |= 1 << var; in _snd_pcm_hw_param_first() 1694 params->cmask |= 1 << var; in _snd_pcm_hw_param_last()
|
/linux/drivers/usb/gadget/function/ |
H A D | u_uac1_legacy.c | 82 params->cmask |= 1 << var; in _snd_pcm_hw_param_set()
|
/linux/drivers/edac/ |
H A D | amd64_edac.c | 3226 cpumask_var_t cmask; in toggle_ecc_err_reporting() local 3229 if (!zalloc_cpumask_var(&cmask, GFP_KERNEL)) { in toggle_ecc_err_reporting() 3234 get_cpus_on_this_dct_cpumask(cmask, nid); in toggle_ecc_err_reporting() 3236 rdmsr_on_cpus(cmask, MSR_IA32_MCG_CTL, msrs); in toggle_ecc_err_reporting() 3238 for_each_cpu(cpu, cmask) { in toggle_ecc_err_reporting() 3255 wrmsr_on_cpus(cmask, MSR_IA32_MCG_CTL, msrs); in toggle_ecc_err_reporting() 3257 free_cpumask_var(cmask); in toggle_ecc_err_reporting()
|
/linux/include/linux/ |
H A D | mISDNif.h | 487 u_int cmask; member
|