Searched refs:i2cdevs (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/sound/pci/ice1712/ |
H A D | ews.c | 48 struct snd_i2c_device *i2cdevs[3]; member in struct:ews_spec 154 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) snd_ice1712_ews88mt_chip_select() 158 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], &ndata, 1) snd_ice1712_ews88mt_chip_select() 243 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_CS8404], &bits, 1) snd_ice1712_ews_cs8404_spdif_write() 248 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], bytes, 2) snd_ice1712_ews_cs8404_spdif_write() 253 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_88D], snd_ice1712_ews_cs8404_spdif_write() 471 &spec->i2cdevs[EWS_I2C_6FIRE]); snd_ice1712_ews_init() 486 &spec->i2cdevs[EWS_I2C_CS8404]); snd_ice1712_ews_init() 491 &spec->i2cdevs[EWS_I2C_PCF1]); snd_ice1712_ews_init() 496 &spec->i2cdevs[EWS_I2C_PCF2]); snd_ice1712_ews_init() 506 &spec->i2cdevs[EWS_I2C_88D]); snd_ice1712_ews_init() 645 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) { snd_ice1712_ews88mt_output_sense_get() 662 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) { snd_ice1712_ews88mt_output_sense_put() 667 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], snd_ice1712_ews88mt_output_sense_put() 687 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF1], &data, 1) != 1) { snd_ice1712_ews88mt_input_sense_get() 708 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF1], &data, 1) != 1) { snd_ice1712_ews88mt_input_sense_put() 713 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF1], snd_ice1712_ews88mt_input_sense_put() 755 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { snd_ice1712_ews88d_control_get() 777 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { snd_ice1712_ews88d_control_put() 791 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { snd_ice1712_ews88d_control_put() 829 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1); snd_ice1712_6fire_read_pca() 831 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { snd_ice1712_6fire_read_pca() 848 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], bytes, 2) != 2) { snd_ice1712_6fire_write_pca()
|
Completed in 74 milliseconds