Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/x86/
Dibm_rtl.c68 static struct ibm_rtl_table __iomem *rtl_table; variable
100 if (ioread8(&rtl_table->rt_status) != value) { in ibm_rtl_write()
101 iowrite8(value, &rtl_table->command); in ibm_rtl_write()
105 cmd_port_val = ioread8(&rtl_table->cmd_port_value); in ibm_rtl_write()
110 cmd_port_val = ioread16(&rtl_table->cmd_port_value); in ibm_rtl_write()
115 cmd_port_val = ioread32(&rtl_table->cmd_port_value); in ibm_rtl_write()
121 while (ioread8(&rtl_table->command)) { in ibm_rtl_write()
132 if (ioread8(&rtl_table->command_status)) { in ibm_rtl_write()
146 return sprintf(buf, "%d\n", (int)ioread8(&rtl_table->version)); in rtl_show_version()
153 return sprintf(buf, "%d\n", ioread8(&rtl_table->rt_status)); in rtl_show_state()
[all …]