Lines Matching refs:vc_num
1042 vc->vc_num + 1); in say_position()
1343 int vc_num; in speakup_allocate() local
1345 vc_num = vc->vc_num; in speakup_allocate()
1346 if (!speakup_console[vc_num]) { in speakup_allocate()
1347 speakup_console[vc_num] = kzalloc(sizeof(*speakup_console[0]), in speakup_allocate()
1349 if (!speakup_console[vc_num]) in speakup_allocate()
1361 int vc_num; in speakup_deallocate() local
1363 vc_num = vc->vc_num; in speakup_deallocate()
1364 kfree(speakup_console[vc_num]); in speakup_deallocate()
1365 speakup_console[vc_num] = NULL; in speakup_deallocate()
1401 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1433 cursor_con = vc->vc_num; in start_read_all_timer()
1555 speakup_console[vc->vc_num]->ht.cy = vc->state.y; in do_handle_cursor()
1556 cursor_con = vc->vc_num; in do_handle_cursor()
1568 int vc_num = vc->vc_num; in update_color_buffer() local
1571 hi = speakup_console[vc_num]->ht.highsize[bi]; in update_color_buffer()
1574 if (speakup_console[vc_num]->ht.highsize[bi] == 0) { in update_color_buffer()
1575 speakup_console[vc_num]->ht.rpos[bi] = vc->vc_pos; in update_color_buffer()
1576 speakup_console[vc_num]->ht.rx[bi] = vc->state.x; in update_color_buffer()
1577 speakup_console[vc_num]->ht.ry[bi] = vc->state.y; in update_color_buffer()
1581 speakup_console[vc_num]->ht.highbuf[bi][hi] = ic[i]; in update_color_buffer()
1584 if (speakup_console[vc_num]->ht.highbuf[bi][hi - 1] != in update_color_buffer()
1586 speakup_console[vc_num]->ht.highbuf[bi][hi] = in update_color_buffer()
1593 speakup_console[vc_num]->ht.highsize[bi] = hi; in update_color_buffer()
1599 int vc_num = vc->vc_num; in reset_highlight_buffers() local
1602 speakup_console[vc_num]->ht.highsize[i] = 0; in reset_highlight_buffers()
1609 int vc_num = vc->vc_num; in count_highlight_color() local
1614 speakup_console[vc_num]->ht.bgcount[i] = 0; in count_highlight_color()
1623 speakup_console[vc_num]->ht.bgcount[bg]++; in count_highlight_color()
1630 if (speakup_console[vc_num]->ht.bgcount[i] > 0) in count_highlight_color()
1639 int vc_num = vc->vc_num; in get_highlight_color() local
1646 if (speakup_console[vc_num]->ht.bgcount[cptr[i]] > in get_highlight_color()
1647 speakup_console[vc_num]->ht.bgcount[cptr[j]]) in get_highlight_color()
1651 if (speakup_console[vc_num]->ht.bgcount[cptr[i]] != 0) in get_highlight_color()
1652 if (speakup_console[vc_num]->ht.highsize[cptr[i]] > 0) in get_highlight_color()
1660 int vc_num = vc->vc_num; in speak_highlight() local
1666 d = vc->state.y - speakup_console[vc_num]->ht.cy; in speak_highlight()
1668 if (speakup_console[vc_num]->ht.ry[hc] != vc->state.y) in speak_highlight()
1672 spkup_write(speakup_console[vc_num]->ht.highbuf[hc], in speak_highlight()
1673 speakup_console[vc_num]->ht.highsize[hc]); in speak_highlight()
1674 spk_pos = spk_cp = speakup_console[vc_num]->ht.rpos[hc]; in speak_highlight()
1675 spk_x = spk_cx = speakup_console[vc_num]->ht.rx[hc]; in speak_highlight()
1676 spk_y = spk_cy = speakup_console[vc_num]->ht.ry[hc]; in speak_highlight()
1730 if (!speakup_console[vc->vc_num]) in speakup_bs()
1741 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1754 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1783 if (!speakup_console[vc->vc_num] || spk_parked || !synth) in speakup_con_update()
1820 if (speakup_console[vc->vc_num]) in do_handle_spec()
1821 speakup_console[vc->vc_num]->tty_stopped = on_off; in do_handle_spec()