Home
last modified time | relevance | path

Searched refs:xfer (Results 1 – 4 of 4) sorted by relevance

/sound/soc/codecs/
Drl6347a.c65 struct i2c_msg xfer[2]; in rl6347a_hw_read() local
86 xfer[0].addr = client->addr; in rl6347a_hw_read()
87 xfer[0].flags = 0; in rl6347a_hw_read()
88 xfer[0].len = 4; in rl6347a_hw_read()
89 xfer[0].buf = (u8 *)&be_reg; in rl6347a_hw_read()
92 xfer[1].addr = client->addr; in rl6347a_hw_read()
93 xfer[1].flags = I2C_M_RD; in rl6347a_hw_read()
94 xfer[1].len = 4; in rl6347a_hw_read()
95 xfer[1].buf = (u8 *)&buf; in rl6347a_hw_read()
97 ret = i2c_transfer(client->adapter, xfer, 2); in rl6347a_hw_read()
Dwm0010.c221 struct wm0010_boot_xfer *xfer = data; in wm0010_boot_xfer_complete() local
222 struct snd_soc_codec *codec = xfer->codec; in wm0010_boot_xfer_complete()
224 u32 *out32 = xfer->t.rx_buf; in wm0010_boot_xfer_complete()
227 if (xfer->m.status != 0) { in wm0010_boot_xfer_complete()
229 xfer->m.status); in wm0010_boot_xfer_complete()
231 if (xfer->done) in wm0010_boot_xfer_complete()
232 complete(xfer->done); in wm0010_boot_xfer_complete()
236 for (i = 0; i < xfer->t.len / 4; i++) { in wm0010_boot_xfer_complete()
334 if (xfer->done) in wm0010_boot_xfer_complete()
335 complete(xfer->done); in wm0010_boot_xfer_complete()
[all …]
/sound/core/
Dpcm_lib.c2027 snd_pcm_uframes_t xfer = 0; in snd_pcm_lib_write1() local
2105 xfer += frames; in snd_pcm_lib_write1()
2116 if (xfer > 0 && err >= 0) in snd_pcm_lib_write1()
2119 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in snd_pcm_lib_write1()
2245 snd_pcm_uframes_t xfer = 0; in snd_pcm_lib_read1() local
2337 xfer += frames; in snd_pcm_lib_read1()
2342 if (xfer > 0 && err >= 0) in snd_pcm_lib_read1()
2345 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in snd_pcm_lib_read1()
/sound/core/oss/
Dpcm_oss.c1438 size_t xfer = 0; in snd_pcm_oss_write1() local
1467 xfer += tmp; in snd_pcm_oss_write1()
1494 xfer += tmp; in snd_pcm_oss_write1()
1510 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_write1()
1548 size_t xfer = 0; in snd_pcm_oss_read1() local
1582 xfer += tmp; in snd_pcm_oss_read1()
1592 xfer += tmp; in snd_pcm_oss_read1()
1605 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_read1()