Home
last modified time | relevance | path

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

/sound/soc/codecs/
Drl6347a.c62 struct i2c_msg xfer[2]; in rl6347a_hw_read() local
83 xfer[0].addr = client->addr; in rl6347a_hw_read()
84 xfer[0].flags = 0; in rl6347a_hw_read()
85 xfer[0].len = 4; in rl6347a_hw_read()
86 xfer[0].buf = (u8 *)&be_reg; in rl6347a_hw_read()
89 xfer[1].addr = client->addr; in rl6347a_hw_read()
90 xfer[1].flags = I2C_M_RD; in rl6347a_hw_read()
91 xfer[1].len = 4; in rl6347a_hw_read()
92 xfer[1].buf = (u8 *)&buf; in rl6347a_hw_read()
94 ret = i2c_transfer(client->adapter, xfer, 2); in rl6347a_hw_read()
Dwm0010.c217 struct wm0010_boot_xfer *xfer = data; in wm0010_boot_xfer_complete() local
218 struct snd_soc_component *component = xfer->component; in wm0010_boot_xfer_complete()
220 u32 *out32 = xfer->t.rx_buf; in wm0010_boot_xfer_complete()
223 if (xfer->m.status != 0) { in wm0010_boot_xfer_complete()
225 xfer->m.status); in wm0010_boot_xfer_complete()
227 if (xfer->done) in wm0010_boot_xfer_complete()
228 complete(xfer->done); in wm0010_boot_xfer_complete()
232 for (i = 0; i < xfer->t.len / 4; i++) { in wm0010_boot_xfer_complete()
330 if (xfer->done) in wm0010_boot_xfer_complete()
331 complete(xfer->done); in wm0010_boot_xfer_complete()
[all …]
/sound/core/oss/
Dpcm_oss.c1370 size_t xfer = 0; in snd_pcm_oss_write1() local
1399 xfer += tmp; in snd_pcm_oss_write1()
1426 xfer += tmp; in snd_pcm_oss_write1()
1442 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_write1()
1480 size_t xfer = 0; in snd_pcm_oss_read1() local
1514 xfer += tmp; in snd_pcm_oss_read1()
1524 xfer += tmp; in snd_pcm_oss_read1()
1537 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_read1()
/sound/core/
Dpcm_lib.c2112 snd_pcm_uframes_t xfer = 0; in __snd_pcm_lib_xfer() local
2233 xfer += frames; in __snd_pcm_lib_xfer()
2245 if (xfer > 0 && err >= 0) in __snd_pcm_lib_xfer()
2248 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in __snd_pcm_lib_xfer()