Lines Matching defs:iocontrol
160 uint8_t iocontrol, uint8_t iodir)
166 if (iocontrol & SC16IS7XX_IOCONTROL_3_0)
176 if (iocontrol & SC16IS7XX_IOCONTROL_7_4)
223 uint8_t iocontrol;
225 error = sc->sc_funcs->read_reg(sc, SC16IS7XX_REGISTER_IOCONTROL, 1, &iocontrol, 1);
227 iocontrol |= bank_mask;
228 error = sc->sc_funcs->write_reg(sc, SC16IS7XX_REGISTER_IOCONTROL, 1, &iocontrol, 1);
241 uint8_t iocontrol, iodir;
243 error = sc->sc_funcs->read_reg(sc, SC16IS7XX_REGISTER_IOCONTROL, 1, &iocontrol, 1);
245 iocontrol &= ~bank_mask;
246 error = sc->sc_funcs->write_reg(sc, SC16IS7XX_REGISTER_IOCONTROL, 1, &iocontrol, 1);
256 sc->sc_gpio_pins[i].pin_flags = sc16is7xx_to_gpio_flags(sc, i, sc->sc_num_channels, iocontrol, iodir);