Home
last modified time | relevance | path

Searched refs:rhct (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/acpi/riscv/
Drhct.c15 static struct acpi_table_header *rhct; in acpi_get_rhct() local
22 if (!rhct) { in acpi_get_rhct()
23 status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct); in acpi_get_rhct()
30 return (struct acpi_table_rhct *)rhct; in acpi_get_rhct()
45 struct acpi_table_rhct *rhct; in acpi_get_riscv_isa() local
52 rhct = acpi_get_rhct(); in acpi_get_riscv_isa()
53 if (!rhct) in acpi_get_riscv_isa()
56 rhct = (struct acpi_table_rhct *)table; in acpi_get_riscv_isa()
59 end = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->header.length); in acpi_get_riscv_isa()
61 for (node = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->node_offset); in acpi_get_riscv_isa()
[all …]
DMakefile2 obj-y += rhct.o init.o irq.o
/linux-6.12.1/arch/riscv/kernel/
Dtime.c23 struct acpi_table_rhct *rhct; in time_init() local
36 status = acpi_get_table(ACPI_SIG_RHCT, 0, (struct acpi_table_header **)&rhct); in time_init()
40 riscv_timebase = rhct->time_base_freq; in time_init()
41 acpi_put_table((struct acpi_table_header *)rhct); in time_init()
Dcpufeature.c628 struct acpi_table_header *rhct; in riscv_fill_hwcap_from_isa_string() local
635 status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct); in riscv_fill_hwcap_from_isa_string()
662 rc = acpi_get_riscv_isa(rhct, cpu, &isa); in riscv_fill_hwcap_from_isa_string()
714 if (!acpi_disabled && rhct) in riscv_fill_hwcap_from_isa_string()
715 acpi_put_table((struct acpi_table_header *)rhct); in riscv_fill_hwcap_from_isa_string()
/linux-6.12.1/arch/riscv/mm/
Dcacheflush.c131 struct acpi_table_header *rhct; in riscv_init_cbo_blocksizes() local
143 status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct); in riscv_init_cbo_blocksizes()
147 acpi_get_cbo_block_size(rhct, &cbom_block_size, &cboz_block_size, NULL); in riscv_init_cbo_blocksizes()
148 acpi_put_table((struct acpi_table_header *)rhct); in riscv_init_cbo_blocksizes()
/linux-6.12.1/drivers/clocksource/
Dtimer-riscv.c238 struct acpi_table_rhct *rhct = (struct acpi_table_rhct *)table; in riscv_timer_acpi_init() local
240 riscv_timer_cannot_wake_cpu = rhct->flags & ACPI_RHCT_TIMER_CANNOT_WAKEUP_CPU; in riscv_timer_acpi_init()