Lines Matching refs:BT_CTRL
42 #define BT_CTRL 0x10 macro
99 bt_outb(bt_bmc, BT_CTRL_CLR_RD_PTR, BT_CTRL); in clr_rd_ptr()
104 bt_outb(bt_bmc, BT_CTRL_CLR_WR_PTR, BT_CTRL); in clr_wr_ptr()
109 bt_outb(bt_bmc, BT_CTRL_H2B_ATN, BT_CTRL); in clr_h2b_atn()
114 if (!(bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_B_BUSY)) in set_b_busy()
115 bt_outb(bt_bmc, BT_CTRL_B_BUSY, BT_CTRL); in set_b_busy()
120 if (bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_B_BUSY) in clr_b_busy()
121 bt_outb(bt_bmc, BT_CTRL_B_BUSY, BT_CTRL); in clr_b_busy()
126 bt_outb(bt_bmc, BT_CTRL_B2H_ATN, BT_CTRL); in set_b2h_atn()
159 bt_outb(bt_bmc, BT_CTRL_SMS_ATN, BT_CTRL); in set_sms_atn()
206 bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_H2B_ATN)) in bt_bmc_read()
211 if (unlikely(!(bt_inb(bt_bmc, BT_CTRL) & BT_CTRL_H2B_ATN))) { in bt_bmc_read()
280 !(bt_inb(bt_bmc, BT_CTRL) & in bt_bmc_write()
286 if (unlikely(bt_inb(bt_bmc, BT_CTRL) & in bt_bmc_write()
345 ctrl = bt_inb(bt_bmc, BT_CTRL); in bt_bmc_poll()