Lines Matching +full:0 +full:x7d
96 TS5500_DIO_IN_OUT(vaddr, vbitfrom + 0, caddr, cbit), \
107 * 0x7b 0 0x7a 0 x x DIO1_0 1 0
108 * 0x7b 1 0x7a 0 x x DIO1_1 3 1
109 * 0x7b 2 0x7a 0 x x DIO1_2 5 2
110 * 0x7b 3 0x7a 0 x x DIO1_3 7 3
111 * 0x7b 4 0x7a 1 x x DIO1_4 9 4
112 * 0x7b 5 0x7a 1 x x DIO1_5 11 5
113 * 0x7b 6 0x7a 1 x x DIO1_6 13 6
114 * 0x7b 7 0x7a 1 x x DIO1_7 15 7
115 * 0x7c 0 0x7a 5 x x DIO1_8 4 8
116 * 0x7c 1 0x7a 5 x x DIO1_9 6 9
117 * 0x7c 2 0x7a 5 x x DIO1_10 8 10
118 * 0x7c 3 0x7a 5 x x DIO1_11 10 11
119 * 0x7c 4 x DIO1_12 12 12
120 * 0x7c 5 x 7 DIO1_13 14 13
123 TS5500_DIO_GROUP(0x7b, 0, 0x7a, 0),
124 TS5500_DIO_GROUP(0x7b, 4, 0x7a, 1),
125 TS5500_DIO_GROUP(0x7c, 0, 0x7a, 5),
126 TS5500_DIO_IN(0x7c, 4),
127 TS5500_DIO_IN_IRQ(0x7c, 5, 7),
136 * 0x7e 0 0x7d 0 x x DIO2_0 1 0
137 * 0x7e 1 0x7d 0 x x DIO2_1 3 1
138 * 0x7e 2 0x7d 0 x x DIO2_2 5 2
139 * 0x7e 3 0x7d 0 x x DIO2_3 7 3
140 * 0x7e 4 0x7d 1 x x DIO2_4 9 4
141 * 0x7e 5 0x7d 1 x x DIO2_5 11 5
142 * 0x7e 6 0x7d 1 x x DIO2_6 13 6
143 * 0x7e 7 0x7d 1 x x DIO2_7 15 7
144 * 0x7f 0 0x7d 5 x x DIO2_8 4 8
145 * 0x7f 1 0x7d 5 x x DIO2_9 6 9
146 * 0x7f 2 0x7d 5 x x DIO2_10 8 10
147 * 0x7f 3 0x7d 5 x x DIO2_11 10 11
148 * 0x7f 4 x 6 DIO2_13 14 12
151 TS5500_DIO_GROUP(0x7e, 0, 0x7d, 0),
152 TS5500_DIO_GROUP(0x7e, 4, 0x7d, 1),
153 TS5500_DIO_GROUP(0x7f, 0, 0x7d, 5),
154 TS5500_DIO_IN_IRQ(0x7f, 4, 6),
164 * 0x72 0 0x7d 2 x x LCD_0 8 0
165 * 0x72 1 0x7d 2 x x LCD_1 7 1
166 * 0x72 2 0x7d 2 x x LCD_2 10 2
167 * 0x72 3 0x7d 2 x x LCD_3 9 3
168 * 0x72 4 0x7d 3 x x LCD_4 12 4
169 * 0x72 5 0x7d 3 x x LCD_5 11 5
170 * 0x72 6 0x7d 3 x x LCD_6 14 6
171 * 0x72 7 0x7d 3 x x LCD_7 13 7
172 * 0x73 0 x LCD_EN 5 8
173 * 0x73 6 x LCD_WR 6 9
174 * 0x73 7 x 1 LCD_RS 3 10
177 TS5500_DIO_GROUP(0x72, 0, 0x7d, 2),
178 TS5500_DIO_GROUP(0x72, 4, 0x7d, 3),
179 TS5500_DIO_OUT(0x73, 0),
180 TS5500_DIO_IN(0x73, 6),
181 TS5500_DIO_IN_IRQ(0x73, 7, 1),
208 return 0; in ts5500_gpio_input()
214 return 0; in ts5500_gpio_input()
244 return 0; in ts5500_gpio_output()
280 int ret = 0; in ts5500_enable_irq()
285 ts5500_set_mask(BIT(7), 0x7a); /* DIO1_13 on IRQ7 */ in ts5500_enable_irq()
287 ts5500_set_mask(BIT(7), 0x7d); /* DIO2_13 on IRQ6 */ in ts5500_enable_irq()
289 ts5500_set_mask(BIT(6), 0x7d); /* LCD_RS on IRQ1 */ in ts5500_enable_irq()
303 ts5500_clear_mask(BIT(7), 0x7a); /* DIO1_13 on IRQ7 */ in ts5500_disable_irq()
305 ts5500_clear_mask(BIT(7), 0x7d); /* DIO2_13 on IRQ6 */ in ts5500_disable_irq()
307 ts5500_clear_mask(BIT(6), 0x7d); /* LCD_RS on IRQ1 */ in ts5500_disable_irq()
323 ret = platform_get_irq(pdev, 0); in ts5500_dio_probe()
324 if (ret < 0) in ts5500_dio_probe()
350 if (!devm_request_region(dev, 0x7a, 3, name)) { in ts5500_dio_probe()
359 if (!devm_request_region(dev, 0x7e, 2, name)) { in ts5500_dio_probe()
367 if (!devm_request_region(dev, 0x7d, 1, name)) { in ts5500_dio_probe()
379 if (!devm_request_region(dev, 0x72, 2, name)) { in ts5500_dio_probe()
385 if (!devm_request_region(dev, 0x7d, 1, name)) { in ts5500_dio_probe()
395 ts5500_clear_mask(BIT(4), 0x7d); in ts5500_dio_probe()
412 return 0; in ts5500_dio_probe()
421 return 0; in ts5500_dio_remove()