Lines Matching refs:buttons
90 ret = device_property_count_u32(cs42l43->dev, "cirrus,buttons-ohms");
93 dev_err(priv->dev, "Property cirrus,buttons-ohms malformed: %d\n",
100 dev_err(priv->dev, "Property cirrus,buttons-ohms too many entries\n");
104 device_property_read_u32_array(cs42l43->dev, "cirrus,buttons-ohms",
105 priv->buttons, ret);
107 priv->buttons[0] = 70;
108 priv->buttons[1] = 185;
109 priv->buttons[2] = 355;
110 priv->buttons[3] = 735;
361 unsigned int buttons = 0;
399 if (val < priv->buttons[i]) {
400 buttons = SND_JACK_BTN_0 >> i;
406 if (!buttons)
409 snd_soc_jack_report(priv->jack_hp, buttons, CS42L43_JACK_BUTTONS);