Lines Matching refs:bytes
98 unsigned char bytes[3];
109 bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT;
110 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft;
114 bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT;
115 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright;
118 if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0)
149 unsigned char bytes[3];
160 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT;
161 bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT];
162 bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT];
163 if ((err = snd_i2c_sendbytes(tea->device, bytes, 3)) < 0)
200 unsigned char bytes[2];
208 bytes[0] = TEA6330T_SADDR_BASS;
209 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1;
210 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0)
247 unsigned char bytes[2];
255 bytes[0] = TEA6330T_SADDR_TREBLE;
256 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1;
257 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0)
285 unsigned char bytes[7];
327 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT;
329 bytes[idx+1] = tea->regs[idx];
330 if ((err = snd_i2c_sendbytes(device, bytes, 7)) < 0)