Lines Matching refs:ps2_0_dev

36 static const struct device *const ps2_0_dev =  variable
43 ps2_disable_callback(ps2_0_dev); in saturate_ps2()
46 ps2_enable_callback(ps2_0_dev); in saturate_ps2()
52 ps2_disable_callback(ps2_0_dev); in mb_callback()
77 ps2_write(ps2_0_dev, 0xf4); in initialize_mouse()
80 ps2_write(ps2_0_dev, 0xff); in initialize_mouse()
83 ps2_write(ps2_0_dev, 0xff); in initialize_mouse()
86 ps2_write(ps2_0_dev, 0xf2); in initialize_mouse()
89 ps2_write(ps2_0_dev, 0xe8); in initialize_mouse()
92 ps2_write(ps2_0_dev, 0x00); in initialize_mouse()
95 ps2_write(ps2_0_dev, 0xe6); in initialize_mouse()
98 ps2_write(ps2_0_dev, 0xe6); in initialize_mouse()
101 ps2_write(ps2_0_dev, 0xe6); in initialize_mouse()
104 ps2_write(ps2_0_dev, 0xe9); in initialize_mouse()
107 ps2_write(ps2_0_dev, 0xe8); in initialize_mouse()
110 ps2_write(ps2_0_dev, 0x03); in initialize_mouse()
113 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
116 ps2_write(ps2_0_dev, 0xc8); in initialize_mouse()
119 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
122 ps2_write(ps2_0_dev, 0x64); in initialize_mouse()
124 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
127 ps2_write(ps2_0_dev, 0x50); in initialize_mouse()
130 ps2_write(ps2_0_dev, 0xf2); in initialize_mouse()
133 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
136 ps2_write(ps2_0_dev, 0xc8); in initialize_mouse()
139 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
142 ps2_write(ps2_0_dev, 0xc8); in initialize_mouse()
145 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
148 ps2_write(ps2_0_dev, 0x50); in initialize_mouse()
151 ps2_write(ps2_0_dev, 0xf2); in initialize_mouse()
154 ps2_write(ps2_0_dev, 0xf3); in initialize_mouse()
157 ps2_write(ps2_0_dev, 0x64); in initialize_mouse()
160 ps2_write(ps2_0_dev, 0xe8); in initialize_mouse()
163 ps2_write(ps2_0_dev, 0x03); in initialize_mouse()
166 ps2_write(ps2_0_dev, 0xf4); in initialize_mouse()
179 if (!device_is_ready(ps2_0_dev)) { in main()
180 printk("%s: device not ready.\n", ps2_0_dev->name); in main()
183 ps2_config(ps2_0_dev, mb_callback); in main()