Lines Matching defs:sti
44 * sti-specific data not available in the ite_data structure.
45 * Since we will only configure one sti display, it is ok to use a global.
54 } sti;
103 * Initialize the sti device for ite's needs.
106 * - since romputchar() does not work with sti devices, there is no way we
119 memset(&sti, 0, sizeof sti);
127 sti.codeptr[i] =
130 for (i = STI_END; sti.codeptr[i] == 0; i--)
132 codesize = sti.codeptr[i] - sti.codeptr[STI_BEGIN];
135 sti.code = (uint8_t *)alloc(codesize);
136 code = sti.code;
137 addr = (u_int)va + sti.codeptr[STI_BEGIN];
143 if (sti.codeptr[i] != 0) {
144 sti.codeptr[i] -= sti.codeptr[0];
145 sti.codeptr[i] /= 4;
148 sti.codeptr[0] = 0;
149 for (i = STI_END; sti.codeptr[i] == 0; i--);
150 sti.codeptr[i] = 0;
159 sti.cfg.regions[i] = (u_int)va + ((tmp >> 18) << 12);
168 sti.cfg.ext_cfg = &sti.ecfg;
171 sti.ecfg.addr = alloc(memsize);
185 sti.cfg.oscr_width = cfg.owidth = cfg.fbwidth - cfg.width;
186 sti.cfg.oscr_height = cfg.oheight = cfg.fbheight - cfg.height;
219 a.in.font_addr = (uint32_t *)((uint8_t *)ip->fbbase + sti.fontbase);
222 unpmv = (sti_unpmv_t)(sti.code + sti.codeptr[STI_FONT_UNPMV]);
223 (*unpmv)(&a.flags, &a.in, &a.out, &sti.cfg);
263 blkmv = (sti_blkmv_t)(sti.code + sti.codeptr[STI_BLOCK_MOVE]);
264 (*blkmv)(&a.flags, &a.in, &a.out, &sti.cfg);
285 blkmv = (sti_blkmv_t)(sti.code + sti.codeptr[STI_BLOCK_MOVE]);
286 (*blkmv)(&a.flags, &a.in, &a.out, &sti.cfg);
309 blkmv = (sti_blkmv_t)(sti.code + sti.codeptr[STI_BLOCK_MOVE]);
310 (*blkmv)(&a.flags, &a.in, &a.out, &sti.cfg);
319 fontbase = sti.fontbase = parseword1(fbbase, 0x30) & ~3;
343 init = (sti_init_t)(sti.code + sti.codeptr[STI_INIT_GRAPH]);
344 (*init)(&a.flags, &a.in, &a.out, &sti.cfg);
359 inqconf = (sti_inqconf_t)(sti.code + sti.codeptr[STI_INQ_CONF]);
360 (*inqconf)(&a.flags, &a.in, ico, &sti.cfg);