Lines Matching refs:vc_num

1041 		     vc->vc_num + 1);  in say_position()
1342 int vc_num; in speakup_allocate() local
1344 vc_num = vc->vc_num; in speakup_allocate()
1345 if (!speakup_console[vc_num]) { in speakup_allocate()
1346 speakup_console[vc_num] = kzalloc(sizeof(*speakup_console[0]), in speakup_allocate()
1348 if (!speakup_console[vc_num]) in speakup_allocate()
1360 int vc_num; in speakup_deallocate() local
1362 vc_num = vc->vc_num; in speakup_deallocate()
1363 kfree(speakup_console[vc_num]); in speakup_deallocate()
1364 speakup_console[vc_num] = NULL; in speakup_deallocate()
1399 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1431 cursor_con = vc->vc_num; in start_read_all_timer()
1553 speakup_console[vc->vc_num]->ht.cy = vc->state.y; in do_handle_cursor()
1554 cursor_con = vc->vc_num; in do_handle_cursor()
1566 int vc_num = vc->vc_num; in update_color_buffer() local
1569 hi = speakup_console[vc_num]->ht.highsize[bi]; in update_color_buffer()
1572 if (speakup_console[vc_num]->ht.highsize[bi] == 0) { in update_color_buffer()
1573 speakup_console[vc_num]->ht.rpos[bi] = vc->vc_pos; in update_color_buffer()
1574 speakup_console[vc_num]->ht.rx[bi] = vc->state.x; in update_color_buffer()
1575 speakup_console[vc_num]->ht.ry[bi] = vc->state.y; in update_color_buffer()
1579 speakup_console[vc_num]->ht.highbuf[bi][hi] = ic[i]; in update_color_buffer()
1582 if (speakup_console[vc_num]->ht.highbuf[bi][hi - 1] != in update_color_buffer()
1584 speakup_console[vc_num]->ht.highbuf[bi][hi] = in update_color_buffer()
1591 speakup_console[vc_num]->ht.highsize[bi] = hi; in update_color_buffer()
1597 int vc_num = vc->vc_num; in reset_highlight_buffers() local
1600 speakup_console[vc_num]->ht.highsize[i] = 0; in reset_highlight_buffers()
1607 int vc_num = vc->vc_num; in count_highlight_color() local
1612 speakup_console[vc_num]->ht.bgcount[i] = 0; in count_highlight_color()
1621 speakup_console[vc_num]->ht.bgcount[bg]++; in count_highlight_color()
1628 if (speakup_console[vc_num]->ht.bgcount[i] > 0) in count_highlight_color()
1637 int vc_num = vc->vc_num; in get_highlight_color() local
1644 if (speakup_console[vc_num]->ht.bgcount[cptr[i]] > in get_highlight_color()
1645 speakup_console[vc_num]->ht.bgcount[cptr[j]]) in get_highlight_color()
1649 if (speakup_console[vc_num]->ht.bgcount[cptr[i]] != 0) in get_highlight_color()
1650 if (speakup_console[vc_num]->ht.highsize[cptr[i]] > 0) in get_highlight_color()
1658 int vc_num = vc->vc_num; in speak_highlight() local
1664 d = vc->state.y - speakup_console[vc_num]->ht.cy; in speak_highlight()
1666 if (speakup_console[vc_num]->ht.ry[hc] != vc->state.y) in speak_highlight()
1670 spkup_write(speakup_console[vc_num]->ht.highbuf[hc], in speak_highlight()
1671 speakup_console[vc_num]->ht.highsize[hc]); in speak_highlight()
1672 spk_pos = spk_cp = speakup_console[vc_num]->ht.rpos[hc]; in speak_highlight()
1673 spk_x = spk_cx = speakup_console[vc_num]->ht.rx[hc]; in speak_highlight()
1674 spk_y = spk_cy = speakup_console[vc_num]->ht.ry[hc]; in speak_highlight()
1728 if (!speakup_console[vc->vc_num]) in speakup_bs()
1739 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1752 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1781 if (!speakup_console[vc->vc_num] || spk_parked) in speakup_con_update()
1818 if (speakup_console[vc->vc_num]) in do_handle_spec()
1819 speakup_console[vc->vc_num]->tty_stopped = on_off; in do_handle_spec()