Searched refs:regwshift (Results 1 – 1 of 1) sorted by relevance
839 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() local840 unsigned int regwmask = (1<<regwshift)-1; in snd_soc_get_xr_sx()854 val |= (regval & regwmask) << (regwshift*(regcount-i-1)); in snd_soc_get_xr_sx()888 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx() local889 unsigned int regwmask = (1<<regwshift)-1; in snd_soc_put_xr_sx()901 regval = (val >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()902 regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()