Lines Matching refs:speakup_console
240 struct st_spk_t *speakup_console[MAX_NR_CONSOLES]; variable
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()
1373 kfree(speakup_console[vc_num]); in speakup_deallocate()
1374 speakup_console[vc_num] = NULL; in speakup_deallocate()
1563 speakup_console[vc->vc_num]->ht.cy = vc->state.y; in do_handle_cursor()
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()
1610 speakup_console[vc_num]->ht.highsize[i] = 0; in reset_highlight_buffers()
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()
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()
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()
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()
2347 kfree(speakup_console[i]); in speakup_exit()
2451 kfree(speakup_console[i]); in speakup_init()