Searched refs:pdynapro (Results 1 – 1 of 1) sorted by relevance
58 static void dynapro_process_data(struct dynapro *pdynapro) in dynapro_process_data() argument60 struct input_dev *dev = pdynapro->dev; in dynapro_process_data()62 if (DYNAPRO_FORMAT_LENGTH == ++pdynapro->idx) { in dynapro_process_data()63 input_report_abs(dev, ABS_X, DYNAPRO_GET_XC(pdynapro->data)); in dynapro_process_data()64 input_report_abs(dev, ABS_Y, DYNAPRO_GET_YC(pdynapro->data)); in dynapro_process_data()66 DYNAPRO_GET_TOUCHED(pdynapro->data)); in dynapro_process_data()69 pdynapro->idx = 0; in dynapro_process_data()76 struct dynapro *pdynapro = serio_get_drvdata(serio); in dynapro_interrupt() local78 pdynapro->data[pdynapro->idx] = data; in dynapro_interrupt()80 if (DYNAPRO_RESPONSE_BEGIN_BYTE & pdynapro->data[0]) in dynapro_interrupt()[all …]