Home
last modified time | relevance | path

Searched refs:cpu_mask (Results 1 – 6 of 6) sorted by relevance

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_task.c89 void osal_kthread_set_affinity(osal_task *task, int cpu_mask) in osal_kthread_set_affinity() argument
97 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()
Dosal_interrupt.c120 int osal_irq_set_affinity(unsigned int irq, const char *name, int cpu_mask) in osal_irq_set_affinity() argument
127 ((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()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/include/
Dmkp_hiirq.h58 int cpu_mask; member
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/
Dhiirq.c692 int cpu_mask; in hiirq_set_affinity() local
706 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()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Dhi_osal.h198 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);
/device/soc/rockchip/common/sdk_linux/drivers/irqchip/
Dirq-gic-v3-its.c1537 static unsigned int cpumask_pick_least_loaded(struct irq_data *d, const struct cpumask *cpu_mask) in cpumask_pick_least_loaded() argument
1542 for_each_cpu(tmp, cpu_mask) in cpumask_pick_least_loaded()