Lines Matching refs:bytes
102 unsigned char bytes[3];
113 bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT;
114 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft;
118 bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT;
119 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright;
122 if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0)
153 unsigned char bytes[3];
164 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT;
165 bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT];
166 bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT];
167 if ((err = snd_i2c_sendbytes(tea->device, bytes, 3)) < 0)
204 unsigned char bytes[2];
212 bytes[0] = TEA6330T_SADDR_BASS;
213 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1;
214 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0)
251 unsigned char bytes[2];
259 bytes[0] = TEA6330T_SADDR_TREBLE;
260 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1;
261 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0)
289 unsigned char bytes[7];
331 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT;
333 bytes[idx+1] = tea->regs[idx];
334 if ((err = snd_i2c_sendbytes(device, bytes, 7)) < 0)