/kernel/linux/linux-5.10/lib/math/ |
H A D | cordic.c | 44 * coord: function output parameter holding the i/q coordinate 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 in cordic_calc_iq() [all...] |
/kernel/linux/linux-6.6/lib/math/ |
H A D | cordic.c | 44 * coord: function output parameter holding the i/q coordinate 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 in cordic_calc_iq() [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A 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 in parse_pen_data() 131 parse_single_touch(u8 *data, struct w8001_coord *coord) parse_single_touch() argument 214 report_pen_events(struct w8001 *w8001, struct w8001_coord *coord) report_pen_events() argument 263 report_single_touch(struct w8001 *w8001, struct w8001_coord *coord) report_single_touch() argument 285 struct w8001_coord coord; w8001_interrupt() local 426 struct w8001_coord coord; w8001_setup_pen() local [all...] |
H A 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()
|
H A 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()
|
H A D | wm9712.c | 112 static int coord; variable 113 module_param(coord, int, 0); 114 MODULE_PARM_DESC(coord, "Polling coordinate mode"); 208 /* wait - coord mode */ in wm9712_phy_init() 209 if (coord) in wm9712_phy_init() 312 * Read a coord from the WM9712 adc in polling mode. 383 if (coord) { in wm9712_poll_touch()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A 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 in parse_pen_data() 131 parse_single_touch(u8 *data, struct w8001_coord *coord) parse_single_touch() argument 214 report_pen_events(struct w8001 *w8001, struct w8001_coord *coord) report_pen_events() argument 263 report_single_touch(struct w8001 *w8001, struct w8001_coord *coord) report_single_touch() argument 285 struct w8001_coord coord; w8001_interrupt() local 426 struct w8001_coord coord; w8001_setup_pen() local [all...] |
H A 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()
|
H A 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()
|
H A D | wm9712.c | 112 static int coord; variable 113 module_param(coord, int, 0); 114 MODULE_PARM_DESC(coord, "Polling coordinate mode"); 208 /* wait - coord mode */ in wm9712_phy_init() 209 if (coord) in wm9712_phy_init() 312 * Read a coord from the WM9712 adc in polling mode. 383 if (coord) { in wm9712_poll_touch()
|
H A 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()
|
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | sh_css.c | 1440 const struct ia_css_coordinate *coord = NULL; in start_pipe() local 1450 coord = &me->config.internal_frame_origin_bqs_on_sctbl; in start_pipe() 1469 coord, in start_pipe() 3924 const struct ia_css_coordinate *coord = NULL; in preview_start() local 3965 coord = &pipe->config.internal_frame_origin_bqs_on_sctbl; in preview_start() 3983 coord, in preview_start() 4007 coord, in preview_start() 4026 coord, in preview_start() 5728 const struct ia_css_coordinate *coord = NULL; in video_start() local 5765 coord in video_start() [all...] |