Searched refs:vktty (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_tty.c | 108 VK_BAR_CHAN_DATA(vktty, from, vktty->rd)); in bcm_vk_tty_wq_handler() 109 vktty->rd++; in bcm_vk_tty_wq_handler() 110 if (vktty->rd >= vktty->from_size) in bcm_vk_tty_wq_handler() 111 vktty->rd = 0; in bcm_vk_tty_wq_handler() 158 vktty->wr = vkread32(vk, BAR_1, VK_BAR_CHAN_WR(vktty, to)); in bcm_vk_tty_open() 160 vktty->rd = vkread32(vk, BAR_1, VK_BAR_CHAN_RD(vktty, from)); in bcm_vk_tty_open() 204 VK_BAR_CHAN_DATA(vktty, to, vktty->wr)); in bcm_vk_tty_write() 205 vktty->wr++; in bcm_vk_tty_write() 206 if (vktty->wr >= vktty->to_size) in bcm_vk_tty_write() 207 vktty->wr = 0; in bcm_vk_tty_write() [all …]
|