Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/drivers/input/touchscreen/
Dwacom_w8001.c102 static void parse_pen_data(u8 *data, struct w8001_coord *coord) in parse_pen_data() argument
104 memset(coord, 0, sizeof(*coord)); in parse_pen_data()
106 coord->rdy = data[0] & 0x20; in parse_pen_data()
107 coord->tsw = data[0] & 0x01; in parse_pen_data()
108 coord->f1 = data[0] & 0x02; in parse_pen_data()
109 coord->f2 = data[0] & 0x04; in parse_pen_data()
111 coord->x = (data[1] & 0x7F) << 9; in parse_pen_data()
112 coord->x |= (data[2] & 0x7F) << 2; in parse_pen_data()
113 coord->x |= (data[6] & 0x60) >> 5; in parse_pen_data()
115 coord->y = (data[3] & 0x7F) << 9; in parse_pen_data()
[all …]
Djornada720_ts.c59 int coord, high_bits = coords[3]; in jornada720_ts_average() local
61 coord = coords[0] | ((high_bits & 0x03) << 8); in jornada720_ts_average()
62 coord += coords[1] | ((high_bits & 0x0c) << 6); in jornada720_ts_average()
63 coord += coords[2] | ((high_bits & 0x30) << 4); in jornada720_ts_average()
65 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()
384 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-3.4.99/arch/tile/kernel/
Dsmp.c235 HV_Coord coord; in smp_send_reschedule() local
239 coord.y = cpu_y(cpu); in smp_send_reschedule()
240 coord.x = cpu_x(cpu); in smp_send_reschedule()
241 hv_trigger_ipi(coord, IRQ_RESCHEDULE); in smp_send_reschedule()
Dsetup.c734 HV_Coord coord; in setup_numa_mapping() local
753 for (coord.y = 0; coord.y < smp_height; ++coord.y) { in setup_numa_mapping()
754 for (coord.x = 0; coord.x < smp_width; in setup_numa_mapping()
755 ++coord.x, ++cpu) { in setup_numa_mapping()
764 coord, node_controller[node]); in setup_numa_mapping()
766 ABS(info.coord.x) + ABS(info.coord.y); in setup_numa_mapping()
995 BUG_ON(topology.coord.x != 0 || topology.coord.y != 0); in validate_hv()
/linux-3.4.99/sound/pci/au88x0/
Dau88x0_a3d.c704 static void vortex_a3d_coord2hrtf(a3d_Hrtf_t hrtf, int *coord) in vortex_a3d_coord2hrtf() argument
709 static void vortex_a3d_coord2itd(a3d_Itd_t itd, int *coord) in vortex_a3d_coord2itd() argument
780 int coord[6]; in snd_vortex_a3d_hrtf_put() local
782 coord[i] = ucontrol->value.integer.value[i]; in snd_vortex_a3d_hrtf_put()
784 vortex_a3d_coord2hrtf(a->hrtf[0], coord); in snd_vortex_a3d_hrtf_put()
785 vortex_a3d_coord2hrtf(a->hrtf[1], coord); in snd_vortex_a3d_hrtf_put()
796 int coord[6]; in snd_vortex_a3d_itd_put() local
799 coord[i] = ucontrol->value.integer.value[i]; in snd_vortex_a3d_itd_put()
801 vortex_a3d_coord2itd(a->hrtf[0], coord); in snd_vortex_a3d_itd_put()
802 vortex_a3d_coord2itd(a->hrtf[1], coord); in snd_vortex_a3d_itd_put()
/linux-3.4.99/arch/tile/include/hv/
Dhypervisor.h786 HV_Coord coord; member
920 HV_Coord coord; /**< Relative tile coordinates of the port used by a member
946 HV_MemoryControllerInfo hv_inquire_memory_controller(HV_Coord coord,
/linux-3.4.99/Documentation/video4linux/cx2341x/
Dfw-decoder-regs.txt692 osd x coord for left edge
695 osd y coord for top edge
699 osd x coord for right edge
702 osd y coord for bottom edge