Home
last modified time | relevance | path

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

12345678910>>...87

/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/sound/core/
Dpcm_misc.c35 unsigned char width; /* bit width */ member
52 .width = 8, .phys = 8, .le = -1, .signd = 1,
56 .width = 8, .phys = 8, .le = -1, .signd = 0,
60 .width = 16, .phys = 16, .le = 1, .signd = 1,
64 .width = 16, .phys = 16, .le = 0, .signd = 1,
68 .width = 16, .phys = 16, .le = 1, .signd = 0,
72 .width = 16, .phys = 16, .le = 0, .signd = 0,
76 .width = 24, .phys = 32, .le = 1, .signd = 1,
80 .width = 24, .phys = 32, .le = 0, .signd = 1,
84 .width = 24, .phys = 32, .le = 1, .signd = 0,
[all …]
/linux-6.6.21/include/media/
Dv4l2-rect.h21 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()
128 r->width = max(0, right - r->left); in v4l2_rect_intersect()
[all …]
/linux-6.6.21/Documentation/input/
Dshape.svg1 <svg width="7.95in" height="3.70in" version="1.1" viewBox="1956 1041 9354.492 4306.001" xmlns="http…
2 …00 4200 3075 4950 2325 7425 2325 8250 3150 8250 3600" fill="none" stroke="#000" stroke-width="15"/>
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"/>
6 …oints="8775 3600 10200 3600" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
7 …points="8325 3150 9075 3150" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
8 …oints="7500 2325 10200 2325" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
9 … points="3600 3600 3e3 3600" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
10 … points="4125 3075 3e3 3075" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
[all …]
Dinteractive.svg1 <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"/>
5 …00 6525 1950 7125 1950 7800" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
6 …e3 6525 3600 7125 3600 7800" fill="none" stroke="#000" stroke-dasharray="40, 40" stroke-width="7"/>
7 …-18.5,-16.294)" points="3837 5389 4125 5100 5400 5100" fill="none" stroke="#000" stroke-width="7"/>
8 …="3889 5292 3826 5398 3932 5334" fill="none" stroke="#000" stroke-miterlimit="8" stroke-width="7"/>
9 …-18.5,-16.294)" points="2112 4189 2400 3900 5400 3900" fill="none" stroke="#000" stroke-width="7"/>
10 …="2164 4092 2101 4198 2207 4134" fill="none" stroke="#000" stroke-miterlimit="8" stroke-width="7"/>
[all …]
/linux-6.6.21/include/trace/events/
Drwmmio.h15 TP_PROTO(unsigned long caller, unsigned long caller0, u64 val, u8 width,
18 TP_ARGS(caller, caller0, val, width, addr),
25 __field(u8, width)
33 __entry->width = width;
37 (void *)__entry->caller0, (void *)__entry->caller, __entry->width,
42 TP_PROTO(unsigned long caller, unsigned long caller0, u64 val, u8 width,
44 TP_ARGS(caller, caller0, val, width, addr)
48 TP_PROTO(unsigned long caller, unsigned long caller0, u64 val, u8 width,
50 TP_ARGS(caller, caller0, val, width, addr)
55 TP_PROTO(unsigned long caller, unsigned long caller0, u8 width,
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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_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 …]
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 …]
/linux-6.6.21/net/wireless/
Dchan.c38 chandef->width = NL80211_CHAN_WIDTH_20_NOHT; in cfg80211_chandef_create()
42 chandef->width = NL80211_CHAN_WIDTH_20; in cfg80211_chandef_create()
46 chandef->width = NL80211_CHAN_WIDTH_40; in cfg80211_chandef_create()
50 chandef->width = NL80211_CHAN_WIDTH_40; in cfg80211_chandef_create()
196 return nl80211_chan_width_to_mhz(c->width); in cfg80211_chandef_get_width()
212 switch (chandef->width) { in cfg80211_chandef_valid()
265 switch (chandef->width) { in cfg80211_chandef_valid()
312 chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in cfg80211_chandef_valid()
328 switch (c->width) { in chandef_primary_freqs()
394 if (c1->width == c2->width) in cfg80211_chandef_compatible()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/scripts/kconfig/lxdialog/
Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
16 int x = width / 2 - 10; in print_buttons()
29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
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()
[all …]

12345678910>>...87