/linux/drivers/media/platform/omap/ |
A 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() 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() 136 if ((crop->width/win->w.width) >= 2) in omap_vout_new_window() 137 crop->width = win->w.width * 2; in omap_vout_new_window() 152 if ((crop->width/win->w.width) >= 4) in omap_vout_new_window() 153 crop->width = win->w.width * 4; in omap_vout_new_window() 188 try_crop.width = (try_crop.width < pix->width) ? in omap_vout_new_crop() 189 try_crop.width : pix->width; in omap_vout_new_crop() [all …]
|
/linux/drivers/media/platform/qcom/venus/ |
A D | hfi_plat_bufs_v6.c | 73 #define SIZE_H264D_LB_VSP_TOP(width, height) (((((width) + 15) >> 4) << 7)) argument 130 #define SIZE_H265D_LB_VSP_TOP(width, height) ((((width) + 63) >> 6) * 128) argument 137 #define SIZE_H265D_QP(width, height) SIZE_H264D_QP(width, height) argument 182 ((ALIGN(width, 16) + 8) * 10 * 2) 186 ((ALIGN(width, 16) >> 4) * 64) 274 product = width * height; in size_h264d_hw_bin_buffer() 305 product = width * height; in size_h265d_hw_bin_buffer() 1187 u32 width = params->width, height = params->height, out_min_count; in bufreq_dec() local 1238 width, height); in bufreq_dec() 1259 u32 width = params->width; in bufreq_enc() local [all …]
|
/linux/sound/core/ |
A D | pcm_misc.c | 35 unsigned char width; /* bit width */ member 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, 355 val = pcm_formats[(INT)format].width; in snd_pcm_format_width() 426 int width; in snd_pcm_format_set_silence() local 436 if (! width) in snd_pcm_format_set_silence() 440 unsigned int bytes = samples * width / 8; in snd_pcm_format_set_silence() 445 width /= 8; in snd_pcm_format_set_silence() 449 memcpy(dst, pat, width); in snd_pcm_format_set_silence() 450 dst += width; in snd_pcm_format_set_silence() [all …]
|
/linux/include/media/ |
A D | v4l2-rect.h | 21 r->width = size->width; in v4l2_rect_set_size_to() 33 if (r->width < min_size->width) in v4l2_rect_set_min_size() 34 r->width = min_size->width; in v4l2_rect_set_min_size() 47 if (r->width > max_size->width) in v4l2_rect_set_max_size() 48 r->width = max_size->width; in v4l2_rect_set_max_size() 66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside() 67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside() 82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size() 126 right = min(r1->left + r1->width, r2->left + r2->width); in v4l2_rect_intersect() 153 r->width = ((r->width * to->width) / from->width) & ~1; in v4l2_rect_scale() [all …]
|
/linux/Documentation/input/ |
A D | shape.svg | 1 <svg width="7.95in" height="3.70in" version="1.1" viewBox="1956 1041 9354.492 4306.001" xmlns="http… 3 …points="4200 3675 4200 5400" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/> 4 …points="8250 3675 8250 5400" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/> 5 …translate(-121.88 -68.4)" points="3675 3600 8700 3600" fill="none" stroke="#000" stroke-width="7"/> 7 …points="8325 3150 9075 3150" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/> 11 …translate(-121.88 -68.4)" points="4217 5400 8158 5400" fill="none" stroke="#000" stroke-width="7"/> 14 …anslate(-121.88 -68.4)" points="10125 2342 10125 3583" fill="none" stroke="#000" stroke-width="7"/> 17 …="translate(-121.88 -68.4)" points="3e3 3167 3e3 3583" fill="none" stroke="#000" stroke-width="7"/> 20 …translate(-121.88 -68.4)" points="9075 3167 9075 3583" fill="none" stroke="#000" stroke-width="7"/> 27 …translate(-121.88 -68.4)" points="3617 1275 4933 1275" fill="none" stroke="#000" stroke-width="7"/> [all …]
|
A D | interactive.svg | 1 <svg width="5.75in" height="3.90in" version="1.1" viewBox="1178 3138 6779.9424 4671.3427" xmlns="ht… 2 …600 1800 3600 2400 4800 3e3 4800 4200 5700 4800 5700" fill="none" stroke="#000" stroke-width="15"/> 3 …<rect x="1181.5" y="3133.7" width="3600" height="3150" rx="0" fill="none" stroke="#000" stroke-wid… 4 …translate(-18.5,-16.294)" points="1200 4800 4800 4800" fill="none" stroke="#000" stroke-width="7"/> 7 …-18.5,-16.294)" points="3837 5389 4125 5100 5400 5100" fill="none" stroke="#000" stroke-width="7"/> 9 …-18.5,-16.294)" points="2112 4189 2400 3900 5400 3900" fill="none" stroke="#000" stroke-width="7"/> 11 …points="4800 5700 5400 5700" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/> 12 …points="1800 3600 5400 3600" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/> 13 …-18.5,-16.294)" points="2700 4784 2700 4425 5400 4425" fill="none" stroke="#000" stroke-width="7"/> 15 …translate(-18.5,-16.294)" points="1967 7800 3583 7800" fill="none" stroke="#000" stroke-width="7"/> [all …]
|
/linux/drivers/gpu/drm/selftests/ |
A D | test-drm_framebuffer.c | 30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888, 35 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 60 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0, 65 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 70 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, 116 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, 171 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, 176 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, 182 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, 254 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2, [all …]
|
/linux/drivers/video/fbdev/core/ |
A D | fbcon_rotate.h | 34 int shift = (8 - (width % 8)) & 7; in rotate_ud() 36 width = (width + 7) & ~7; in rotate_ud() 39 for (j = 0; j < width - shift; j++) { in rotate_ud() 40 if (pattern_test_bit(j, i, width, in)) in rotate_ud() 43 width, out); in rotate_ud() 51 int i, j, h = height, w = width; in rotate_cw() 54 width = (width + 7) & ~7; in rotate_cw() 59 if (pattern_test_bit(j, i, width, in)) in rotate_cw() 69 int i, j, h = height, w = width; in rotate_ccw() 70 int shift = (8 - (width % 8)) & 7; in rotate_ccw() [all …]
|
A D | fbcon_ccw.c | 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() 71 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear() 72 region.height = width * vc->vc_font.width; in ccw_clear() 99 vc->vc_font.width); in ccw_putcs_aligned() 102 vc->vc_font.width); in ccw_putcs_aligned() 117 u32 cellsize = width * vc->vc_font.width; in ccw_putcs() 282 int width = (vc->vc_font.width + 7)/8; in ccw_cursor() local [all …]
|
A D | fbcon_cw.c | 33 for (j = 0; j < width; j++) { in cw_update_attr() 38 c |= *(src-width); in cw_update_attr() 48 int sx, int height, int width) in cw_clear() argument 57 region.height = width * vc->vc_font.width; in cw_clear() 84 vc->vc_font.width); in cw_putcs_aligned() 87 vc->vc_font.width); in cw_putcs_aligned() 102 u32 cellsize = width * vc->vc_font.width; in cw_putcs() 118 image.width = vc->vc_font.height; in cw_putcs() 265 int width = (vc->vc_font.width + 7)/8; in cw_cursor() local 308 size = cur_height * width; in cw_cursor() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
A D | frame.c | 470 info->res.width = width; in ia_css_frame_info_set_width() 569 return (info_a->res.width == info_b->res.width) && in ia_css_frame_info_is_same_resolution() 611 config->width = (uint16_t)info->res.width; in ia_css_dma_configure_from_info() 627 plane->width = width; in frame_init_plane() 761 unsigned int width = frame->info.res.width, in frame_init_rgb_planes() local 867 me->info.res.width = width; in frame_create() 931 to->width = (uint16_t)from->width; in ia_css_resolution_to_sp_resolution() 955 if ((out_res->width > in_res->width) || in ia_css_frame_find_crop_resolution() 968 crop_res->width = in_res->width; in ia_css_frame_find_crop_resolution() 972 crop_res->width = in_res->width; in ia_css_frame_find_crop_resolution() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | msm_media_info.h | 827 if (!width) in VENUS_Y_STRIDE() 835 stride = MSM_MEDIA_ALIGN(width, 128); in VENUS_Y_STRIDE() 838 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 842 stride = MSM_MEDIA_ALIGN(width * 2, 256); in VENUS_Y_STRIDE() 863 if (!width) in VENUS_UV_STRIDE() 871 stride = MSM_MEDIA_ALIGN(width, 128); in VENUS_UV_STRIDE() 874 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE() 961 if (!width) in VENUS_Y_META_STRIDE() 1021 if (!width) in VENUS_UV_META_STRIDE() 1074 if (!width) in VENUS_RGB_STRIDE() [all …]
|
/linux/net/wireless/ |
A D | chan.c | 361 if (c1->width == c2->width) in cfg80211_chandef_compatible() 392 if (c1->width > c2->width) in cfg80211_chandef_compatible() 421 int width; in cfg80211_set_dfs_state() local 493 int width; in cfg80211_chandef_dfs_required() local 510 width); in cfg80211_chandef_dfs_required() 521 width); in cfg80211_chandef_dfs_required() 586 int width; in cfg80211_chandef_dfs_usable() local 608 width); in cfg80211_chandef_dfs_usable() 627 int width; in cfg80211_is_sub_chan() local 775 int width; in cfg80211_chandef_dfs_available() local [all …]
|
/linux/drivers/video/fbdev/ |
A D | atafb_iplan2p2.c | 56 width -= 8; in atafb_iplan2p2_copyarea() 58 w = width >> 4; in atafb_iplan2p2_copyarea() 82 width -= 8; in atafb_iplan2p2_copyarea() 114 w = width; in atafb_iplan2p2_copyarea() 156 w = width; in atafb_iplan2p2_copyarea() 210 width -= 8; in atafb_iplan2p2_fillrect() 223 width &= 15; in atafb_iplan2p2_fillrect() 226 if (width) { in atafb_iplan2p2_fillrect() 251 width -= 8; in atafb_iplan2p2_linefill() 265 width &= 15; in atafb_iplan2p2_linefill() [all …]
|
A D | atafb_iplan2p4.c | 56 width -= 8; in atafb_iplan2p4_copyarea() 58 w = width >> 4; in atafb_iplan2p4_copyarea() 82 width -= 8; in atafb_iplan2p4_copyarea() 114 w = width; in atafb_iplan2p4_copyarea() 163 w = width; in atafb_iplan2p4_copyarea() 224 width -= 8; in atafb_iplan2p4_fillrect() 237 width &= 15; in atafb_iplan2p4_fillrect() 240 if (width) { in atafb_iplan2p4_fillrect() 265 width -= 8; in atafb_iplan2p4_linefill() 280 width &= 15; in atafb_iplan2p4_linefill() [all …]
|
A D | atafb_iplan2p8.c | 63 width -= 8; in atafb_iplan2p8_copyarea() 65 w = width >> 4; in atafb_iplan2p8_copyarea() 89 width -= 8; in atafb_iplan2p8_copyarea() 121 w = width; in atafb_iplan2p8_copyarea() 184 w = width; in atafb_iplan2p8_copyarea() 259 width -= 8; in atafb_iplan2p8_fillrect() 272 width &= 15; in atafb_iplan2p8_fillrect() 275 if (width) { in atafb_iplan2p8_fillrect() 300 width -= 8; in atafb_iplan2p8_linefill() 317 width &= 15; in atafb_iplan2p8_linefill() [all …]
|
A D | atafb_mfb.c | 25 int height, int width) in atafb_mfb_copyarea() argument 33 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea() 38 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea() 46 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea() 54 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 61 if (sx == 0 && width == next_line) { in atafb_mfb_fillrect() 63 fb_memset255(dest, height * (width >> 3)); in atafb_mfb_fillrect() 65 fb_memclear(dest, height * (width >> 3)); in atafb_mfb_fillrect() 69 fb_memset255(dest, width >> 3); in atafb_mfb_fillrect() 71 fb_memclear_small(dest, width >> 3); in atafb_mfb_fillrect() [all …]
|
/linux/drivers/clk/meson/ |
A D | parm.h | 13 #define PMASK(width) GENMASK(width - 1, 0) argument 14 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) argument 15 #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) argument 17 #define PARM_GET(width, shift, reg) \ argument 18 (((reg) & SETPMASK(width, shift)) >> (shift)) 19 #define PARM_SET(width, shift, reg, val) \ argument 20 (((reg) & CLRPMASK(width, shift)) | ((val) << (shift))) 22 #define MESON_PARM_APPLICABLE(p) (!!((p)->width)) 27 u8 width; member 35 return PARM_GET(p->width, p->shift, val); in meson_parm_read() [all …]
|
/linux/drivers/clk/ |
A D | clk-divider.c | 46 u8 width) in _get_table_maxdiv() argument 72 return clk_div_mask(width); in _get_maxdiv() 74 return 1 << clk_div_mask(width); in _get_maxdiv() 76 return _get_table_maxdiv(table, width); in _get_maxdiv() 77 return clk_div_mask(width) + 1; in _get_maxdiv() 156 val &= clk_div_mask(divider->width); in clk_divider_recalc_rate() 159 divider->flags, divider->width); in clk_divider_recalc_rate() 462 divider->width, in clk_divider_determine_rate() 496 divider->width, divider->flags); in clk_divider_set_rate() 550 if (width + shift > 16) { in __clk_hw_register_divider() [all …]
|
/linux/drivers/media/pci/bt8xx/ |
A D | btcx-risc.c | 90 clips[n].c.width = -win->left; in btcx_screen_clips() 98 clips[n].c.width = win->width - clips[n].c.left; in btcx_screen_clips() 106 clips[n].c.width = win->width; in btcx_screen_clips() 114 clips[n].c.width = win->width; in btcx_screen_clips() 129 nw = (win->width) & ~mask; in btcx_align() 134 win->width = nw; in btcx_align() 145 clips[i].c.width = nw; in btcx_align() 208 if (skips[skip].end > width) in btcx_calc_skips() 209 skips[skip].end = width; in btcx_calc_skips() 216 if (skips[skip-1].end > width) in btcx_calc_skips() [all …]
|
/linux/drivers/video/fbdev/aty/ |
A D | mach64_accel.c | 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 219 width *= 3; in atyfb_copyarea() 229 dx += width - 1; in atyfb_copyarea() 230 sx += width - 1; in atyfb_copyarea() 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local 271 width *= 3; in atyfb_fillrect() 290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local 340 width *= 3; in atyfb_imageblit() 392 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { in atyfb_imageblit() 403 width--; in atyfb_imageblit() [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-touch-cap.c | 193 f->width = VIVID_TCH_WIDTH; in vivid_set_touch() 231 unsigned int x = index % f->width; in vivid_tch_buf_set() 232 unsigned int y = index / f->width; in vivid_tch_buf_set() 239 if (x < f->width - 1) in vivid_tch_buf_set() 248 if (x < f->width - 1 && y) in vivid_tch_buf_set() 259 int size = f->width * f->height; in vivid_fillbuff_tch() 298 x = f->width / 2; in vivid_fillbuff_tch() 310 x = f->width / 2; in vivid_fillbuff_tch() 320 for (x = 0; x < f->width; x++) in vivid_fillbuff_tch() 330 xstart = (x * f->width) / 4 + f->width / 8; in vivid_fillbuff_tch() [all …]
|
/linux/scripts/kconfig/lxdialog/ |
A D | yesno.c | 16 int x = width / 2 - 10; in print_buttons() 37 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno() 41 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno() 44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno() 46 dialog = newwin(height, width, y, x); in dialog_yesno() 49 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 53 for (i = 0; i < width - 2; i++) in dialog_yesno() 58 print_title(dialog, title, width); in dialog_yesno() 61 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno() 63 print_buttons(dialog, height, width, 0); in dialog_yesno() [all …]
|
/linux/drivers/acpi/acpica/ |
A D | utprint.c | 236 width--; in acpi_ut_format_number() 239 width--; in acpi_ut_format_number() 242 width--; in acpi_ut_format_number() 246 width--; in acpi_ut_format_number() 248 width--; in acpi_ut_format_number() 263 width -= precision; in acpi_ut_format_number() 322 s32 width; in vsnprintf() local 373 width = -1; in vsnprintf() 380 if (width < 0) { in vsnprintf() 381 width = -width; in vsnprintf() [all …]
|
/linux/tools/perf/util/ |
A D | values.c | 218 int width; in perf_read_values__display_pretty() local 221 if (width > pidwidth) in perf_read_values__display_pretty() 222 pidwidth = width; in perf_read_values__display_pretty() 224 if (width > tidwidth) in perf_read_values__display_pretty() 225 tidwidth = width; in perf_read_values__display_pretty() 263 if (width > pidwidth) in perf_read_values__display_raw() 264 pidwidth = width; in perf_read_values__display_raw() 266 if (width > tidwidth) in perf_read_values__display_raw() 267 tidwidth = width; in perf_read_values__display_raw() 272 namewidth = width; in perf_read_values__display_raw() [all …]
|