Searched refs:cpu_mask (Results 1 – 6 of 6) sorted by relevance
89 void osal_kthread_set_affinity(osal_task *task, int cpu_mask) in osal_kthread_set_affinity() argument97 if (cpu_mask == 0) { in osal_kthread_set_affinity()103 ((OSAL_CPU_0 & (unsigned int)cpu_mask) == 0) ? in osal_kthread_set_affinity()106 ((OSAL_CPU_1 & (unsigned int)cpu_mask) == 0) ? in osal_kthread_set_affinity()109 ((OSAL_CPU_2 & (unsigned int)cpu_mask) == 0) ? in osal_kthread_set_affinity()112 ((OSAL_CPU_3 & (unsigned int)cpu_mask) == 0) ? in osal_kthread_set_affinity()
120 int osal_irq_set_affinity(unsigned int irq, const char *name, int cpu_mask) in osal_irq_set_affinity() argument127 ((OSAL_CPU_0 & (unsigned int)cpu_mask) == 0) ? in osal_irq_set_affinity()130 ((OSAL_CPU_1 & (unsigned int)cpu_mask) == 0) ? in osal_irq_set_affinity()133 ((OSAL_CPU_2 & (unsigned int)cpu_mask) == 0) ? in osal_irq_set_affinity()136 ((OSAL_CPU_3 & (unsigned int)cpu_mask) == 0) ? in osal_irq_set_affinity()
58 int cpu_mask; member
692 int cpu_mask; in hiirq_set_affinity() local706 cpu_mask = p->cpu_mask; in hiirq_set_affinity()708 ((OSAL_CPU_0 & (unsigned int)cpu_mask) == 0) ? in hiirq_set_affinity()711 ((OSAL_CPU_1 & (unsigned int)cpu_mask) == 0) ? in hiirq_set_affinity()714 ((OSAL_CPU_2 & (unsigned int)cpu_mask) == 0) ? in hiirq_set_affinity()717 ((OSAL_CPU_3 & (unsigned int)cpu_mask) == 0) ? in hiirq_set_affinity()
198 void osal_kthread_set_affinity(osal_task *task, int cpu_mask);230 int osal_irq_set_affinity(unsigned int irq, const char *name, int cpu_mask);
1537 static unsigned int cpumask_pick_least_loaded(struct irq_data *d, const struct cpumask *cpu_mask) in cpumask_pick_least_loaded() argument1542 for_each_cpu(tmp, cpu_mask) in cpumask_pick_least_loaded()