Home
last modified time | relevance | path

Searched refs:coords (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/input/touchscreen/
Djornada720_ts.c56 static int jornada720_ts_average(int coords[4]) in jornada720_ts_average()
58 int coord, high_bits = coords[3]; in jornada720_ts_average()
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()
/Linux-v4.19/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1110 struct hw_x_point *coords = coordinates_x; in copy_rgb_regamma_to_coordinates_x() local
1115 coords->regamma_y_red = rgb_regamma->r; in copy_rgb_regamma_to_coordinates_x()
1116 coords->regamma_y_green = rgb_regamma->g; in copy_rgb_regamma_to_coordinates_x()
1117 coords->regamma_y_blue = rgb_regamma->b; in copy_rgb_regamma_to_coordinates_x()
1119 ++coords; in copy_rgb_regamma_to_coordinates_x()
1323 struct hw_x_point *coords = coords_x; in map_regamma_hw_to_x_user() local
1327 copy_rgb_regamma_to_coordinates_x(coords, in map_regamma_hw_to_x_user()
1332 ramp, coeff128, rgb_user, coords, axis_x, in map_regamma_hw_to_x_user()