Lines Matching defs:sc_ibo
49 struct i2c_bitbang_ops sc_ibo;
58 return (i2c_bitbang_send_start(sc, flags, &sc->sc_ibo));
66 return (i2c_bitbang_send_stop(sc, flags, &sc->sc_ibo));
74 return (i2c_bitbang_initiate_xfer(sc, addr, flags, &sc->sc_ibo));
82 return (i2c_bitbang_read_byte(sc, vp, flags, &sc->sc_ibo));
90 return (i2c_bitbang_write_byte(sc, v, flags, &sc->sc_ibo));
217 sc->sc_ibo.ibo_set_dir = slugiic_set_dir;
218 sc->sc_ibo.ibo_set_bits = slugiic_set_bits;
219 sc->sc_ibo.ibo_read_bits = slugiic_read_bits;
220 sc->sc_ibo.ibo_bits[I2C_BIT_SDA] = GPIO_I2C_SDA_BIT;
221 sc->sc_ibo.ibo_bits[I2C_BIT_SCL] = GPIO_I2C_SCL_BIT;
222 sc->sc_ibo.ibo_bits[I2C_BIT_OUTPUT] = 1;
223 sc->sc_ibo.ibo_bits[I2C_BIT_INPUT] = 0;