Searched refs:ucs (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/isdn/gigaset/ |
D | bas-gigaset.c | 325 static inline int update_basstate(struct bas_cardstate *ucs, in update_basstate() argument 331 spin_lock_irqsave(&ucs->lock, flags); in update_basstate() 332 state = ucs->basstate; in update_basstate() 333 ucs->basstate = (state & ~clear) | set; in update_basstate() 334 spin_unlock_irqrestore(&ucs->lock, flags); in update_basstate() 376 static void check_pending(struct bas_cardstate *ucs) in check_pending() argument 380 spin_lock_irqsave(&ucs->lock, flags); in check_pending() 381 switch (ucs->pending) { in check_pending() 385 if (ucs->basstate & BS_ATOPEN) in check_pending() 386 ucs->pending = 0; in check_pending() [all …]
|
D | usb-gigaset.c | 432 struct usb_cardstate *ucs = cs->hw.usb; in send_cb() local 458 count = min(cb->len, ucs->bulk_out_size); in send_cb() 461 usb_fill_bulk_urb(ucs->bulk_out_urb, ucs->udev, in send_cb() 462 usb_sndbulkpipe(ucs->udev, in send_cb() 463 ucs->bulk_out_epnum), in send_cb() 469 ucs->busy = 1; in send_cb() 473 usb_submit_urb(ucs->bulk_out_urb, GFP_ATOMIC) : in send_cb() 478 ucs->busy = 0; in send_cb() 575 struct usb_cardstate *ucs; in gigaset_initcshw() local 577 cs->hw.usb = ucs = in gigaset_initcshw() [all …]
|
/Linux-v4.19/include/linux/ |
D | consolemap.h | 22 extern int conv_uni_to_pc(struct vc_data *conp, long ucs); 29 #define conv_uni_to_pc(conp, ucs) ((int) (ucs > 0xff ? -1: ucs)) argument
|
/Linux-v4.19/fs/ntfs/ |
D | unistr.c | 263 ntfschar *ucs; in ntfs_nlstoucs() local 269 ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); in ntfs_nlstoucs() 270 if (likely(ucs)) { in ntfs_nlstoucs() 277 ucs[o++] = cpu_to_le16(wc); in ntfs_nlstoucs() 285 ucs[o] = 0; in ntfs_nlstoucs() 286 *outs = ucs; in ntfs_nlstoucs() 296 kmem_cache_free(ntfs_name_cache, ucs); in ntfs_nlstoucs()
|
/Linux-v4.19/fs/cifs/ |
D | cifs_unicode.h | 151 UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument 153 while ((*ucs != uc) && *ucs) in UniStrchr() 154 ucs++; in UniStrchr() 156 if (*ucs == uc) in UniStrchr() 157 return (wchar_t *) ucs; in UniStrchr()
|
/Linux-v4.19/drivers/tty/vt/ |
D | consolemap.c | 810 conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc() argument 817 if (ucs > 0xffff) in conv_uni_to_pc() 819 else if (ucs < 0x20) in conv_uni_to_pc() 821 else if (ucs == 0xfeff || (ucs >= 0x200b && ucs <= 0x200f)) in conv_uni_to_pc() 828 else if ((ucs & ~UNI_DIRECT_MASK) == UNI_DIRECT_BASE) in conv_uni_to_pc() 829 return ucs & UNI_DIRECT_MASK; in conv_uni_to_pc() 835 if ((p1 = p->uni_pgdir[ucs >> 11]) && in conv_uni_to_pc() 836 (p2 = p1[(ucs >> 6) & 0x1f]) && in conv_uni_to_pc() 837 (h = p2[ucs & 0x3f]) < MAX_GLYPH) in conv_uni_to_pc()
|
D | vt.c | 2482 uint32_t ucs = *(uint32_t *)key; in ucs_cmp() local 2485 if (ucs > e.last) in ucs_cmp() 2487 else if (ucs < e.first) in ucs_cmp() 2492 static int is_double_width(uint32_t ucs) in is_double_width() argument 2500 if (ucs < double_width[0].first || in is_double_width() 2501 ucs > double_width[ARRAY_SIZE(double_width) - 1].last) in is_double_width() 2504 return bsearch(&ucs, double_width, ARRAY_SIZE(double_width), in is_double_width()
|
/Linux-v4.19/drivers/s390/crypto/ |
D | pkey_api.c | 1080 struct pkey_clr2seck __user *ucs = (void __user *) arg; in pkey_unlocked_ioctl() local 1083 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl() 1090 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_unlocked_ioctl()
|