pcap_ts            40 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = data;
pcap_ts            42 drivers/input/touchscreen/pcap_ts.c 	switch (pcap_ts->read_state) {
pcap_ts            46 drivers/input/touchscreen/pcap_ts.c 			pcap_ts->pressure = res[0];
pcap_ts            47 drivers/input/touchscreen/pcap_ts.c 		pcap_ts->read_state = PCAP_ADC_TS_M_XY;
pcap_ts            48 drivers/input/touchscreen/pcap_ts.c 		schedule_delayed_work(&pcap_ts->work, 0);
pcap_ts            51 drivers/input/touchscreen/pcap_ts.c 		pcap_ts->y = res[0];
pcap_ts            52 drivers/input/touchscreen/pcap_ts.c 		pcap_ts->x = res[1];
pcap_ts            53 drivers/input/touchscreen/pcap_ts.c 		if (pcap_ts->x <= X_AXIS_MIN || pcap_ts->x >= X_AXIS_MAX ||
pcap_ts            54 drivers/input/touchscreen/pcap_ts.c 		    pcap_ts->y <= Y_AXIS_MIN || pcap_ts->y >= Y_AXIS_MAX) {
pcap_ts            56 drivers/input/touchscreen/pcap_ts.c 			input_report_abs(pcap_ts->input, ABS_PRESSURE, 0);
pcap_ts            57 drivers/input/touchscreen/pcap_ts.c 			input_report_key(pcap_ts->input, BTN_TOUCH, 0);
pcap_ts            59 drivers/input/touchscreen/pcap_ts.c 			pcap_ts->read_state = PCAP_ADC_TS_M_STANDBY;
pcap_ts            60 drivers/input/touchscreen/pcap_ts.c 			schedule_delayed_work(&pcap_ts->work, 0);
pcap_ts            63 drivers/input/touchscreen/pcap_ts.c 			input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x);
pcap_ts            64 drivers/input/touchscreen/pcap_ts.c 			input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y);
pcap_ts            65 drivers/input/touchscreen/pcap_ts.c 			input_report_key(pcap_ts->input, BTN_TOUCH, 1);
pcap_ts            66 drivers/input/touchscreen/pcap_ts.c 			input_report_abs(pcap_ts->input, ABS_PRESSURE,
pcap_ts            67 drivers/input/touchscreen/pcap_ts.c 						pcap_ts->pressure);
pcap_ts            70 drivers/input/touchscreen/pcap_ts.c 			pcap_ts->read_state = PCAP_ADC_TS_M_PRESSURE;
pcap_ts            71 drivers/input/touchscreen/pcap_ts.c 			schedule_delayed_work(&pcap_ts->work,
pcap_ts            74 drivers/input/touchscreen/pcap_ts.c 		input_sync(pcap_ts->input);
pcap_ts            77 drivers/input/touchscreen/pcap_ts.c 		dev_warn(&pcap_ts->input->dev,
pcap_ts            79 drivers/input/touchscreen/pcap_ts.c 				pcap_ts->read_state);
pcap_ts            87 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = container_of(dw, struct pcap_ts, work);
pcap_ts            90 drivers/input/touchscreen/pcap_ts.c 	pcap_set_ts_bits(pcap_ts->pcap,
pcap_ts            91 drivers/input/touchscreen/pcap_ts.c 			pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT);
pcap_ts            93 drivers/input/touchscreen/pcap_ts.c 	if (pcap_ts->read_state == PCAP_ADC_TS_M_STANDBY)
pcap_ts            99 drivers/input/touchscreen/pcap_ts.c 	pcap_adc_async(pcap_ts->pcap, PCAP_ADC_BANK_1, 0, ch,
pcap_ts           100 drivers/input/touchscreen/pcap_ts.c 						pcap_ts_read_xy, pcap_ts);
pcap_ts           105 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = data;
pcap_ts           107 drivers/input/touchscreen/pcap_ts.c 	if (pcap_ts->read_state == PCAP_ADC_TS_M_STANDBY) {
pcap_ts           108 drivers/input/touchscreen/pcap_ts.c 		pcap_ts->read_state = PCAP_ADC_TS_M_PRESSURE;
pcap_ts           109 drivers/input/touchscreen/pcap_ts.c 		schedule_delayed_work(&pcap_ts->work, 0);
pcap_ts           116 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = input_get_drvdata(dev);
pcap_ts           118 drivers/input/touchscreen/pcap_ts.c 	pcap_ts->read_state = PCAP_ADC_TS_M_STANDBY;
pcap_ts           119 drivers/input/touchscreen/pcap_ts.c 	schedule_delayed_work(&pcap_ts->work, 0);
pcap_ts           126 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = input_get_drvdata(dev);
pcap_ts           128 drivers/input/touchscreen/pcap_ts.c 	cancel_delayed_work_sync(&pcap_ts->work);
pcap_ts           130 drivers/input/touchscreen/pcap_ts.c 	pcap_ts->read_state = PCAP_ADC_TS_M_NONTS;
pcap_ts           131 drivers/input/touchscreen/pcap_ts.c 	pcap_set_ts_bits(pcap_ts->pcap,
pcap_ts           132 drivers/input/touchscreen/pcap_ts.c 				pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT);
pcap_ts           138 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts;
pcap_ts           141 drivers/input/touchscreen/pcap_ts.c 	pcap_ts = kzalloc(sizeof(*pcap_ts), GFP_KERNEL);
pcap_ts           142 drivers/input/touchscreen/pcap_ts.c 	if (!pcap_ts)
pcap_ts           145 drivers/input/touchscreen/pcap_ts.c 	pcap_ts->pcap = dev_get_drvdata(pdev->dev.parent);
pcap_ts           146 drivers/input/touchscreen/pcap_ts.c 	platform_set_drvdata(pdev, pcap_ts);
pcap_ts           152 drivers/input/touchscreen/pcap_ts.c 	INIT_DELAYED_WORK(&pcap_ts->work, pcap_ts_work);
pcap_ts           154 drivers/input/touchscreen/pcap_ts.c 	pcap_ts->read_state = PCAP_ADC_TS_M_NONTS;
pcap_ts           155 drivers/input/touchscreen/pcap_ts.c 	pcap_set_ts_bits(pcap_ts->pcap,
pcap_ts           156 drivers/input/touchscreen/pcap_ts.c 				pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT);
pcap_ts           158 drivers/input/touchscreen/pcap_ts.c 	pcap_ts->input = input_dev;
pcap_ts           159 drivers/input/touchscreen/pcap_ts.c 	input_set_drvdata(input_dev, pcap_ts);
pcap_ts           178 drivers/input/touchscreen/pcap_ts.c 	err = input_register_device(pcap_ts->input);
pcap_ts           182 drivers/input/touchscreen/pcap_ts.c 	err = request_irq(pcap_to_irq(pcap_ts->pcap, PCAP_IRQ_TS),
pcap_ts           183 drivers/input/touchscreen/pcap_ts.c 			pcap_ts_event_touch, 0, "Touch Screen", pcap_ts);
pcap_ts           195 drivers/input/touchscreen/pcap_ts.c 	kfree(pcap_ts);
pcap_ts           202 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = platform_get_drvdata(pdev);
pcap_ts           204 drivers/input/touchscreen/pcap_ts.c 	free_irq(pcap_to_irq(pcap_ts->pcap, PCAP_IRQ_TS), pcap_ts);
pcap_ts           205 drivers/input/touchscreen/pcap_ts.c 	cancel_delayed_work_sync(&pcap_ts->work);
pcap_ts           207 drivers/input/touchscreen/pcap_ts.c 	input_unregister_device(pcap_ts->input);
pcap_ts           209 drivers/input/touchscreen/pcap_ts.c 	kfree(pcap_ts);
pcap_ts           217 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = dev_get_drvdata(dev);
pcap_ts           219 drivers/input/touchscreen/pcap_ts.c 	pcap_set_ts_bits(pcap_ts->pcap, PCAP_ADC_TS_REF_LOWPWR);
pcap_ts           225 drivers/input/touchscreen/pcap_ts.c 	struct pcap_ts *pcap_ts = dev_get_drvdata(dev);
pcap_ts           227 drivers/input/touchscreen/pcap_ts.c 	pcap_set_ts_bits(pcap_ts->pcap,
pcap_ts           228 drivers/input/touchscreen/pcap_ts.c 				pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT);