Searched refs:rhct (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/acpi/riscv/ |
D | rhct.c | 14 static struct acpi_table_header *rhct; in acpi_get_rhct() local 21 if (!rhct) { in acpi_get_rhct() 22 status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct); in acpi_get_rhct() 29 return rhct; in acpi_get_rhct() 44 struct acpi_table_rhct *rhct; in acpi_get_riscv_isa() local 51 rhct = (struct acpi_table_rhct *)acpi_get_rhct(); in acpi_get_riscv_isa() 52 if (!rhct) in acpi_get_riscv_isa() 55 rhct = (struct acpi_table_rhct *)table; in acpi_get_riscv_isa() 58 end = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->header.length); in acpi_get_riscv_isa() 60 for (node = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->node_offset); in acpi_get_riscv_isa() [all …]
|
D | Makefile | 2 obj-y += rhct.o
|
/Linux-v6.6/arch/riscv/kernel/ |
D | time.c | 22 struct acpi_table_rhct *rhct; in time_init() local 35 status = acpi_get_table(ACPI_SIG_RHCT, 0, (struct acpi_table_header **)&rhct); in time_init() 39 riscv_timebase = rhct->time_base_freq; in time_init() 40 acpi_put_table((struct acpi_table_header *)rhct); in time_init()
|
D | cpufeature.c | 350 struct acpi_table_header *rhct; in riscv_fill_hwcap_from_isa_string() local 355 status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct); in riscv_fill_hwcap_from_isa_string() 378 rc = acpi_get_riscv_isa(rhct, cpu, &isa); in riscv_fill_hwcap_from_isa_string() 415 if (!acpi_disabled && rhct) in riscv_fill_hwcap_from_isa_string() 416 acpi_put_table((struct acpi_table_header *)rhct); in riscv_fill_hwcap_from_isa_string()
|