Lines Matching refs:hpldet_pdata

2449 	struct da7218_hpldet_pdata *hpldet_pdata;  in da7218_of_to_pdata()  local
2521 hpldet_pdata = devm_kzalloc(component->dev, sizeof(*hpldet_pdata), in da7218_of_to_pdata()
2523 if (!hpldet_pdata) { in da7218_of_to_pdata()
2527 pdata->hpldet_pdata = hpldet_pdata; in da7218_of_to_pdata()
2531 hpldet_pdata->jack_rate = in da7218_of_to_pdata()
2534 hpldet_pdata->jack_rate = DA7218_HPLDET_JACK_RATE_40US; in da7218_of_to_pdata()
2538 hpldet_pdata->jack_debounce = in da7218_of_to_pdata()
2541 hpldet_pdata->jack_debounce = in da7218_of_to_pdata()
2546 hpldet_pdata->jack_thr = in da7218_of_to_pdata()
2549 hpldet_pdata->jack_thr = DA7218_HPLDET_JACK_THR_84PCT; in da7218_of_to_pdata()
2552 hpldet_pdata->comp_inv = true; in da7218_of_to_pdata()
2555 hpldet_pdata->hyst = true; in da7218_of_to_pdata()
2558 hpldet_pdata->discharge = true; in da7218_of_to_pdata()
2815 (pdata->hpldet_pdata)) { in da7218_handle_pdata()
2816 struct da7218_hpldet_pdata *hpldet_pdata = in da7218_handle_pdata() local
2817 pdata->hpldet_pdata; in da7218_handle_pdata()
2820 switch (hpldet_pdata->jack_rate) { in da7218_handle_pdata()
2830 (hpldet_pdata->jack_rate << in da7218_handle_pdata()
2835 switch (hpldet_pdata->jack_debounce) { in da7218_handle_pdata()
2841 (hpldet_pdata->jack_debounce << in da7218_handle_pdata()
2846 switch (hpldet_pdata->jack_thr) { in da7218_handle_pdata()
2852 (hpldet_pdata->jack_thr << in da7218_handle_pdata()
2863 if (hpldet_pdata->comp_inv) in da7218_handle_pdata()
2866 if (hpldet_pdata->hyst) in da7218_handle_pdata()
2869 if (hpldet_pdata->discharge) in da7218_handle_pdata()