Searched refs:regwshift (Results 1 – 1 of 1) sorted by relevance
807 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() local808 unsigned int regwmask = (1UL<<regwshift)-1; in snd_soc_get_xr_sx()819 val |= (regval & regwmask) << (regwshift*(regcount-i-1)); in snd_soc_get_xr_sx()853 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx() local854 unsigned int regwmask = (1UL<<regwshift)-1; in snd_soc_put_xr_sx()866 regval = (val >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()867 regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()