Lines Matching refs:rtl_table
68 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()
270 rtl_table = tmp; in ibm_rtl_init()
273 rtl_cmd_width = ioread8(&rtl_table->cmd_granularity); in ibm_rtl_init()
274 rtl_cmd_type = ioread8(&rtl_table->cmd_address_type); in ibm_rtl_init()
277 addr = ioread32(&rtl_table->cmd_port_address); in ibm_rtl_init()
302 if (rtl_table) { in ibm_rtl_exit()