/linux-6.1.9/arch/openrisc/kernel/ |
D | smp.c | 228 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/ |
D | tlbflush.c | 19 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/ |
D | thunderx2_pmu.c | 326 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 …]
|
D | riscv_pmu.c | 102 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()
|
D | riscv_pmu_sbi.c | 285 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()
|
D | riscv_pmu_legacy.c | 85 pmu->cmask = BIT(RISCV_PMU_LEGACY_CYCLE) | in pmu_legacy_init()
|
/linux-6.1.9/sound/usb/ |
D | mixer_quirks.c | 42 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 …]
|
D | mixer.h | 84 unsigned int cmask; /* channel mask bitmap: 0 = master */ member
|
D | mixer.c | 1247 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/ |
D | hid-samsung.c | 153 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/ |
D | pch_can.c | 125 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/ |
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-6.1.9/drivers/net/ethernet/netronome/nfp/abm/ |
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-6.1.9/fs/nls/ |
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-6.1.9/arch/x86/events/zhaoxin/ |
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"); 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/ |
D | riscv_pmu.h | 48 unsigned long cmask; member
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-list.txt | 109 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/ |
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-6.1.9/arch/x86/events/intel/ |
D | p6.c | 189 PMU_FORMAT_ATTR(cmask, "config:24-31" );
|
D | knc.c | 279 PMU_FORMAT_ATTR(cmask, "config:24-31" );
|
/linux-6.1.9/sound/soc/codecs/ |
D | wcd938x.h | 600 #define WCD_SDW_CH(id, pn, cmask) \ argument 603 .ch_mask = cmask, \
|
/linux-6.1.9/arch/x86/events/ |
D | perf_event.h | 55 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/ |
D | sysfs-bus-event_source-devices-events | 53 event=0x423,inv,cmask=0x3
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | u_uac1_legacy.c | 82 params->cmask |= 1 << var; in _snd_pcm_hw_param_set()
|
/linux-6.1.9/sound/core/ |
D | pcm_lib.c | 1518 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()
|