Home
last modified time | relevance | path

Searched full:bt_ctrl (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/misc/
H A Daspeed_ibt.c41 #define BT_CTRL 0x10 macro
179 if ((ibt->regs[TO_REG(BT_CTRL)] & BT_CTRL_H2B_ATN) && in aspeed_ibt_update_irq()
192 if ((ibt->regs[TO_REG(BT_CTRL)] & BT_CTRL_H_BUSY) && in aspeed_ibt_update_irq()
279 ibt->regs[TO_REG(BT_CTRL)] |= BT_CTRL_H2B_ATN; in vm_handle_char()
360 return !ibt->recv_waiting && !(ibt->regs[TO_REG(BT_CTRL)] & BT_CTRL_B_BUSY); in aspeed_ibt_chr_can_receive()
387 case BT_CTRL: in aspeed_ibt_write()
406 ibt->regs[TO_REG(BT_CTRL)] &= ~BT_CTRL_H2B_ATN; in aspeed_ibt_write()
412 ibt->regs[TO_REG(BT_CTRL)] ^= BT_CTRL_B_BUSY; in aspeed_ibt_write()
424 ibt->regs[TO_REG(BT_CTRL)] |= (BT_CTRL_B2H_ATN | BT_CTRL_H_BUSY); in aspeed_ibt_write()
428 ibt->regs[TO_REG(BT_CTRL)] &= ~(BT_CTRL_B2H_ATN | BT_CTRL_H_BUSY); in aspeed_ibt_write()
[all …]