/linux-6.1.9/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 52 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 54 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea() 56 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea() 71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 98 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1() 120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 131 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8() 159 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument 174 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16() [all …]
|
/linux-6.1.9/drivers/video/fbdev/ |
D | atafb.h | 6 int dx, int height, int width); 10 int dy, int dx, u32 width, 14 int dx, int height, int width); 18 int dy, int dx, u32 width, 22 int dx, int height, int width); 26 int dy, int dx, u32 width, 30 int dx, int height, int width); 34 int dy, int dx, u32 width,
|
D | dnfb.c | 161 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea() 165 x_end = area->dx + area->width - 1; in dnfb_copyarea() 166 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea() 167 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea() 170 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea() 171 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea() 175 x_end = area->dx - area->width + 1; in dnfb_copyarea() 176 x_word_count = (area->dx >> 4) - (x_end >> 4) + 1; in dnfb_copyarea() 177 start_mask = 0x7ffff >> (area->dx & 0xf); in dnfb_copyarea() 180 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea() [all …]
|
D | atafb_mfb.c | 24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument 30 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea() 36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea() 44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 77 int dy, int dx, u32 width, in atafb_mfb_linefill() argument 83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
|
D | atafb_iplan2p2.c | 24 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea() argument 43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p2_copyarea() 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 152 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 157 if ((dx + width) & 15) in atafb_iplan2p2_copyarea() 239 int dy, int dx, u32 width, in atafb_iplan2p2_linefill() argument 247 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill() [all …]
|
D | atafb_iplan2p4.c | 24 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea() argument 43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p4_copyarea() 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 159 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 164 if ((dx + width) & 15) in atafb_iplan2p4_copyarea() 253 int dy, int dx, u32 width, in atafb_iplan2p4_linefill() argument 261 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill() [all …]
|
D | atafb_iplan2p8.c | 31 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument 50 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea() 53 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea() 58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 83 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 117 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 180 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 185 if ((dx + width) & 15) in atafb_iplan2p8_copyarea() 288 int dy, int dx, u32 width, in atafb_iplan2p8_linefill() argument 296 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill() [all …]
|
D | vga16fb.c | 845 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect() local 853 dx /= 4; in vga_8planes_fillrect() 854 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 905 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect() 911 x2 = rect->dx + rect->width; in vga16fb_fillrect() 915 width = x2 - rect->dx; in vga16fb_fillrect() 925 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect() 979 u32 sx, dx, width; in vga_8planes_copyarea() local 986 dx = area->dx / 4; in vga_8planes_copyarea() 989 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea() [all …]
|
D | tgafb.c | 630 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 639 dx = image->dx; 652 if (dx > vxres || dy > vyres) 654 if (dx + width > vxres) 655 width = vxres - dx; 685 pos += dx; 689 pos += dx * 4; 843 u32 color, dx, dy, width, height, vxres, vyres; local 849 dx = image->dx; 858 if (dx > vxres || dy > vyres) [all …]
|
/linux-6.1.9/drivers/video/fbdev/aty/ |
D | mach64_accel.c | 28 static u32 rotation24bpp(u32 dx, u32 direction) in rotation24bpp() argument 32 rotation = (dx / 4) % 6; in rotation24bpp() 34 rotation = ((dx + 2) / 4) % 6; in rotation24bpp() 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 218 dx *= 3; in atyfb_copyarea() 228 if (sx < dx) { in atyfb_copyarea() 229 dx += width - 1; in atyfb_copyarea() 235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea() 244 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea() 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local [all …]
|
D | radeon_accel.c | 64 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect() 89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect() 92 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect() 102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local 105 dx = area->dx; dy = area->dy; in radeonfb_prim_copyarea() 107 xdir = sx - dx; in radeonfb_prim_copyarea() 110 if ( xdir < 0 ) { sx += w-1; dx += w-1; } in radeonfb_prim_copyarea() 130 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea() 142 modded.dx = area->dx; in radeonfb_copyarea() 161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea() [all …]
|
/linux-6.1.9/drivers/video/fbdev/savage/ |
D | savagefb_accel.c | 34 int sx = region->sx, dx = region->dx; in savagefb_copyarea() local 44 if (dx <= sx) { in savagefb_copyarea() 48 dx += region->width - 1; in savagefb_copyarea() 61 BCI_SEND(BCI_X_Y(dx, dy)); in savagefb_copyarea() 88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); in savagefb_fillrect() 128 BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); in savagefb_imageblit() 131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi_phy.c | 38 int dx, dy; in hdmi_phy_parse_lanes() local 40 dx = lanes[i]; in hdmi_phy_parse_lanes() 43 if (dx < 0 || dx >= 8) in hdmi_phy_parse_lanes() 49 if (dx & 1) { in hdmi_phy_parse_lanes() 50 if (dy != dx - 1) in hdmi_phy_parse_lanes() 54 if (dy != dx + 1) in hdmi_phy_parse_lanes() 59 lane = dx / 2; in hdmi_phy_parse_lanes()
|
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_phy.c | 47 int dx, dy; in hdmi_phy_parse_lanes() local 49 dx = lanes[i]; in hdmi_phy_parse_lanes() 52 if (dx < 0 || dx >= 8) in hdmi_phy_parse_lanes() 58 if (dx & 1) { in hdmi_phy_parse_lanes() 59 if (dy != dx - 1) in hdmi_phy_parse_lanes() 63 if (dy != dx + 1) in hdmi_phy_parse_lanes() 68 lane = dx / 2; in hdmi_phy_parse_lanes()
|
/linux-6.1.9/drivers/input/mouse/ |
D | amimouse.c | 38 int nx, ny, dx, dy; in amimouse_interrupt() local 45 dx = nx - amimouse_lastx; in amimouse_interrupt() 48 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt() 49 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt() 58 input_report_rel(dev, REL_X, dx); in amimouse_interrupt()
|
/linux-6.1.9/drivers/gpu/drm/vboxvideo/ |
D | vbox_irq.c | 79 if (hintsi->dx >= 0xffff || in validate_or_set_position_hints() 81 hintsj->dx >= 0xffff || in validate_or_set_position_hints() 83 (hintsi->dx < in validate_or_set_position_hints() 84 hintsj->dx + (hintsj->cx & 0x8fff) && in validate_or_set_position_hints() 85 hintsi->dx + (hintsi->cx & 0x8fff) > in validate_or_set_position_hints() 86 hintsj->dx) || in validate_or_set_position_hints() 98 vbox->last_mode_hints[i].dx = currentx; in validate_or_set_position_hints() 141 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()
|
/linux-6.1.9/drivers/video/fbdev/sis/ |
D | sis_accel.c | 322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 326 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect() 341 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 348 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 375 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea() 380 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea() 388 if(area->sx < area->dx) xdir = 0; in fbcon_sis_copyarea() 396 area->dx, area->dy, width, height); in fbcon_sis_copyarea() 404 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_sensorhub_trace.h | 81 TP_PROTO(struct cros_ec_sensors_ts_filter_state *state, s64 dx, s64 dy), 82 TP_ARGS(state, dx, dy), 84 __field(s64, dx) 93 __entry->dx = dx; 102 __entry->dx,
|
/linux-6.1.9/drivers/video/fbdev/core/ |
D | fbcon_ud.c | 49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument 59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove() 77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear() 174 image.dx = vxres - ((xx + count) * vc->vc_font.width); in ud_putcs() 208 image.dx += image.width; in ud_putcs() 236 region.dx = info->var.xoffset; in ud_clear_margins() 244 region.dx = info->var.xoffset; in ud_clear_margins() 260 int err = 1, dx, dy; in ud_cursor() local 309 dx = vxres - ((vc->state.x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor() 311 if (ops->cursor_state.image.dx != dx || in ud_cursor() [all …]
|
D | fbcon_cw.c | 49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove() 58 area.dy = dx * vc->vc_font.width; in cw_bmove() 74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear() 135 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs() 188 region.dx = 0; in cw_clear_margins() 196 region.dx = info->var.xoffset; in cw_clear_margins() 213 int err = 1, dx, dy; in cw_cursor() local 260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor() 263 if (ops->cursor_state.image.dx != dx || in cw_cursor() [all …]
|
D | fbcon_ccw.c | 64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument 72 area.dx = dy * vc->vc_font.height; in ccw_bmove() 73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove() 89 region.dx = sy * vc->vc_font.height; in ccw_clear() 150 image.dx = yy * vc->vc_font.height; in ccw_putcs() 205 region.dx = 0; in ccw_clear_margins() 213 region.dx = info->var.xoffset + bs; in ccw_clear_margins() 230 int err = 1, dx, dy; in ccw_cursor() local 277 dx = y * vc->vc_font.height; in ccw_cursor() 280 if (ops->cursor_state.image.dx != dx || in ccw_cursor() [all …]
|
/linux-6.1.9/drivers/video/fbdev/i810/ |
D | i810_accel.c | 301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local 316 dx = rect->dx * par->depth; in i810fb_fillrect() 321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_fillrect() 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local 337 dx = region->dx * par->depth; in i810fb_copyarea() 344 if (dx <= sx) { in i810fb_copyarea() 350 dx += width - 1; in i810fb_copyarea() 361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_copyarea() 391 (image->dx * par->depth); in i810fb_imageblit()
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ |
D | ia_css_ctc1_5.host.c | 30 int dx = x1 - x0; in ctc_gradient() local 37 if (dx == 0) { in ctc_gradient() 42 dydx_int = dy / dx; in ctc_gradient() 43 dydx_frc = ((dy - dydx_int * dx) << frc_bits) / dx; in ctc_gradient()
|
/linux-6.1.9/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 209 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 218 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove() 242 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); in matrox_accel_bmove() 250 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument 260 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin() 284 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); in matrox_accel_bmove_lin() 295 if ((area->sx | area->dx | area->width) & 1) in matroxfb_cfb4_copyarea() 298 …nfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, … in matroxfb_cfb4_copyarea() 304 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea() 332 …matroxfb_accel_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, … in matroxfb_fillrect() [all …]
|
/linux-6.1.9/net/sched/ |
D | sch_hfsc.c | 87 u64 dx; /* the x-projection of the 1st segment */ member 99 u64 dx; /* the x-projection of the 1st segment */ member 444 u64 dx; in d2dx() local 446 dx = ((u64)d * PSCHED_TICKS_PER_SEC); in d2dx() 447 dx += USEC_PER_SEC - 1; in d2dx() 448 do_div(dx, USEC_PER_SEC); in d2dx() 449 return dx; in d2dx() 464 dx2d(u64 dx) in dx2d() argument 468 d = dx * USEC_PER_SEC; in dx2d() 478 isc->dx = d2dx(sc->d); in sc2isc() [all …]
|