Searched refs:coords (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | jornada720_ts.c | 53 static int jornada720_ts_average(int coords[4]) in jornada720_ts_average() argument 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()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | jornada720_ts.c | 53 static int jornada720_ts_average(int coords[4]) in jornada720_ts_average() argument 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 1432 struct hw_x_point *coords = coordinates_x; in copy_rgb_regamma_to_coordinates_x() local 1437 coords->regamma_y_red = rgb_regamma->r; in copy_rgb_regamma_to_coordinates_x() 1438 coords->regamma_y_green = rgb_regamma->g; in copy_rgb_regamma_to_coordinates_x() 1439 coords->regamma_y_blue = rgb_regamma->b; in copy_rgb_regamma_to_coordinates_x() 1441 ++coords; in copy_rgb_regamma_to_coordinates_x() 1649 struct hw_x_point *coords = coords_x; in map_regamma_hw_to_x_user() local 1653 copy_rgb_regamma_to_coordinates_x(coords, in map_regamma_hw_to_x_user() 1658 ramp, coeff128, rgb_user, coords, axis_x, in map_regamma_hw_to_x_user()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 1507 struct hw_x_point *coords = coordinates_x; in copy_rgb_regamma_to_coordinates_x() local 1512 coords->regamma_y_red = rgb_regamma->r; in copy_rgb_regamma_to_coordinates_x() 1513 coords->regamma_y_green = rgb_regamma->g; in copy_rgb_regamma_to_coordinates_x() 1514 coords->regamma_y_blue = rgb_regamma->b; in copy_rgb_regamma_to_coordinates_x() 1516 ++coords; in copy_rgb_regamma_to_coordinates_x() 1723 struct hw_x_point *coords = coords_x; in map_regamma_hw_to_x_user() local 1727 copy_rgb_regamma_to_coordinates_x(coords, in map_regamma_hw_to_x_user() 1732 ramp, coeff128, rgb_user, coords, axis_x, in map_regamma_hw_to_x_user()
|
Completed in 7 milliseconds