Lines Matching refs:bytes

113 	unsigned char bytes[3];  in snd_tea6330t_put_master_volume()  local
124 bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT; in snd_tea6330t_put_master_volume()
125 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft; in snd_tea6330t_put_master_volume()
129 bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT; in snd_tea6330t_put_master_volume()
130 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright; in snd_tea6330t_put_master_volume()
133 if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0) in snd_tea6330t_put_master_volume()
164 unsigned char bytes[3]; in snd_tea6330t_put_master_switch() local
175 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT; in snd_tea6330t_put_master_switch()
176 bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT]; in snd_tea6330t_put_master_switch()
177 bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT]; in snd_tea6330t_put_master_switch()
178 if ((err = snd_i2c_sendbytes(tea->device, bytes, 3)) < 0) in snd_tea6330t_put_master_switch()
215 unsigned char bytes[2]; in snd_tea6330t_put_bass() local
223 bytes[0] = TEA6330T_SADDR_BASS; in snd_tea6330t_put_bass()
224 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1; in snd_tea6330t_put_bass()
225 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) in snd_tea6330t_put_bass()
262 unsigned char bytes[2]; in snd_tea6330t_put_treble() local
270 bytes[0] = TEA6330T_SADDR_TREBLE; in snd_tea6330t_put_treble()
271 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1; in snd_tea6330t_put_treble()
272 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) in snd_tea6330t_put_treble()
300 unsigned char bytes[7]; in snd_tea6330t_update_mixer() local
342 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT; in snd_tea6330t_update_mixer()
344 bytes[idx+1] = tea->regs[idx]; in snd_tea6330t_update_mixer()
345 if ((err = snd_i2c_sendbytes(device, bytes, 7)) < 0) in snd_tea6330t_update_mixer()