Lines Matching full:sda

179 	w9968cf_write_sb(sd, 0x0011); /* SDE=1, SDA=0, SCL=1 */  in w9968cf_smbus_start()
180 w9968cf_write_sb(sd, 0x0010); /* SDE=1, SDA=0, SCL=0 */ in w9968cf_smbus_start()
185 w9968cf_write_sb(sd, 0x0010); /* SDE=1, SDA=0, SCL=0 */ in w9968cf_smbus_stop()
186 w9968cf_write_sb(sd, 0x0011); /* SDE=1, SDA=0, SCL=1 */ in w9968cf_smbus_stop()
187 w9968cf_write_sb(sd, 0x0013); /* SDE=1, SDA=1, SCL=1 */ in w9968cf_smbus_stop()
193 int sda; in w9968cf_smbus_write_byte() local
196 sda = (v & 0x80) ? 2 : 0; in w9968cf_smbus_write_byte()
198 /* SDE=1, SDA=sda, SCL=0 */ in w9968cf_smbus_write_byte()
199 w9968cf_write_sb(sd, 0x10 | sda); in w9968cf_smbus_write_byte()
200 /* SDE=1, SDA=sda, SCL=1 */ in w9968cf_smbus_write_byte()
201 w9968cf_write_sb(sd, 0x11 | sda); in w9968cf_smbus_write_byte()
202 /* SDE=1, SDA=sda, SCL=0 */ in w9968cf_smbus_write_byte()
203 w9968cf_write_sb(sd, 0x10 | sda); in w9968cf_smbus_write_byte()
211 /* No need to ensure SDA is high as we are always called after in w9968cf_smbus_read_byte()
212 read_ack which ends with SDA high */ in w9968cf_smbus_read_byte()
216 /* SDE=1, SDA=1, SCL=1 */ in w9968cf_smbus_read_byte()
219 /* SDE=1, SDA=1, SCL=0 */ in w9968cf_smbus_read_byte()
226 /* No need to ensure SDA is high as we are always called after in w9968cf_smbus_write_nack()
227 read_byte which ends with SDA high */ in w9968cf_smbus_write_nack()
228 w9968cf_write_sb(sd, 0x0013); /* SDE=1, SDA=1, SCL=1 */ in w9968cf_smbus_write_nack()
229 w9968cf_write_sb(sd, 0x0012); /* SDE=1, SDA=1, SCL=0 */ in w9968cf_smbus_write_nack()
235 int sda; in w9968cf_smbus_read_ack() local
237 /* Ensure SDA is high before raising clock to avoid a spurious stop */ in w9968cf_smbus_read_ack()
238 w9968cf_write_sb(sd, 0x0012); /* SDE=1, SDA=1, SCL=0 */ in w9968cf_smbus_read_ack()
239 w9968cf_write_sb(sd, 0x0013); /* SDE=1, SDA=1, SCL=1 */ in w9968cf_smbus_read_ack()
240 sda = w9968cf_read_sb(sd); in w9968cf_smbus_read_ack()
241 w9968cf_write_sb(sd, 0x0012); /* SDE=1, SDA=1, SCL=0 */ in w9968cf_smbus_read_ack()
242 if (sda >= 0 && (sda & 0x08)) { in w9968cf_smbus_read_ack()
349 reg_w(sd, 0x01, 0x0030); /* Set sda scl to FSB mode */ in w9968cf_configure()