Lines Matching +full:prop +full:-
1 // SPDX-License-Identifier: GPL-2.0
136 * - build some kind of vgacon with it to enable early printk
137 * - move to a separate file
138 * - add a few video driver hooks to keep in sync with display
152 offset = ((unsigned long) dispDeviceBase) - base; in btext_map()
166 const u32 *prop; in btext_initialize() local
168 prop = of_get_property(np, "linux,bootx-width", NULL); in btext_initialize()
169 if (prop == NULL) in btext_initialize()
170 prop = of_get_property(np, "width", NULL); in btext_initialize()
171 if (prop == NULL) in btext_initialize()
172 return -EINVAL; in btext_initialize()
173 width = *prop; in btext_initialize()
174 prop = of_get_property(np, "linux,bootx-height", NULL); in btext_initialize()
175 if (prop == NULL) in btext_initialize()
176 prop = of_get_property(np, "height", NULL); in btext_initialize()
177 if (prop == NULL) in btext_initialize()
178 return -EINVAL; in btext_initialize()
179 height = *prop; in btext_initialize()
180 prop = of_get_property(np, "linux,bootx-depth", NULL); in btext_initialize()
181 if (prop == NULL) in btext_initialize()
182 prop = of_get_property(np, "depth", NULL); in btext_initialize()
183 if (prop == NULL) in btext_initialize()
184 return -EINVAL; in btext_initialize()
185 depth = *prop; in btext_initialize()
187 prop = of_get_property(np, "linux,bootx-linebytes", NULL); in btext_initialize()
188 if (prop == NULL) in btext_initialize()
189 prop = of_get_property(np, "linebytes", NULL); in btext_initialize()
190 if (prop && *prop != 0xffffffffu) in btext_initialize()
191 pitch = *prop; in btext_initialize()
194 prop = of_get_property(np, "linux,bootx-addr", NULL); in btext_initialize()
195 if (prop == NULL) in btext_initialize()
196 prop = of_get_property(np, "address", NULL); in btext_initialize()
197 if (prop) in btext_initialize()
198 address = *prop; in btext_initialize()
204 return -EINVAL; in btext_initialize()
225 int rc = -ENODEV; in btext_find_display()
296 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_clearscreen()
301 for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1]); i++) in btext_clearscreen()
304 for(j=width; j; --j) in btext_clearscreen()
314 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_flushscreen()
318 for (i=0; i < (dispDeviceRect[3] - dispDeviceRect[1]); i++) in btext_flushscreen()
321 for(j = width; j > 0; j -= 8) { in btext_flushscreen()
333 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_flushline()
340 for(j = width; j > 0; j -= 8) { in btext_flushline()
355 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in scrollscreen()
361 for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1] - 16); i++) in scrollscreen()
365 for(j=width; j; --j) in scrollscreen()
373 for(j=width; j; --j) in scrollscreen()
418 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
419 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32()
420 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32()
421 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
422 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
423 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
424 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32()
425 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32()
500 --g_loc_X; in btext_drawchar()
503 g_loc_X = (g_loc_X & -8) + 8; in btext_drawchar()
524 g_loc_Y--; in btext_drawchar()
528 waste time scrolling each line. -- paulus. */ in btext_drawchar()
550 while (len--) in btext_drawtext()