Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/input/touchscreen/
Djornada720_ts.c53 static int jornada720_ts_average(int coords[4]) in jornada720_ts_average()
55 int coord, high_bits = coords[3]; in jornada720_ts_average()
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()
/Linux-v5.15/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1505 struct hw_x_point *coords = coordinates_x; in copy_rgb_regamma_to_coordinates_x() local
1510 coords->regamma_y_red = rgb_regamma->r; in copy_rgb_regamma_to_coordinates_x()
1511 coords->regamma_y_green = rgb_regamma->g; in copy_rgb_regamma_to_coordinates_x()
1512 coords->regamma_y_blue = rgb_regamma->b; in copy_rgb_regamma_to_coordinates_x()
1514 ++coords; in copy_rgb_regamma_to_coordinates_x()
1717 struct hw_x_point *coords = coords_x; in map_regamma_hw_to_x_user() local
1721 copy_rgb_regamma_to_coordinates_x(coords, in map_regamma_hw_to_x_user()
1726 ramp, coeff128, rgb_user, coords, axis_x, in map_regamma_hw_to_x_user()