Searched refs:regwshift (Results 1 – 1 of 1) sorted by relevance
834 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() local835 unsigned int regwmask = (1<<regwshift)-1; in snd_soc_get_xr_sx()849 val |= (regval & regwmask) << (regwshift*(regcount-i-1)); in snd_soc_get_xr_sx()883 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx() local884 unsigned int regwmask = (1<<regwshift)-1; in snd_soc_put_xr_sx()896 regval = (val >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()897 regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()