Lines Matching +full:c900 +full:- +full:aclint +full:- +full:sswi

1 // SPDX-License-Identifier: GPL-2.0
67 pr_err("%pfwP: no ACLINT SSWI context available\n", fwnode); in aclint_sswi_parse_irq()
68 return -EINVAL; in aclint_sswi_parse_irq()
86 return -ENOTSUPP; in aclint_sswi_parse_irq()
93 return -EINVAL; in aclint_sswi_parse_irq()
110 return -EINVAL; in aclint_sswi_probe()
114 return -ENOMEM; in aclint_sswi_probe()
116 /* Parse SSWI setting */ in aclint_sswi_probe()
121 /* If mulitple SSWI devices are present, do not register irq again */ in aclint_sswi_probe()
129 return -ENOENT; in aclint_sswi_probe()
134 pr_err("unable to create ACLINT SSWI IRQ mapping\n"); in aclint_sswi_probe()
135 return -ENOMEM; in aclint_sswi_probe()
138 /* Register SSWI irq and handler */ in aclint_sswi_probe()
143 return virq < 0 ? virq : -ENOMEM; in aclint_sswi_probe()
149 "irqchip/aclint-sswi:starting", in aclint_sswi_probe()
167 /* Announce that SSWI is providing IPIs */ in generic_aclint_sswi_probe()
168 pr_info("providing IPIs using ACLINT SSWI\n"); in generic_aclint_sswi_probe()
176 return generic_aclint_sswi_probe(&node->fwnode); in generic_aclint_sswi_early_probe()
178 IRQCHIP_DECLARE(generic_aclint_sswi, "mips,p8700-aclint-sswi", generic_aclint_sswi_early_probe);
188 /* If it is T-HEAD CPU, check whether SSWI is enabled */ in thead_aclint_sswi_probe()
191 return -ENOTSUPP; in thead_aclint_sswi_probe()
197 /* Announce that SSWI is providing IPIs */ in thead_aclint_sswi_probe()
198 pr_info("providing IPIs using THEAD ACLINT SSWI\n"); in thead_aclint_sswi_probe()
206 return thead_aclint_sswi_probe(&node->fwnode); in thead_aclint_sswi_early_probe()
208 IRQCHIP_DECLARE(thead_aclint_sswi, "thead,c900-aclint-sswi", thead_aclint_sswi_early_probe);