| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | sysfillrect.c | 26 unsigned long pat, unsigned n, int bits) in bitfill_aligned() argument 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 54 *dst++ = pat; in bitfill_aligned() 55 *dst++ = pat; in bitfill_aligned() 56 *dst++ = pat; in bitfill_aligned() 57 *dst++ = pat; in bitfill_aligned() 58 *dst++ = pat; in bitfill_aligned() 59 *dst++ = pat; in bitfill_aligned() 60 *dst++ = pat; in bitfill_aligned() [all …]
|
| H A D | cfbfillrect.c | 36 unsigned long pat, unsigned n, int bits, u32 bswapmask) in bitfill_aligned() argument 50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 64 FB_WRITEL(pat, dst++); in bitfill_aligned() 65 FB_WRITEL(pat, dst++); in bitfill_aligned() 66 FB_WRITEL(pat, dst++); in bitfill_aligned() 67 FB_WRITEL(pat, dst++); in bitfill_aligned() 68 FB_WRITEL(pat, dst++); in bitfill_aligned() 69 FB_WRITEL(pat, dst++); in bitfill_aligned() 70 FB_WRITEL(pat, dst++); in bitfill_aligned() [all …]
|
| H A D | fbcon_rotate.h | 23 static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) in pattern_test_bit() argument 27 pat +=index; in pattern_test_bit() 28 return (*pat) & (0x80 >> bit); in pattern_test_bit() 31 static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) in pattern_set_bit() argument 35 pat += index; in pattern_set_bit() 37 (*pat) |= 0x80 >> bit; in pattern_set_bit()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | string.c | 73 static bool __match_charclass(const char *pat, char c, const char **npat) in __match_charclass() argument 77 if (*pat == '!') { in __match_charclass() 79 pat++; in __match_charclass() 81 if (*pat++ == c) /* First character is special */ in __match_charclass() 84 while (*pat && *pat != ']') { /* Matching */ in __match_charclass() 85 if (*pat == '-' && *(pat + 1) != ']') { /* Range */ in __match_charclass() 86 if (*(pat - 1) <= c && c <= *(pat + 1)) in __match_charclass() 88 if (*(pat - 1) > *(pat + 1)) in __match_charclass() 90 pat += 2; in __match_charclass() 91 } else if (*pat++ == c) in __match_charclass() [all …]
|
| H A D | util.c | 117 static bool match_pat(char *file, const char **pat) in match_pat() argument 121 if (!pat) in match_pat() 124 while (pat[i]) { in match_pat() 125 if (strglobmatch(file, pat[i])) in match_pat() 148 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat() argument 175 if (!match_pat(d->d_name, pat)) { in rm_rf_depth_pat() 191 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat() 206 const char *pat[] = { in rm_rf_kcore_dir() local 215 return rm_rf_depth_pat(kcore_dir_path, 0, pat); in rm_rf_kcore_dir() 220 const char *pat[] = { in rm_rf_perf_data() local [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ |
| H A D | 11_tcpd_blacklist.patch | 102 if (pat[0] == '@') { 103 tcpd_warn("%s: daemon name begins with \"@\"", pat); 104 + } else if (pat[0] == '/') { 105 + tcpd_warn("%s: daemon name begins with \"/\"", pat); 106 } else if (pat[0] == '.') { 107 tcpd_warn("%s: daemon name begins with dot", pat); 108 } else if (pat[strlen(pat) - 1] == '.') { 111 if (pat[0] == '@') { /* @netgroup */ 112 tcpd_warn("%s: user name begins with \"@\"", pat); 113 + } else if (pat[0] == '/') { [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | glob.c | 40 bool __pure glob_match(char const *pat, char const *str) in glob_match() argument 57 unsigned char d = *pat++; in glob_match() 65 if (*pat == '\0') /* Optimize trailing * case */ in glob_match() 67 back_pat = pat; in glob_match() 71 bool match = false, inverted = (*pat == '!'); in glob_match() 72 char const *class = pat + inverted; in glob_match() 100 pat = class; in glob_match() 104 d = *pat++; in glob_match() 117 pat = back_pat; in glob_match()
|
| H A D | globtest.c | 15 char const *pat, *str; member 19 static bool __pure __init test(char const *pat, char const *str, bool expected) in test() argument 21 bool match = glob_match(pat, str); in test() 39 printk(message, pat, str, mismatch + 3*match); in test() 145 char const *pat = p; in glob_init() local 148 successes += test(pat, p, expected); in glob_init()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | gensupport.h | 43 #define OPTAB_CL(name, pat, c, b, l) name, argument 44 #define OPTAB_CX(name, pat) argument 45 #define OPTAB_CD(name, pat) name, argument 46 #define OPTAB_NL(name, pat, c, b, s, l) name, argument 47 #define OPTAB_NC(name, pat, c) name, argument 48 #define OPTAB_NX(name, pat) argument 49 #define OPTAB_VL(name, pat, c, b, s, l) name, argument 50 #define OPTAB_VC(name, pat, c) name, argument 51 #define OPTAB_VX(name, pat) argument 52 #define OPTAB_DC(name, pat, c) name, argument [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | gensupport.h | 43 #define OPTAB_CL(name, pat, c, b, l) name, argument 44 #define OPTAB_CX(name, pat) argument 45 #define OPTAB_CD(name, pat) name, argument 46 #define OPTAB_NL(name, pat, c, b, s, l) name, argument 47 #define OPTAB_NC(name, pat, c) name, argument 48 #define OPTAB_NX(name, pat) argument 49 #define OPTAB_VL(name, pat, c, b, s, l) name, argument 50 #define OPTAB_VC(name, pat, c) name, argument 51 #define OPTAB_VX(name, pat) argument 52 #define OPTAB_DC(name, pat, c) name, argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/isdn/mISDN/ |
| H A D | dsp_tones.c | 378 struct pattern *pat; in dsp_tone_copy() local 388 pat = (struct pattern *)tone->pattern; in dsp_tone_copy() 398 if (!pat->seq[index]) { in dsp_tone_copy() 403 if (count < pat->seq[index]) in dsp_tone_copy() 408 count -= pat->seq[index]; in dsp_tone_copy() 412 start = count % (*(pat->siz[index])); in dsp_tone_copy() 414 if (num + count > pat->seq[index]) in dsp_tone_copy() 415 num = pat->seq[index] - count; in dsp_tone_copy() 416 if (num + start > (*(pat->siz[index]))) in dsp_tone_copy() 417 num = (*(pat->siz[index])) - start; in dsp_tone_copy() [all …]
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d.cpp | 741 void rga_check_perpare(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat, in rga_check_perpare() argument 745 (void)(pat); in rga_check_perpare() 813 rga_buffer_t pat; in imcopy() local 819 empty_structure(NULL, NULL, &pat, &srect, &drect, &prect, &opt); in imcopy() 832 ret = improcess(src, dst, pat, srect, drect, prect, -1, release_fence_fd, &opt, usage); in imcopy() 843 rga_buffer_t pat; in imresize() local 849 empty_structure(NULL, NULL, &pat, &srect, &drect, &prect, &opt); in imresize() 884 ret = improcess(src, dst, pat, srect, drect, prect, -1, release_fence_fd, &opt, usage); in imresize() 895 rga_buffer_t pat; in imcvtcolor() local 901 empty_structure(NULL, NULL, &pat, &srect, &drect, &prect, &opt); in imcvtcolor() [all …]
|
| H A D | im2d_impl.cpp | 399 void empty_structure(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat, in empty_structure() argument 405 if (pat != NULL) in empty_structure() 406 memset(pat, 0, sizeof(*pat)); in empty_structure() 1039 IM_STATUS rga_check_blend(rga_buffer_t src, rga_buffer_t pat, rga_buffer_t dst, int pat_enable, int… in rga_check_blend() argument 1044 pat_fmt = pat.format; in rga_check_blend() 1100 if (pat_enable && (pat.width != dst.width || pat.height != dst.height)) { in rga_check_blend() 1103 pat.width, pat.height, dst.width, dst.height); in rga_check_blend() 1127 IM_STATUS rga_check_feature(rga_buffer_t src, rga_buffer_t pat, rga_buffer_t dst, in rga_check_feature() argument 1153 …if ((pat_enable ? (pat.color_space_mode & IM_RGB_TO_YUV_MASK) : 0) && (~feature_usage & IM_RGA_SUP… in rga_check_feature() 1161 (pat_enable ? (pat.color_space_mode & IM_FULL_CSC_MASK) : 0)) && in rga_check_feature() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ddr_tool/stressapptest/ |
| H A D | stressapptest.c | 58 static struct pat walking_1 = { 72 static struct pat walking_1_x16 = { 91 static struct pat walking_1_x16_repeat = { 134 static struct pat walking_inv_1 = { 152 static struct pat walking_inv_1_x16 = { 178 static struct pat walking_inv_1_x16_repeat = { 204 static struct pat walking_0 = { 213 static struct pat one_zero = { 222 static struct pat one_zero_x16 = { 231 static struct pat just_0 = { [all …]
|
| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | NormalRgaApi.cpp | 375 req->pat.act_w = width; in NormalRgaSetPatActiveInfo() 376 req->pat.act_h = height; in NormalRgaSetPatActiveInfo() 377 req->pat.x_offset = x_off; in NormalRgaSetPatActiveInfo() 378 req->pat.y_offset = y_off; in NormalRgaSetPatActiveInfo() 397 msg->pat.yrgb_addr = yrgb_addr; in NormalRgaSetPatVirtualInfo() 398 msg->pat.uv_addr = uv_addr; in NormalRgaSetPatVirtualInfo() 399 msg->pat.v_addr = v_addr; in NormalRgaSetPatVirtualInfo() 400 msg->pat.vir_w = vir_w; in NormalRgaSetPatVirtualInfo() 401 msg->pat.vir_h = vir_h; in NormalRgaSetPatVirtualInfo() 402 msg->pat.format = format >> 8; in NormalRgaSetPatVirtualInfo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/ |
| H A D | rga_debugger.c | 761 if (req->pat.yrgb_addr != 0 || req->pat.uv_addr != 0 in rga_request_task_debug_info() 762 || req->pat.v_addr != 0) { in rga_request_task_debug_info() 764 (unsigned long)req->pat.yrgb_addr, (unsigned long)req->pat.uv_addr, in rga_request_task_debug_info() 765 (unsigned long)req->pat.v_addr, req->pat.act_w, req->pat.act_h, in rga_request_task_debug_info() 766 req->pat.vir_w, req->pat.vir_h); in rga_request_task_debug_info() 768 req->pat.x_offset, req->pat.y_offset, req->pat.format, req->pat.rd_mode); in rga_request_task_debug_info() 802 if (req->pat.yrgb_addr != 0 || req->pat.uv_addr != 0 in rga_cmd_print_debug_info() 803 || req->pat.v_addr != 0) { in rga_cmd_print_debug_info() 805 (unsigned long)req->pat.yrgb_addr, in rga_cmd_print_debug_info() 806 (unsigned long)req->pat.uv_addr, in rga_cmd_print_debug_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/ |
| H A D | rga2_reg_info.c | 803 *bRGA_PAT_CON = (msg->pat.act_w-1) | ((msg->pat.act_h-1) << 8) in RGA2_set_reg_rop_info() 804 | (msg->pat.x_offset << 16) | (msg->pat.y_offset << 24); in RGA2_set_reg_rop_info() 958 *bRGA_MASK_ADDR = (RK_U32)msg->pat.yrgb_addr; in RGA2_set_reg_color_fill() 959 *bRGA_PAT_CON = (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << 8) in RGA2_set_reg_color_fill() 960 | (msg->pat.x_offset << 16) | (msg->pat.y_offset << 24); in RGA2_set_reg_color_fill() 974 *bRGA_MASK_BASE = (RK_U32)msg->pat.yrgb_addr; in RGA2_set_reg_update_palette_table() 985 rga_img_info_t *pat; in RGA2_set_reg_update_patten_buff() local 989 pat = &msg->pat; in RGA2_set_reg_update_patten_buff() 991 num = (pat->act_w * pat->act_h) - 1; in RGA2_set_reg_update_patten_buff() 993 offset = pat->act_w * pat->y_offset + pat->x_offset; in RGA2_set_reg_update_patten_buff() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/ |
| H A D | igc_diag.c | 39 u32 pat, val, before; in reg_pattern_test() local 44 for (pat = 0; pat < ARRAY_SIZE(test_pattern); pat++) { in reg_pattern_test() 46 wr32(reg, test_pattern[pat] & write); in reg_pattern_test() 48 if (val != (test_pattern[pat] & write & mask)) { in reg_pattern_test() 51 reg, val, test_pattern[pat] & write & mask); in reg_pattern_test()
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/ |
| H A D | im2d_common.h | 109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument 115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \ 117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \ 124 IM_C_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat, 127 IM_C_API void rga_check_perpare(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat,
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | im2d_common.h | 109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument 115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \ 117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \ 124 IM_C_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat, 127 IM_C_API void rga_check_perpare(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat,
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | im2d_common.h | 109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument 115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \ 117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \ 124 IM_C_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat, 127 IM_C_API void rga_check_perpare(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat,
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | im2d_common.h | 109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument 115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \ 117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \ 124 IM_C_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat, 127 IM_C_API void rga_check_perpare(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat,
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/pat/ |
| H A D | memtype.c | 220 static void __init_cache_modes(u64 pat) in __init_cache_modes() argument 230 cache = pat_get_cache_mode((pat >> (i * 8)) & 7, in __init_cache_modes() 241 static void pat_bp_init(u64 pat) in pat_bp_init() argument 256 wrmsrl(MSR_IA32_CR_PAT, pat); in pat_bp_init() 259 __init_cache_modes(pat); in pat_bp_init() 262 static void pat_ap_init(u64 pat) in pat_ap_init() argument 272 wrmsrl(MSR_IA32_CR_PAT, pat); in pat_ap_init() 277 u64 pat = 0; in init_cache_modes() local 292 rdmsrl(MSR_IA32_CR_PAT, pat); in init_cache_modes() 295 if (!pat) { in init_cache_modes() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_diag.c | 19 u32 pat, val, orig_val; in i40e_diag_reg_pattern_test() local 24 pat = patterns[i]; in i40e_diag_reg_pattern_test() 25 wr32(hw, reg, (pat & mask)); in i40e_diag_reg_pattern_test() 27 if ((val & mask) != (pat & mask)) { in i40e_diag_reg_pattern_test() 30 __func__, reg, pat, val); in i40e_diag_reg_pattern_test()
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm_misc.c | 424 const unsigned char *pat; in snd_pcm_format_set_silence() local 431 pat = pcm_formats[(INT)format].silence; in snd_pcm_format_set_silence() 432 if (!width || !pat) in snd_pcm_format_set_silence() 437 memset(data, *pat, bytes); in snd_pcm_format_set_silence() 445 memcpy(dst, pat, width); in snd_pcm_format_set_silence() 453 memcpy(dst, pat, 2); in snd_pcm_format_set_silence() 459 memcpy(dst, pat, 3); in snd_pcm_format_set_silence() 465 memcpy(dst, pat, 4); in snd_pcm_format_set_silence() 471 memcpy(dst, pat, 8); in snd_pcm_format_set_silence()
|