Searched refs:ucs (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/isdn/gigaset/ |
D | bas-gigaset.c | 322 static inline int update_basstate(struct bas_cardstate *ucs, in update_basstate() argument 328 spin_lock_irqsave(&ucs->lock, flags); in update_basstate() 329 state = ucs->basstate; in update_basstate() 330 ucs->basstate = (state & ~clear) | set; in update_basstate() 331 spin_unlock_irqrestore(&ucs->lock, flags); in update_basstate() 373 static void check_pending(struct bas_cardstate *ucs) in check_pending() argument 377 spin_lock_irqsave(&ucs->lock, flags); in check_pending() 378 switch (ucs->pending) { in check_pending() 382 if (ucs->basstate & BS_ATOPEN) in check_pending() 383 ucs->pending = 0; in check_pending() [all …]
|
D | usb-gigaset.c | 429 struct usb_cardstate *ucs = cs->hw.usb; in send_cb() local 455 count = min(cb->len, ucs->bulk_out_size); in send_cb() 458 usb_fill_bulk_urb(ucs->bulk_out_urb, ucs->udev, in send_cb() 459 usb_sndbulkpipe(ucs->udev, in send_cb() 460 ucs->bulk_out_epnum), in send_cb() 466 ucs->busy = 1; in send_cb() 470 usb_submit_urb(ucs->bulk_out_urb, GFP_ATOMIC) : in send_cb() 475 ucs->busy = 0; in send_cb() 572 struct usb_cardstate *ucs; in gigaset_initcshw() local 574 cs->hw.usb = ucs = kzalloc(sizeof(struct usb_cardstate), GFP_KERNEL); in gigaset_initcshw() [all …]
|
/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 | 2514 uint32_t ucs = *(uint32_t *)key; in ucs_cmp() local 2517 if (ucs > e.last) in ucs_cmp() 2519 else if (ucs < e.first) in ucs_cmp() 2524 static int is_double_width(uint32_t ucs) in is_double_width() argument 2532 if (ucs < double_width[0].first || in is_double_width() 2533 ucs > double_width[ARRAY_SIZE(double_width) - 1].last) in is_double_width() 2536 return bsearch(&ucs, double_width, ARRAY_SIZE(double_width), in is_double_width()
|
/drivers/s390/crypto/ |
D | pkey_api.c | 774 struct pkey_clr2seck __user *ucs = (void __user *) arg; in pkey_unlocked_ioctl() local 777 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl() 784 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_unlocked_ioctl() 951 struct pkey_clr2seck2 __user *ucs = (void __user *) arg; in pkey_unlocked_ioctl() local 957 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl() 987 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_unlocked_ioctl()
|