Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_task.c91 struct cpumask cpumask_set; in osal_kthread_set_affinity() local
101 cpumask_clear(&cpumask_set); in osal_kthread_set_affinity()
104 0 : cpumask_set_cpu(0, &cpumask_set); in osal_kthread_set_affinity()
107 0 : cpumask_set_cpu(1, &cpumask_set); in osal_kthread_set_affinity()
110 0 : cpumask_set_cpu(2, &cpumask_set); /* cpu2 */ in osal_kthread_set_affinity()
113 0 : cpumask_set_cpu(3, &cpumask_set); /* cpu3 */ in osal_kthread_set_affinity()
Dosal_interrupt.c123 struct cpumask cpumask_set = {0}; in osal_irq_set_affinity() local
125 cpumask_clear(&cpumask_set); in osal_irq_set_affinity()
128 0 : cpumask_set_cpu(0, &cpumask_set); // cpu0 in osal_irq_set_affinity()
131 0 : cpumask_set_cpu(1, &cpumask_set); // cpu1 in osal_irq_set_affinity()
134 0 : cpumask_set_cpu(2, &cpumask_set); // cpu2 in osal_irq_set_affinity()
137 0 : cpumask_set_cpu(3, &cpumask_set); // cpu 3 in osal_irq_set_affinity()
143 return irq_set_affinity_hint(__irq, &cpumask_set); in osal_irq_set_affinity()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/
Dhiirq.c691 struct cpumask cpumask_set = {0}; in hiirq_set_affinity() local
707 cpumask_clear(&cpumask_set); in hiirq_set_affinity()
709 0 : cpumask_set_cpu(0, &cpumask_set); // cpu0 in hiirq_set_affinity()
712 0 : cpumask_set_cpu(1, &cpumask_set); // cpu1 in hiirq_set_affinity()
715 0 : cpumask_set_cpu(2, &cpumask_set); // cpu2 in hiirq_set_affinity()
718 0 : cpumask_set_cpu(3, &cpumask_set); // cpu3 in hiirq_set_affinity()
719 return irq_set_affinity_hint(__irq, &cpumask_set); in hiirq_set_affinity()