Lines Matching defs:buf
49 unsigned char buf[2];
51 buf[0] = reg & 0x7f;
52 buf[1] = val;
53 err = snd_i2c_sendbytes(device, buf, 2);
56 "to CS8427 (%i)\n", buf[0], buf[1], err);
67 unsigned char buf;
75 err = snd_i2c_readbytes(device, &buf, 1);
81 return buf;
192 unsigned char buf[24];
222 memset(buf, 0, 7);
224 buf[0] = 9; /* register */
225 err = snd_i2c_sendbytes(device, buf, 7);
236 put_unaligned_le32(SNDRV_PCM_DEFAULT_CON_SPDIF, buf);
237 memset(buf + 4, 0, 24 - 4);
238 if (snd_cs8427_send_corudata(device, 0, buf, 24) < 0)
240 memcpy(chip->playback.def_status, buf, 24);
241 memcpy(chip->playback.pcm_status, buf, 24);
286 char buf[128];
288 buf[0] = 0x81;
289 snd_i2c_sendbytes(device, buf, 1);
290 snd_i2c_readbytes(device, buf, 127);
292 printk(KERN_DEBUG "reg[0x%x] = 0x%x\n", xx+1, buf[xx]);