Lines Matching refs:bytes
95 unsigned char bytes[3]; in snd_tea6330t_put_master_volume() local
106 bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT; in snd_tea6330t_put_master_volume()
107 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft; in snd_tea6330t_put_master_volume()
111 bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT; in snd_tea6330t_put_master_volume()
112 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright; in snd_tea6330t_put_master_volume()
115 err = snd_i2c_sendbytes(tea->device, bytes, count); in snd_tea6330t_put_master_volume()
147 unsigned char bytes[3]; in snd_tea6330t_put_master_switch() local
158 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT; in snd_tea6330t_put_master_switch()
159 bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT]; in snd_tea6330t_put_master_switch()
160 bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT]; in snd_tea6330t_put_master_switch()
161 err = snd_i2c_sendbytes(tea->device, bytes, 3); in snd_tea6330t_put_master_switch()
199 unsigned char bytes[2]; in snd_tea6330t_put_bass() local
207 bytes[0] = TEA6330T_SADDR_BASS; in snd_tea6330t_put_bass()
208 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1; in snd_tea6330t_put_bass()
209 err = snd_i2c_sendbytes(tea->device, bytes, 2); in snd_tea6330t_put_bass()
247 unsigned char bytes[2]; in snd_tea6330t_put_treble() local
255 bytes[0] = TEA6330T_SADDR_TREBLE; in snd_tea6330t_put_treble()
256 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1; in snd_tea6330t_put_treble()
257 err = snd_i2c_sendbytes(tea->device, bytes, 2); in snd_tea6330t_put_treble()
286 unsigned char bytes[7]; in snd_tea6330t_update_mixer() local
329 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT; in snd_tea6330t_update_mixer()
331 bytes[idx+1] = tea->regs[idx]; in snd_tea6330t_update_mixer()
332 err = snd_i2c_sendbytes(device, bytes, 7); in snd_tea6330t_update_mixer()