Home
last modified time | relevance | path

Searched refs:ucs (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/include/linux/
H A Dconsolemap.h27 int conv_uni_to_pc(struct vc_data *conp, long ucs);
44 static inline int conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc() argument
46 return ucs > 0xff ? -1 : ucs; in conv_uni_to_pc()
/linux-6.15/fs/nls/
H A Dnls_ucs2_utils.h69 static inline wchar_t *UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument
71 while ((*ucs != uc) && *ucs) in UniStrchr()
72 ucs++; in UniStrchr()
74 if (*ucs == uc) in UniStrchr()
75 return (wchar_t *)ucs; in UniStrchr()
/linux-6.15/drivers/tty/vt/
H A Dconsolemap.c863 int conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc() argument
869 if (ucs > 0xffff) in conv_uni_to_pc()
871 else if (ucs < 0x20) in conv_uni_to_pc()
873 else if (ucs == 0xfeff || (ucs >= 0x200b && ucs <= 0x200f)) in conv_uni_to_pc()
880 else if ((ucs & ~UNI_DIRECT_MASK) == UNI_DIRECT_BASE) in conv_uni_to_pc()
881 return ucs & UNI_DIRECT_MASK; in conv_uni_to_pc()
887 dir = dict->uni_pgdir[UNI_DIR(ucs)]; in conv_uni_to_pc()
891 row = dir[UNI_ROW(ucs)]; in conv_uni_to_pc()
895 glyph = row[UNI_GLYPH(ucs)]; in conv_uni_to_pc()
H A Dvt.c2726 uint32_t ucs = *(uint32_t *)key; in ucs_cmp() local
2729 if (ucs > e.last) in ucs_cmp()
2731 else if (ucs < e.first) in ucs_cmp()
2736 static int is_double_width(uint32_t ucs) in is_double_width() argument
2744 if (ucs < double_width[0].first || in is_double_width()
2745 ucs > double_width[ARRAY_SIZE(double_width) - 1].last) in is_double_width()
2748 return bsearch(&ucs, double_width, ARRAY_SIZE(double_width), in is_double_width()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_tl.c77 ADF_GEN4_TL_SL_UTIL_COUNTER(ucs),
99 ADF_GEN4_TL_SL_EXEC_COUNTER(ucs),
/linux-6.15/drivers/s390/crypto/
H A Dpkey_api.c115 static int pkey_ioctl_clr2seck(struct pkey_clr2seck __user *ucs) in pkey_ioctl_clr2seck() argument
122 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_ioctl_clr2seck()
134 if (!rc && copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_ioctl_clr2seck()
442 static int pkey_ioctl_clr2seck2(struct pkey_clr2seck2 __user *ucs) in pkey_ioctl_clr2seck2() argument
451 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_ioctl_clr2seck2()
495 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_ioctl_clr2seck2()