• Home
  • Raw
  • Download

Lines Matching refs:spec

148 	struct ews_spec *spec = ice->spec;  in snd_ice1712_ews88mt_chip_select()  local
154 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) in snd_ice1712_ews88mt_chip_select()
158 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], &ndata, 1) in snd_ice1712_ews88mt_chip_select()
233 struct ews_spec *spec = ice->spec; in snd_ice1712_ews_cs8404_spdif_write() local
242 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_CS8404], &bits, 1) in snd_ice1712_ews_cs8404_spdif_write()
247 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], bytes, 2) in snd_ice1712_ews_cs8404_spdif_write()
252 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_88D], in snd_ice1712_ews_cs8404_spdif_write()
426 struct ews_spec *spec; in snd_ice1712_ews_init() local
452 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in snd_ice1712_ews_init()
453 if (!spec) in snd_ice1712_ews_init()
455 ice->spec = spec; in snd_ice1712_ews_init()
470 &spec->i2cdevs[EWS_I2C_6FIRE]); in snd_ice1712_ews_init()
484 &spec->i2cdevs[EWS_I2C_CS8404]); in snd_ice1712_ews_init()
489 &spec->i2cdevs[EWS_I2C_PCF1]); in snd_ice1712_ews_init()
494 &spec->i2cdevs[EWS_I2C_PCF2]); in snd_ice1712_ews_init()
504 &spec->i2cdevs[EWS_I2C_88D]); in snd_ice1712_ews_init()
645 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_output_sense_get() local
649 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) { in snd_ice1712_ews88mt_output_sense_get()
662 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_output_sense_put() local
666 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF2], &data, 1) != 1) { in snd_ice1712_ews88mt_output_sense_put()
671 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], in snd_ice1712_ews88mt_output_sense_put()
684 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_input_sense_get() local
691 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF1], &data, 1) != 1) { in snd_ice1712_ews88mt_input_sense_get()
705 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_input_sense_put() local
712 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_PCF1], &data, 1) != 1) { in snd_ice1712_ews88mt_input_sense_put()
717 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF1], in snd_ice1712_ews88mt_input_sense_put()
753 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88d_control_get() local
759 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { in snd_ice1712_ews88d_control_get()
774 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88d_control_put() local
781 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { in snd_ice1712_ews88d_control_put()
795 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_88D], data, 2) != 2) { in snd_ice1712_ews88d_control_put()
829 struct ews_spec *spec = ice->spec; in snd_ice1712_6fire_read_pca() local
833 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1); in snd_ice1712_6fire_read_pca()
835 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca()
847 struct ews_spec *spec = ice->spec; in snd_ice1712_6fire_write_pca() local
852 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], bytes, 2) != 2) { in snd_ice1712_6fire_write_pca()