Home
last modified time | relevance | path

Searched refs:chs_bytes (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/sound/hda/
Dhdmi_chmap.c693 int chs_bytes = chs * 4; in hdmi_chmap_ctl_tlv() local
710 put_user(chs_bytes, dst + 1)) in hdmi_chmap_ctl_tlv()
717 if (size < chs_bytes) in hdmi_chmap_ctl_tlv()
720 size -= chs_bytes; in hdmi_chmap_ctl_tlv()
721 count += chs_bytes; in hdmi_chmap_ctl_tlv()
725 if (copy_to_user(dst, tlv_chmap, chs_bytes)) in hdmi_chmap_ctl_tlv()
/Linux-v4.19/sound/core/
Dpcm_lib.c2376 int chs_bytes = map->channels * 4; in pcm_chmap_ctl_tlv() local
2382 put_user(chs_bytes, dst + 1)) in pcm_chmap_ctl_tlv()
2387 if (size < chs_bytes) in pcm_chmap_ctl_tlv()
2389 size -= chs_bytes; in pcm_chmap_ctl_tlv()
2390 count += chs_bytes; in pcm_chmap_ctl_tlv()