Searched refs:chs_bytes (Results 1 – 2 of 2) sorted by relevance
2545 int chs_bytes = map->channels * 4; in pcm_chmap_ctl_tlv() local2551 put_user(chs_bytes, dst + 1)) in pcm_chmap_ctl_tlv()2556 if (size < chs_bytes) in pcm_chmap_ctl_tlv()2558 size -= chs_bytes; in pcm_chmap_ctl_tlv()2559 count += chs_bytes; in pcm_chmap_ctl_tlv()
1980 int chs_bytes = chs * 4; in hdmi_chmap_ctl_tlv() local1989 put_user(chs_bytes, dst + 1)) in hdmi_chmap_ctl_tlv()1994 if (size < chs_bytes) in hdmi_chmap_ctl_tlv()1996 size -= chs_bytes; in hdmi_chmap_ctl_tlv()1997 count += chs_bytes; in hdmi_chmap_ctl_tlv()1999 if (copy_to_user(dst, tlv_chmap, chs_bytes)) in hdmi_chmap_ctl_tlv()