Searched refs:alsa2chip (Results 1 – 2 of 2) sorted by relevance
25 #define alsa2chip(vol) ((uint)(-(((vol) << 8) / 100))) macro
257 m.control.volume = alsa2chip(chip->volume); in bcm2835_audio_set_ctls()