Lines Matching +full:riscv +full:- +full:sbi
1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "thead-c900-aclint-sswi: " fmt
21 #include <asm/sbi.h>
83 return -EINVAL; in thead_aclint_sswi_parse_irq()
96 return -ENOTSUPP; in thead_aclint_sswi_parse_irq()
114 /* If it is T-HEAD CPU, check whether SSWI is enabled */ in thead_aclint_sswi_probe()
117 return -ENOTSUPP; in thead_aclint_sswi_probe()
120 return -EINVAL; in thead_aclint_sswi_probe()
124 return -ENOMEM; in thead_aclint_sswi_probe()
135 /* Find riscv intc domain and create IPI irq mapping */ in thead_aclint_sswi_probe()
139 return -ENOENT; in thead_aclint_sswi_probe()
145 return -ENOMEM; in thead_aclint_sswi_probe()
153 return virq < 0 ? virq : -ENOMEM; in thead_aclint_sswi_probe()
159 "irqchip/thead-aclint-sswi:starting", in thead_aclint_sswi_probe()
174 return thead_aclint_sswi_probe(&node->fwnode); in thead_aclint_sswi_early_probe()
176 IRQCHIP_DECLARE(thead_aclint_sswi, "thead,c900-aclint-sswi", thead_aclint_sswi_early_probe);