Lines Matching defs:io

79 	struct si_sm_io	*io;
110 #define BT_STATUS bt->io->inputb(bt->io, 0)
111 #define BT_CONTROL(x) bt->io->outputb(bt->io, 0, x)
113 #define BMC2HOST bt->io->inputb(bt->io, 1)
114 #define HOST2BMC(x) bt->io->outputb(bt->io, 1, x)
116 #define BT_INTMASK_R bt->io->inputb(bt->io, 2)
117 #define BT_INTMASK_W(x) bt->io->outputb(bt->io, 2, x)
173 static unsigned int bt_init_data(struct si_sm_data *bt, struct si_sm_io *io)
176 if (bt->io != io) {
178 bt->io = io;
217 dev_warn(bt->io->dev, "BT in invalid state %d\n", bt->state);
222 dev_dbg(bt->io->dev, "+++++++++++++++++ New command\n");
223 dev_dbg(bt->io->dev, "NetFn/LUN CMD [%d data]:", size - 2);
267 dev_dbg(bt->io->dev, "result %d bytes:", msg_len);
281 dev_dbg(bt->io->dev, "flag reset %s\n", status2txt(BT_STATUS));
307 dev_dbg(bt->io->dev, "stale response %s; ",
322 dev_dbg(bt->io->dev, "write %d bytes seq=0x%02X",
346 dev_dbg(bt->io->dev,
358 dev_dbg(bt->io->dev,
374 dev_dbg(bt->io->dev,
401 dev_warn(bt->io->dev, "IPMI BT: %s in %s %s ", /* open-ended line */
416 dev_warn(bt->io->dev, "failed %d retries, sending error response\n",
419 dev_err(bt->io->dev, "stuck, try power cycle\n");
423 dev_warn(bt->io->dev, "BT reset (takes 5 secs)\n");
459 dev_dbg(bt->io->dev, "BT: %s %s TO=%ld - %ld\n",
574 bt_init_data(bt, bt->io);
640 dev_warn(bt->io->dev,
658 bt_init_data(bt, bt->io);
660 dev_warn(bt->io->dev, "bt cap response too short: %d\n", rv);
665 dev_warn(bt->io->dev, "Error fetching bt cap: %x\n", BT_CAP[2]);
667 dev_warn(bt->io->dev, "using default values\n");
673 dev_info(bt->io->dev, "req2rsp=%ld secs retries=%d\n",