Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/isdn/gigaset/
Dbas-gigaset.c323 static inline int update_basstate(struct bas_cardstate *ucs, in update_basstate() argument
329 spin_lock_irqsave(&ucs->lock, flags); in update_basstate()
330 state = ucs->basstate; in update_basstate()
331 ucs->basstate = (state & ~clear) | set; in update_basstate()
332 spin_unlock_irqrestore(&ucs->lock, flags); in update_basstate()
374 static void check_pending(struct bas_cardstate *ucs) in check_pending() argument
378 spin_lock_irqsave(&ucs->lock, flags); in check_pending()
379 switch (ucs->pending) { in check_pending()
383 if (ucs->basstate & BS_ATOPEN) in check_pending()
384 ucs->pending = 0; in check_pending()
[all …]
Dusb-gigaset.c438 struct usb_cardstate *ucs = cs->hw.usb; in send_cb() local
463 count = min(cb->len, ucs->bulk_out_size); in send_cb()
466 usb_fill_bulk_urb(ucs->bulk_out_urb, ucs->udev, in send_cb()
467 usb_sndbulkpipe(ucs->udev, in send_cb()
468 ucs->bulk_out_endpointAddr & 0x0f), in send_cb()
474 ucs->busy = 1; in send_cb()
478 usb_submit_urb(ucs->bulk_out_urb, GFP_ATOMIC) : in send_cb()
483 ucs->busy = 0; in send_cb()
579 struct usb_cardstate *ucs; in gigaset_initcshw() local
581 cs->hw.usb = ucs = in gigaset_initcshw()
[all …]
/linux-2.6.39/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-2.6.39/fs/cifs/
Dcifs_unicode.h112 UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument
114 while ((*ucs != uc) && *ucs) in UniStrchr()
115 ucs++; in UniStrchr()
117 if (*ucs == uc) in UniStrchr()
118 return (wchar_t *) ucs; in UniStrchr()
/linux-2.6.39/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-2.6.39/drivers/tty/vt/
Dconsolemap.c697 conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc() argument
704 if (ucs > 0xffff) in conv_uni_to_pc()
706 else if (ucs < 0x20) in conv_uni_to_pc()
708 else if (ucs == 0xfeff || (ucs >= 0x200b && ucs <= 0x200f)) in conv_uni_to_pc()
715 else if ((ucs & ~UNI_DIRECT_MASK) == UNI_DIRECT_BASE) in conv_uni_to_pc()
716 return ucs & UNI_DIRECT_MASK; in conv_uni_to_pc()
722 if ((p1 = p->uni_pgdir[ucs >> 11]) && in conv_uni_to_pc()
723 (p2 = p1[(ucs >> 6) & 0x1f]) && in conv_uni_to_pc()
724 (h = p2[ucs & 0x3f]) < MAX_GLYPH) in conv_uni_to_pc()
Dvt.c2079 static int bisearch(uint32_t ucs, const struct interval *table, int max) in bisearch() argument
2084 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
2088 if (ucs > table[mid].last) in bisearch()
2090 else if (ucs < table[mid].first) in bisearch()
2098 static int is_double_width(uint32_t ucs) in is_double_width() argument
2106 return bisearch(ucs, double_width, ARRAY_SIZE(double_width) - 1); in is_double_width()
/linux-2.6.39/arch/mips/include/asm/octeon/
Dcvmx-pcieep-defs.h836 uint32_t ucs:1; member
884 uint32_t ucs:1; member
Dcvmx-pciercx-defs.h841 uint32_t ucs:1; member
893 uint32_t ucs:1; member