Lines Matching refs:rtl_table
82 static struct ibm_rtl_table __iomem *rtl_table; variable
114 if (ioread8(&rtl_table->rt_status) != value) { in ibm_rtl_write()
115 iowrite8(value, &rtl_table->command); in ibm_rtl_write()
119 cmd_port_val = ioread8(&rtl_table->cmd_port_value); in ibm_rtl_write()
124 cmd_port_val = ioread16(&rtl_table->cmd_port_value); in ibm_rtl_write()
129 cmd_port_val = ioread32(&rtl_table->cmd_port_value); in ibm_rtl_write()
135 while (ioread8(&rtl_table->command)) { in ibm_rtl_write()
146 if (ioread8(&rtl_table->command_status)) { in ibm_rtl_write()
160 return sprintf(buf, "%d\n", (int)ioread8(&rtl_table->version)); in rtl_show_version()
167 return sprintf(buf, "%d\n", ioread8(&rtl_table->rt_status)); in rtl_show_state()
284 rtl_table = tmp; in ibm_rtl_init()
287 rtl_cmd_width = ioread8(&rtl_table->cmd_granularity); in ibm_rtl_init()
288 rtl_cmd_type = ioread8(&rtl_table->cmd_address_type); in ibm_rtl_init()
291 addr = ioread32(&rtl_table->cmd_port_address); in ibm_rtl_init()
316 if (rtl_table) { in ibm_rtl_exit()