• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/touchscreen/

Lines Matching defs:packet

88 	struct ads7846_packet	*packet;
556 struct ads7846_packet *packet = ts->packet;
564 x = *(u16 *)packet->tc.x_buf;
565 y = *(u16 *)packet->tc.y_buf;
569 x = packet->tc.x;
570 y = packet->tc.y;
571 z1 = packet->tc.z1;
572 z2 = packet->tc.z2;
603 if (packet->tc.ignore || Rt > ts->pressure_max) {
605 packet->tc.ignore, Rt);
697 struct ads7846_packet *packet = ts->packet;
721 packet->tc.ignore = 1;
729 packet->tc.ignore = 0;
914 struct ads7846_packet *packet;
951 packet = kzalloc(sizeof(struct ads7846_packet), GFP_KERNEL);
953 if (!ts || !packet || !input_dev) {
960 ts->packet = packet;
1045 packet->read_y_cmd[0] = READ_Y(vref);
1046 packet->read_y_cmd[1] = 0;
1047 packet->read_y_cmd[2] = 0;
1048 x->tx_buf = &packet->read_y_cmd[0];
1049 x->rx_buf = &packet->tc.y_buf[0];
1054 packet->read_y = READ_Y(vref);
1055 x->tx_buf = &packet->read_y;
1060 x->rx_buf = &packet->tc.y;
1073 x->tx_buf = &packet->read_y;
1078 x->rx_buf = &packet->tc.y;
1091 packet->read_x_cmd[0] = READ_X(vref);
1092 packet->read_x_cmd[1] = 0;
1093 packet->read_x_cmd[2] = 0;
1094 x->tx_buf = &packet->read_x_cmd[0];
1095 x->rx_buf = &packet->tc.x_buf[0];
1101 packet->read_x = READ_X(vref);
1102 x->tx_buf = &packet->read_x;
1107 x->rx_buf = &packet->tc.x;
1117 x->tx_buf = &packet->read_x;
1122 x->rx_buf = &packet->tc.x;
1136 packet->read_z1 = READ_Z1(vref);
1137 x->tx_buf = &packet->read_z1;
1142 x->rx_buf = &packet->tc.z1;
1151 x->tx_buf = &packet->read_z1;
1156 x->rx_buf = &packet->tc.z1;
1168 packet->read_z2 = READ_Z2(vref);
1169 x->tx_buf = &packet->read_z2;
1174 x->rx_buf = &packet->tc.z2;
1183 x->tx_buf = &packet->read_z2;
1188 x->rx_buf = &packet->tc.z2;
1203 packet->pwrdown_cmd[0] = PWRDOWN;
1204 packet->pwrdown_cmd[1] = 0;
1205 packet->pwrdown_cmd[2] = 0;
1206 x->tx_buf = &packet->pwrdown_cmd[0];
1210 packet->pwrdown = PWRDOWN;
1211 x->tx_buf = &packet->pwrdown;
1216 x->rx_buf = &packet->dummy;
1304 kfree(packet);
1335 kfree(ts->packet);