coord              55 drivers/input/touchscreen/jornada720_ts.c 	int coord, high_bits = coords[3];
coord              57 drivers/input/touchscreen/jornada720_ts.c 	coord  = coords[0] | ((high_bits & 0x03) << 8);
coord              58 drivers/input/touchscreen/jornada720_ts.c 	coord += coords[1] | ((high_bits & 0x0c) << 6);
coord              59 drivers/input/touchscreen/jornada720_ts.c 	coord += coords[2] | ((high_bits & 0x30) << 4);
coord              61 drivers/input/touchscreen/jornada720_ts.c 	return coord / 3;
coord             107 drivers/input/touchscreen/wacom_w8001.c static void parse_pen_data(u8 *data, struct w8001_coord *coord)
coord             109 drivers/input/touchscreen/wacom_w8001.c 	memset(coord, 0, sizeof(*coord));
coord             111 drivers/input/touchscreen/wacom_w8001.c 	coord->rdy = data[0] & 0x20;
coord             112 drivers/input/touchscreen/wacom_w8001.c 	coord->tsw = data[0] & 0x01;
coord             113 drivers/input/touchscreen/wacom_w8001.c 	coord->f1 = data[0] & 0x02;
coord             114 drivers/input/touchscreen/wacom_w8001.c 	coord->f2 = data[0] & 0x04;
coord             116 drivers/input/touchscreen/wacom_w8001.c 	coord->x = (data[1] & 0x7F) << 9;
coord             117 drivers/input/touchscreen/wacom_w8001.c 	coord->x |= (data[2] & 0x7F) << 2;
coord             118 drivers/input/touchscreen/wacom_w8001.c 	coord->x |= (data[6] & 0x60) >> 5;
coord             120 drivers/input/touchscreen/wacom_w8001.c 	coord->y = (data[3] & 0x7F) << 9;
coord             121 drivers/input/touchscreen/wacom_w8001.c 	coord->y |= (data[4] & 0x7F) << 2;
coord             122 drivers/input/touchscreen/wacom_w8001.c 	coord->y |= (data[6] & 0x18) >> 3;
coord             124 drivers/input/touchscreen/wacom_w8001.c 	coord->pen_pressure = data[5] & 0x7F;
coord             125 drivers/input/touchscreen/wacom_w8001.c 	coord->pen_pressure |= (data[6] & 0x07) << 7 ;
coord             127 drivers/input/touchscreen/wacom_w8001.c 	coord->tilt_x = data[7] & 0x7F;
coord             128 drivers/input/touchscreen/wacom_w8001.c 	coord->tilt_y = data[8] & 0x7F;
coord             131 drivers/input/touchscreen/wacom_w8001.c static void parse_single_touch(u8 *data, struct w8001_coord *coord)
coord             133 drivers/input/touchscreen/wacom_w8001.c 	coord->x = (data[1] << 7) | data[2];
coord             134 drivers/input/touchscreen/wacom_w8001.c 	coord->y = (data[3] << 7) | data[4];
coord             135 drivers/input/touchscreen/wacom_w8001.c 	coord->tsw = data[0] & 0x01;
coord             214 drivers/input/touchscreen/wacom_w8001.c static void report_pen_events(struct w8001 *w8001, struct w8001_coord *coord)
coord             230 drivers/input/touchscreen/wacom_w8001.c 		if (!coord->f2) {
coord             243 drivers/input/touchscreen/wacom_w8001.c 		w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
coord             247 drivers/input/touchscreen/wacom_w8001.c 		input_report_key(dev, BTN_STYLUS2, coord->f2);
coord             251 drivers/input/touchscreen/wacom_w8001.c 	input_report_abs(dev, ABS_X, coord->x);
coord             252 drivers/input/touchscreen/wacom_w8001.c 	input_report_abs(dev, ABS_Y, coord->y);
coord             253 drivers/input/touchscreen/wacom_w8001.c 	input_report_abs(dev, ABS_PRESSURE, coord->pen_pressure);
coord             254 drivers/input/touchscreen/wacom_w8001.c 	input_report_key(dev, BTN_TOUCH, coord->tsw);
coord             255 drivers/input/touchscreen/wacom_w8001.c 	input_report_key(dev, BTN_STYLUS, coord->f1);
coord             256 drivers/input/touchscreen/wacom_w8001.c 	input_report_key(dev, w8001->type, coord->rdy);
coord             259 drivers/input/touchscreen/wacom_w8001.c 	if (!coord->rdy)
coord             263 drivers/input/touchscreen/wacom_w8001.c static void report_single_touch(struct w8001 *w8001, struct w8001_coord *coord)
coord             266 drivers/input/touchscreen/wacom_w8001.c 	unsigned int x = coord->x;
coord             267 drivers/input/touchscreen/wacom_w8001.c 	unsigned int y = coord->y;
coord             274 drivers/input/touchscreen/wacom_w8001.c 	input_report_key(dev, BTN_TOUCH, coord->tsw);
coord             278 drivers/input/touchscreen/wacom_w8001.c 	w8001->type = coord->tsw ? BTN_TOOL_FINGER : KEY_RESERVED;
coord             285 drivers/input/touchscreen/wacom_w8001.c 	struct w8001_coord coord;
coord             307 drivers/input/touchscreen/wacom_w8001.c 				parse_single_touch(w8001->data, &coord);
coord             308 drivers/input/touchscreen/wacom_w8001.c 				report_single_touch(w8001, &coord);
coord             324 drivers/input/touchscreen/wacom_w8001.c 		parse_pen_data(w8001->data, &coord);
coord             325 drivers/input/touchscreen/wacom_w8001.c 		report_pen_events(w8001, &coord);
coord             426 drivers/input/touchscreen/wacom_w8001.c 	struct w8001_coord coord;
coord             443 drivers/input/touchscreen/wacom_w8001.c 	parse_pen_data(w8001->response, &coord);
coord             444 drivers/input/touchscreen/wacom_w8001.c 	w8001->max_pen_x = coord.x;
coord             445 drivers/input/touchscreen/wacom_w8001.c 	w8001->max_pen_y = coord.y;
coord             447 drivers/input/touchscreen/wacom_w8001.c 	input_set_abs_params(dev, ABS_X, 0, coord.x, 0, 0);
coord             448 drivers/input/touchscreen/wacom_w8001.c 	input_set_abs_params(dev, ABS_Y, 0, coord.y, 0, 0);
coord             451 drivers/input/touchscreen/wacom_w8001.c 	input_set_abs_params(dev, ABS_PRESSURE, 0, coord.pen_pressure, 0, 0);
coord             452 drivers/input/touchscreen/wacom_w8001.c 	if (coord.tilt_x && coord.tilt_y) {
coord             453 drivers/input/touchscreen/wacom_w8001.c 		input_set_abs_params(dev, ABS_TILT_X, 0, coord.tilt_x, 0, 0);
coord             454 drivers/input/touchscreen/wacom_w8001.c 		input_set_abs_params(dev, ABS_TILT_Y, 0, coord.tilt_y, 0, 0);
coord             112 drivers/input/touchscreen/wm9712.c static int coord;
coord             113 drivers/input/touchscreen/wm9712.c module_param(coord, int, 0);
coord             114 drivers/input/touchscreen/wm9712.c MODULE_PARM_DESC(coord, "Polling coordinate mode");
coord             209 drivers/input/touchscreen/wm9712.c 	if (coord)
coord             383 drivers/input/touchscreen/wm9712.c 	if (coord) {
coord             112 drivers/input/touchscreen/wm9713.c static int coord;
coord             113 drivers/input/touchscreen/wm9713.c module_param(coord, int, 0);
coord             114 drivers/input/touchscreen/wm9713.c MODULE_PARM_DESC(coord, "Polling coordinate mode");
coord             203 drivers/input/touchscreen/wm9713.c 	if (coord)
coord             394 drivers/input/touchscreen/wm9713.c 	if (coord) {
coord              48 lib/math/cordic.c 	struct cordic_iq coord;
coord              54 lib/math/cordic.c 	coord.i = CORDIC_ANGLE_GEN;
coord              55 lib/math/cordic.c 	coord.q = 0;
coord              73 lib/math/cordic.c 			valtmp = coord.i - (coord.q >> iter);
coord              74 lib/math/cordic.c 			coord.q += (coord.i >> iter);
coord              77 lib/math/cordic.c 			valtmp = coord.i + (coord.q >> iter);
coord              78 lib/math/cordic.c 			coord.q -= (coord.i >> iter);
coord              81 lib/math/cordic.c 		coord.i = valtmp;
coord              84 lib/math/cordic.c 	coord.i *= signx;
coord              85 lib/math/cordic.c 	coord.q *= signx;
coord              86 lib/math/cordic.c 	return coord;
coord             693 sound/pci/au88x0/au88x0_a3d.c static void vortex_a3d_coord2hrtf(a3d_Hrtf_t hrtf, int *coord)
coord             698 sound/pci/au88x0/au88x0_a3d.c static void vortex_a3d_coord2itd(a3d_Itd_t itd, int *coord)
coord             769 sound/pci/au88x0/au88x0_a3d.c 	int coord[6];
coord             771 sound/pci/au88x0/au88x0_a3d.c 		coord[i] = ucontrol->value.integer.value[i];
coord             773 sound/pci/au88x0/au88x0_a3d.c 	vortex_a3d_coord2hrtf(a->hrtf[0], coord);
coord             774 sound/pci/au88x0/au88x0_a3d.c 	vortex_a3d_coord2hrtf(a->hrtf[1], coord);
coord             785 sound/pci/au88x0/au88x0_a3d.c 	int coord[6];
coord             788 sound/pci/au88x0/au88x0_a3d.c 		coord[i] = ucontrol->value.integer.value[i];
coord             790 sound/pci/au88x0/au88x0_a3d.c 	vortex_a3d_coord2itd(a->hrtf[0], coord);
coord             791 sound/pci/au88x0/au88x0_a3d.c 	vortex_a3d_coord2itd(a->hrtf[1], coord);