Lines Matching full:buttons
96 ret = device_property_count_u32(cs42l43->dev, "cirrus,buttons-ohms");
99 dev_err(priv->dev, "Property cirrus,buttons-ohms malformed: %d\n",
106 dev_err(priv->dev, "Property cirrus,buttons-ohms too many entries\n");
110 ret = device_property_read_u32_array(cs42l43->dev, "cirrus,buttons-ohms",
111 priv->buttons, ret);
118 priv->buttons[0] = 70;
119 priv->buttons[1] = 185;
120 priv->buttons[2] = 355;
121 priv->buttons[3] = 735;
373 unsigned int buttons = 0;
414 if (val < priv->buttons[i]) {
415 buttons = SND_JACK_BTN_0 >> i;
421 if (!buttons)
424 snd_soc_jack_report(priv->jack_hp, buttons, CS42L43_JACK_BUTTONS);