Home
last modified time | relevance | path

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

12345678910>>...75

/drivers/net/ethernet/microchip/vcap/
Dvcap_model_kunit.c21 .width = 2,
26 .width = 1,
31 .width = 7,
36 .width = 3,
41 .width = 3,
46 .width = 3,
51 .width = 1,
56 .width = 12,
61 .width = 3,
66 .width = 3,
[all …]
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vcap_ag_api.c21 .width = 1,
26 .width = 1,
31 .width = 2,
36 .width = 12,
41 .width = 2,
46 .width = 65,
51 .width = 1,
56 .width = 1,
61 .width = 3,
66 .width = 3,
[all …]
/drivers/net/ethernet/microchip/lan966x/
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/
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()
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 …]
/drivers/media/platform/qcom/venus/
Dhfi_plat_bufs_v6.c55 #define SIZE_H264D_LB_FE_TOP_DATA(width, height) \ argument
56 (MAX_FE_NBR_DATA_LUMA_LINE_BUFFER_SIZE * ALIGN((width), 16) * 3)
58 #define SIZE_H264D_LB_FE_TOP_CTRL(width, height) \ argument
59 (MAX_FE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * (((width) + 15) >> 4))
61 #define SIZE_H264D_LB_FE_LEFT_CTRL(width, height) \ argument
64 #define SIZE_H264D_LB_SE_TOP_CTRL(width, height) \ argument
65 (MAX_SE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * (((width) + 15) >> 4))
67 #define SIZE_H264D_LB_SE_LEFT_CTRL(width, height) \ argument
70 #define SIZE_H264D_LB_PE_TOP_DATA(width, height) \ argument
71 (MAX_PE_NBR_DATA_LCU64_LINE_BUFFER_SIZE * (((width) + 15) >> 4))
[all …]
/drivers/gpu/drm/tests/
Ddrm_framebuffer_test.c30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
35 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
40 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
45 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
50 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
55 .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,
75 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Dmsm_media_info.h823 static unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
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()
845 stride = MSM_MEDIA_ALIGN(width * 2, 128); in VENUS_Y_STRIDE()
859 static unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
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()
[all …]
/drivers/video/fbdev/core/
Dfbcon_rotate.h40 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 …]
Dfbcon_ccw.c29 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 …]
Dfbcon_cw.c29 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()
49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument
56 area.sy = sx * vc->vc_font.width; in cw_bmove()
58 area.dy = dx * vc->vc_font.width; in cw_bmove()
59 area.width = height * vc->vc_font.height; in cw_bmove()
60 area.height = width * vc->vc_font.width; in cw_bmove()
66 int sx, int height, int width) in cw_clear() argument
[all …]
Dfbcon_ud.c29 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 …]
Dbitblit.c29 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 …]
/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c33 unsigned int width,
70 unsigned int width,
76 static struct ia_css_frame *frame_create(unsigned int width,
101 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info()
110 unsigned int width, in ia_css_frame_allocate() argument
118 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate()
123 width, height, format, padded_width, raw_bit_depth); in ia_css_frame_allocate()
125 err = frame_allocate_with_data(frame, width, height, format, in ia_css_frame_allocate()
159 if (info->res.width == 0 || info->res.height == 0) in ia_css_frame_check_info()
272 unsigned int ia_css_frame_pad_width(unsigned int width, enum ia_css_frame_format format) in ia_css_frame_pad_width() argument
[all …]
/drivers/video/fbdev/
Datafb_iplan2p2.c25 int height, int width) in atafb_iplan2p2_copyarea() argument
56 width -= 8; in atafb_iplan2p2_copyarea()
58 w = width >> 4; in atafb_iplan2p2_copyarea()
71 if (width & 15) in atafb_iplan2p2_copyarea()
72 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea()
75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~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()
78 if ((sx + width) & 15) { in atafb_iplan2p2_copyarea()
82 width -= 8; in atafb_iplan2p2_copyarea()
84 w = width >> 4; in atafb_iplan2p2_copyarea()
[all …]
Datafb_iplan2p4.c25 int height, int width) in atafb_iplan2p4_copyarea() argument
56 width -= 8; in atafb_iplan2p4_copyarea()
58 w = width >> 4; in atafb_iplan2p4_copyarea()
71 if (width & 15) in atafb_iplan2p4_copyarea()
72 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea()
75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~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()
78 if ((sx + width) & 15) { in atafb_iplan2p4_copyarea()
82 width -= 8; in atafb_iplan2p4_copyarea()
84 w = width >> 4; in atafb_iplan2p4_copyarea()
[all …]
Datafb_iplan2p8.c32 int height, int width) in atafb_iplan2p8_copyarea() argument
63 width -= 8; in atafb_iplan2p8_copyarea()
65 w = width >> 4; in atafb_iplan2p8_copyarea()
78 if (width & 15) in atafb_iplan2p8_copyarea()
79 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p8_copyarea()
82 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~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()
85 if ((sx + width) & 15) { in atafb_iplan2p8_copyarea()
89 width -= 8; in atafb_iplan2p8_copyarea()
91 w = width >> 4; in atafb_iplan2p8_copyarea()
[all …]
Datafb_mfb.c25 int height, int width) in atafb_mfb_copyarea() argument
30 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea()
31 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
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()
[all …]
/drivers/clk/meson/
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 …]
/drivers/clk/
Dclk-divider.c46 u8 width) in _get_table_maxdiv() argument
48 unsigned int maxdiv = 0, mask = clk_div_mask(width); in _get_table_maxdiv()
68 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_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()
92 unsigned int val, unsigned long flags, u8 width) in _get_div() argument
99 return val ? val : clk_div_mask(width) + 1; in _get_div()
117 unsigned int div, unsigned long flags, u8 width) in _get_val() argument
[all …]
/drivers/video/fbdev/aty/
Dmach64_accel.c189 static inline void draw_rect(s16 x, s16 y, u16 width, u16 height, in draw_rect() argument
195 aty_st_le32(DST_HEIGHT_WIDTH, (width << 16) | height, par); in draw_rect()
203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
207 if (!area->width || !area->height) in atyfb_copyarea()
219 width *= 3; in atyfb_copyarea()
229 dx += width - 1; in atyfb_copyarea()
230 sx += width - 1; in atyfb_copyarea()
242 aty_st_le32(SRC_HEIGHT1_WIDTH1, (width << 16) | area->height, par); 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 …]
/drivers/media/test-drivers/vivid/
Dvivid-touch-cap.c193 f->width = VIVID_TCH_WIDTH; in vivid_set_touch()
197 f->bytesperline = f->width * sizeof(s16); in vivid_set_touch()
198 f->sizeimage = f->width * f->height * sizeof(s16); 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()
242 tch_buf[index - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
244 tch_buf[index + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
247 tch_buf[index - 1 - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
248 if (x < f->width - 1 && y) in vivid_tch_buf_set()
[all …]
/drivers/acpi/acpica/
Dutprint.c32 u8 base, s32 width, s32 precision, u8 type);
204 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() argument
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()
268 while (--width >= 0) { in acpi_ut_format_number()
284 while (--width >= 0) { in acpi_ut_format_number()
[all …]
/drivers/gpu/drm/omapdrm/
Dtcm.h57 u16 width, height; /* container dimensions */ member
67 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align,
91 struct tcm *sita_init(u16 width, u16 height);
131 static inline s32 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, in tcm_reserve_2d() argument
137 (area == NULL || width == 0 || height == 0 || in tcm_reserve_2d()
140 (height > tcm->height || width > tcm->width) ? -ENOMEM : 0; in tcm_reserve_2d()
144 res = tcm->reserve_2d(tcm, height, width, align, offset, in tcm_reserve_2d()
171 slots > (tcm->width * (u32) tcm->height) ? -ENOMEM : 0; in tcm_reserve_1d()
229 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { in tcm_slice()
231 slice->p1.x = slice->tcm->width - 1; in tcm_slice()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c209 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument
224 width--; in matrox_accel_bmove()
226 end = start+width; in matrox_accel_bmove()
233 width--; in matrox_accel_bmove()
235 start = end+width; in matrox_accel_bmove()
242 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); in matrox_accel_bmove()
251 int width) in matrox_accel_bmove_lin() argument
266 width--; in matrox_accel_bmove_lin()
268 end = start+width; in matrox_accel_bmove_lin()
275 width--; in matrox_accel_bmove_lin()
[all …]
/drivers/gpu/drm/
Ddrm_panel_orientation_quirks.c27 int width; member
34 .width = 720,
42 .width = 1200,
50 .width = 1200,
58 .width = 1200,
66 .width = 720,
75 .width = 720,
83 .width = 800,
90 .width = 1200,
97 .width = 720,
[all …]

12345678910>>...75