Searched refs:i2c_softc (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 139 struct i2c_softc { struct 198 sizeof(struct i2c_softc), 216 i2c_write_reg(struct i2c_softc *sc, bus_size_t off, uint8_t val) in i2c_write_reg() 223 i2c_read_reg(struct i2c_softc *sc, bus_size_t off) in i2c_read_reg() 230 i2c_flag_set(struct i2c_softc *sc, bus_size_t off, uint8_t mask) in i2c_flag_set() 241 wait_for_busbusy(struct i2c_softc *sc, int wantbusy) in wait_for_busbusy() 257 wait_for_xfer(struct i2c_softc *sc, int checkack) in wait_for_xfer() 295 i2c_error_handler(struct i2c_softc *sc, int error) in i2c_error_handler() 312 gpio_pin_is_active(((struct i2c_softc *)ctx)->rb_sdapin, &active); in i2c_recover_getsda() 320 gpio_pin_set_active(((struct i2c_softc *)ctx)->rb_sdapin, value); in i2c_recover_setsda() [all …]
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | i2c.c | 80 struct i2c_softc { struct 120 sizeof(struct i2c_softc), 127 i2c_write_reg(struct i2c_softc *sc, bus_size_t off, uint8_t val) in i2c_write_reg() 134 i2c_read_reg(struct i2c_softc *sc, bus_size_t off) in i2c_read_reg() 141 i2c_flag_set(struct i2c_softc *sc, bus_size_t off, uint8_t mask) in i2c_flag_set() 151 i2c_do_wait(device_t dev, struct i2c_softc *sc, int write, int start) in i2c_do_wait() 187 struct i2c_softc *sc; in i2c_probe() 216 struct i2c_softc *sc; in i2c_attach() 248 struct i2c_softc *sc; in i2c_repeated_start() 272 struct i2c_softc *sc; in i2c_start() [all …]
|