Lines Matching refs:vc_num

1042 		     vc->vc_num + 1);  in say_position()
1352 int vc_num; in speakup_allocate() local
1354 vc_num = vc->vc_num; in speakup_allocate()
1355 if (!speakup_console[vc_num]) { in speakup_allocate()
1356 speakup_console[vc_num] = kzalloc(sizeof(*speakup_console[0]), in speakup_allocate()
1358 if (!speakup_console[vc_num]) in speakup_allocate()
1370 int vc_num; in speakup_deallocate() local
1372 vc_num = vc->vc_num; in speakup_deallocate()
1373 kfree(speakup_console[vc_num]); in speakup_deallocate()
1374 speakup_console[vc_num] = NULL; in speakup_deallocate()
1409 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1441 cursor_con = vc->vc_num; in start_read_all_timer()
1563 speakup_console[vc->vc_num]->ht.cy = vc->state.y; in do_handle_cursor()
1564 cursor_con = vc->vc_num; in do_handle_cursor()
1576 int vc_num = vc->vc_num; in update_color_buffer() local
1579 hi = speakup_console[vc_num]->ht.highsize[bi]; in update_color_buffer()
1582 if (speakup_console[vc_num]->ht.highsize[bi] == 0) { in update_color_buffer()
1583 speakup_console[vc_num]->ht.rpos[bi] = vc->vc_pos; in update_color_buffer()
1584 speakup_console[vc_num]->ht.rx[bi] = vc->state.x; in update_color_buffer()
1585 speakup_console[vc_num]->ht.ry[bi] = vc->state.y; in update_color_buffer()
1589 speakup_console[vc_num]->ht.highbuf[bi][hi] = ic[i]; in update_color_buffer()
1592 if (speakup_console[vc_num]->ht.highbuf[bi][hi - 1] != in update_color_buffer()
1594 speakup_console[vc_num]->ht.highbuf[bi][hi] = in update_color_buffer()
1601 speakup_console[vc_num]->ht.highsize[bi] = hi; in update_color_buffer()
1607 int vc_num = vc->vc_num; in reset_highlight_buffers() local
1610 speakup_console[vc_num]->ht.highsize[i] = 0; in reset_highlight_buffers()
1617 int vc_num = vc->vc_num; in count_highlight_color() local
1622 speakup_console[vc_num]->ht.bgcount[i] = 0; in count_highlight_color()
1631 speakup_console[vc_num]->ht.bgcount[bg]++; in count_highlight_color()
1638 if (speakup_console[vc_num]->ht.bgcount[i] > 0) in count_highlight_color()
1647 int vc_num = vc->vc_num; in get_highlight_color() local
1654 if (speakup_console[vc_num]->ht.bgcount[cptr[i]] > in get_highlight_color()
1655 speakup_console[vc_num]->ht.bgcount[cptr[j]]) in get_highlight_color()
1659 if (speakup_console[vc_num]->ht.bgcount[cptr[i]] != 0) in get_highlight_color()
1660 if (speakup_console[vc_num]->ht.highsize[cptr[i]] > 0) in get_highlight_color()
1668 int vc_num = vc->vc_num; in speak_highlight() local
1674 d = vc->state.y - speakup_console[vc_num]->ht.cy; in speak_highlight()
1676 if (speakup_console[vc_num]->ht.ry[hc] != vc->state.y) in speak_highlight()
1680 spkup_write(speakup_console[vc_num]->ht.highbuf[hc], in speak_highlight()
1681 speakup_console[vc_num]->ht.highsize[hc]); in speak_highlight()
1682 spk_pos = spk_cp = speakup_console[vc_num]->ht.rpos[hc]; in speak_highlight()
1683 spk_x = spk_cx = speakup_console[vc_num]->ht.rx[hc]; in speak_highlight()
1684 spk_y = spk_cy = speakup_console[vc_num]->ht.ry[hc]; in speak_highlight()
1742 if (!speakup_console[vc->vc_num]) in speakup_bs()
1753 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1766 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1795 if (!speakup_console[vc->vc_num] || spk_parked || !synth) in speakup_con_update()
1832 if (speakup_console[vc->vc_num]) in do_handle_spec()
1833 speakup_console[vc->vc_num]->tty_stopped = on_off; in do_handle_spec()