• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/osfmk/console/

Lines Matching defs:vinfo

118 struct vc_info vinfo;
307 end = vinfo.v_columns-1;
315 end = vinfo.v_columns-1;
423 buffer_columns = vinfo.v_columns;
424 buffer_rows = vinfo.v_rows;
474 gc_ops.clear_screen(gc_x, gc_y, 0, vinfo.v_rows, 2);
577 if (gc_x >= vinfo.v_columns) {
578 if (0 == vinfo.v_columns)
581 gc_x = vinfo.v_columns - 1;
583 if (gc_y >= vinfo.v_rows) {
584 if (0 == vinfo.v_rows)
587 gc_y = vinfo.v_rows - 1;
646 for (yy = 0; yy < vinfo.v_rows; yy++)
647 for (xx = 0; xx < vinfo.v_columns; xx++)
666 gc_clear_screen(gc_x, gc_y, 0, vinfo.v_rows, 2);
780 if (gc_x >= vinfo.v_columns)
781 gc_x = vinfo.v_columns-1;
806 gc_clear_screen(gc_x, gc_y, 0, vinfo.v_rows, gc_par[0]);
819 for (i = 0; i <= vinfo.v_columns; i++)
869 if ((gc_numpars > 0) && (gc_par[0] < vinfo.v_rows)) {
874 if ((gc_numpars > 1) && (gc_par[1] <= vinfo.v_rows) && (gc_par[1] > gc_par[0])) {
876 if (gc_scrreg_bottom > vinfo.v_rows)
877 gc_scrreg_bottom = vinfo.v_rows;
879 gc_scrreg_bottom = vinfo.v_rows;
904 if (gc_buffer_tab_stops) while (gc_x < vinfo.v_columns && !gc_is_tab_stop(++gc_x));
906 if (gc_x >= vinfo.v_columns)
907 gc_x = vinfo.v_columns-1;
951 if (gc_x == vinfo.v_columns - 1) {
992 for (i = 0; i < vinfo.v_columns; i++) {
1001 if (gc_buffer_tab_stops && (column < vinfo.v_columns)) {
1010 if (column < vinfo.v_columns)
1021 gc_scrreg_bottom = vinfo.v_rows;
1136 gc_clear_screen(vinfo.v_columns - 1, top + num - 1, top, bottom, 1);
1387 if(!vinfo.v_depth)
1390 linelongs = vinfo.v_rowbytes * (ISO_CHAR_HEIGHT >> 2);
1391 rowline = vinfo.v_rowscanbytes >> 2;
1392 rowlongs = vinfo.v_rowbytes >> 2;
1394 p = (uint32_t*) vinfo.v_baseaddr;
1395 endp = (uint32_t*) vinfo.v_baseaddr;
1414 if (scrreg_bottom == vinfo.v_rows) {
1415 endp += rowlongs * vinfo.v_height;
1478 where = (uint32_t*)(vinfo.v_baseaddr +
1479 (yy * ISO_CHAR_HEIGHT * vinfo.v_rowbytes) +
1491 where = (uint32_t*)(((unsigned char*)where)+vinfo.v_rowbytes);
1515 where = (uint32_t*)(((unsigned char*)where)+vinfo.v_rowbytes);
1535 where = (uint32_t*)(vinfo.v_baseaddr +
1536 (yy * ISO_CHAR_HEIGHT * vinfo.v_rowbytes) +
1548 where = (uint32_t*)(((unsigned char*)where)+vinfo.v_rowbytes);
1568 where = (uint32_t*)(((unsigned char*)where)+vinfo.v_rowbytes);
1596 where = (uint32_t*)(vinfo.v_baseaddr +
1597 (yy * ISO_CHAR_HEIGHT * vinfo.v_rowbytes) +
1613 where = (uint32_t *)(((unsigned char*)where)+vinfo.v_rowbytes);
1631 where = (uint32_t*)(((unsigned char*)where)+vinfo.v_rowbytes);
1640 if(!vinfo.v_depth)
1643 switch(vinfo.v_depth) {
1726 vc_render_font(enable ? vinfo.v_depth : 0);
1735 if(!vinfo.v_depth)
1738 where = (uint32_t*)(vinfo.v_baseaddr +
1739 (yy * ISO_CHAR_HEIGHT * vinfo.v_rowbytes) +
1740 (xx /** ISO_CHAR_WIDTH*/ * vinfo.v_depth));
1742 switch (vinfo.v_depth) {
1756 where = (uint32_t*)(((unsigned char*)where)+vinfo.v_rowbytes);
1765 if(!vinfo.v_depth)
1768 linelongs = vinfo.v_rowbytes * (ISO_CHAR_HEIGHT >> 2);
1769 rowline = vinfo.v_rowbytes >> 2;
1770 rowscanline = vinfo.v_rowscanbytes >> 2;
1772 to = (uint32_t *) vinfo.v_baseaddr + (linelongs * scrreg_bottom)
1784 (from-(vinfo.v_rowscanbytes >> 2)),
1798 if(!vinfo.v_depth)
1801 linelongs = vinfo.v_rowbytes * (ISO_CHAR_HEIGHT >> 2);
1802 rowline = vinfo.v_rowbytes >> 2;
1803 rowscanline = vinfo.v_rowscanbytes >> 2;
1805 to = (uint32_t *) vinfo.v_baseaddr + (scrreg_top * linelongs);
1816 (from+(vinfo.v_rowscanbytes >> 2)),
1828 if (!vinfo.v_depth)
1831 vc_color_fore = vc_colors[color][vc_color_index_table[vinfo.v_depth]];
1833 vc_color_back = vc_colors[color][vc_color_index_table[vinfo.v_depth]];
1925 if(!vinfo.v_depth)
1928 switch( vinfo.v_depth) {
1969 dst = (volatile unsigned short *) (vinfo.v_baseaddr +
1970 (y * vinfo.v_rowbytes) +
1985 dst = (volatile unsigned short *) (((volatile char*)dst) + vinfo.v_rowbytes);
2029 dst = (volatile unsigned short *) (vinfo.v_baseaddr +
2030 (y * vinfo.v_rowbytes) +
2063 dst = (volatile unsigned short *) (((volatile char*)dst) + vinfo.v_rowbytes);
2095 dst = (volatile unsigned int *) (vinfo.v_baseaddr +
2096 (y * vinfo.v_rowbytes) +
2128 dst = (volatile unsigned int *) (((volatile char*)dst) + vinfo.v_rowbytes);
2160 dst = (volatile unsigned int *) (vinfo.v_baseaddr +
2161 (y * vinfo.v_rowbytes) +
2196 dst = (volatile unsigned int *) (((volatile char*)dst) + vinfo.v_rowbytes);
2208 vc_blit_rect(0, 0, 0, vinfo.v_width, vinfo.v_height, 0, 0, color, NULL, 0);
2291 uint32_t bytes_per_row = vinfo.v_rowbytes;
2295 image_start = (uint32_t *) (vinfo.v_baseaddr + (dst_y * bytes_per_row) + (dst_x * bytes_per_pixel));
2370 x += ((vinfo.v_width - width) / 2);
2371 y += ((vinfo.v_height - height) / 2);
2459 saveLen = (vc_progress->width * vc_uiscale) * (vc_progress->height * vc_uiscale) * vinfo.v_depth / 8;
2462 switch( vinfo.v_depth) {
2599 x += ((vinfo.v_width - width) / 2);
2600 y += ((vinfo.v_height - height) / 2);
2603 assert(((x + width) < (int)vinfo.v_width) &&
2604 ((y + height) < (int)vinfo.v_height));
2677 vinfo.v_rows = vinfo.v_height / ISO_CHAR_HEIGHT;
2678 vinfo.v_columns = vinfo.v_width / ISO_CHAR_WIDTH;
2679 vinfo.v_rowscanbytes = ((vinfo.v_depth + 7) / 8) * vinfo.v_width;
2680 vc_uiscale = vinfo.v_scale;
2695 struct vc_info new_vinfo = vinfo;
2776 /* Update the vinfo structure atomically with respect to the vc_progress task if running */
2780 vinfo = new_vinfo;
2785 vinfo = new_vinfo;
2824 gc_initialize(&vinfo);
2928 if(!vinfo.v_depth)
2931 if ( vinfo.v_depth == 32 )
2933 else if ( vinfo.v_depth == 30 )
2935 else if ( vinfo.v_depth == 16 )
2940 rowline = (int)(vinfo.v_rowscanbytes / 4);
2941 rowlongs = (int)(vinfo.v_rowbytes / 4);
2943 p = (unsigned int*) vinfo.v_baseaddr;
2944 endp = p + (rowlongs * vinfo.v_height);
3006 ox = ((vinfo.v_width - (kProgressBarWidth * vc_uiscale)) / 2);
3007 oy = vinfo.v_height - (vinfo.v_height / 3) - ((kProgressBarHeight * vc_uiscale) / 2);