Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H A Dump_convert.c16 static u8 downscale_32_to_7bit(u32 src) in downscale_32_to_7bit() function
120 buf[2] = downscale_32_to_7bit(midi2->paf.data); in cvt_ump_midi2_to_legacy()
124 buf[2] = downscale_32_to_7bit(midi2->cc.data); in cvt_ump_midi2_to_legacy()
127 buf[1] = downscale_32_to_7bit(midi2->caf.data); in cvt_ump_midi2_to_legacy()
/openbmc/linux/sound/core/seq/
H A Dseq_ump_convert.c17 static u8 downscale_32_to_7bit(u32 src) in downscale_32_to_7bit() function
234 ev->data.control.value = downscale_32_to_7bit(val->cc.data); in ump_midi2_to_cc_ev()
263 ev->data.control.value = downscale_32_to_7bit(val->caf.data); in ump_midi2_to_ctrl_ev()
459 midi1->paf.data = downscale_32_to_7bit(midi2->paf.data); in cvt_ump_midi2_to_midi1()
463 midi1->cc.data = downscale_32_to_7bit(midi2->cc.data); in cvt_ump_midi2_to_midi1()
487 midi1->caf.data = downscale_32_to_7bit(midi2->caf.data); in cvt_ump_midi2_to_midi1()