Lines Matching refs:ali_write

41 static void ali_write(u8 index, u8 value)  in ali_write()  function
66 ali_write(0x07, dev)
73 ali_write(0x02, 0x01); /* soft reset */ in ali512x_init()
74 ali_write(0x03, 0x03); /* disable access to CIOs */ in ali512x_init()
75 ali_write(0x22, 0x00); /* disable direct powerdown */ in ali512x_init()
76 ali_write(0x23, 0x00); /* disable auto powerdown */ in ali512x_init()
77 ali_write(0x24, 0x00); /* IR 8 is active hi, pin26 is PDIR */ in ali512x_init()
87 ali_write(0x30, enabled?1:0); in ali512x_set_fdc()
89 ali_write(0x60, io >> 8); in ali512x_set_fdc()
90 ali_write(0x61, io & 0xff); in ali512x_set_fdc()
91 ali_write(0x70, irq); in ali512x_set_fdc()
92 ali_write(0x74, dma_channel); in ali512x_set_fdc()
95 ali_write(0xf0, 0x08); in ali512x_set_fdc()
96 ali_write(0xf1, 0x00); in ali512x_set_fdc()
97 ali_write(0xf2, 0xff); in ali512x_set_fdc()
98 ali_write(0xf4, 0x00); in ali512x_set_fdc()
109 ali_write(0x30, enabled?1:0); in ali512x_set_pp()
111 ali_write(0x60, io >> 8); in ali512x_set_pp()
112 ali_write(0x61, io & 0xff); in ali512x_set_pp()
113 ali_write(0x70, irq); in ali512x_set_pp()
114 ali_write(0x74, dma_channel); in ali512x_set_pp()
117 ali_write(0xf0, 0xbc); in ali512x_set_pp()
119 ali_write(0xf1, 0x05); in ali512x_set_pp()
130 ali_write(0x30, enabled?1:0); in ali512x_set_uart()
132 ali_write(0x60, io >> 8); in ali512x_set_uart()
133 ali_write(0x61, io & 0xff); in ali512x_set_uart()
134 ali_write(0x70, irq); in ali512x_set_uart()
136 ali_write(0xf0, 0x00); in ali512x_set_uart()
137 ali_write(0xf1, 0x00); in ali512x_set_uart()
143 ali_write(0xf2, 0x00); in ali512x_set_uart()
145 ali_write(0xf2, 0x0c); in ali512x_set_uart()
156 ali_write(0xf1, enabled?0x48:0x00); /* fullduplex IrDa */ in ali512x_set_uart2_irda()
166 ali_write(0x30, enabled?1:0); in ali512x_set_rtc()
168 ali_write(0x60, io >> 8); in ali512x_set_rtc()
169 ali_write(0x61, io & 0xff); in ali512x_set_rtc()
170 ali_write(0x70, irq); in ali512x_set_rtc()
172 ali_write(0xf0, 0x00); in ali512x_set_rtc()
182 ali_write(0x30, enabled?1:0); in ali512x_set_kbc()
184 ali_write(0x70, kbc_irq); in ali512x_set_kbc()
185 ali_write(0x72, mouse_irq); in ali512x_set_kbc()
187 ali_write(0xf0, 0x00); in ali512x_set_kbc()
306 ali_write(0x3, ALI_CIO_PORT_SEL); /* Enable CIO data register */ in ali512x_set_cio()
308 ali_write(0x3, ALI_CIO_PORT_SEL & ~0x80); in ali512x_set_cio()
313 ali_write(0x30, enabled?1:0); in ali512x_set_cio()
317 ali_write(i, 1); in ali512x_set_cio()
321 ali_write(i, 1); in ali512x_set_cio()
361 ali_write(addr, data); in ali512x_cio_function()