Searched refs:xfer (Results 1 – 4 of 4) sorted by relevance
65 struct i2c_msg xfer[2]; in rl6347a_hw_read() local86 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()
221 struct wm0010_boot_xfer *xfer = data; in wm0010_boot_xfer_complete() local222 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 …]
2027 snd_pcm_uframes_t xfer = 0; in snd_pcm_lib_write1() local2105 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() local2337 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()
1438 size_t xfer = 0; in snd_pcm_oss_write1() local1467 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() local1582 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()