Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/isdn/gigaset/
Dbas-gigaset.c324 static inline int update_basstate(struct bas_cardstate *ucs, in update_basstate() argument
330 spin_lock_irqsave(&ucs->lock, flags); in update_basstate()
331 state = ucs->basstate; in update_basstate()
332 ucs->basstate = (state & ~clear) | set; in update_basstate()
333 spin_unlock_irqrestore(&ucs->lock, flags); in update_basstate()
375 static void check_pending(struct bas_cardstate *ucs) in check_pending() argument
379 spin_lock_irqsave(&ucs->lock, flags); in check_pending()
380 switch (ucs->pending) { in check_pending()
384 if (ucs->basstate & BS_ATOPEN) in check_pending()
385 ucs->pending = 0; in check_pending()
[all …]
Dusb-gigaset.c432 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-4.1.27/include/linux/
Dconsolemap.h21 extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
28 #define conv_uni_to_pc(conp, ucs) ((int) (ucs > 0xff ? -1: ucs)) argument
/linux-4.1.27/fs/ntfs/
Dunistr.c263 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-4.1.27/fs/cifs/
Dcifs_unicode.h150 UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument
152 while ((*ucs != uc) && *ucs) in UniStrchr()
153 ucs++; in UniStrchr()
155 if (*ucs == uc) in UniStrchr()
156 return (wchar_t *) ucs; in UniStrchr()
/linux-4.1.27/drivers/tty/vt/
Dconsolemap.c786 conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc() argument
793 if (ucs > 0xffff) in conv_uni_to_pc()
795 else if (ucs < 0x20) in conv_uni_to_pc()
797 else if (ucs == 0xfeff || (ucs >= 0x200b && ucs <= 0x200f)) in conv_uni_to_pc()
804 else if ((ucs & ~UNI_DIRECT_MASK) == UNI_DIRECT_BASE) in conv_uni_to_pc()
805 return ucs & UNI_DIRECT_MASK; in conv_uni_to_pc()
811 if ((p1 = p->uni_pgdir[ucs >> 11]) && in conv_uni_to_pc()
812 (p2 = p1[(ucs >> 6) & 0x1f]) && in conv_uni_to_pc()
813 (h = p2[ucs & 0x3f]) < MAX_GLYPH) in conv_uni_to_pc()
Dvt.c2125 static int bisearch(uint32_t ucs, const struct interval *table, int max) in bisearch() argument
2130 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
2134 if (ucs > table[mid].last) in bisearch()
2136 else if (ucs < table[mid].first) in bisearch()
2144 static int is_double_width(uint32_t ucs) in is_double_width() argument
2152 return bisearch(ucs, double_width, ARRAY_SIZE(double_width) - 1); in is_double_width()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h1626 uint32_t ucs:1; member
1644 uint32_t ucs:1;
1663 uint32_t ucs:1; member
1681 uint32_t ucs:1;
1701 uint32_t ucs:1; member
1719 uint32_t ucs:1;
1874 uint32_t ucs:1; member
1892 uint32_t ucs:1;
1911 uint32_t ucs:1; member
1929 uint32_t ucs:1;
[all …]