/linux-3.3/drivers/media/video/omap/ |
D | omap_voutlib.c | 46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop() 47 pix->width : fbuf->fmt.width; in omap_vout_default_crop() 50 crop->width &= ~1; in omap_vout_default_crop() 52 crop->left = ((pix->width - crop->width) >> 1) & ~1; in omap_vout_default_crop() 75 try_win.width += try_win.left; in omap_vout_try_window() 82 try_win.width = (try_win.width < fbuf->fmt.width) ? in omap_vout_try_window() 83 try_win.width : fbuf->fmt.width; in omap_vout_try_window() 86 if (try_win.left + try_win.width > fbuf->fmt.width) in omap_vout_try_window() 87 try_win.width = fbuf->fmt.width - try_win.left; in omap_vout_try_window() 90 try_win.width &= ~1; in omap_vout_try_window() [all …]
|
/linux-3.3/sound/core/ |
D | pcm_misc.c | 32 unsigned char width; /* bit width */ member 33 unsigned char phys; /* physical bit width */ 44 .width = 8, .phys = 8, .le = -1, .signd = 1, 48 .width = 8, .phys = 8, .le = -1, .signd = 0, 52 .width = 16, .phys = 16, .le = 1, .signd = 1, 56 .width = 16, .phys = 16, .le = 0, .signd = 1, 60 .width = 16, .phys = 16, .le = 1, .signd = 0, 64 .width = 16, .phys = 16, .le = 0, .signd = 0, 68 .width = 24, .phys = 32, .le = 1, .signd = 1, 72 .width = 24, .phys = 32, .le = 0, .signd = 1, [all …]
|
/linux-3.3/drivers/video/console/ |
D | fbcon_rotate.h | 40 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) in rotate_ud() argument 43 int shift = (8 - (width % 8)) & 7; in rotate_ud() 45 width = (width + 7) & ~7; in rotate_ud() 48 for (j = 0; j < width - shift; j++) { in rotate_ud() 49 if (pattern_test_bit(j, i, width, in)) in rotate_ud() 50 pattern_set_bit(width - (1 + j + shift), in rotate_ud() 52 width, out); in rotate_ud() 58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) in rotate_cw() argument 60 int i, j, h = height, w = width; in rotate_cw() 63 width = (width + 7) & ~7; in rotate_cw() [all …]
|
D | fbcon_ccw.c | 29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr() local 39 for (i = 0; i < vc->vc_font.width; i++) { in ccw_update_attr() 40 for (j = 0; j < width; j++) { in ccw_update_attr() 44 if (j == width - 1) in ccw_update_attr() 47 if (msk1 && j == width - 2) in ccw_update_attr() 52 *(dst - width) |= c; in ccw_update_attr() 64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument 71 area.sy = vyres - ((sx + width) * vc->vc_font.width); in ccw_bmove() 73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove() 74 area.width = height * vc->vc_font.height; in ccw_bmove() [all …]
|
D | fbcon_cw.c | 29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr() local 32 for (i = 0; i < vc->vc_font.width; i++) { in cw_update_attr() 33 for (j = 0; j < width; j++) { in cw_update_attr() 38 c |= *(src-width); in cw_update_attr() 50 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 57 area.sy = sx * vc->vc_font.width; in cw_bmove() 59 area.dy = dx * vc->vc_font.width; in cw_bmove() 60 area.width = height * vc->vc_font.height; in cw_bmove() 61 area.height = width * vc->vc_font.width; in cw_bmove() 67 int sx, int height, int width) in cw_clear() argument [all …]
|
D | bitblit.c | 29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() local 30 unsigned int cellsize = vc->vc_font.height * width; in update_attr() 33 offset = cellsize - (offset * width); in update_attr() 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 51 area.sx = sx * vc->vc_font.width; in bit_bmove() 53 area.dx = dx * vc->vc_font.width; in bit_bmove() 56 area.width = width * vc->vc_font.width; in bit_bmove() 62 int sx, int height, int width) in bit_clear() argument 68 region.dx = sx * vc->vc_font.width; in bit_clear() 70 region.width = width * vc->vc_font.width; in bit_clear() [all …]
|
D | fbcon_ud.c | 29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr() local 30 unsigned int cellsize = vc->vc_font.height * width; in ud_update_attr() 33 offset = offset * width; in ud_update_attr() 49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument 57 area.sx = vxres - ((sx + width) * vc->vc_font.width); in ud_bmove() 59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove() 61 area.width = width * vc->vc_font.width; in ud_bmove() 67 int sx, int height, int width) in ud_clear() argument 77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear() 78 region.width = width * vc->vc_font.width; in ud_clear() [all …]
|
/linux-3.3/drivers/video/ |
D | atafb_iplan2p2.c | 26 int height, int width) in atafb_iplan2p2_copyarea() argument 57 width -= 8; in atafb_iplan2p2_copyarea() 59 w = width >> 4; in atafb_iplan2p2_copyarea() 72 if (width & 15) in atafb_iplan2p2_copyarea() 73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea() 76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 79 if ((sx + width) & 15) { in atafb_iplan2p2_copyarea() 83 width -= 8; in atafb_iplan2p2_copyarea() 85 w = width >> 4; in atafb_iplan2p2_copyarea() [all …]
|
D | atafb.h | 5 int dx, int height, int width); 7 int sy, int sx, int height, int width); 9 int dy, int dx, u32 width, 13 int dx, int height, int width); 15 int sy, int sx, int height, int width); 17 int dy, int dx, u32 width, 21 int dx, int height, int width); 23 int sy, int sx, int height, int width); 25 int dy, int dx, u32 width, 29 int dx, int height, int width); [all …]
|
D | atafb_mfb.c | 26 int height, int width) in atafb_mfb_copyarea() argument 31 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea() 32 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea() 33 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea() 34 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea() 39 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea() 47 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea() 55 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 62 if (sx == 0 && width == next_line) { in atafb_mfb_fillrect() 64 fb_memset255(dest, height * (width >> 3)); in atafb_mfb_fillrect() [all …]
|
D | atafb_iplan2p4.c | 26 int height, int width) in atafb_iplan2p4_copyarea() argument 57 width -= 8; in atafb_iplan2p4_copyarea() 59 w = width >> 4; in atafb_iplan2p4_copyarea() 72 if (width & 15) in atafb_iplan2p4_copyarea() 73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea() 76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 79 if ((sx + width) & 15) { in atafb_iplan2p4_copyarea() 83 width -= 8; in atafb_iplan2p4_copyarea() 85 w = width >> 4; in atafb_iplan2p4_copyarea() [all …]
|
D | atafb_iplan2p8.c | 33 int height, int width) in atafb_iplan2p8_copyarea() argument 64 width -= 8; in atafb_iplan2p8_copyarea() 66 w = width >> 4; in atafb_iplan2p8_copyarea() 79 if (width & 15) in atafb_iplan2p8_copyarea() 80 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p8_copyarea() 83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 86 if ((sx + width) & 15) { in atafb_iplan2p8_copyarea() 90 width -= 8; in atafb_iplan2p8_copyarea() 92 w = width >> 4; in atafb_iplan2p8_copyarea() [all …]
|
/linux-3.3/drivers/media/video/s5p-tv/ |
D | mixer_grp_layer.c | 26 { .width = 1, .height = 1, .size = 2 }, 38 { .width = 1, .height = 1, .size = 2 }, 50 { .width = 1, .height = 1, .size = 2 }, 62 { .width = 1, .height = 1, .size = 4 }, 164 x_center = dst->x_offset + dst->width / 2; in mxr_graph_fix_geometry() 168 dst->width = round_down(dst->width, 2); in mxr_graph_fix_geometry() 171 dst->width = round_up(dst->width, 2); in mxr_graph_fix_geometry() 175 dst->width = min(dst->width, dst->full_width); in mxr_graph_fix_geometry() 179 dst->width = min(dst->width, 2 * src->full_width); in mxr_graph_fix_geometry() 183 dst->x_offset = do_center(x_center, dst->width, in mxr_graph_fix_geometry() [all …]
|
D | mixer_vp_layer.c | 27 { .width = 1, .height = 1, .size = 1 }, 28 { .width = 2, .height = 2, .size = 2 }, 40 { .width = 1, .height = 1, .size = 1 }, 41 { .width = 2, .height = 2, .size = 2 }, 53 { .width = 1, .height = 1, .size = 1 }, 54 { .width = 2, .height = 2, .size = 2 }, 67 { .width = 128, .height = 32, .size = 4096 }, 68 { .width = 128, .height = 32, .size = 2048 }, 155 x_center = dst->x_offset + dst->width / 2; in mxr_vp_fix_geometry() 159 dst->width = clamp(dst->width, 8U, 16 * src->full_width); in mxr_vp_fix_geometry() [all …]
|
/linux-3.3/tools/perf/util/ |
D | svghelper.c | 88 * if the recording is short, we default to a width of 1000, but in open_svg() 89 * for longer recordings we want at least 200 units of width per second in open_svg() 98 …fprintf(svgfile, "<svg width=\"%i\" height=\"%" PRIu64 "\" version=\"1.1\" xmlns=\"http://www.w3.o… in open_svg() 102 fprintf(svgfile, " rect { stroke-width: 1; }\n"); in open_svg() 103 …fprintf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; … in open_svg() 104 …fprintf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; … in open_svg() 105 …fprintf(svgfile, " rect.sample { fill:rgb( 0, 0,255); fill-opacity:0.8; stroke-width:0; … in open_svg() 106 …fprintf(svgfile, " rect.blocked { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg() 107 …fprintf(svgfile, " rect.waiting { fill:rgb(224,214, 0); fill-opacity:0.8; stroke-width:0; … in open_svg() 108 …fprintf(svgfile, " rect.WAITING { fill:rgb(255,214, 48); fill-opacity:0.6; stroke-width:0; … in open_svg() [all …]
|
D | values.c | 145 int width; in perf_read_values__display_pretty() local 147 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_pretty() 148 if (width > pidwidth) in perf_read_values__display_pretty() 149 pidwidth = width; in perf_read_values__display_pretty() 150 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_pretty() 151 if (width > tidwidth) in perf_read_values__display_pretty() 152 tidwidth = width; in perf_read_values__display_pretty() 154 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); in perf_read_values__display_pretty() 155 if (width > counterwidth[j]) in perf_read_values__display_pretty() 156 counterwidth[j] = width; in perf_read_values__display_pretty() [all …]
|
/linux-3.3/drivers/media/video/ |
D | sh_mobile_ceu_camera.c | 53 #define CAPWR 0x14 /* Capture interface width register */ 61 #define CDWDR 0x38 /* Capture destination width register */ 128 unsigned int width; member 217 bytes_per_line = soc_mbus_bytes_per_line(fmt->fmt.pix.width, in sh_mobile_ceu_videobuf_setup() 661 unsigned int height, width, cdwdr_width, in_width, in_height; in sh_mobile_ceu_set_rect() local 673 width = icd->user_width; in sh_mobile_ceu_set_rect() 676 in_width = cam->width; in sh_mobile_ceu_set_rect() 681 cdwdr_width = width; in sh_mobile_ceu_set_rect() 683 int bytes_per_line = soc_mbus_bytes_per_line(width, in sh_mobile_ceu_set_rect() 695 in_width = cam->width * w_factor; in sh_mobile_ceu_set_rect() [all …]
|
D | btcx-risc.c | 99 clips[n].c.width = -win->left; in btcx_screen_clips() 103 if (win->left + win->width > swidth) { in btcx_screen_clips() 107 clips[n].c.width = win->width - clips[n].c.left; in btcx_screen_clips() 115 clips[n].c.width = win->width; in btcx_screen_clips() 123 clips[n].c.width = win->width; in btcx_screen_clips() 138 nw = (win->width) & ~mask; in btcx_align() 139 if (nx + nw > win->left + win->width) in btcx_align() 143 win->width = nw; in btcx_align() 146 win->width, win->height, win->left, win->top, dx); in btcx_align() 151 nw = (clips[i].c.width) & ~mask; in btcx_align() [all …]
|
/linux-3.3/scripts/kconfig/lxdialog/ |
D | inputbox.c | 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 31 int x = width / 2 - 11; in print_buttons() 44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument 60 if (getmaxx(stdscr) <= (width - 2)) in dialog_inputbox() 64 x = (COLS - width) / 2; in dialog_inputbox() 67 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox() 69 dialog = newwin(height, width, y, x); in dialog_inputbox() 72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox() 76 for (i = 0; i < width - 2; i++) in dialog_inputbox() 81 print_title(dialog, title, width); in dialog_inputbox() [all …]
|
D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 29 int x = width / 2 - 10; in print_buttons() 42 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument 50 if (getmaxx(stdscr) < (width + 4)) in dialog_yesno() 54 x = (COLS - width) / 2; in dialog_yesno() 57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno() 59 dialog = newwin(height, width, y, x); in dialog_yesno() 62 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 66 for (i = 0; i < width - 2; i++) in dialog_yesno() 71 print_title(dialog, title, width); in dialog_yesno() [all …]
|
/linux-3.3/drivers/dma/ |
D | fsldma.h | 191 #define DMA_IN(fsl_chan, addr, width) \ argument 193 in_be##width(addr) : in_le##width(addr)) 194 #define DMA_OUT(fsl_chan, addr, val, width) \ argument 196 out_be##width(addr, val) : out_le##width(addr, val)) 198 #define DMA_TO_CPU(fsl_chan, d, width) \ argument 200 be##width##_to_cpu((__force __be##width)(v##width)d) : \ 201 le##width##_to_cpu((__force __le##width)(v##width)d)) 202 #define CPU_TO_DMA(fsl_chan, c, width) \ argument 204 (__force v##width)cpu_to_be##width(c) : \ 205 (__force v##width)cpu_to_le##width(c))
|
/linux-3.3/drivers/video/aty/ |
D | mach64_accel.c | 185 static inline void draw_rect(s16 x, s16 y, u16 width, u16 height, in draw_rect() argument 191 aty_st_le32(DST_HEIGHT_WIDTH, (width << 16) | height, par); in draw_rect() 199 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 203 if (!area->width || !area->height) in atyfb_copyarea() 215 width *= 3; in atyfb_copyarea() 225 dx += width - 1; in atyfb_copyarea() 226 sx += width - 1; in atyfb_copyarea() 237 aty_st_le32(SRC_HEIGHT1_WIDTH1, (width << 16) | area->height, par); in atyfb_copyarea() 239 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea() 245 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local [all …]
|
/linux-3.3/drivers/video/matrox/ |
D | matroxfb_accel.c | 200 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 214 width--; in matrox_accel_bmove() 216 end = start+width; in matrox_accel_bmove() 222 width--; in matrox_accel_bmove() 224 start = end+width; in matrox_accel_bmove() 230 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); in matrox_accel_bmove() 239 int width) in matrox_accel_bmove_lin() argument 253 width--; in matrox_accel_bmove_lin() 255 end = start+width; in matrox_accel_bmove_lin() 261 width--; in matrox_accel_bmove_lin() [all …]
|
/linux-3.3/drivers/video/savage/ |
D | savagefb_accel.c | 38 if (!region->width || !region->height) in savagefb_copyarea() 47 sx += region->width - 1; in savagefb_copyarea() 48 dx += region->width - 1; in savagefb_copyarea() 62 BCI_SEND(BCI_W_H(region->width, region->height)); in savagefb_copyarea() 70 if (!rect->width || !rect->height) in savagefb_fillrect() 89 BCI_SEND( BCI_W_H(rect->width, rect->height) ); in savagefb_fillrect() 95 int fg, bg, size, i, width; in savagefb_imageblit() local 99 if (!image->width || !image->height) in savagefb_imageblit() 122 width = (image->width + 31) & ~31; in savagefb_imageblit() 123 size = (width * image->height)/8; in savagefb_imageblit() [all …]
|
/linux-3.3/drivers/staging/omapdrm/ |
D | tcm.h | 59 u16 width, height; /* container dimensions */ member 64 to the list. It may also contain copies of width and height to notice 65 any changes to the publicly available width and height fields. */ 69 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u8 align, 87 * width and height fits within container 92 struct tcm *sita_init(u16 width, u16 height, struct tcm_pt *attr); 116 * @param width Width(in pages) of area to be reserved. 129 static inline s32 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, in tcm_reserve_2d() argument 134 (area == NULL || width == 0 || height == 0 || in tcm_reserve_2d() 137 (height > tcm->height || width > tcm->width) ? -ENOMEM : 0; in tcm_reserve_2d() [all …]
|