Lines Matching refs:i2cdevs

34 	struct snd_i2c_device *i2cdevs[3];  member
140 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) in snd_ice1712_ews88mt_chip_select()
144 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], &ndata, 1) in snd_ice1712_ews88mt_chip_select()
229 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_CS8404], &bits, 1) in snd_ice1712_ews_cs8404_spdif_write()
234 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], bytes, 2) in snd_ice1712_ews_cs8404_spdif_write()
239 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_88D], in snd_ice1712_ews_cs8404_spdif_write()
458 &spec->i2cdevs[EWS_I2C_6FIRE]); in snd_ice1712_ews_init()
473 &spec->i2cdevs[EWS_I2C_CS8404]); in snd_ice1712_ews_init()
478 &spec->i2cdevs[EWS_I2C_PCF1]); in snd_ice1712_ews_init()
483 &spec->i2cdevs[EWS_I2C_PCF2]); in snd_ice1712_ews_init()
494 &spec->i2cdevs[EWS_I2C_88D]); in snd_ice1712_ews_init()
635 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) { in snd_ice1712_ews88mt_output_sense_get()
652 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) { in snd_ice1712_ews88mt_output_sense_put()
657 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], in snd_ice1712_ews88mt_output_sense_put()
677 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF1], &data, 1) != 1) { in snd_ice1712_ews88mt_input_sense_get()
698 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF1], &data, 1) != 1) { in snd_ice1712_ews88mt_input_sense_put()
703 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF1], in snd_ice1712_ews88mt_input_sense_put()
745 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { in snd_ice1712_ews88d_control_get()
767 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { in snd_ice1712_ews88d_control_put()
781 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { in snd_ice1712_ews88d_control_put()
819 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca()
826 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca()
843 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], bytes, 2) != 2) { in snd_ice1712_6fire_write_pca()