Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/lib/
Dcordic.c57 struct cordic_iq coord; in cordic_calc_iq() local
63 coord.i = CORDIC_ANGLE_GEN; in cordic_calc_iq()
64 coord.q = 0; in cordic_calc_iq()
82 valtmp = coord.i - (coord.q >> iter); in cordic_calc_iq()
83 coord.q += (coord.i >> iter); in cordic_calc_iq()
86 valtmp = coord.i + (coord.q >> iter); in cordic_calc_iq()
87 coord.q -= (coord.i >> iter); in cordic_calc_iq()
90 coord.i = valtmp; in cordic_calc_iq()
93 coord.i *= signx; in cordic_calc_iq()
94 coord.q *= signx; in cordic_calc_iq()
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Dwacom_w8001.c105 static void parse_pen_data(u8 *data, struct w8001_coord *coord) in parse_pen_data() argument
107 memset(coord, 0, sizeof(*coord)); in parse_pen_data()
109 coord->rdy = data[0] & 0x20; in parse_pen_data()
110 coord->tsw = data[0] & 0x01; in parse_pen_data()
111 coord->f1 = data[0] & 0x02; in parse_pen_data()
112 coord->f2 = data[0] & 0x04; in parse_pen_data()
114 coord->x = (data[1] & 0x7F) << 9; in parse_pen_data()
115 coord->x |= (data[2] & 0x7F) << 2; in parse_pen_data()
116 coord->x |= (data[6] & 0x60) >> 5; in parse_pen_data()
118 coord->y = (data[3] & 0x7F) << 9; in parse_pen_data()
[all …]
Djornada720_ts.c58 int coord, high_bits = coords[3]; in jornada720_ts_average() local
60 coord = coords[0] | ((high_bits & 0x03) << 8); in jornada720_ts_average()
61 coord += coords[1] | ((high_bits & 0x0c) << 6); in jornada720_ts_average()
62 coord += coords[2] | ((high_bits & 0x30) << 4); in jornada720_ts_average()
64 return coord / 3; in jornada720_ts_average()
Dwm9712.c117 static int coord; variable
118 module_param(coord, int, 0);
119 MODULE_PARM_DESC(coord, "Polling coordinate mode");
214 if (coord) in wm9712_phy_init()
388 if (coord) { in wm9712_poll_touch()
Dwm9713.c117 static int coord; variable
118 module_param(coord, int, 0);
119 MODULE_PARM_DESC(coord, "Polling coordinate mode");
208 if (coord) in wm9713_phy_init()
399 if (coord) { in wm9713_poll_touch()
/Linux-v4.19/sound/pci/au88x0/
Dau88x0_a3d.c705 static void vortex_a3d_coord2hrtf(a3d_Hrtf_t hrtf, int *coord) in vortex_a3d_coord2hrtf() argument
710 static void vortex_a3d_coord2itd(a3d_Itd_t itd, int *coord) in vortex_a3d_coord2itd() argument
781 int coord[6]; in snd_vortex_a3d_hrtf_put() local
783 coord[i] = ucontrol->value.integer.value[i]; in snd_vortex_a3d_hrtf_put()
785 vortex_a3d_coord2hrtf(a->hrtf[0], coord); in snd_vortex_a3d_hrtf_put()
786 vortex_a3d_coord2hrtf(a->hrtf[1], coord); in snd_vortex_a3d_hrtf_put()
797 int coord[6]; in snd_vortex_a3d_itd_put() local
800 coord[i] = ucontrol->value.integer.value[i]; in snd_vortex_a3d_itd_put()
802 vortex_a3d_coord2itd(a->hrtf[0], coord); in snd_vortex_a3d_itd_put()
803 vortex_a3d_coord2itd(a->hrtf[1], coord); in snd_vortex_a3d_itd_put()
/Linux-v4.19/Documentation/media/v4l-drivers/
Dcx2341x.rst3461 osd x coord for left edge
3464 osd y coord for top edge
3468 osd x coord for right edge
3471 osd y coord for bottom edge