uni 641 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h uint64_t uni:1; uni 645 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h uint64_t uni:1; uni 829 drivers/gpu/drm/vc4/vc4_validate.c uint32_t tex, uni; uni 872 drivers/gpu/drm/vc4/vc4_validate.c for (uni = 0; uni 873 drivers/gpu/drm/vc4/vc4_validate.c uni < validated_shader->num_uniform_addr_offsets; uni 874 drivers/gpu/drm/vc4/vc4_validate.c uni++) { uni 875 drivers/gpu/drm/vc4/vc4_validate.c uint32_t o = validated_shader->uniform_addr_offsets[uni]; uni 684 drivers/net/ethernet/ti/netcp_ethss.c int uni; uni 2635 drivers/net/ethernet/ti/netcp_ethss.c (slave->ts_ctl.uni ? TS_UNI_EN : uni 2984 drivers/net/ethernet/ti/netcp_ethss.c slave->ts_ctl.uni = 1; uni 710 drivers/staging/exfat/exfat_core.c u16 uni = 0; uni 731 drivers/staging/exfat/exfat_core.c uni = GET16(((u8 *)tmp_bh->b_data) + i); uni 742 drivers/staging/exfat/exfat_core.c index += uni; uni 744 drivers/staging/exfat/exfat_core.c index, uni); uni 746 drivers/staging/exfat/exfat_core.c } else if (uni == index) { uni 748 drivers/staging/exfat/exfat_core.c } else if (uni == 0xFFFF) { uni 766 drivers/staging/exfat/exfat_core.c upcase_table[col_index][get_row_index(index)] = uni; uni 792 drivers/staging/exfat/exfat_core.c u16 uni = 0; uni 802 drivers/staging/exfat/exfat_core.c uni = GET16(uni_upcase + i); uni 805 drivers/staging/exfat/exfat_core.c index += uni; uni 806 drivers/staging/exfat/exfat_core.c pr_debug("to 0x%X (amount of 0x%X)\n", index, uni); uni 808 drivers/staging/exfat/exfat_core.c } else if (uni == index) { uni 810 drivers/staging/exfat/exfat_core.c } else if (uni == 0xFFFF) { uni 829 drivers/staging/exfat/exfat_core.c upcase_table[col_index][get_row_index(index)] = uni; uni 24 drivers/staging/exfat/exfat_nls.c static int convert_ch_to_uni(struct nls_table *nls, u16 *uni, u8 *ch, uni 29 drivers/staging/exfat/exfat_nls.c *uni = 0x0; uni 32 drivers/staging/exfat/exfat_nls.c *uni = (u16)ch[0]; uni 36 drivers/staging/exfat/exfat_nls.c len = nls->char2uni(ch, NLS_MAX_CHARSET_SIZE, uni); uni 42 drivers/staging/exfat/exfat_nls.c *uni = (u16)'_'; uni 52 drivers/staging/exfat/exfat_nls.c static int convert_uni_to_ch(struct nls_table *nls, u8 *ch, u16 uni, uni 59 drivers/staging/exfat/exfat_nls.c if (uni < 0x0080) { uni 60 drivers/staging/exfat/exfat_nls.c ch[0] = (u8)uni; uni 64 drivers/staging/exfat/exfat_nls.c len = nls->uni2char(uni, ch, NLS_MAX_CHARSET_SIZE); uni 795 drivers/tty/vt/consolemap.c unsigned short uni = translations[USER_MAP][c]; uni 796 drivers/tty/vt/consolemap.c return uni == (0xf000 | c) ? c : uni; uni 799 drivers/tty/vt/consolemap.c int conv_uni_to_8bit(u32 uni) uni 803 drivers/tty/vt/consolemap.c if (translations[USER_MAP][c] == uni || uni 804 drivers/tty/vt/consolemap.c (translations[USER_MAP][c] == (c | 0xf000) && uni == c)) uni 510 fs/befs/linuxvfs.c unicode_t uni; uni 533 fs/befs/linuxvfs.c utflen = utf8_to_utf32(&in[i], in_len - i, &uni); uni 538 fs/befs/linuxvfs.c if (uni > MAX_WCHAR_T) uni 540 fs/befs/linuxvfs.c unilen = nls->uni2char(uni, &result[o], in_len - o); uni 587 fs/befs/linuxvfs.c wchar_t uni; uni 614 fs/befs/linuxvfs.c unilen = nls->char2uni(&in[i], in_len - i, &uni); uni 619 fs/befs/linuxvfs.c utflen = utf32_to_utf8(uni, &result[o], 3); uni 142 fs/fat/dir.c const wchar_t *uni, int len, struct nls_table *nls) uni 150 fs/fat/dir.c ip = uni; uni 181 fs/fat/dir.c static inline int fat_uni_to_x8(struct super_block *sb, const wchar_t *uni, uni 186 fs/fat/dir.c return utf16s_to_utf8s(uni, FAT_MAX_UNI_CHARS, uni 189 fs/fat/dir.c return uni16_to_x8(sb, buf, uni, size, sbi->nls_io); uni 193 fs/fat/dir.c fat_short2uni(struct nls_table *t, unsigned char *c, int clen, wchar_t *uni) uni 197 fs/fat/dir.c charlen = t->char2uni(c, clen, uni); uni 199 fs/fat/dir.c *uni = 0x003f; /* a question mark */ uni 207 fs/fat/dir.c int clen, wchar_t *uni) uni 214 fs/fat/dir.c *uni = 0x003f; /* a question mark */ uni 222 fs/fat/dir.c charlen = t->char2uni(&nc, 1, uni); uni 224 fs/fat/dir.c *uni = 0x003f; /* a question mark */ uni 228 fs/fat/dir.c *uni = wc; uni 18 fs/isofs/joliet.c uni16_to_x8(unsigned char *ascii, __be16 *uni, int len, struct nls_table *nls) uni 23 fs/isofs/joliet.c ip = uni; uni 555 fs/nls/mac-celtic.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 558 fs/nls/mac-celtic.c unsigned char cl = uni & 0x00ff; uni 559 fs/nls/mac-celtic.c unsigned char ch = (uni & 0xff00) >> 8; uni 572 fs/nls/mac-celtic.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 574 fs/nls/mac-celtic.c *uni = charset2uni[*rawstring]; uni 575 fs/nls/mac-celtic.c if (*uni == 0x0000) uni 485 fs/nls/mac-centeuro.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 488 fs/nls/mac-centeuro.c unsigned char cl = uni & 0x00ff; uni 489 fs/nls/mac-centeuro.c unsigned char ch = (uni & 0xff00) >> 8; uni 502 fs/nls/mac-centeuro.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 504 fs/nls/mac-centeuro.c *uni = charset2uni[*rawstring]; uni 505 fs/nls/mac-centeuro.c if (*uni == 0x0000) uni 555 fs/nls/mac-croatian.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 558 fs/nls/mac-croatian.c unsigned char cl = uni & 0x00ff; uni 559 fs/nls/mac-croatian.c unsigned char ch = (uni & 0xff00) >> 8; uni 572 fs/nls/mac-croatian.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 574 fs/nls/mac-croatian.c *uni = charset2uni[*rawstring]; uni 575 fs/nls/mac-croatian.c if (*uni == 0x0000) uni 450 fs/nls/mac-cyrillic.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 453 fs/nls/mac-cyrillic.c unsigned char cl = uni & 0x00ff; uni 454 fs/nls/mac-cyrillic.c unsigned char ch = (uni & 0xff00) >> 8; uni 467 fs/nls/mac-cyrillic.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 469 fs/nls/mac-cyrillic.c *uni = charset2uni[*rawstring]; uni 470 fs/nls/mac-cyrillic.c if (*uni == 0x0000) uni 520 fs/nls/mac-gaelic.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 523 fs/nls/mac-gaelic.c unsigned char cl = uni & 0x00ff; uni 524 fs/nls/mac-gaelic.c unsigned char ch = (uni & 0xff00) >> 8; uni 537 fs/nls/mac-gaelic.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 539 fs/nls/mac-gaelic.c *uni = charset2uni[*rawstring]; uni 540 fs/nls/mac-gaelic.c if (*uni == 0x0000) uni 450 fs/nls/mac-greek.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 453 fs/nls/mac-greek.c unsigned char cl = uni & 0x00ff; uni 454 fs/nls/mac-greek.c unsigned char ch = (uni & 0xff00) >> 8; uni 467 fs/nls/mac-greek.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 469 fs/nls/mac-greek.c *uni = charset2uni[*rawstring]; uni 470 fs/nls/mac-greek.c if (*uni == 0x0000) uni 555 fs/nls/mac-iceland.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 558 fs/nls/mac-iceland.c unsigned char cl = uni & 0x00ff; uni 559 fs/nls/mac-iceland.c unsigned char ch = (uni & 0xff00) >> 8; uni 572 fs/nls/mac-iceland.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 574 fs/nls/mac-iceland.c *uni = charset2uni[*rawstring]; uni 575 fs/nls/mac-iceland.c if (*uni == 0x0000) uni 485 fs/nls/mac-inuit.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 488 fs/nls/mac-inuit.c unsigned char cl = uni & 0x00ff; uni 489 fs/nls/mac-inuit.c unsigned char ch = (uni & 0xff00) >> 8; uni 502 fs/nls/mac-inuit.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 504 fs/nls/mac-inuit.c *uni = charset2uni[*rawstring]; uni 505 fs/nls/mac-inuit.c if (*uni == 0x0000) uni 590 fs/nls/mac-roman.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 593 fs/nls/mac-roman.c unsigned char cl = uni & 0x00ff; uni 594 fs/nls/mac-roman.c unsigned char ch = (uni & 0xff00) >> 8; uni 607 fs/nls/mac-roman.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 609 fs/nls/mac-roman.c *uni = charset2uni[*rawstring]; uni 610 fs/nls/mac-roman.c if (*uni == 0x0000) uni 555 fs/nls/mac-romanian.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 558 fs/nls/mac-romanian.c unsigned char cl = uni & 0x00ff; uni 559 fs/nls/mac-romanian.c unsigned char ch = (uni & 0xff00) >> 8; uni 572 fs/nls/mac-romanian.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 574 fs/nls/mac-romanian.c *uni = charset2uni[*rawstring]; uni 575 fs/nls/mac-romanian.c if (*uni == 0x0000) uni 555 fs/nls/mac-turkish.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 558 fs/nls/mac-turkish.c unsigned char cl = uni & 0x00ff; uni 559 fs/nls/mac-turkish.c unsigned char ch = (uni & 0xff00) >> 8; uni 572 fs/nls/mac-turkish.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 574 fs/nls/mac-turkish.c *uni = charset2uni[*rawstring]; uni 575 fs/nls/mac-turkish.c if (*uni == 0x0000) uni 120 fs/nls/nls_ascii.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 123 fs/nls/nls_ascii.c unsigned char cl = uni & 0x00ff; uni 124 fs/nls/nls_ascii.c unsigned char ch = (uni & 0xff00) >> 8; uni 137 fs/nls/nls_ascii.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 139 fs/nls/nls_ascii.c *uni = charset2uni[*rawstring]; uni 140 fs/nls/nls_ascii.c if (*uni == 0x0000) uni 498 fs/nls/nls_base.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 501 fs/nls/nls_base.c unsigned char cl = uni & 0x00ff; uni 502 fs/nls/nls_base.c unsigned char ch = (uni & 0xff00) >> 8; uni 515 fs/nls/nls_base.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 517 fs/nls/nls_base.c *uni = charset2uni[*rawstring]; uni 518 fs/nls/nls_base.c if (*uni == 0x0000) uni 301 fs/nls/nls_cp1250.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 304 fs/nls/nls_cp1250.c unsigned char cl = uni & 0x00ff; uni 305 fs/nls/nls_cp1250.c unsigned char ch = (uni & 0xff00) >> 8; uni 318 fs/nls/nls_cp1250.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 320 fs/nls/nls_cp1250.c *uni = charset2uni[*rawstring]; uni 321 fs/nls/nls_cp1250.c if (*uni == 0x0000) uni 255 fs/nls/nls_cp1251.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 258 fs/nls/nls_cp1251.c unsigned char cl = uni & 0x00ff; uni 259 fs/nls/nls_cp1251.c unsigned char ch = (uni & 0xff00) >> 8; uni 272 fs/nls/nls_cp1251.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 274 fs/nls/nls_cp1251.c *uni = charset2uni[*rawstring]; uni 275 fs/nls/nls_cp1251.c if (*uni == 0x0000) uni 336 fs/nls/nls_cp1255.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 339 fs/nls/nls_cp1255.c unsigned char cl = uni & 0x00ff; uni 340 fs/nls/nls_cp1255.c unsigned char ch = (uni & 0xff00) >> 8; uni 353 fs/nls/nls_cp1255.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 355 fs/nls/nls_cp1255.c *uni = charset2uni[*rawstring]; uni 356 fs/nls/nls_cp1255.c if (*uni == 0x0000) uni 341 fs/nls/nls_cp437.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 344 fs/nls/nls_cp437.c unsigned char cl = uni & 0x00ff; uni 345 fs/nls/nls_cp437.c unsigned char ch = (uni & 0xff00) >> 8; uni 358 fs/nls/nls_cp437.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 360 fs/nls/nls_cp437.c *uni = charset2uni[*rawstring]; uni 361 fs/nls/nls_cp437.c if (*uni == 0x0000) uni 304 fs/nls/nls_cp737.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 307 fs/nls/nls_cp737.c unsigned char cl = uni & 0x00ff; uni 308 fs/nls/nls_cp737.c unsigned char ch = (uni & 0xff00) >> 8; uni 321 fs/nls/nls_cp737.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 323 fs/nls/nls_cp737.c *uni = charset2uni[*rawstring]; uni 324 fs/nls/nls_cp737.c if (*uni == 0x0000) uni 273 fs/nls/nls_cp775.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 276 fs/nls/nls_cp775.c unsigned char cl = uni & 0x00ff; uni 277 fs/nls/nls_cp775.c unsigned char ch = (uni & 0xff00) >> 8; uni 290 fs/nls/nls_cp775.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 292 fs/nls/nls_cp775.c *uni = charset2uni[*rawstring]; uni 293 fs/nls/nls_cp775.c if (*uni == 0x0000) uni 269 fs/nls/nls_cp850.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 272 fs/nls/nls_cp850.c unsigned char cl = uni & 0x00ff; uni 273 fs/nls/nls_cp850.c unsigned char ch = (uni & 0xff00) >> 8; uni 286 fs/nls/nls_cp850.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 288 fs/nls/nls_cp850.c *uni = charset2uni[*rawstring]; uni 289 fs/nls/nls_cp850.c if (*uni == 0x0000) uni 291 fs/nls/nls_cp852.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 294 fs/nls/nls_cp852.c unsigned char cl = uni & 0x00ff; uni 295 fs/nls/nls_cp852.c unsigned char ch = (uni & 0xff00) >> 8; uni 308 fs/nls/nls_cp852.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 310 fs/nls/nls_cp852.c *uni = charset2uni[*rawstring]; uni 311 fs/nls/nls_cp852.c if (*uni == 0x0000) uni 253 fs/nls/nls_cp855.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 256 fs/nls/nls_cp855.c unsigned char cl = uni & 0x00ff; uni 257 fs/nls/nls_cp855.c unsigned char ch = (uni & 0xff00) >> 8; uni 270 fs/nls/nls_cp855.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 272 fs/nls/nls_cp855.c *uni = charset2uni[*rawstring]; uni 273 fs/nls/nls_cp855.c if (*uni == 0x0000) uni 255 fs/nls/nls_cp857.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 258 fs/nls/nls_cp857.c unsigned char cl = uni & 0x00ff; uni 259 fs/nls/nls_cp857.c unsigned char ch = (uni & 0xff00) >> 8; uni 272 fs/nls/nls_cp857.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 274 fs/nls/nls_cp857.c *uni = charset2uni[*rawstring]; uni 275 fs/nls/nls_cp857.c if (*uni == 0x0000) uni 318 fs/nls/nls_cp860.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 321 fs/nls/nls_cp860.c unsigned char cl = uni & 0x00ff; uni 322 fs/nls/nls_cp860.c unsigned char ch = (uni & 0xff00) >> 8; uni 335 fs/nls/nls_cp860.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 337 fs/nls/nls_cp860.c *uni = charset2uni[*rawstring]; uni 338 fs/nls/nls_cp860.c if (*uni == 0x0000) uni 341 fs/nls/nls_cp861.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 344 fs/nls/nls_cp861.c unsigned char cl = uni & 0x00ff; uni 345 fs/nls/nls_cp861.c unsigned char ch = (uni & 0xff00) >> 8; uni 358 fs/nls/nls_cp861.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 360 fs/nls/nls_cp861.c *uni = charset2uni[*rawstring]; uni 361 fs/nls/nls_cp861.c if (*uni == 0x0000) uni 375 fs/nls/nls_cp862.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 378 fs/nls/nls_cp862.c unsigned char cl = uni & 0x00ff; uni 379 fs/nls/nls_cp862.c unsigned char ch = (uni & 0xff00) >> 8; uni 392 fs/nls/nls_cp862.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 394 fs/nls/nls_cp862.c *uni = charset2uni[*rawstring]; uni 395 fs/nls/nls_cp862.c if (*uni == 0x0000) uni 335 fs/nls/nls_cp863.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 338 fs/nls/nls_cp863.c unsigned char cl = uni & 0x00ff; uni 339 fs/nls/nls_cp863.c unsigned char ch = (uni & 0xff00) >> 8; uni 352 fs/nls/nls_cp863.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 354 fs/nls/nls_cp863.c *uni = charset2uni[*rawstring]; uni 355 fs/nls/nls_cp863.c if (*uni == 0x0000) uni 361 fs/nls/nls_cp864.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 364 fs/nls/nls_cp864.c unsigned char cl = uni & 0x00ff; uni 365 fs/nls/nls_cp864.c unsigned char ch = (uni & 0xff00) >> 8; uni 378 fs/nls/nls_cp864.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 380 fs/nls/nls_cp864.c *uni = charset2uni[*rawstring]; uni 381 fs/nls/nls_cp864.c if (*uni == 0x0000) uni 341 fs/nls/nls_cp865.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 344 fs/nls/nls_cp865.c unsigned char cl = uni & 0x00ff; uni 345 fs/nls/nls_cp865.c unsigned char ch = (uni & 0xff00) >> 8; uni 358 fs/nls/nls_cp865.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 360 fs/nls/nls_cp865.c *uni = charset2uni[*rawstring]; uni 361 fs/nls/nls_cp865.c if (*uni == 0x0000) uni 259 fs/nls/nls_cp866.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 262 fs/nls/nls_cp866.c unsigned char cl = uni & 0x00ff; uni 263 fs/nls/nls_cp866.c unsigned char ch = (uni & 0xff00) >> 8; uni 276 fs/nls/nls_cp866.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 278 fs/nls/nls_cp866.c *uni = charset2uni[*rawstring]; uni 279 fs/nls/nls_cp866.c if (*uni == 0x0000) uni 269 fs/nls/nls_cp869.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 272 fs/nls/nls_cp869.c unsigned char cl = uni & 0x00ff; uni 273 fs/nls/nls_cp869.c unsigned char ch = (uni & 0xff00) >> 8; uni 286 fs/nls/nls_cp869.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 288 fs/nls/nls_cp869.c *uni = charset2uni[*rawstring]; uni 289 fs/nls/nls_cp869.c if (*uni == 0x0000) uni 227 fs/nls/nls_cp874.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 230 fs/nls/nls_cp874.c unsigned char cl = uni & 0x00ff; uni 231 fs/nls/nls_cp874.c unsigned char ch = (uni & 0xff00) >> 8; uni 244 fs/nls/nls_cp874.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 246 fs/nls/nls_cp874.c *uni = charset2uni[*rawstring]; uni 247 fs/nls/nls_cp874.c if (*uni == 0x0000) uni 7837 fs/nls/nls_cp932.c static int uni2char(const wchar_t uni, uni 7841 fs/nls/nls_cp932.c unsigned char cl = uni&0xFF; uni 7842 fs/nls/nls_cp932.c unsigned char ch = (uni>>8)&0xFF; uni 7878 fs/nls/nls_cp932.c wchar_t *uni) uni 7887 fs/nls/nls_cp932.c *uni = rawstring[0]; uni 7891 fs/nls/nls_cp932.c *uni = 0xFF00 | (rawstring[0] - 0x40); uni 7901 fs/nls/nls_cp932.c *uni = charset2uni[cl]; uni 7902 fs/nls/nls_cp932.c if (*uni == 0x0000) uni 11000 fs/nls/nls_cp936.c static int uni2char(const wchar_t uni, uni 11004 fs/nls/nls_cp936.c unsigned char cl = uni&0xFF; uni 11005 fs/nls/nls_cp936.c unsigned char ch = (uni>>8)&0xFF; uni 11011 fs/nls/nls_cp936.c if (uni == 0x20ac) {/* Euro symbol.The only exception with a non-ascii unicode */ uni 11050 fs/nls/nls_cp936.c wchar_t *uni) uni 11061 fs/nls/nls_cp936.c *uni = 0x20ac; uni 11063 fs/nls/nls_cp936.c *uni = rawstring[0]; uni 11073 fs/nls/nls_cp936.c *uni = charset2uni[cl]; uni 11074 fs/nls/nls_cp936.c if (*uni == 0x0000) uni 11079 fs/nls/nls_cp936.c *uni = 0x20ac; uni 11081 fs/nls/nls_cp936.c *uni = ch; uni 13861 fs/nls/nls_cp949.c static int uni2char(const wchar_t uni, uni 13865 fs/nls/nls_cp949.c unsigned char cl = uni&0xFF; uni 13866 fs/nls/nls_cp949.c unsigned char ch = (uni>>8)&0xFF; uni 13893 fs/nls/nls_cp949.c wchar_t *uni) uni 13903 fs/nls/nls_cp949.c *uni = rawstring[0]; uni 13912 fs/nls/nls_cp949.c *uni = charset2uni[cl]; uni 13913 fs/nls/nls_cp949.c if (*uni == 0x0000) uni 13917 fs/nls/nls_cp949.c *uni = ch; uni 9397 fs/nls/nls_cp950.c static int uni2char(const wchar_t uni, uni 9401 fs/nls/nls_cp950.c unsigned char cl = uni&0xFF; uni 9402 fs/nls/nls_cp950.c unsigned char ch = (uni>>8)&0xFF; uni 9429 fs/nls/nls_cp950.c wchar_t *uni) uni 9439 fs/nls/nls_cp950.c *uni = rawstring[0]; uni 9448 fs/nls/nls_cp950.c *uni = charset2uni[cl]; uni 9449 fs/nls/nls_cp950.c if (*uni == 0x0000) uni 9453 fs/nls/nls_cp950.c *uni = ch; uni 409 fs/nls/nls_euc-jp.c static int uni2char(const wchar_t uni, uni 416 fs/nls/nls_euc-jp.c if ((n = p_nls->uni2char(uni, out, boundlen)) < 0) uni 480 fs/nls/nls_euc-jp.c wchar_t *uni) uni 546 fs/nls/nls_euc-jp.c if ( (n = p_nls->char2uni(sjis_temp, sizeof(sjis_temp), uni)) < 0) uni 211 fs/nls/nls_iso8859-1.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 214 fs/nls/nls_iso8859-1.c unsigned char cl = uni & 0x00ff; uni 215 fs/nls/nls_iso8859-1.c unsigned char ch = (uni & 0xff00) >> 8; uni 228 fs/nls/nls_iso8859-1.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 230 fs/nls/nls_iso8859-1.c *uni = charset2uni[*rawstring]; uni 231 fs/nls/nls_iso8859-1.c if (*uni == 0x0000) uni 239 fs/nls/nls_iso8859-13.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 242 fs/nls/nls_iso8859-13.c unsigned char cl = uni & 0x00ff; uni 243 fs/nls/nls_iso8859-13.c unsigned char ch = (uni & 0xff00) >> 8; uni 256 fs/nls/nls_iso8859-13.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 258 fs/nls/nls_iso8859-13.c *uni = charset2uni[*rawstring]; uni 259 fs/nls/nls_iso8859-13.c if (*uni == 0x0000) uni 295 fs/nls/nls_iso8859-14.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 298 fs/nls/nls_iso8859-14.c unsigned char cl = uni & 0x00ff; uni 299 fs/nls/nls_iso8859-14.c unsigned char ch = (uni & 0xff00) >> 8; uni 312 fs/nls/nls_iso8859-14.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 314 fs/nls/nls_iso8859-14.c *uni = charset2uni[*rawstring]; uni 315 fs/nls/nls_iso8859-14.c if (*uni == 0x0000) uni 261 fs/nls/nls_iso8859-15.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 264 fs/nls/nls_iso8859-15.c unsigned char cl = uni & 0x00ff; uni 265 fs/nls/nls_iso8859-15.c unsigned char ch = (uni & 0xff00) >> 8; uni 278 fs/nls/nls_iso8859-15.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 280 fs/nls/nls_iso8859-15.c *uni = charset2uni[*rawstring]; uni 281 fs/nls/nls_iso8859-15.c if (*uni == 0x0000) uni 262 fs/nls/nls_iso8859-2.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 265 fs/nls/nls_iso8859-2.c unsigned char cl = uni & 0x00ff; uni 266 fs/nls/nls_iso8859-2.c unsigned char ch = (uni & 0xff00) >> 8; uni 279 fs/nls/nls_iso8859-2.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 281 fs/nls/nls_iso8859-2.c *uni = charset2uni[*rawstring]; uni 282 fs/nls/nls_iso8859-2.c if (*uni == 0x0000) uni 262 fs/nls/nls_iso8859-3.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 265 fs/nls/nls_iso8859-3.c unsigned char cl = uni & 0x00ff; uni 266 fs/nls/nls_iso8859-3.c unsigned char ch = (uni & 0xff00) >> 8; uni 279 fs/nls/nls_iso8859-3.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 281 fs/nls/nls_iso8859-3.c *uni = charset2uni[*rawstring]; uni 282 fs/nls/nls_iso8859-3.c if (*uni == 0x0000) uni 262 fs/nls/nls_iso8859-4.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 265 fs/nls/nls_iso8859-4.c unsigned char cl = uni & 0x00ff; uni 266 fs/nls/nls_iso8859-4.c unsigned char ch = (uni & 0xff00) >> 8; uni 279 fs/nls/nls_iso8859-4.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 281 fs/nls/nls_iso8859-4.c *uni = charset2uni[*rawstring]; uni 282 fs/nls/nls_iso8859-4.c if (*uni == 0x0000) uni 226 fs/nls/nls_iso8859-5.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 229 fs/nls/nls_iso8859-5.c unsigned char cl = uni & 0x00ff; uni 230 fs/nls/nls_iso8859-5.c unsigned char ch = (uni & 0xff00) >> 8; uni 243 fs/nls/nls_iso8859-5.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 245 fs/nls/nls_iso8859-5.c *uni = charset2uni[*rawstring]; uni 246 fs/nls/nls_iso8859-5.c if (*uni == 0x0000) uni 217 fs/nls/nls_iso8859-6.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 220 fs/nls/nls_iso8859-6.c unsigned char cl = uni & 0x00ff; uni 221 fs/nls/nls_iso8859-6.c unsigned char ch = (uni & 0xff00) >> 8; uni 234 fs/nls/nls_iso8859-6.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 236 fs/nls/nls_iso8859-6.c *uni = charset2uni[*rawstring]; uni 237 fs/nls/nls_iso8859-6.c if (*uni == 0x0000) uni 271 fs/nls/nls_iso8859-7.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 274 fs/nls/nls_iso8859-7.c unsigned char cl = uni & 0x00ff; uni 275 fs/nls/nls_iso8859-7.c unsigned char ch = (uni & 0xff00) >> 8; uni 288 fs/nls/nls_iso8859-7.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 290 fs/nls/nls_iso8859-7.c *uni = charset2uni[*rawstring]; uni 291 fs/nls/nls_iso8859-7.c if (*uni == 0x0000) uni 226 fs/nls/nls_iso8859-9.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 229 fs/nls/nls_iso8859-9.c unsigned char cl = uni & 0x00ff; uni 230 fs/nls/nls_iso8859-9.c unsigned char ch = (uni & 0xff00) >> 8; uni 243 fs/nls/nls_iso8859-9.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 245 fs/nls/nls_iso8859-9.c *uni = charset2uni[*rawstring]; uni 246 fs/nls/nls_iso8859-9.c if (*uni == 0x0000) uni 277 fs/nls/nls_koi8-r.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 280 fs/nls/nls_koi8-r.c unsigned char cl = uni & 0x00ff; uni 281 fs/nls/nls_koi8-r.c unsigned char ch = (uni & 0xff00) >> 8; uni 294 fs/nls/nls_koi8-r.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 296 fs/nls/nls_koi8-r.c *uni = charset2uni[*rawstring]; uni 297 fs/nls/nls_koi8-r.c if (*uni == 0x0000) uni 16 fs/nls/nls_koi8-ru.c static int uni2char(const wchar_t uni, uni 22 fs/nls/nls_koi8-ru.c if ((uni & 0xffaf) == 0x040e || (uni & 0xffce) == 0x254c) { uni 24 fs/nls/nls_koi8-ru.c if (uni == 0x040e) uni 26 fs/nls/nls_koi8-ru.c else if (uni == 0x045e) uni 28 fs/nls/nls_koi8-ru.c else if (uni == 0x255d || uni == 0x256c) uni 31 fs/nls/nls_koi8-ru.c return p_nls->uni2char(uni, out, boundlen); uni 36 fs/nls/nls_koi8-ru.c return p_nls->uni2char(uni, out, boundlen); uni 40 fs/nls/nls_koi8-ru.c wchar_t *uni) uni 46 fs/nls/nls_koi8-ru.c *uni = (*rawstring & 0x10) ? 0x040e : 0x045e; uni 50 fs/nls/nls_koi8-ru.c n = p_nls->char2uni(rawstring, boundlen, uni); uni 284 fs/nls/nls_koi8-u.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 287 fs/nls/nls_koi8-u.c unsigned char cl = uni & 0x00ff; uni 288 fs/nls/nls_koi8-u.c unsigned char ch = (uni & 0xff00) >> 8; uni 301 fs/nls/nls_koi8-u.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 303 fs/nls/nls_koi8-u.c *uni = charset2uni[*rawstring]; uni 304 fs/nls/nls_koi8-u.c if (*uni == 0x0000) uni 14 fs/nls/nls_utf8.c static int uni2char(wchar_t uni, unsigned char *out, int boundlen) uni 21 fs/nls/nls_utf8.c n = utf32_to_utf8(uni, out, boundlen); uni 29 fs/nls/nls_utf8.c static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) uni 36 fs/nls/nls_utf8.c *uni = 0x003f; /* ? */ uni 39 fs/nls/nls_utf8.c *uni = (wchar_t) u; uni 24 include/linux/consolemap.h extern int conv_uni_to_8bit(u32 uni); uni 27 include/linux/consolemap.h #define inverse_translate(conp, glyph, uni) ((uint16_t)glyph) uni 28 include/linux/nls.h int (*uni2char) (wchar_t uni, unsigned char *out, int boundlen); uni 30 include/linux/nls.h wchar_t *uni); uni 662 net/mac80211/cfg.c u8 key_idx, bool uni, uni 667 net/mac80211/cfg.c ieee80211_set_default_key(sdata, key_idx, uni, multi); uni 348 net/mac80211/key.c int idx, bool uni, bool multi) uni 357 net/mac80211/key.c if (uni) { uni 371 net/mac80211/key.c bool uni, bool multi) uni 374 net/mac80211/key.c __ieee80211_set_default_key(sdata, idx, uni, multi); uni 153 net/mac80211/key.h bool uni, bool multi); uni 101 sound/soc/sti/sti_uniperif.c int sti_uniperiph_reset(struct uniperif *uni) uni 106 sound/soc/sti/sti_uniperif.c SET_UNIPERIF_SOFT_RST_SOFT_RST(uni); uni 108 sound/soc/sti/sti_uniperif.c if (uni->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) { uni 109 sound/soc/sti/sti_uniperif.c while (GET_UNIPERIF_SOFT_RST_SOFT_RST(uni) && count) { uni 116 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "Failed to reset uniperif\n"); uni 128 sound/soc/sti/sti_uniperif.c struct uniperif *uni = priv->dai_data.uni; uni 131 sound/soc/sti/sti_uniperif.c if (!UNIPERIF_TYPE_IS_TDM(uni)) { uni 132 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "cpu dai not in tdm mode\n"); uni 137 sound/soc/sti/sti_uniperif.c uni->tdm_slot.slots = slots; uni 138 sound/soc/sti/sti_uniperif.c uni->tdm_slot.slot_width = slot_width; uni 140 sound/soc/sti/sti_uniperif.c uni->tdm_slot.mask = (tx_mask != 0) ? tx_mask : rx_mask; uni 143 sound/soc/sti/sti_uniperif.c for (i = 0, avail_slots = 0; i < uni->tdm_slot.slots; i++) { uni 144 sound/soc/sti/sti_uniperif.c if ((uni->tdm_slot.mask >> i) & 0x01) uni 147 sound/soc/sti/sti_uniperif.c uni->tdm_slot.avail_slots = avail_slots; uni 150 sound/soc/sti/sti_uniperif.c frame_size = uni->tdm_slot.avail_slots * uni->tdm_slot.slot_width / 8; uni 155 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "frame size not allowed: %d bytes\n", uni 166 sound/soc/sti/sti_uniperif.c struct uniperif *uni = rule->private; uni 169 sound/soc/sti/sti_uniperif.c t.min = uni->tdm_slot.avail_slots; uni 170 sound/soc/sti/sti_uniperif.c t.max = uni->tdm_slot.avail_slots; uni 181 sound/soc/sti/sti_uniperif.c struct uniperif *uni = rule->private; uni 185 sound/soc/sti/sti_uniperif.c switch (uni->tdm_slot.slot_width) { uni 193 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "format not supported: %d bits\n", uni 194 sound/soc/sti/sti_uniperif.c uni->tdm_slot.slot_width); uni 209 sound/soc/sti/sti_uniperif.c int sti_uniperiph_get_tdm_word_pos(struct uniperif *uni, uni 212 sound/soc/sti/sti_uniperif.c int slot_width = uni->tdm_slot.slot_width / 8; uni 213 sound/soc/sti/sti_uniperif.c int slots_num = uni->tdm_slot.slots; uni 214 sound/soc/sti/sti_uniperif.c unsigned int slots_mask = uni->tdm_slot.mask; uni 258 sound/soc/sti/sti_uniperif.c struct uniperif *uni = priv->dai_data.uni; uni 262 sound/soc/sti/sti_uniperif.c if (!uni->num_ctrls) uni 265 sound/soc/sti/sti_uniperif.c for (i = 0; i < uni->num_ctrls; i++) { uni 270 sound/soc/sti/sti_uniperif.c ctrl = &uni->snd_ctrls[i]; uni 271 sound/soc/sti/sti_uniperif.c ctrl->index = uni->id; uni 272 sound/soc/sti/sti_uniperif.c ctrl->device = uni->id; uni 275 sound/soc/sti/sti_uniperif.c return snd_soc_add_dai_controls(dai, uni->snd_ctrls, uni->num_ctrls); uni 286 sound/soc/sti/sti_uniperif.c struct uniperif *uni = priv->dai_data.uni; uni 290 sound/soc/sti/sti_uniperif.c if (uni->type == SND_ST_UNIPERIF_TYPE_TDM) uni 306 sound/soc/sti/sti_uniperif.c priv->dai_data.uni->daifmt = fmt; uni 314 sound/soc/sti/sti_uniperif.c struct uniperif *uni = priv->dai_data.uni; uni 318 sound/soc/sti/sti_uniperif.c if (uni->state != UNIPERIF_STATE_STOPPED) { uni 319 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "%s: invalid uni state( %d)\n", uni 320 sound/soc/sti/sti_uniperif.c __func__, (int)uni->state); uni 325 sound/soc/sti/sti_uniperif.c ret = pinctrl_pm_select_sleep_state(uni->dev); uni 327 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "%s: failed to select pinctrl state\n", uni 336 sound/soc/sti/sti_uniperif.c struct uniperif *uni = priv->dai_data.uni; uni 340 sound/soc/sti/sti_uniperif.c ret = uni_player_resume(uni); uni 346 sound/soc/sti/sti_uniperif.c ret = pinctrl_pm_select_default_state(uni->dev); uni 348 sound/soc/sti/sti_uniperif.c dev_err(uni->dev, "%s: failed to select pinctrl state\n", uni 365 sound/soc/sti/sti_uniperif.c dai_data->dma_data.addr = dai_data->uni->fifo_phys_address; uni 388 sound/soc/sti/sti_uniperif.c struct uniperif *uni; uni 402 sound/soc/sti/sti_uniperif.c uni = devm_kzalloc(dev, sizeof(*uni), GFP_KERNEL); uni 403 sound/soc/sti/sti_uniperif.c if (!uni) uni 406 sound/soc/sti/sti_uniperif.c uni->id = dev_data->id; uni 407 sound/soc/sti/sti_uniperif.c uni->ver = dev_data->version; uni 413 sound/soc/sti/sti_uniperif.c uni->mem_region = platform_get_resource(priv->pdev, IORESOURCE_MEM, 0); uni 415 sound/soc/sti/sti_uniperif.c if (!uni->mem_region) { uni 420 sound/soc/sti/sti_uniperif.c uni->base = devm_ioremap_resource(dev, uni->mem_region); uni 422 sound/soc/sti/sti_uniperif.c if (IS_ERR(uni->base)) uni 423 sound/soc/sti/sti_uniperif.c return PTR_ERR(uni->base); uni 425 sound/soc/sti/sti_uniperif.c uni->fifo_phys_address = uni->mem_region->start + uni 426 sound/soc/sti/sti_uniperif.c UNIPERIF_FIFO_DATA_OFFSET(uni); uni 428 sound/soc/sti/sti_uniperif.c uni->irq = platform_get_irq(priv->pdev, 0); uni 429 sound/soc/sti/sti_uniperif.c if (uni->irq < 0) uni 432 sound/soc/sti/sti_uniperif.c uni->type = dev_data->type; uni 437 sound/soc/sti/sti_uniperif.c uni->type = SND_ST_UNIPERIF_TYPE_TDM; uni 439 sound/soc/sti/sti_uniperif.c uni->type = SND_ST_UNIPERIF_TYPE_PCM; uni 442 sound/soc/sti/sti_uniperif.c dai_data->uni = uni; uni 446 sound/soc/sti/sti_uniperif.c ret = uni_player_init(priv->pdev, uni); uni 449 sound/soc/sti/sti_uniperif.c ret = uni_reader_init(priv->pdev, uni); uni 455 sound/soc/sti/sti_uniperif.c dai->ops = uni->dai_ops; uni 458 sound/soc/sti/sti_uniperif.c stream->channels_min = uni->hw->channels_min; uni 459 sound/soc/sti/sti_uniperif.c stream->channels_max = uni->hw->channels_max; uni 460 sound/soc/sti/sti_uniperif.c stream->rates = uni->hw->rates; uni 461 sound/soc/sti/sti_uniperif.c stream->formats = uni->hw->formats; uni 1341 sound/soc/sti/uniperif.h struct uniperif *uni; uni 1396 sound/soc/sti/uniperif.h static inline int sti_uniperiph_get_unip_tdm_frame_size(struct uniperif *uni) uni 1398 sound/soc/sti/uniperif.h return (uni->tdm_slot.slots * uni->tdm_slot.slot_width / 8); uni 1401 sound/soc/sti/uniperif.h int sti_uniperiph_reset(struct uniperif *uni); uni 1407 sound/soc/sti/uniperif.h int sti_uniperiph_get_tdm_word_pos(struct uniperif *uni, uni 575 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 592 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 643 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 657 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 695 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 728 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 750 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 980 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 998 sound/soc/sti/uniperif_player.c struct uniperif *player = priv->dai_data.uni; uni 190 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; uni 341 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; uni 357 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni; uni 388 sound/soc/sti/uniperif_reader.c struct uniperif *reader = priv->dai_data.uni;