Home
last modified time | relevance | path

Searched refs:CORES_PER_EIO_NODE (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/irqchip/
H A Dirq-loongson-eiointc.c36 #define MAX_EIO_NODES (NR_CPUS / CORES_PER_EIO_NODE)
62 return cpu_logical_map(cpu) / CORES_PER_EIO_NODE; in cpu_to_eio_node()
77 cpu_node = cpu_logical_map(cpu) / CORES_PER_EIO_NODE; in eiointc_set_irq_route()
78 coremap = BIT(cpu_logical_map(cpu) % CORES_PER_EIO_NODE); in eiointc_set_irq_route()
88 csr_any_send(EIOINTC_REG_ROUTE + pos_off, data, data_mask, node * CORES_PER_EIO_NODE); in eiointc_set_irq_route()
114 0x0, priv->node * CORES_PER_EIO_NODE); in eiointc_set_irq_affinity()
121 0x0, priv->node * CORES_PER_EIO_NODE); in eiointc_set_irq_affinity()
155 if ((cpu_logical_map(cpu) % CORES_PER_EIO_NODE) == 0) { in eiointc_router_init()
345 node = early_cpu_to_node(eiointc_priv[nr_pics - 1]->node * CORES_PER_EIO_NODE); in pch_msi_parse_madt()
440 node = early_cpu_to_node(acpi_eiointc->node * CORES_PER_EIO_NODE); in eiointc_acpi_init()
/linux/arch/loongarch/include/asm/
H A Dirq.h67 #define CORES_PER_EIO_NODE 4 macro