Lines Matching full:tip
75 /* This tip sense invert is always set, HW wants an inverted signal */ in cs42l43_set_jack()
153 ret = device_property_read_u32(cs42l43->dev, "cirrus,tip-debounce-ms", in cs42l43_set_jack()
156 dev_err(priv->dev, "Property cirrus,tip-debounce-ms malformed: %d\n", ret); in cs42l43_set_jack()
160 /* This tip sense invert is set normally, as TIPSENSE_INV already inverted */ in cs42l43_set_jack()
161 if (device_property_read_bool(cs42l43->dev, "cirrus,tip-invert")) in cs42l43_set_jack()
164 if (device_property_read_bool(cs42l43->dev, "cirrus,tip-disable-pullup")) in cs42l43_set_jack()
169 ret = cs42l43_find_index(priv, "cirrus,tip-fall-db-ms", 500, in cs42l43_set_jack()
177 ret = cs42l43_find_index(priv, "cirrus,tip-rise-db-ms", 500, in cs42l43_set_jack()
718 unsigned int tip, ring; in cs42l43_tip_sense_work() local
723 dev_err(priv->dev, "Failed to resume for tip work: %d\n", ret); in cs42l43_tip_sense_work()
731 dev_dbg(priv->dev, "Tip sense: 0x%x\n", sts); in cs42l43_tip_sense_work()
733 tip = (sts >> CS42L43_TIPSENSE_PLUG_DB_STS_SHIFT) & CS42L43_JACK_PRESENT; in cs42l43_tip_sense_work()
736 if (tip == CS42L43_JACK_PRESENT) { in cs42l43_tip_sense_work()