Home
last modified time | relevance | path

Searched refs:cmsk (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kernel/apic/
H A Dx2apic_cluster.c58 struct cpumask *cmsk = per_cpu(cluster_masks, cpu); in __x2apic_send_IPI_mask() local
61 for_each_cpu_and(clustercpu, tmpmsk, cmsk) in __x2apic_send_IPI_mask()
69 cpumask_andnot(tmpmsk, tmpmsk, cmsk); in __x2apic_send_IPI_mask()
93 struct cpumask *cmsk = this_cpu_read(cluster_masks); in init_x2apic_ldr() local
95 BUG_ON(!cmsk); in init_x2apic_ldr()
97 cpumask_set_cpu(smp_processor_id(), cmsk); in init_x2apic_ldr()
105 static void prefill_clustermask(struct cpumask *cmsk, unsigned int cpu, u32 cluster) in prefill_clustermask() argument
116 if (WARN_ON_ONCE(*cpu_cmsk == cmsk)) in prefill_clustermask()
120 *cpu_cmsk = cmsk; in prefill_clustermask()
126 struct cpumask *cmsk = NULL; in alloc_clustermask() local
[all …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c124 v4l2_std_id cmsk = 0; in pvr2_std_str_to_id() local
143 cmsk = sp->id; in pvr2_std_str_to_id()
159 t = sp->id & cmsk; in pvr2_std_str_to_id()
310 v4l2_std_id idmsk,cmsk,fmsk; in pvr2_std_create_enum() local
324 for (idmsk = 1, cmsk = id; cmsk; idmsk <<= 1) { in pvr2_std_create_enum()
325 if (!(idmsk & cmsk)) continue; in pvr2_std_create_enum()
326 cmsk &= ~idmsk; in pvr2_std_create_enum()
371 for (idmsk = 1, cmsk = id; cmsk && (idx < std_cnt); idmsk <<= 1) { in pvr2_std_create_enum()
372 if (!(idmsk & cmsk)) continue; in pvr2_std_create_enum()
373 cmsk &= ~idmsk; in pvr2_std_create_enum()
H A Dpvrusb2-context.c324 int pvr2_channel_limit_inputs(struct pvr2_channel *cp,unsigned int cmsk) in pvr2_channel_limit_inputs() argument
332 cmsk &= mmsk; in pvr2_channel_limit_inputs()
333 if (cmsk == cp->input_mask) { in pvr2_channel_limit_inputs()
340 if (!cmsk) { in pvr2_channel_limit_inputs()
351 if (!(tmsk & cmsk)) { in pvr2_channel_limit_inputs()
355 tmsk &= cmsk; in pvr2_channel_limit_inputs()
361 cp->input_mask = cmsk; in pvr2_channel_limit_inputs()