Lines Matching +full:0 +full:- +full:128
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 u8 size; /* 1-11, size of used data bytes. */
28 * cmd 0x8e
30 * offset 0
31 * data 0,0,0,0....
33 #define CMD_INIT 0x8e
37 * cmd 0x80
39 * offset 0
40 * data[0] on return returns the key number, if it changes there's a new
43 #define CMD_KEYPRESS 0x80
47 * cmd 0x81
49 * offset key number [0-1f]
50 * data[0] on return returns the scancode
52 #define CMD_SCANCODE 0x81
56 * cmd 0x04
57 * size 1-11
58 * offset 0-23
61 #define CMD_LCD 0x04
65 * cmd 0x05
67 * offset 0
68 * data[0] 0 OFF / 1 ON
70 #define CMD_LED 0x05
74 * cmd 0x11
76 * offset 0
77 * data[0] 0-0xff volume
79 #define CMD_RING_VOLUME 0x11
83 * cmd 0x02
84 * size 1-11
85 * offset 0->
86 * data binary representation LE16(-freq), LE16(duration) ....
88 #define CMD_RING_NOTE 0x02
92 * cmd 0x03
94 * offset 0
95 * data[0] 0 OFF / 0x24 ON
97 #define CMD_RINGTONE 0x03
101 * cmd 0x09
103 * offset 0
104 * data[0] 0 OFF / 1 ON
106 #define CMD_DIALTONE 0x09
134 #define LCD_LINE1_OFFSET 0
139 _SEG('1', 0,0 , 22,2 , 22,2 , 0,0 , 0,0 , 0,0 , 0,0 ),
153 _SEG('1', 0,0 , 5,1 , 5,1 , 0,0 , 0,0 , 0,0 , 0,0 ),
170 _PIC('.', 0,1 , "TH" ),
171 _PIC('.', 0,2 , "FR" ),
172 _PIC('.', 0,4 , "SA" ),
180 _SEG('8', 22,16, 22,32, 22,64, 22,128, 23,128, 23,64, 23,32 ),
181 _SEG('8', 20,16, 20,32, 20,64, 20,128, 21,128, 21,64, 21,32 ),
182 _SEG('8', 18,16, 18,32, 18,64, 18,128, 19,128, 19,64, 19,32 ),
183 _SEG('8', 16,16, 16,32, 16,64, 16,128, 17,128, 17,64, 17,32 ),
184 _SEG('8', 14,16, 14,32, 14,64, 14,128, 15,128, 15,64, 15,32 ),
185 _SEG('8', 12,16, 12,32, 12,64, 12,128, 13,128, 13,64, 13,32 ),
186 _SEG('8', 10,16, 10,32, 10,64, 10,128, 11,128, 11,64, 11,32 ),
187 _SEG('8', 8,16, 8,32, 8,64, 8,128, 9,128, 9,64, 9,32 ),
188 _SEG('8', 6,16, 6,32, 6,64, 6,128, 7,128, 7,64, 7,32 ),
189 _SEG('8', 4,16, 4,32, 4,64, 4,128, 5,128, 5,64, 5,32 ),
190 _SEG('8', 2,16, 2,32, 2,64, 2,128, 3,128, 3,64, 3,32 ),
191 _SEG('8', 0,16, 0,32, 0,64, 0,128, 1,128, 1,64, 1,32 ),
200 _PIC('.', offsetof(struct yld_status, led) , 0x01, "LED" ),
201 _PIC('.', offsetof(struct yld_status, dialtone) , 0x01, "DIALTONE" ),
202 _PIC('.', offsetof(struct yld_status, ringtone) , 0x24, "RINGTONE" ),