Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 1958) sorted by relevance

12345678910>>...79

/drivers/net/ethernet/microchip/vcap/
A Dvcap_model_kunit.c21 .width = 2,
26 .width = 1,
31 .width = 7,
36 .width = 3,
41 .width = 3,
46 .width = 3,
51 .width = 1,
61 .width = 3,
66 .width = 3,
71 .width = 1,
[all …]
/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_vcap_ag_api.c21 .width = 1,
26 .width = 1,
31 .width = 2,
36 .width = 12,
41 .width = 2,
51 .width = 1,
56 .width = 1,
61 .width = 3,
66 .width = 3,
71 .width = 3,
[all …]
/drivers/net/ethernet/microchip/sparx5/lan969x/
A Dlan969x_vcap_ag_api.c20 .width = 1,
25 .width = 1,
30 .width = 2,
35 .width = 10,
40 .width = 2,
50 .width = 1,
55 .width = 1,
60 .width = 3,
65 .width = 3,
70 .width = 3,
[all …]
/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_vcap_ag_api.c13 .width = 1,
18 .width = 2,
23 .width = 9,
28 .width = 1,
33 .width = 1,
38 .width = 1,
43 .width = 1,
48 .width = 1,
53 .width = 1,
58 .width = 1,
[all …]
/drivers/media/platform/ti/omap/
A Domap_voutlib.c46 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 …]
/drivers/media/platform/qcom/venus/
A Dhfi_plat_bufs_v6.c73 #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()
378 frame_size = width * height * 3; in calculate_enc_output_frame_size()
1187 u32 width = params->width, height = params->height, out_min_count; in bufreq_dec() local
1264 u32 width = params->width; in bufreq_enc() local
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
A Dmsm_media_info.h827 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 …]
/drivers/video/fbdev/core/
A Dfbcon_rotate.h43 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()
52 width, out); in rotate_ud()
60 int i, j, h = height, w = width; in rotate_cw()
63 width = (width + 7) & ~7; in rotate_cw()
68 if (pattern_test_bit(j, i, width, in)) in rotate_cw()
78 int i, j, h = height, w = width; in rotate_ccw()
79 int shift = (8 - (width % 8)) & 7; in rotate_ccw()
[all …]
A Dfbcon_ccw.c44 if (j == width - 1) in ccw_update_attr()
52 *(dst - width) |= c; in ccw_update_attr()
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()
75 area.height = width * vc->vc_font.width; in ccw_bmove()
89 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear()
90 region.height = width * vc->vc_font.width; in ccw_clear()
117 vc->vc_font.width); in ccw_putcs_aligned()
135 u32 cellsize = width * vc->vc_font.width; in ccw_putcs()
300 int width = (vc->vc_font.width + 7)/8; in ccw_cursor() local
[all …]
A Dfbcon_cw.c33 for (j = 0; j < width; j++) { in cw_update_attr()
38 c |= *(src-width); in cw_update_attr()
56 area.sy = sx * vc->vc_font.width; in cw_bmove()
60 area.height = width * vc->vc_font.width; in cw_bmove()
75 region.height = width * vc->vc_font.width; in cw_clear()
102 vc->vc_font.width); in cw_putcs_aligned()
105 vc->vc_font.width); in cw_putcs_aligned()
120 u32 cellsize = width * vc->vc_font.width; in cw_putcs()
283 int width = (vc->vc_font.width + 7)/8; in cw_cursor() local
326 size = cur_height * width; in cw_cursor()
[all …]
A Dfbcon_ud.c29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr() local
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()
76 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
77 region.width = width * vc->vc_font.width; in ud_clear()
156 u32 width = (vc->vc_font.width + 7)/8; in ud_putcs() local
191 image.width = vc->vc_font.width * cnt; in ud_putcs()
300 ops->cursor_state.image.width != vc->vc_font.width || in ud_cursor()
303 ops->cursor_state.image.width = vc->vc_font.width; in ud_cursor()
[all …]
A Dbitblit.c29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() local
51 area.sx = sx * vc->vc_font.width; in bit_bmove()
56 area.width = width * vc->vc_font.width; in bit_bmove()
69 region.width = width * vc->vc_font.width; in bit_clear()
147 u32 width = DIV_ROUND_UP(vc->vc_font.width, 8); in bit_putcs() local
175 image.width = vc->vc_font.width * cnt; in bit_putcs()
221 region.width = rw; in bit_clear_margins()
229 region.width = rs; in bit_clear_margins()
291 ops->cursor_state.image.width != vc->vc_font.width || in bit_cursor()
294 ops->cursor_state.image.width = vc->vc_font.width; in bit_cursor()
[all …]
/drivers/staging/media/atomisp/pci/runtime/frame/src/
A Dframe.c62 unsigned int width,
307 info->res.width = width; in ia_css_frame_info_set_width()
387 return (info_a->res.width == info_b->res.width) && in ia_css_frame_info_is_same_resolution()
427 config->width = (uint16_t)info->res.width; in ia_css_dma_configure_from_info()
449 plane->width = width; in frame_init_plane()
567 unsigned int width = frame->frame_info.res.width, in frame_init_rgb_planes() local
586 stride = width * 2; in frame_init_qplane6_planes()
614 unsigned int width, in frame_allocate_with_data() argument
659 me->frame_info.res.width = width; in frame_create()
722 to->width = (uint16_t)from->width; in ia_css_resolution_to_sp_resolution()
[all …]
/drivers/video/fbdev/
A Datafb_iplan2p2.c56 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 Datafb_iplan2p4.c56 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 Datafb_iplan2p8.c63 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 Datafb_mfb.c25 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 …]
/drivers/clk/meson/
A Dparm.h13 #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 …]
A Ds4-pll.c59 .width = 1,
64 .width = 8,
69 .width = 17,
74 .width = 5,
79 .width = 1,
84 .width = 1,
101 .width = 2,
338 .width = 3,
416 .width = 2,
474 .width = 4,
[all …]
/drivers/gpu/drm/amd/display/dc/dpp/dcn32/
A Ddcn32_dpp.c43 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
44 scl_data->viewport.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
46 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
67 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
81 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
176 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_spl_calc_lb_num_partitions()
177 scl_data->viewport.width : scl_data->recout.width; in dscl32_spl_calc_lb_num_partitions()
178 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_spl_calc_lb_num_partitions()
179 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_spl_calc_lb_num_partitions()
[all …]
/drivers/clk/
A Dclk-divider.c46 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 2 * (clk_div_mask(width) + 1); in _get_maxdiv()
79 return clk_div_mask(width) + 1; in _get_maxdiv()
162 val &= clk_div_mask(divider->width); in clk_divider_recalc_rate()
165 divider->flags, divider->width); in clk_divider_recalc_rate()
468 divider->width, in clk_divider_determine_rate()
502 divider->width, divider->flags); in clk_divider_set_rate()
557 if (width + shift > 16) { in __clk_hw_register_divider()
[all …]
/drivers/media/test-drivers/vivid/
A Dvivid-touch-cap.c188 f->width = VIVID_TCH_WIDTH; in vivid_set_touch()
226 unsigned int x = index % f->width; in vivid_tch_buf_set()
227 unsigned int y = index / f->width; in vivid_tch_buf_set()
234 if (x < f->width - 1) in vivid_tch_buf_set()
243 if (x < f->width - 1 && y) in vivid_tch_buf_set()
254 int size = f->width * f->height; in vivid_fillbuff_tch()
293 x = f->width / 2; in vivid_fillbuff_tch()
305 x = f->width / 2; in vivid_fillbuff_tch()
315 for (x = 0; x < f->width; x++) in vivid_fillbuff_tch()
325 xstart = (x * f->width) / 4 + f->width / 8; in vivid_fillbuff_tch()
[all …]
/drivers/gpu/drm/tests/
A Ddrm_framebuffer_test.c36 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
66 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
76 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
144 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
201 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
206 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
212 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
297 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2,
342 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT,
431 .width = MAX_WIDTH, .height = MAX_HEIGHT, in drm_test_framebuffer_modifiers_not_supported()
[all …]
/drivers/video/fbdev/aty/
A Dmach64_accel.c203 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 …]
/drivers/acpi/acpica/
A Dutprint.c236 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
370 width = -1; in vsnprintf()
377 if (width < 0) { in vsnprintf()
378 width = -width; in vsnprintf()
[all …]

Completed in 762 milliseconds

12345678910>>...79