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 err = snd_i2c_sendbytes(tea->device, bytes, count);
150 unsigned char bytes[3];
161 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT;
162 bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT];
163 bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT];
164 err = snd_i2c_sendbytes(tea->device, bytes, 3);
202 unsigned char bytes[2];
210 bytes[0] = TEA6330T_SADDR_BASS;
211 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1;
212 err = snd_i2c_sendbytes(tea->device, bytes, 2);
250 unsigned char bytes[2];
258 bytes[0] = TEA6330T_SADDR_TREBLE;
259 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1;
260 err = snd_i2c_sendbytes(tea->device, bytes, 2);
289 unsigned char bytes[7];
332 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT;
334 bytes[idx+1] = tea->regs[idx];
335 err = snd_i2c_sendbytes(device, bytes, 7);