/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fbcon_rotate.h | 40 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 …]
|
H A D | fbcon_ccw.c | 29 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 …]
|
H A D | fbcon_cw.c | 29 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_framebuffer_test.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, 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 …]
|
/openbmc/u-boot/arch/arm/mach-uniphier/ |
H A D | boards.c | 20 .width = 16, 24 .width = 16, 36 .width = 32, 40 .width = 32, 49 .width = 32, 53 .width = 32, 63 .width = 16, 67 .width = 16, 78 .width = 32, 82 .width = 32, [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/systemtap/systemtap/ |
H A D | 0001-staprun-address-ncurses-6.3-failures.patch | 20 - width[p_index], HIGHLIGHT("index", p_index, comp_fn_index), 21 - width[p_state], HIGHLIGHT("state", p_state, comp_fn_index), 22 - width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index), 23 - width[p_min], HIGHLIGHT("min", p_min, comp_fn_index), 24 - width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index), 25 - width[p_max], HIGHLIGHT("max", p_max, comp_fn_index), 26 + (int)width[p_index], HIGHLIGHT("index", p_index, comp_fn_index), 27 + (int)width[p_state], HIGHLIGHT("state", p_state, comp_fn_index), 28 + (int)width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index), 29 + (int)width[p_min], HIGHLIGHT("min", p_min, comp_fn_index), [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/drivers/video/ |
H A D | video_bmp.c | 47 ulong width, height; in video_display_rle8_bitmap() local 53 width = get_unaligned_le32(&bmp->header.width); in video_display_rle8_bitmap() 69 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap() 89 if (x < width) { in video_display_rle8_bitmap() 90 if (x + runlen > width) in video_display_rle8_bitmap() 91 cnt = width - x; in video_display_rle8_bitmap() 108 if (x < width) { in video_display_rle8_bitmap() 116 if (x + runlen > width) in video_display_rle8_bitmap() 117 cnt = width - x; in video_display_rle8_bitmap() 200 unsigned long width, height, byte_width; in video_bmp_display() local [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 33 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/net/wireless/ |
H A D | chan.c | 38 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 …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_meson.h | 29 u8 width; member 32 #define PMASK(width) GENMASK(width - 1, 0) argument 33 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) argument 34 #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) argument 36 #define PARM_GET(width, shift, reg) \ argument 37 (((reg) & SETPMASK(width, shift)) >> (shift)) 38 #define PARM_SET(width, shift, reg, val) \ argument 39 (((reg) & CLRPMASK(width, shift)) | ((val) << (shift)))
|