Searched refs:pdynapro (Results 1 – 1 of 1) sorted by relevance
63 static void dynapro_process_data(struct dynapro *pdynapro) in dynapro_process_data() argument65 struct input_dev *dev = pdynapro->dev; in dynapro_process_data()67 if (DYNAPRO_FORMAT_LENGTH == ++pdynapro->idx) { in dynapro_process_data()68 input_report_abs(dev, ABS_X, DYNAPRO_GET_XC(pdynapro->data)); in dynapro_process_data()69 input_report_abs(dev, ABS_Y, DYNAPRO_GET_YC(pdynapro->data)); in dynapro_process_data()71 DYNAPRO_GET_TOUCHED(pdynapro->data)); in dynapro_process_data()74 pdynapro->idx = 0; in dynapro_process_data()81 struct dynapro *pdynapro = serio_get_drvdata(serio); in dynapro_interrupt() local83 pdynapro->data[pdynapro->idx] = data; in dynapro_interrupt()85 if (DYNAPRO_RESPONSE_BEGIN_BYTE & pdynapro->data[0]) in dynapro_interrupt()[all …]