Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_display_driver_4bpp_canvas_copy.c86 GX_UBYTE write_mask; in _gx_display_driver_4bpp_canvas_copy() local
124 write_mask = 0x0f; in _gx_display_driver_4bpp_canvas_copy()
128 write_mask = 0xf0; in _gx_display_driver_4bpp_canvas_copy()
134 *write = (GX_UBYTE)((*write) & (~write_mask)); in _gx_display_driver_4bpp_canvas_copy()
139 if (read_mask & write_mask) in _gx_display_driver_4bpp_canvas_copy()
147 if (write_mask & 0x01) in _gx_display_driver_4bpp_canvas_copy()
159 write_mask >>= 4; in _gx_display_driver_4bpp_canvas_copy()
165 if (!write_mask) in _gx_display_driver_4bpp_canvas_copy()
168 write_mask = 0xf0; in _gx_display_driver_4bpp_canvas_copy()
Dgx_display_driver_1bpp_canvas_copy.c85 GX_UBYTE write_mask; in _gx_display_driver_1bpp_canvas_copy() local
111 write_mask = (GX_UBYTE)(0x80 >> (overlap.gx_rectangle_left & 0x07)); in _gx_display_driver_1bpp_canvas_copy()
117 *write |= write_mask; in _gx_display_driver_1bpp_canvas_copy()
121 *write = (GX_UBYTE)((*write) & (~write_mask)); in _gx_display_driver_1bpp_canvas_copy()
124 write_mask >>= 1; in _gx_display_driver_1bpp_canvas_copy()
130 if (!write_mask) in _gx_display_driver_1bpp_canvas_copy()
133 write_mask = 0x80; in _gx_display_driver_1bpp_canvas_copy()