Searched refs:coord (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/lib/math/ |
D | cordic.c | 48 struct cordic_iq coord; in cordic_calc_iq() local 54 coord.i = CORDIC_ANGLE_GEN; in cordic_calc_iq() 55 coord.q = 0; in cordic_calc_iq() 73 valtmp = coord.i - (coord.q >> iter); in cordic_calc_iq() 74 coord.q += (coord.i >> iter); in cordic_calc_iq() 77 valtmp = coord.i + (coord.q >> iter); in cordic_calc_iq() 78 coord.q -= (coord.i >> iter); in cordic_calc_iq() 81 coord.i = valtmp; in cordic_calc_iq() 84 coord.i *= signx; in cordic_calc_iq() 85 coord.q *= signx; in cordic_calc_iq() [all …]
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | wacom_w8001.c | 107 static void parse_pen_data(u8 *data, struct w8001_coord *coord) in parse_pen_data() argument 109 memset(coord, 0, sizeof(*coord)); in parse_pen_data() 111 coord->rdy = data[0] & 0x20; in parse_pen_data() 112 coord->tsw = data[0] & 0x01; in parse_pen_data() 113 coord->f1 = data[0] & 0x02; in parse_pen_data() 114 coord->f2 = data[0] & 0x04; in parse_pen_data() 116 coord->x = (data[1] & 0x7F) << 9; in parse_pen_data() 117 coord->x |= (data[2] & 0x7F) << 2; in parse_pen_data() 118 coord->x |= (data[6] & 0x60) >> 5; in parse_pen_data() 120 coord->y = (data[3] & 0x7F) << 9; in parse_pen_data() [all …]
|
D | jornada720_ts.c | 55 int coord, high_bits = coords[3]; in jornada720_ts_average() local 57 coord = coords[0] | ((high_bits & 0x03) << 8); in jornada720_ts_average() 58 coord += coords[1] | ((high_bits & 0x0c) << 6); in jornada720_ts_average() 59 coord += coords[2] | ((high_bits & 0x30) << 4); in jornada720_ts_average() 61 return coord / 3; in jornada720_ts_average()
|
D | wm9713.c | 112 static int coord; variable 113 module_param(coord, int, 0); 114 MODULE_PARM_DESC(coord, "Polling coordinate mode"); 203 if (coord) in wm9713_phy_init() 394 if (coord) { in wm9713_poll_touch()
|
D | wm9712.c | 112 static int coord; variable 113 module_param(coord, int, 0); 114 MODULE_PARM_DESC(coord, "Polling coordinate mode"); 209 if (coord) in wm9712_phy_init() 383 if (coord) { in wm9712_poll_touch()
|
D | silead.c | 206 u8 *coord = buf + SILEAD_POINT_DATA_LEN; in silead_ts_handle_pen_data() local 223 get_unaligned_le16(&coord[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_handle_pen_data() 224 get_unaligned_le16(&coord[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_handle_pen_data()
|
/linux-6.1.9/sound/pci/au88x0/ |
D | au88x0_a3d.c | 693 static void vortex_a3d_coord2hrtf(a3d_Hrtf_t hrtf, int *coord) in vortex_a3d_coord2hrtf() argument 698 static void vortex_a3d_coord2itd(a3d_Itd_t itd, int *coord) in vortex_a3d_coord2itd() argument 769 int coord[6]; in snd_vortex_a3d_hrtf_put() local 771 coord[i] = ucontrol->value.integer.value[i]; in snd_vortex_a3d_hrtf_put() 773 vortex_a3d_coord2hrtf(a->hrtf[0], coord); in snd_vortex_a3d_hrtf_put() 774 vortex_a3d_coord2hrtf(a->hrtf[1], coord); in snd_vortex_a3d_hrtf_put() 785 int coord[6]; in snd_vortex_a3d_itd_put() local 788 coord[i] = ucontrol->value.integer.value[i]; in snd_vortex_a3d_itd_put() 790 vortex_a3d_coord2itd(a->hrtf[0], coord); in snd_vortex_a3d_itd_put() 791 vortex_a3d_coord2itd(a->hrtf[1], coord); in snd_vortex_a3d_itd_put()
|
/linux-6.1.9/Documentation/driver-api/media/drivers/ |
D | cx2341x-devel.rst | 3463 osd x coord for left edge 3466 osd y coord for top edge 3470 osd x coord for right edge 3473 osd y coord for bottom edge
|