Searched refs:bt_bmc (Results 1 – 1 of 1) sorted by relevance
/drivers/char/ipmi/ |
D | bt-bmc.c | 59 struct bt_bmc { struct 78 static u8 bt_inb(struct bt_bmc *bt_bmc, int reg) in bt_inb() argument 83 rc = regmap_read(bt_bmc->map, bt_bmc->offset + reg, &val); in bt_inb() 89 static void bt_outb(struct bt_bmc *bt_bmc, u8 data, int reg) in bt_outb() argument 93 rc = regmap_write(bt_bmc->map, bt_bmc->offset + reg, data); in bt_outb() 97 static void clr_rd_ptr(struct bt_bmc *bt_bmc) in clr_rd_ptr() argument 99 bt_outb(bt_bmc, BT_CTRL_CLR_RD_PTR, BT_CTRL); in clr_rd_ptr() 102 static void clr_wr_ptr(struct bt_bmc *bt_bmc) in clr_wr_ptr() argument 104 bt_outb(bt_bmc, BT_CTRL_CLR_WR_PTR, BT_CTRL); in clr_wr_ptr() 107 static void clr_h2b_atn(struct bt_bmc *bt_bmc) in clr_h2b_atn() argument [all …]
|