Scroll to navigation

SND_SOC_GET_XR_SX(9) ASoC SND_SOC_GET_XR_SX(9)

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

April 2019 Kernel Hackers Manual 4.9.