Searched refs:xfer (Results 1 – 4 of 4) sorted by relevance
62 struct i2c_msg xfer[2]; in rl6347a_hw_read() local83 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()
217 struct wm0010_boot_xfer *xfer = data; in wm0010_boot_xfer_complete() local218 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 …]
1370 size_t xfer = 0; in snd_pcm_oss_write1() local1399 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() local1514 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()
2112 snd_pcm_uframes_t xfer = 0; in __snd_pcm_lib_xfer() local2233 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()