/arch/mips/mti-malta/ |
H A D | malta-cmdline.c | 42 char *cp; local 47 cp = &(arcs_cmdline[0]); 49 strcpy(cp, prom_argv(actr)); 50 cp += strlen(prom_argv(actr)); 51 *cp++ = ' '; 54 if (cp != &(arcs_cmdline[0])) { 56 --cp; 57 *cp = '\0';
|
/arch/sparc/prom/ |
H A D | bootstr_32.c | 19 char *cp, *arg; local 28 cp = barg_buf; 36 if(cp >= barg_buf + BARG_LEN-2){ 40 *cp++ = *arg++; 42 *cp++ = ' '; 44 *cp = 0;
|
/arch/mips/fw/arc/ |
H A D | cmdline.c | 35 static char * __init move_firmware_args(char* cp) argument 48 strcat(cp, used_arc[i][1]); 49 cp += strlen(used_arc[i][1]); 54 strcpy(cp, s); 55 cp += strlen(s); 57 *cp++ = ' '; 64 return cp; 69 char *cp; local 74 cp = arcs_cmdline; 79 cp [all...] |
/arch/powerpc/sysdev/ |
H A D | micropatch.c | 625 void __init cpm_load_patch(cpm8xx_t *cp) argument 639 commproc = cp;
|
/arch/mips/rb532/ |
H A D | prom.c | 73 char *cp, *board; local 82 cp = cmd_line; 97 *(cp++) = ' '; 107 strcpy(cp, prom_argv[i]); 108 cp += strlen(prom_argv[i]); 110 *(cp++) = ' '; 114 *(cp++) = ' '; 115 strcpy(cp, arcs_cmdline); 116 cp += strlen(arcs_cmdline);
|
/arch/powerpc/boot/ |
H A D | serial.c | 39 char ch, *cp; local 42 cp = buf; 44 cp = &buf[count]; 52 if (cp != buf) { 53 cp--; 59 while (cp != buf) { 60 cp--; 65 *cp++ = ch; 74 *cp = 0;
|
H A D | mktree.c | 45 unsigned int cksum, *cp; local 92 cp = (void *)&bt; 94 cksum += *cp++; 128 cp = tmpbuf; 130 cksum += *cp++;
|
/arch/m68k/mvme147/ |
H A D | config.c | 132 volatile unsigned short *cp = (volatile unsigned short *)0xfffe1012; local 135 n = *cp; 136 while (n != *cp) 137 n = *cp;
|
/arch/s390/include/asm/ |
H A D | nmi.h | 26 __u32 cp : 1; /* 09 channel-report pending */ member in struct:mci
|
/arch/um/drivers/ |
H A D | pty.c | 81 char *pty, *bank, *cp; local 92 for (cp = "0123456789abcdef"; *cp; cp++) { 93 *pty = *cp;
|
/arch/x86/boot/ |
H A D | string.c | 71 static unsigned int simple_guess_base(const char *cp) argument 73 if (cp[0] == '0') { 74 if (TOLOWER(cp[1]) == 'x' && isxdigit(cp[2])) 85 * @cp: The start of the string 90 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) argument 95 base = simple_guess_base(cp); 97 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') 98 cp [all...] |
/arch/ia64/kernel/ |
H A D | sal.c | 203 char *cp; local 205 for (cp = boot_command_line; *cp; ) { 206 if (memcmp(cp, "nointroute", 10) == 0) { 211 while (*cp != ' ' && *cp) 212 ++cp; 213 while (*cp == ' ') 214 ++cp;
|
H A D | traps.c | 302 struct fpu_swa_msg *cp = &__get_cpu_var(cpulast); local 304 if (unlikely(current_jiffies > cp->time)) 305 cp->count = 0; 306 if (unlikely(cp->count < 5)) { 307 cp->count++; 308 cp->time = current_jiffies + 5 * HZ;
|
H A D | efi.c | 473 char *cp, vendor[100] = "unknown"; local 481 for (cp = boot_command_line; *cp; ) { 482 if (memcmp(cp, "mem=", 4) == 0) { 483 mem_limit = memparse(cp + 4, &cp); 484 } else if (memcmp(cp, "max_addr=", 9) == 0) { 485 max_addr = GRANULEROUNDDOWN(memparse(cp + 9, &cp)); 486 } else if (memcmp(cp, "min_add [all...] |
H A D | setup.c | 652 char features[128], *cp, *sep; local 662 cp = features; 667 cp += snprintf(cp, size, "%s%s", sep, 671 size = sizeof(features) - (cp - features); 676 snprintf(cp, size, "%s0x%lx", sep, mask);
|
H A D | unaligned.c | 39 unsigned char *cp = vp; local 44 printk (" %02x", *cp++);
|
/arch/m68k/kernel/ |
H A D | traps.c | 885 u16 c, *cp; local 955 cp = (u16 *)regs->pc; 957 if (get_user(c, cp + i) && i >= 0) {
|
/arch/mips/pmc-sierra/msp71xx/ |
H A D | msp_prom.c | 309 char *cp; local 314 cp = &(arcs_cmdline[0]); 316 strcpy(cp, prom_argv[actr]); 317 cp += strlen(prom_argv[actr]); 318 *cp++ = ' '; 321 if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */ 322 --cp; 323 *cp = '\0';
|
/arch/xtensa/kernel/ |
H A D | signal.c | 46 xtregs_coprocessor_t cp; member in struct:rt_sigframe::__anon3159 164 err |= __copy_to_user(&frame->xtregs.cp, &ti->xtregs_cp, 165 sizeof (frame->xtregs.cp)); 228 err |= __copy_from_user(&ti->xtregs_cp, &frame->xtregs.cp, 229 sizeof (frame->xtregs.cp));
|
/arch/ia64/hp/sim/boot/ |
H A D | fw-emu.c | 243 char *cp, *cmd_line; local 261 cp = fw_mem; 262 efi_systab = (void *) cp; cp += sizeof(*efi_systab); 263 efi_runtime = (void *) cp; cp += sizeof(*efi_runtime); 264 efi_tables = (void *) cp; cp += sizeof(*efi_tables); 265 sal_systab = (void *) cp; cp [all...] |
/arch/mips/alchemy/common/ |
H A D | dbdma.c | 261 au1x_dma_chan_t *cp; local 324 cp = (au1x_dma_chan_t *)dcp; 343 cp->ddma_cfg = i; 756 au1x_dma_chan_t *cp; local 761 cp = ctp->chan_ptr; 762 cp->ddma_cfg &= ~DDMA_CFG_EN; /* Disable channel */ 764 while (!(cp->ddma_stat & DDMA_STAT_H)) { 773 cp->ddma_stat |= (DDMA_STAT_DB | DDMA_STAT_V); 786 au1x_dma_chan_t *cp; local 789 cp 827 au1x_dma_chan_t *cp; local 868 au1x_dma_chan_t *cp; local 894 au1x_dma_chan_t *cp; local [all...] |
/arch/s390/mm/ |
H A D | cmm.c | 244 static int cmm_skip_blanks(char *cp, char **endp) argument 248 for (str = cp; *str == ' ' || *str == '\t'; str++) 251 return str != cp;
|
/arch/arm/mm/ |
H A D | mmu.c | 304 struct cachepolicy *cp; local 416 cp = &cache_policies[cachepolicy]; 417 vecs_pgprot = kern_pgprot = user_pgprot = cp->pte; 513 mem_types[MT_MEMORY].prot_sect |= ecc_mask | cp->pmd; 516 mem_types[MT_ROM].prot_sect |= cp->pmd; 518 switch (cp->pmd) { 528 ecc_mask ? "en" : "dis", cp->policy);
|
/arch/arm/plat-s3c24xx/ |
H A D | dma.c | 1197 static void s3c2410_dma_suspend_chan(struct s3c2410_dma_chan *cp) argument 1199 printk(KERN_DEBUG "suspending dma channel %d\n", cp->number); 1201 if (dma_rdreg(cp, S3C2410_DMA_DMASKTRIG) & S3C2410_DMASKTRIG_ON) { 1209 cp->number); 1211 s3c2410_dma_dostop(cp); 1217 struct s3c2410_dma_chan *cp = s3c2410_chans; local 1220 for (channel = 0; channel < dma_channels; cp++, channel++) 1221 s3c2410_dma_suspend_chan(cp); 1226 static void s3c2410_dma_resume_chan(struct s3c2410_dma_chan *cp) argument 1228 unsigned int no = cp 1248 struct s3c2410_dma_chan *cp = s3c2410_chans + dma_channels - 1; local 1286 struct s3c2410_dma_chan *cp; local [all...] |
/arch/sparc/kernel/ |
H A D | of_device_64.c | 423 struct device_node *cp; local 473 cp = of_find_node_by_phandle(handle); 475 return cp;
|