Lines Matching refs:BT_CTRL
40 #define BT_CTRL 0x10 macro
81 bt_outb(bt_bmc, BT_CTRL_CLR_RD_PTR, BT_CTRL); in clr_rd_ptr()
86 bt_outb(bt_bmc, BT_CTRL_CLR_WR_PTR, BT_CTRL); in clr_wr_ptr()
91 bt_outb(bt_bmc, BT_CTRL_H2B_ATN, BT_CTRL); in clr_h2b_atn()
96 if (!(bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_B_BUSY)) in set_b_busy()
97 bt_outb(bt_bmc, BT_CTRL_B_BUSY, BT_CTRL); in set_b_busy()
102 if (bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_B_BUSY) in clr_b_busy()
103 bt_outb(bt_bmc, BT_CTRL_B_BUSY, BT_CTRL); in clr_b_busy()
108 bt_outb(bt_bmc, BT_CTRL_B2H_ATN, BT_CTRL); in set_b2h_atn()
141 bt_outb(bt_bmc, BT_CTRL_SMS_ATN, BT_CTRL); in set_sms_atn()
188 bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_H2B_ATN)) in bt_bmc_read()
193 if (unlikely(!(bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_H2B_ATN))) { in bt_bmc_read()
262 !(bt_inb(bt_bmc, BT_CTRL) & in bt_bmc_write()
268 if (unlikely(bt_inb(bt_bmc, BT_CTRL) & in bt_bmc_write()
327 ctrl = bt_inb(bt_bmc, BT_CTRL); in bt_bmc_poll()