snd_soc_get_xr_sx (9) - Linux Manuals

snd_soc_get_xr_sx: signed multi register get callback

NAME

snd_soc_get_xr_sx - signed multi register get callback

SYNOPSIS

int snd_soc_get_xr_sx(struct snd_kcontrol kcontrol, struct snd_ctl_elem_value ucontrol);

ARGUMENTS

kcontrol

mreg control

ucontrol

control element information

DESCRIPTION

Callback to get the value of a control that can span multiple codec registers which together forms a single signed value in a MSB/LSB manner. The control supports specifying total no of bits used to allow for bitfields across the multiple codec registers.

Returns 0 for success.

COPYRIGHT