Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 5 of 5) sorted by relevance

/sound/soc/uniphier/
Daio-core.c19 static u64 rb_cnt(u64 wr, u64 rd, u64 len) in rb_cnt() argument
21 if (rd <= wr) in rb_cnt()
22 return wr - rd; in rb_cnt()
24 return len - (rd - wr); in rb_cnt()
27 static u64 rb_cnt_to_end(u64 wr, u64 rd, u64 len) in rb_cnt_to_end() argument
29 if (rd <= wr) in rb_cnt_to_end()
30 return wr - rd; in rb_cnt_to_end()
35 static u64 rb_space(u64 wr, u64 rd, u64 len) in rb_space() argument
37 if (rd <= wr) in rb_space()
38 return len - (wr - rd) - 8; in rb_space()
[all …]
/sound/pci/ctxfi/
Dcthardware.h91 int (*src_set_wr)(void *blk, unsigned int wr);
Dcthw20k1.c212 static int src_set_wr(void *blk, unsigned int wr) in src_set_wr() argument
216 set_field(&ctl->ctl, SRCCTL_WR, wr); in src_set_wr()
Dcthw20k2.c212 static int src_set_wr(void *blk, unsigned int wr) in src_set_wr() argument
216 set_field(&ctl->ctl, SRCCTL_WR, wr); in src_set_wr()
/sound/soc/codecs/
Dwm_adsp.c1245 unsigned int out, rd, wr, vol; in wmfw_convert_flags() local
1249 wr = SNDRV_CTL_ELEM_ACCESS_TLV_WRITE; in wmfw_convert_flags()
1255 wr = SNDRV_CTL_ELEM_ACCESS_WRITE; in wmfw_convert_flags()
1264 out |= wr; in wmfw_convert_flags()
1268 out |= rd | wr | vol; in wmfw_convert_flags()