wm831x_ts 71 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts = wm831x_ts 72 drivers/input/touchscreen/wm831x-ts.c container_of(work, struct wm831x_ts, pd_data_work); wm831x_ts 74 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pen_down) { wm831x_ts 75 drivers/input/touchscreen/wm831x-ts.c enable_irq(wm831x_ts->data_irq); wm831x_ts 76 drivers/input/touchscreen/wm831x-ts.c dev_dbg(wm831x_ts->wm831x->dev, "IRQ PD->DATA done\n"); wm831x_ts 78 drivers/input/touchscreen/wm831x-ts.c enable_irq(wm831x_ts->pd_irq); wm831x_ts 79 drivers/input/touchscreen/wm831x-ts.c dev_dbg(wm831x_ts->wm831x->dev, "IRQ DATA->PD done\n"); wm831x_ts 85 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts = irq_data; wm831x_ts 86 drivers/input/touchscreen/wm831x-ts.c struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts 92 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) wm831x_ts 112 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pen_down = true; wm831x_ts 115 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pen_down = false; wm831x_ts 118 drivers/input/touchscreen/wm831x-ts.c input_report_abs(wm831x_ts->input_dev, data_types[i], wm831x_ts 122 drivers/input/touchscreen/wm831x-ts.c if (!wm831x_ts->pen_down) { wm831x_ts 126 drivers/input/touchscreen/wm831x-ts.c disable_irq_nosync(wm831x_ts->data_irq); wm831x_ts 139 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) wm831x_ts 140 drivers/input/touchscreen/wm831x-ts.c input_report_abs(wm831x_ts->input_dev, wm831x_ts 143 drivers/input/touchscreen/wm831x-ts.c input_report_key(wm831x_ts->input_dev, BTN_TOUCH, 0); wm831x_ts 145 drivers/input/touchscreen/wm831x-ts.c schedule_work(&wm831x_ts->pd_data_work); wm831x_ts 147 drivers/input/touchscreen/wm831x-ts.c input_report_key(wm831x_ts->input_dev, BTN_TOUCH, 1); wm831x_ts 150 drivers/input/touchscreen/wm831x-ts.c input_sync(wm831x_ts->input_dev); wm831x_ts 157 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts = irq_data; wm831x_ts 158 drivers/input/touchscreen/wm831x-ts.c struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts 161 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pen_down) wm831x_ts 164 drivers/input/touchscreen/wm831x-ts.c disable_irq_nosync(wm831x_ts->pd_irq); wm831x_ts 167 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) wm831x_ts 177 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pen_down = true; wm831x_ts 181 drivers/input/touchscreen/wm831x-ts.c schedule_work(&wm831x_ts->pd_data_work); wm831x_ts 188 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts = input_get_drvdata(idev); wm831x_ts 189 drivers/input/touchscreen/wm831x-ts.c struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts 204 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts = input_get_drvdata(idev); wm831x_ts 205 drivers/input/touchscreen/wm831x-ts.c struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts 215 drivers/input/touchscreen/wm831x-ts.c synchronize_irq(wm831x_ts->data_irq); wm831x_ts 216 drivers/input/touchscreen/wm831x-ts.c synchronize_irq(wm831x_ts->pd_irq); wm831x_ts 219 drivers/input/touchscreen/wm831x-ts.c flush_work(&wm831x_ts->pd_data_work); wm831x_ts 224 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pen_down) { wm831x_ts 225 drivers/input/touchscreen/wm831x-ts.c disable_irq(wm831x_ts->data_irq); wm831x_ts 226 drivers/input/touchscreen/wm831x-ts.c enable_irq(wm831x_ts->pd_irq); wm831x_ts 227 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pen_down = false; wm831x_ts 233 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts; wm831x_ts 243 drivers/input/touchscreen/wm831x-ts.c wm831x_ts = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_ts), wm831x_ts 246 drivers/input/touchscreen/wm831x-ts.c if (!wm831x_ts || !input_dev) { wm831x_ts 251 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->wm831x = wm831x; wm831x_ts 252 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->input_dev = input_dev; wm831x_ts 253 drivers/input/touchscreen/wm831x-ts.c INIT_WORK(&wm831x_ts->pd_data_work, wm831x_pd_data_work); wm831x_ts 259 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->data_irq = wm831x_irq(wm831x, wm831x_ts 263 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->data_irq = pdata->data_irq; wm831x_ts 265 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pd_irq = wm831x_irq(wm831x, wm831x_ts 268 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pd_irq = pdata->pd_irq; wm831x_ts 271 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pressure = pdata->pressure; wm831x_ts 273 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pressure = true; wm831x_ts 282 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pressure = false; wm831x_ts 318 drivers/input/touchscreen/wm831x-ts.c error = request_threaded_irq(wm831x_ts->data_irq, wm831x_ts 321 drivers/input/touchscreen/wm831x-ts.c "Touchscreen data", wm831x_ts); wm831x_ts 324 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->data_irq, error); wm831x_ts 327 drivers/input/touchscreen/wm831x-ts.c disable_irq(wm831x_ts->data_irq); wm831x_ts 334 drivers/input/touchscreen/wm831x-ts.c error = request_threaded_irq(wm831x_ts->pd_irq, wm831x_ts 337 drivers/input/touchscreen/wm831x-ts.c "Touchscreen pen down", wm831x_ts); wm831x_ts 340 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pd_irq, error); wm831x_ts 356 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) wm831x_ts 359 drivers/input/touchscreen/wm831x-ts.c input_set_drvdata(input_dev, wm831x_ts); wm831x_ts 366 drivers/input/touchscreen/wm831x-ts.c platform_set_drvdata(pdev, wm831x_ts); wm831x_ts 370 drivers/input/touchscreen/wm831x-ts.c free_irq(wm831x_ts->pd_irq, wm831x_ts); wm831x_ts 372 drivers/input/touchscreen/wm831x-ts.c free_irq(wm831x_ts->data_irq, wm831x_ts); wm831x_ts 380 drivers/input/touchscreen/wm831x-ts.c struct wm831x_ts *wm831x_ts = platform_get_drvdata(pdev); wm831x_ts 382 drivers/input/touchscreen/wm831x-ts.c free_irq(wm831x_ts->pd_irq, wm831x_ts); wm831x_ts 383 drivers/input/touchscreen/wm831x-ts.c free_irq(wm831x_ts->data_irq, wm831x_ts);