/arch/s390/boot/ |
D | string.c | 52 static unsigned int simple_guess_base(const char *cp) in simple_guess_base() argument 54 if (cp[0] == '0') { in simple_guess_base() 55 if (TOLOWER(cp[1]) == 'x' && isxdigit(cp[2])) in simple_guess_base() 71 unsigned long long simple_strtoull(const char *cp, char **endp, in simple_strtoull() argument 77 base = simple_guess_base(cp); in simple_strtoull() 79 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') in simple_strtoull() 80 cp += 2; in simple_strtoull() 82 while (isxdigit(*cp)) { in simple_strtoull() 85 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull() 89 cp++; in simple_strtoull() [all …]
|
D | install.sh | 30 cp $3 $4/System.map-$1
|
/arch/mips/fw/arc/ |
D | cmdline.c | 41 static char __init *move_firmware_args(int argc, LONG *argv, char *cp) in move_firmware_args() argument 54 strcat(cp, used_arc[i][1]); in move_firmware_args() 55 cp += strlen(used_arc[i][1]); in move_firmware_args() 60 strcpy(cp, s); in move_firmware_args() 61 cp += strlen(s); in move_firmware_args() 63 *cp++ = ' '; in move_firmware_args() 70 return cp; in move_firmware_args() 75 char *cp; in prom_init_cmdline() local 80 cp = arcs_cmdline; in prom_init_cmdline() 85 cp = move_firmware_args(argc, argv, cp); in prom_init_cmdline() [all …]
|
/arch/powerpc/platforms/8xx/ |
D | micropatch.c | 324 static void __init cpm_write_patch(cpm8xx_t *cp, int offset, uint *patch, int len) in cpm_write_patch() argument 328 memcpy_toio(cp->cp_dpmem + offset, patch, len); in cpm_write_patch() 331 void __init cpm_load_patch(cpm8xx_t *cp) in cpm_load_patch() argument 333 out_be16(&cp->cp_rccr, 0); in cpm_load_patch() 335 cpm_write_patch(cp, 0, patch_2000, sizeof(patch_2000)); in cpm_load_patch() 336 cpm_write_patch(cp, 0xf00, patch_2f00, sizeof(patch_2f00)); in cpm_load_patch() 337 cpm_write_patch(cp, 0xe00, patch_2e00, sizeof(patch_2e00)); in cpm_load_patch() 345 iip = (iic_t *)&cp->cp_dparam[PROFF_IIC]; in cpm_load_patch() 349 spp = (struct spi_pram *)&cp->cp_dparam[PROFF_SPI]; in cpm_load_patch() 355 smp = (smc_uart_t *)&cp->cp_dparam[PROFF_SMC1]; in cpm_load_patch() [all …]
|
/arch/sparc/prom/ |
D | bootstr_32.c | 20 char *cp, *arg; in prom_getbootargs() local 29 cp = barg_buf; in prom_getbootargs() 37 if (cp >= barg_buf + BARG_LEN - 2) in prom_getbootargs() 40 *cp++ = *arg++; in prom_getbootargs() 42 *cp++ = ' '; in prom_getbootargs() 43 if (cp >= barg_buf + BARG_LEN - 1) in prom_getbootargs() 47 *cp = 0; in prom_getbootargs()
|
/arch/x86/boot/ |
D | string.c | 102 static unsigned int simple_guess_base(const char *cp) in simple_guess_base() argument 104 if (cp[0] == '0') { in simple_guess_base() 105 if (TOLOWER(cp[1]) == 'x' && isxdigit(cp[2])) in simple_guess_base() 120 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 125 base = simple_guess_base(cp); in simple_strtoull() 127 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') in simple_strtoull() 128 cp += 2; in simple_strtoull() 130 while (isxdigit(*cp)) { in simple_strtoull() 133 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull() 137 cp++; in simple_strtoull() [all …]
|
/arch/mips/rb532/ |
D | prom.c | 53 char *cp, *board; in prom_setup_cmdline() local 61 cp = cmd_line; in prom_setup_cmdline() 76 *(cp++) = ' '; in prom_setup_cmdline() 86 strcpy(cp, prom_argv[i]); in prom_setup_cmdline() 87 cp += strlen(prom_argv[i]); in prom_setup_cmdline() 89 *(cp++) = ' '; in prom_setup_cmdline() 93 *(cp++) = ' '; in prom_setup_cmdline() 94 strcpy(cp, arcs_cmdline); in prom_setup_cmdline() 95 cp += strlen(arcs_cmdline); in prom_setup_cmdline()
|
/arch/powerpc/boot/ |
D | serial.c | 39 char ch, *cp; in serial_edit_cmdline() local 42 cp = buf; in serial_edit_cmdline() 44 cp = &buf[count]; in serial_edit_cmdline() 52 if (cp != buf) { in serial_edit_cmdline() 53 cp--; in serial_edit_cmdline() 59 while (cp != buf) { in serial_edit_cmdline() 60 cp--; in serial_edit_cmdline() 65 *cp++ = ch; in serial_edit_cmdline() 74 *cp = 0; in serial_edit_cmdline()
|
D | mktree.c | 46 unsigned int cksum, *cp; in main() local 93 cp = (void *)&bt; in main() 95 cksum += *cp++; in main() 129 cp = tmpbuf; in main() 131 cksum += *cp++; in main()
|
/arch/sparc/kernel/ |
D | ds.c | 136 struct ds_cap_state *cp, 147 static void md_update_data(struct ds_info *dp, struct ds_cap_state *cp, 150 struct ds_cap_state *cp, 153 struct ds_cap_state *cp, 157 struct ds_cap_state *cp, 161 struct ds_cap_state *cp, 164 struct ds_cap_state *cp, 281 struct ds_cap_state *cp, in md_update_data() argument 301 pkt.data.handle = cp->handle; in md_update_data() 320 struct ds_cap_state *cp, in domain_shutdown_data() argument [all …]
|
/arch/mips/alchemy/common/ |
D | dbdma.c | 262 au1x_dma_chan_t *cp; in au1xxx_dbdma_chan_alloc() local 325 cp = (au1x_dma_chan_t *)dcp; in au1xxx_dbdma_chan_alloc() 344 cp->ddma_cfg = i; in au1xxx_dbdma_chan_alloc() 759 au1x_dma_chan_t *cp; in au1xxx_dbdma_stop() local 764 cp = ctp->chan_ptr; in au1xxx_dbdma_stop() 765 cp->ddma_cfg &= ~DDMA_CFG_EN; /* Disable channel */ in au1xxx_dbdma_stop() 767 while (!(cp->ddma_stat & DDMA_STAT_H)) { in au1xxx_dbdma_stop() 776 cp->ddma_stat |= (DDMA_STAT_DB | DDMA_STAT_V); in au1xxx_dbdma_stop() 789 au1x_dma_chan_t *cp; in au1xxx_dbdma_start() local 792 cp = ctp->chan_ptr; in au1xxx_dbdma_start() [all …]
|
/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 465 static bool get_builtin_microcode(struct cpio_data *cp, unsigned int family) in get_builtin_microcode() argument 474 return get_builtin_firmware(cp, fw_name); in get_builtin_microcode() 483 struct cpio_data cp; in __load_ucode_amd() local 497 if (!get_builtin_microcode(&cp, x86_family(cpuid_1_eax))) in __load_ucode_amd() 498 cp = find_microcode_in_initrd(path, use_pa); in __load_ucode_amd() 503 *ret = cp; in __load_ucode_amd() 508 struct cpio_data cp = { }; in load_ucode_amd_bsp() local 510 __load_ucode_amd(cpuid_1_eax, &cp); in load_ucode_amd_bsp() 511 if (!(cp.data && cp.size)) in load_ucode_amd_bsp() 514 apply_microcode_early_amd(cpuid_1_eax, cp.data, cp.size, true); in load_ucode_amd_bsp() [all …]
|
D | intel.c | 456 static bool load_builtin_intel_microcode(struct cpio_data *cp) in load_builtin_intel_microcode() argument 469 return get_builtin_firmware(cp, name); in load_builtin_intel_microcode() 584 struct cpio_data cp; in save_microcode_in_initrd_intel() local 594 if (!load_builtin_intel_microcode(&cp)) in save_microcode_in_initrd_intel() 595 cp = find_microcode_in_initrd(ucode_path, false); in save_microcode_in_initrd_intel() 597 if (!(cp.data && cp.size)) in save_microcode_in_initrd_intel() 602 scan_microcode(cp.data, cp.size, &uci, true); in save_microcode_in_initrd_intel() 615 struct cpio_data cp; in __load_ucode_intel() local 627 if (!load_builtin_intel_microcode(&cp)) in __load_ucode_intel() 628 cp = find_microcode_in_initrd(path, use_pa); in __load_ucode_intel() [all …]
|
/arch/powerpc/platforms/embedded6xx/ |
D | mvme5100.c | 55 struct device_node *cp = NULL; in mvme5100_pic_init() local 75 cp = of_find_compatible_node(NULL, NULL, "chrp,iic"); in mvme5100_pic_init() 76 if (cp == NULL) { in mvme5100_pic_init() 81 cirq = irq_of_parse_and_map(cp, 0); in mvme5100_pic_init() 101 i8259_init(cp, intack); in mvme5100_pic_init() 102 of_node_put(cp); in mvme5100_pic_init()
|
/arch/ia64/kernel/ |
D | sal.c | 198 char *cp; in chk_nointroute_opt() local 200 for (cp = boot_command_line; *cp; ) { in chk_nointroute_opt() 201 if (memcmp(cp, "nointroute", 10) == 0) { in chk_nointroute_opt() 206 while (*cp != ' ' && *cp) in chk_nointroute_opt() 207 ++cp; in chk_nointroute_opt() 208 while (*cp == ' ') in chk_nointroute_opt() 209 ++cp; in chk_nointroute_opt()
|
D | efi.c | 491 char *cp; in efi_init() local 500 for (cp = boot_command_line; *cp; ) { in efi_init() 501 if (memcmp(cp, "mem=", 4) == 0) { in efi_init() 502 mem_limit = memparse(cp + 4, &cp); in efi_init() 503 } else if (memcmp(cp, "max_addr=", 9) == 0) { in efi_init() 504 max_addr = GRANULEROUNDDOWN(memparse(cp + 9, &cp)); in efi_init() 505 } else if (memcmp(cp, "min_addr=", 9) == 0) { in efi_init() 506 min_addr = GRANULEROUNDDOWN(memparse(cp + 9, &cp)); in efi_init() 508 while (*cp != ' ' && *cp) in efi_init() 509 ++cp; in efi_init() [all …]
|
D | traps.c | 297 struct fpu_swa_msg *cp = this_cpu_ptr(&cpulast); in handle_fpu_swa() local 299 if (unlikely(current_jiffies > cp->time)) in handle_fpu_swa() 300 cp->count = 0; in handle_fpu_swa() 301 if (unlikely(cp->count < 5)) { in handle_fpu_swa() 302 cp->count++; in handle_fpu_swa() 303 cp->time = current_jiffies + 5 * HZ; in handle_fpu_swa()
|
/arch/um/drivers/ |
D | pty.c | 81 char *pty, *bank, *cp; in getmaster() local 92 for (cp = "0123456789abcdef"; *cp; cp++) { in getmaster() 93 *pty = *cp; in getmaster()
|
/arch/s390/kernel/ |
D | sthyi.c | 137 struct cpu_inf cp; member 268 cpu_inf = &part_inf->cp; in lpar_cpu_inf() 295 part_inf->cp.lpar_weight = weight_cp; in lpar_cpu_inf() 298 part_inf->cp.all_weight += weight_cp; in lpar_cpu_inf() 354 sctns->par.infplgcp = scale_cap(lpar_inf.cp.lpar_grp_cap); in fill_diag() 359 sctns->par.infpscps = lpar_inf.cp.cpu_num_shd; in fill_diag() 360 sctns->par.infpdcps = lpar_inf.cp.cpu_num_ded; in fill_diag() 365 sctns->par.infpabcp = scale_cap(lpar_inf.cp.lpar_cap); in fill_diag() 380 if (lpar_inf.cp.lpar_weight) { in fill_diag() 382 lpar_inf.cp.lpar_weight / lpar_inf.cp.all_weight; in fill_diag()
|
/arch/parisc/mm/ |
D | init.c | 82 char *cp, *end; in mem_limit_func() local 88 for (cp = boot_command_line; *cp; ) { in mem_limit_func() 89 if (memcmp(cp, "mem=", 4) == 0) { in mem_limit_func() 90 cp += 4; in mem_limit_func() 91 limit = memparse(cp, &end); in mem_limit_func() 92 if (end != cp) in mem_limit_func() 94 cp = end; in mem_limit_func() 96 while (*cp != ' ' && *cp) in mem_limit_func() 97 ++cp; in mem_limit_func() 98 while (*cp == ' ') in mem_limit_func() [all …]
|
/arch/alpha/kernel/ |
D | smc37c669.c | 1673 struct DEVICE_CONFIG *cp; in SMC37c669_configure_device() local 1678 if ( ( cp = SMC37c669_get_config ( func ) ) != NULL ) { in SMC37c669_configure_device() 1683 cp->drq = drq; in SMC37c669_configure_device() 1686 cp->irq = irq; in SMC37c669_configure_device() 1689 cp->port1 = port; in SMC37c669_configure_device() 1839 struct DEVICE_CONFIG *cp; 1844 if ( ( cp = SMC37c669_get_config( func ) ) != NULL ) { 1846 *drq = cp->drq; 1850 *irq = cp->irq; 1854 *port = cp->port1; [all …]
|
/arch/arm/vfp/ |
D | vfpinstr.h | 16 #define CPNUM(cp) ((cp) << 8) argument
|
/arch/sparc/boot/ |
D | install.sh | 50 cp $3 $4/System.map
|
/arch/nios2/boot/ |
D | install.sh | 50 cp $3 $4/System.map
|
/arch/m68k/ |
D | install.sh | 50 cp $3 $4/System.map
|