Home | History | Annotate | Download | only in ic

Lines Matching defs:control

120 	uint8_t control;
123 control = CSR_READ(sc, PCA9564_I2CCON);
124 control |= I2CCON_ENSIO;
125 control &= ~(I2CCON_STA|I2CCON_STO|I2CCON_SI|I2CCON_AA);
126 control &= ~I2CCON_CR_MASK;
127 control |= sc->sc_i2c_clock;
128 CSR_WRITE(sc, PCA9564_I2CCON, control);
138 uint8_t control;
141 control = CSR_READ(sc, PCA9564_I2CCON);
142 control &= ~I2CCON_ENSIO;
143 CSR_WRITE(sc, PCA9564_I2CCON, control);
171 uint8_t control;
174 control = CSR_READ(sc, PCA9564_I2CCON);
175 control |= I2CCON_STA;
176 control &= ~(I2CCON_STO|I2CCON_SI);
177 CSR_WRITE(sc, PCA9564_I2CCON, control);
187 uint8_t control;
190 control = CSR_READ(sc, PCA9564_I2CCON);
191 control |= I2CCON_STO;
192 control &= ~(I2CCON_STA|I2CCON_SI);
193 CSR_WRITE(sc, PCA9564_I2CCON, control);
204 uint8_t data, control;
214 control = CSR_READ(sc, PCA9564_I2CCON);
219 control &= ~(I2CCON_STO|I2CCON_STA|I2CCON_SI);
220 CSR_WRITE(sc, PCA9564_I2CCON, control);
260 uint8_t control;
264 control = CSR_READ(sc, PCA9564_I2CCON);
268 control &= ~(I2CCON_STO|I2CCON_STA|I2CCON_SI);
269 CSR_WRITE(sc, PCA9564_I2CCON, control);
286 uint8_t control;
289 control = CSR_READ(sc, PCA9564_I2CCON);
290 control &= ~(I2CCON_STO|I2CCON_STA|I2CCON_SI|I2CCON_AA);
292 control |= I2CCON_AA;
293 CSR_WRITE(sc, PCA9564_I2CCON, control);