| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_model_kunit.c | 21 .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/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vcap_ag_api.c | 21 .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/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_vcap_ag_api.c | 20 .width = 1, 25 .width = 1, 30 .width = 2, 35 .width = 10, 40 .width = 2, 45 .width = 65, 50 .width = 1, 55 .width = 1, 60 .width = 3, 65 .width = 3, [all …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_vcap_ag_api.c | 13 .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/drivers/media/platform/ti/omap/ |
| H 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() 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/drivers/media/platform/qcom/venus/ |
| H A D | hfi_plat_bufs_v6.c | 55 #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/sound/core/ |
| H 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, 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/include/media/ |
| H 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() 128 r->width = max(0, right - r->left); in v4l2_rect_intersect() [all …]
|
| /linux/Documentation/input/ |
| H A D | shape.svg | 1 <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 …]
|
| H 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"/> 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/include/trace/events/ |
| H A D | rwmmio.h | 15 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/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | msm_media_info.h | 823 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/drivers/clk/meson/ |
| H 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 …]
|
| H A D | s4-pll.c | 59 .width = 1, 64 .width = 8, 69 .width = 17, 74 .width = 5, 79 .width = 1, 84 .width = 1, 101 .width = 2, 298 .width = 1, 303 .width = 8, 308 .width = 5, [all …]
|
| /linux/net/wireless/tests/ |
| H A D | chan.c | 37 .width = NL80211_CHAN_WIDTH_20_NOHT, 46 .width = NL80211_CHAN_WIDTH_20, 55 .width = NL80211_CHAN_WIDTH_40, 64 .width = NL80211_CHAN_WIDTH_80, 73 .width = NL80211_CHAN_WIDTH_160, 82 .width = NL80211_CHAN_WIDTH_320, 91 .width = NL80211_CHAN_WIDTH_20, 96 .width = NL80211_CHAN_WIDTH_320, 105 .width = NL80211_CHAN_WIDTH_20, 110 .width = NL80211_CHAN_WIDTH_20, [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | atafb_iplan2p2.c | 25 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 …]
|
| H A D | atafb_iplan2p4.c | 25 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 …]
|
| H A D | atafb_mfb.c | 25 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 …]
|
| H A D | atafb_iplan2p8.c | 32 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/drivers/video/fbdev/core/ |
| H A 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, int fg, int bg) in bit_clear() argument 67 region.dx = sx * vc->vc_font.width; in bit_clear() 69 region.width = width * vc->vc_font.width; in bit_clear() [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-divider.c | 46 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 2 * (clk_div_mask(width) + 1); in _get_maxdiv() 78 return _get_table_maxdiv(table, width); in _get_maxdiv() 79 return clk_div_mask(width) + 1; in _get_maxdiv() 94 unsigned int val, unsigned long flags, u8 width) in _get_div() argument 101 return val ? val : clk_div_mask(width) + 1; in _get_div() [all …]
|
| /linux/scripts/kconfig/lxdialog/ |
| H A D | yesno.c | 14 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 …]
|
| /linux/net/mac80211/tests/ |
| H A D | tpe.c | 35 .c.width = NL80211_CHAN_WIDTH_20, 43 .c.width = NL80211_CHAN_WIDTH_40, 52 .c.width = NL80211_CHAN_WIDTH_80P80, 61 .c.width = NL80211_CHAN_WIDTH_320, 69 .c.width = NL80211_CHAN_WIDTH_320, 77 .c.width = NL80211_CHAN_WIDTH_320, 85 .c.width = NL80211_CHAN_WIDTH_320, 94 .c.width = NL80211_CHAN_WIDTH_80P80, 104 .c.width = NL80211_CHAN_WIDTH_80P80, 114 .c.width = NL80211_CHAN_WIDTH_80P80, [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_framebuffer_test.c | 36 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888, 41 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 46 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 51 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 56 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 61 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 66 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0, 71 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 76 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, 81 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, [all …]
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | mach64_accel.c | 189 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 …]
|