Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 48) sorted by relevance

12

/linux-2.4.37.9/fs/ntfs/
Dunistr.c95 wchar_t c1, c2; in ntfs_collate_names() local
102 c2 = le16_to_cpu(*name2++); in ntfs_collate_names()
106 if (c2 < upcase_len) in ntfs_collate_names()
107 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names()
111 if (c1 < c2) in ntfs_collate_names()
113 if (c1 > c2) in ntfs_collate_names()
150 wchar_t c1, c2; in ntfs_wcsncasecmp() local
156 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_wcsncasecmp()
157 c2 = le16_to_cpu(upcase[c2]); in ntfs_wcsncasecmp()
158 if (c1 < c2) in ntfs_wcsncasecmp()
[all …]
/linux-2.4.37.9/arch/ppc/lib/
Dstrcase.c5 int c1, c2; in strcasecmp() local
9 c2 = tolower(*s2++); in strcasecmp()
10 } while (c1 == c2 && c1 != 0); in strcasecmp()
11 return c1 - c2; in strcasecmp()
16 int c1, c2; in strncasecmp() local
20 c2 = tolower(*s2++); in strncasecmp()
21 } while ((--n > 0) && c1 == c2 && c1 != 0); in strncasecmp()
22 return c1 - c2; in strncasecmp()
/linux-2.4.37.9/arch/ppc64/lib/
Dstrcase.c13 int c1, c2; in strcasecmp() local
17 c2 = tolower(*s2++); in strcasecmp()
18 } while (c1 == c2 && c1 != 0); in strcasecmp()
19 return c1 - c2; in strcasecmp()
24 int c1, c2; in strncasecmp() local
28 c2 = tolower(*s2++); in strncasecmp()
29 } while ((--n > 0) && c1 == c2 && c1 != 0); in strncasecmp()
30 return c1 - c2; in strncasecmp()
/linux-2.4.37.9/fs/hfsplus/
Dunicode.c33 u16 len1, len2, c1, c2; in hfsplus_unistrcmp() local
42 c1 = c2 = 0; in hfsplus_unistrcmp()
49 while (len2 && !c2) { in hfsplus_unistrcmp()
50 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_unistrcmp()
55 if (c1 != c2) in hfsplus_unistrcmp()
56 return (c1 < c2) ? -1 : 1; in hfsplus_unistrcmp()
57 if (!c1 && !c2) in hfsplus_unistrcmp()
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_crtc2.c105 struct matrox_crtc2 c2; in matroxfb_dh_restore() local
110 c2.ctl = 0x00200000; in matroxfb_dh_restore()
113 c2.ctl = 0x00400000; in matroxfb_dh_restore()
117 c2.ctl = 0x00800000; in matroxfb_dh_restore()
120 c2.ctl |= 0x00000001; /* enable CRTC2 */ in matroxfb_dh_restore()
121 c2.datactl = 0; in matroxfb_dh_restore()
124 c2.ctl |= 0x00000006; /* source from secondary pixel PLL */ in matroxfb_dh_restore()
127 c2.ctl |= 0xC0001000; /* Enable H/V vidrst */ in matroxfb_dh_restore()
130 c2.ctl |= 0x00000002; /* source from VDOCLK */ in matroxfb_dh_restore()
131 c2.ctl |= 0xC0000000; /* enable vvidrst & hvidrst */ in matroxfb_dh_restore()
[all …]
/linux-2.4.37.9/lib/
Dstring.c32 unsigned char c1, c2; in strnicmp() local
34 c1 = 0; c2 = 0; in strnicmp()
37 c1 = *s1; c2 = *s2; in strnicmp()
41 if (!c2) in strnicmp()
43 if (c1 == c2) in strnicmp()
46 c2 = tolower(c2); in strnicmp()
47 if (c1 != c2) in strnicmp()
51 return (int)c1 - (int)c2; in strnicmp()
/linux-2.4.37.9/drivers/char/
Dnwflash.c77 volatile unsigned int c1, c2; in get_flash_id() local
83 c2 = inb(0x80); in get_flash_id()
87 c2 = inb(0x80); in get_flash_id()
93 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id()
95 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id()
97 c2 += (c1 << 8); in get_flash_id()
104 if (c2 == KFLASH_ID4) in get_flash_id()
107 return c2; in get_flash_id()
451 volatile unsigned int c2; in write_block() local
482 if (__get_user(c2, buf + offset)) in write_block()
[all …]
/linux-2.4.37.9/arch/ppc64/boot/
DaddSystemMap.c15 char c2 = c & 0xf; in xlate() local
20 if ( c2 > 9 ) in xlate()
21 c2 = c2 + 'A' - 10; in xlate()
23 c2 = c2 + '0'; in xlate()
25 *trb++ = c2; in xlate()
/linux-2.4.37.9/include/asm-mips/sibyte/
Dboard.h41 #define setleds(t0,t1,c0,c1,c2,c3) \
47 li t1, c2; \
52 #define setleds(t0,t1,c0,c1,c2,c3)
/linux-2.4.37.9/include/asm-mips64/sibyte/
Dboard.h41 #define setleds(t0,t1,c0,c1,c2,c3) \
47 li t1, c2; \
52 #define setleds(t0,t1,c0,c1,c2,c3)
/linux-2.4.37.9/arch/mips/tx4927/common/
Dtx4927_prom.c134 unsigned int c2; in tx4927_get_mem_size() local
141 c2 = tx4927_process_sdccr((u64 *) 0xff1f8010); in tx4927_get_mem_size()
143 total = c0 + c1 + c2 + c3; in tx4927_get_mem_size()
Dtx4927_setup.c117 u32 c2; in tx4927_timer_setup() local
125 c2 = read_c0_count(); in tx4927_timer_setup()
/linux-2.4.37.9/fs/adfs/
Ddir.c121 char c1, c2; in adfs_match() local
124 c2 = obj->name[i]; in adfs_match()
128 if (c2 >= 'A' && c2 <= 'Z') in adfs_match()
129 c2 += 'a' - 'A'; in adfs_match()
131 if (c1 != c2) in adfs_match()
/linux-2.4.37.9/fs/hpfs/
Danode.c20 int c1, c2 = 0; in hpfs_bplus_lookup() local
22 if (s->s_hpfs_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup()
69 int c1, c2 = 0; in hpfs_add_sector_to_btree() local
90 if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_add_sector_to_btree #1")) return -1; in hpfs_add_sector_to_btree()
162 c2 = 0; in hpfs_add_sector_to_btree()
166 if (hpfs_stop_cycles(s, up, &c1, &c2, "hpfs_add_sector_to_btree #2")) return -1; in hpfs_add_sector_to_btree()
276 int c1, c2 = 0; in hpfs_remove_btree() local
297 if (hpfs_stop_cycles(s, ano, &c1, &c2, "hpfs_remove_btree #2")) return; in hpfs_remove_btree()
400 int c1, c2 = 0; in hpfs_truncate_btree() local
441 if (hpfs_stop_cycles(s, node, &c1, &c2, "hpfs_truncate_btree")) in hpfs_truncate_btree()
Ddnode.c231 int c1, c2 = 0; in hpfs_add_to_dnode() local
250 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_to_dnode")) { in hpfs_add_to_dnode()
371 int c1, c2 = 0; in hpfs_add_dirent() local
375 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_dirent")) return 1; in hpfs_add_dirent()
419 int c1, c2 = 0; in move_to_top() local
423 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "move_to_top")) in move_to_top()
502 int c1, c2 = 0; in delete_empty_dnode() local
504 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "delete_empty_dnode")) return; in delete_empty_dnode()
728 int c1, c2 = 0; in hpfs_count_dnodes() local
733 if (hpfs_stop_cycles(s, dno, &c1, &c2, "hpfs_count_dnodes #1")) return; in hpfs_count_dnodes()
[all …]
Dname.c114 unsigned char c2 = upcase(s->s_hpfs_cp_table,n2[i]); in hpfs_compare_names() local
115 if (c1 < c2) return -1; in hpfs_compare_names()
116 if (c1 > c2) return 1; in hpfs_compare_names()
Dsuper.c89 int hpfs_stop_cycles(struct super_block *s, int key, int *c1, int *c2, in hpfs_stop_cycles() argument
92 if (*c2 && *c1 == key) { in hpfs_stop_cycles()
96 (*c2)++; in hpfs_stop_cycles()
97 if (!((*c2 - 1) & *c2)) *c1 = key; in hpfs_stop_cycles()
Ddir.c57 int c1, c2 = 0; in hpfs_readdir() local
97 if (hpfs_stop_cycles(inode->i_sb, filp->f_pos, &c1, &c2, "hpfs_readdir")) { in hpfs_readdir()
/linux-2.4.37.9/arch/x86_64/kernel/
Dapic.c736 int c1, c2; in setup_APIC_timer() local
739 c2 = inb_p(0x40); in setup_APIC_timer()
740 c2 |= inb_p(0x40) << 8; in setup_APIC_timer()
742 c1 = c2; in setup_APIC_timer()
744 c2 = inb_p(0x40); in setup_APIC_timer()
745 c2 |= inb_p(0x40) << 8; in setup_APIC_timer()
746 } while (c2 - c1 < 300); in setup_APIC_timer()
/linux-2.4.37.9/drivers/media/video/
Dplanb.c816 dbdma_cmd_ptr c2 = pb->clip_cbo.start; in cmd_buff() local
901 tab_cmd_dbdma(c2++, DBDMA_NOP, 0); in cmd_buff()
902 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.wait_sel), in cmd_buff()
905 tab_cmd_dbdma(c2++, DBDMA_NOP | WAIT_IFCLR, 0); in cmd_buff()
907 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.control), in cmd_buff()
909 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.wait_sel), in cmd_buff()
911 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.br_sel), in cmd_buff()
916 jump = (interlace) ? virt_to_bus(c2 + (nlines + 1) / 2 + 2): in cmd_buff()
917 virt_to_bus(c2 + nlines + 2); in cmd_buff()
919 tab_cmd_dbdma(c2++, DBDMA_NOP | BR_IFSET, jump); in cmd_buff()
[all …]
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-ecc.c600 __u8 c0, c1, c2; /* check bytes */ in correct_block() local
670 c2 = s[2]; in correct_block()
684 c2 = gfadd(c2, gfpow[mod255(log_error_mag + l)]); in correct_block()
687 if (c0 || c1 || c2) { in correct_block()
/linux-2.4.37.9/arch/arm/mach-sa1100/
Dsleep.S39 mrc p15, 0, r5, c2, c0, 0 @ translation table base addr
57 mcr p15, 0, r1, c15, c2, 2
191 mcr p15, 0, r5, c2, c0, 0 @ translation table base addr
/linux-2.4.37.9/drivers/video/
Dfbcon-ilbm.c152 u16 c1, c2, c3, c4; in fbcon_ilbm_putcs() local
190 c2 = scr_readw(&s[1]) & p->charmask; in fbcon_ilbm_putcs()
196 cdat2 = p->fontdata+c2*fontheight(p); in fbcon_ilbm_putcs()
Dfbcon-afb.c289 u16 c1, c2, c3, c4; in fbcon_afb_putcs() local
327 c2 = scr_readw(&s[1]) & p->charmask; in fbcon_afb_putcs()
333 cdat20 = p->fontdata+c2*fontheight(p); in fbcon_afb_putcs()
/linux-2.4.37.9/arch/arm/mm/
Dproc-sa110.S125 mcr p15, 0, r0, c15, c2, 2 @ Disable clock switching
178 mcr p15, 0, r0, c15, c2, 2 @ disable clock switching
492 mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
517 mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
600 mcr p15, 0, r4, c2, c0 @ load page table pointer

12