Searched refs:bsd_msgs (Results 1 – 1 of 1) sorted by relevance
261 struct iic_msg *bsd_msgs; in lkpi_i2cbb_transfer() local266 bsd_msgs = malloc(sizeof(struct iic_msg) * nmsgs, in lkpi_i2cbb_transfer()270 bsd_msgs[i].slave = msgs[i].addr << 1; in lkpi_i2cbb_transfer()271 bsd_msgs[i].len = msgs[i].len; in lkpi_i2cbb_transfer()272 bsd_msgs[i].buf = msgs[i].buf; in lkpi_i2cbb_transfer()274 bsd_msgs[i].flags |= IIC_M_RD; in lkpi_i2cbb_transfer()276 bsd_msgs[i].flags |= IIC_M_NOSTART; in lkpi_i2cbb_transfer()289 ret = IICBUS_TRANSFER(sc->iicbb, bsd_msgs, nmsgs); in lkpi_i2cbb_transfer()295 free(bsd_msgs, M_DEVBUF); in lkpi_i2cbb_transfer()