Home
last modified time | relevance | path

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

/openbmc/linux/sound/hda/
H A Dhdmi_chmap.c694 int chs_bytes = chs * 4; in hdmi_chmap_ctl_tlv() local
711 put_user(chs_bytes, dst + 1)) in hdmi_chmap_ctl_tlv()
718 if (size < chs_bytes) in hdmi_chmap_ctl_tlv()
721 size -= chs_bytes; in hdmi_chmap_ctl_tlv()
722 count += chs_bytes; in hdmi_chmap_ctl_tlv()
726 if (copy_to_user(dst, tlv_chmap, chs_bytes)) in hdmi_chmap_ctl_tlv()
/openbmc/linux/sound/soc/atmel/
H A Dmchp-pdmc.c339 int chs_bytes = map->channels * 4; in mchp_pdmc_chmap_ctl_tlv() local
344 put_user(chs_bytes, dst + 1)) in mchp_pdmc_chmap_ctl_tlv()
349 if (size < chs_bytes) in mchp_pdmc_chmap_ctl_tlv()
351 size -= chs_bytes; in mchp_pdmc_chmap_ctl_tlv()
352 count += chs_bytes; in mchp_pdmc_chmap_ctl_tlv()
/openbmc/linux/sound/core/
H A Dpcm_lib.c2474 int chs_bytes = map->channels * 4; in pcm_chmap_ctl_tlv() local
2480 put_user(chs_bytes, dst + 1)) in pcm_chmap_ctl_tlv()
2485 if (size < chs_bytes) in pcm_chmap_ctl_tlv()
2487 size -= chs_bytes; in pcm_chmap_ctl_tlv()
2488 count += chs_bytes; in pcm_chmap_ctl_tlv()