Searched refs:regwshift (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/sound/soc/
H A Dsoc-ops.c839 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; snd_soc_get_xr_sx() local
840 unsigned int regwmask = (1<<regwshift)-1; snd_soc_get_xr_sx()
854 val |= (regval & regwmask) << (regwshift*(regcount-i-1)); snd_soc_get_xr_sx()
888 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; snd_soc_put_xr_sx() local
889 unsigned int regwmask = (1<<regwshift)-1; snd_soc_put_xr_sx()
901 regval = (val >> (regwshift*(regcount-i-1))) & regwmask; snd_soc_put_xr_sx()
902 regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; snd_soc_put_xr_sx()

Completed in 52 milliseconds