Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/
Dsoc-ops.c862 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() local
863 unsigned int regwmask = (1UL<<regwshift)-1; in snd_soc_get_xr_sx()
874 val |= (regval & regwmask) << (regwshift*(regcount-i-1)); in snd_soc_get_xr_sx()
908 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx() local
909 unsigned int regwmask = (1UL<<regwshift)-1; in snd_soc_put_xr_sx()
923 regval = (val >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()
924 regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()