Searched refs:regwshift (Results 1 – 1 of 1) sorted by relevance
885 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() local886 unsigned int regwmask = (1UL<<regwshift)-1; in snd_soc_get_xr_sx()896 val |= (regval & regwmask) << (regwshift*(regcount-i-1)); in snd_soc_get_xr_sx()930 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx() local931 unsigned int regwmask = (1UL<<regwshift)-1; in snd_soc_put_xr_sx()945 unsigned int regval = (val >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()946 unsigned int regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()