Home
last modified time | relevance | path

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

/linux/arch/riscv/include/asm/
H A Dirq.h39 unsigned long acpi_rintc_ext_parent_to_hartid(unsigned int plic_id, unsigned int ctxt_idx);
40 unsigned int acpi_rintc_get_plic_nr_contexts(unsigned int plic_id);
41 unsigned int acpi_rintc_get_plic_context(unsigned int plic_id, unsigned int ctxt_idx);
56 static inline unsigned long acpi_rintc_ext_parent_to_hartid(unsigned int plic_id, in acpi_rintc_ext_parent_to_hartid() argument
62 static inline unsigned int acpi_rintc_get_plic_nr_contexts(unsigned int plic_id) in acpi_rintc_get_plic_nr_contexts() argument
67 static inline unsigned int acpi_rintc_get_plic_context(unsigned int plic_id, unsigned int ctxt_idx) in acpi_rintc_get_plic_context() argument
/linux/drivers/irqchip/
H A Dirq-riscv-intc.c278 unsigned int acpi_rintc_get_plic_nr_contexts(unsigned int plic_id) in acpi_rintc_get_plic_nr_contexts() argument
282 for_each_matching_plic(plic_id) in acpi_rintc_get_plic_nr_contexts()
288 static struct rintc_data *get_plic_context(unsigned int plic_id, unsigned int ctxt_idx) in get_plic_context() argument
292 for_each_matching_plic(plic_id) { in get_plic_context()
302 unsigned long acpi_rintc_ext_parent_to_hartid(unsigned int plic_id, unsigned int ctxt_idx) in acpi_rintc_ext_parent_to_hartid() argument
304 struct rintc_data *data = get_plic_context(plic_id, ctxt_idx); in acpi_rintc_ext_parent_to_hartid()
309 unsigned int acpi_rintc_get_plic_context(unsigned int plic_id, unsigned int ctxt_idx) in acpi_rintc_get_plic_context() argument
311 struct rintc_data *data = get_plic_context(plic_id, ctxt_idx); in acpi_rintc_get_plic_context()