/arch/x86/kernel/ |
D | kexec-bzimage64.c | 55 static int setup_initrd(struct boot_params *params, in setup_initrd() argument 58 params->hdr.ramdisk_image = initrd_load_addr & 0xffffffffUL; in setup_initrd() 59 params->hdr.ramdisk_size = initrd_len & 0xffffffffUL; in setup_initrd() 61 params->ext_ramdisk_image = initrd_load_addr >> 32; in setup_initrd() 62 params->ext_ramdisk_size = initrd_len >> 32; in setup_initrd() 67 static int setup_cmdline(struct kimage *image, struct boot_params *params, in setup_cmdline() argument 72 char *cmdline_ptr = ((char *)params) + cmdline_offset; in setup_cmdline() 90 params->hdr.cmd_line_ptr = cmdline_low_32; in setup_cmdline() 92 params->ext_cmd_line_ptr = cmdline_ext_32; in setup_cmdline() 97 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries() argument [all …]
|
D | crash.c | 46 struct boot_params *params; member 273 static int add_e820_entry(struct boot_params *params, struct e820_entry *entry) in add_e820_entry() argument 277 nr_e820_entries = params->e820_entries; in add_e820_entry() 281 memcpy(¶ms->e820_table[nr_e820_entries], entry, sizeof(struct e820_entry)); in add_e820_entry() 282 params->e820_entries++; in add_e820_entry() 289 struct boot_params *params = cmd->params; in memmap_entry_callback() local 295 add_e820_entry(params, &ei); in memmap_entry_callback() 317 int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params) in crash_setup_memmap_entries() argument 330 cmd.params = params; in crash_setup_memmap_entries() 360 add_e820_entry(params, &ei); in crash_setup_memmap_entries() [all …]
|
/arch/arm/kernel/ |
D | atags_compat.c | 92 static void __init build_tag_list(struct param_struct *params, void *taglist) in build_tag_list() argument 96 if (params->u1.s.page_size != PAGE_SIZE) { in build_tag_list() 104 if (params->u1.s.nr_pages != 0x02000 && in build_tag_list() 105 params->u1.s.nr_pages != 0x04000 && in build_tag_list() 106 params->u1.s.nr_pages != 0x08000 && in build_tag_list() 107 params->u1.s.nr_pages != 0x10000) { in build_tag_list() 110 params->u1.s.nr_pages = 0x1000; /* 16MB */ in build_tag_list() 111 params->u1.s.ramdisk_size = 0; in build_tag_list() 112 params->u1.s.flags = FLAG_READONLY; in build_tag_list() 113 params->u1.s.initrd_start = 0; in build_tag_list() [all …]
|
/arch/arm/mach-rpc/include/mach/ |
D | uncompress.h | 62 extern __attribute__((pure)) struct param_struct *params(void); 63 #define params (params()) macro 115 struct tag *t = (struct tag *)params; in arch_decomp_setup() 134 nr_pages = params->nr_pages; in arch_decomp_setup() 135 page_size = params->page_size; in arch_decomp_setup() 136 video_num_rows = params->video_num_rows; in arch_decomp_setup() 137 video_num_cols = params->video_num_cols; in arch_decomp_setup() 138 video_x = params->video_x; in arch_decomp_setup() 139 video_y = params->video_y; in arch_decomp_setup() 140 bytes_per_char_h = params->bytes_per_char_h; in arch_decomp_setup() [all …]
|
/arch/nios2/kernel/ |
D | prom.c | 22 void __init early_init_devtree(void *params) in early_init_devtree() argument 28 params = (void *)CONFIG_NIOS2_DTB_PHYS_ADDR; in early_init_devtree() 29 early_init_dt_scan(params); in early_init_devtree() 34 params = (void *)__dtb_start; in early_init_devtree() 36 early_init_dt_scan(params); in early_init_devtree()
|
/arch/arm64/boot/dts/xilinx/ |
D | zynqmp-zc1232-revA.dts | 42 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; 43 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; 44 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 45 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 46 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; 47 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; 48 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 49 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
D | zynqmp-zc1751-xm015-dc1.dts | 103 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 104 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 105 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 106 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 107 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 108 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 109 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 110 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
D | zynqmp-zc1751-xm017-dc3.dts | 117 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 118 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 119 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 120 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 121 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 122 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 123 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 124 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
D | zynqmp-zcu104-revA.dts | 164 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; 165 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; 166 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 167 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 168 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; 169 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; 170 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 171 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
D | zynqmp-zcu111-revA.dts | 507 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; 508 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; 509 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 510 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 511 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; 512 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; 513 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 514 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
/arch/nds32/kernel/ |
D | devtree.c | 8 void __init early_init_devtree(void *params) in early_init_devtree() argument 10 if (!params || !early_init_dt_scan(params)) { in early_init_devtree() 13 "\nPlease check your bootloader.", params); in early_init_devtree()
|
/arch/x86/kvm/svm/ |
D | sev.c | 250 struct kvm_sev_launch_start params; in sev_launch_start() local 258 if (copy_from_user(¶ms, (void __user *)(uintptr_t)argp->data, sizeof(params))) in sev_launch_start() 266 if (params.dh_uaddr) { in sev_launch_start() 267 dh_blob = psp_copy_user_blob(params.dh_uaddr, params.dh_len); in sev_launch_start() 274 start->dh_cert_len = params.dh_len; in sev_launch_start() 278 if (params.session_uaddr) { in sev_launch_start() 279 session_blob = psp_copy_user_blob(params.session_uaddr, params.session_len); in sev_launch_start() 286 start->session_len = params.session_len; in sev_launch_start() 289 start->handle = params.handle; in sev_launch_start() 290 start->policy = params.policy; in sev_launch_start() [all …]
|
/arch/x86/include/asm/ |
D | insn-eval.h | 14 #define INSN_CODE_SEG_ADDR_SZ(params) ((params >> 4) & 0xf) argument 15 #define INSN_CODE_SEG_OPND_SZ(params) (params & 0xf) argument
|
/arch/microblaze/kernel/ |
D | prom.c | 17 void __init early_init_devtree(void *params) in early_init_devtree() argument 19 pr_debug(" -> early_init_devtree(%p)\n", params); in early_init_devtree() 21 early_init_dt_scan(params); in early_init_devtree()
|
/arch/powerpc/kvm/ |
D | e500_mmu.c | 718 struct kvm_book3e_206_tlb_params *params) in vcpu_mmu_geometry_update() argument 721 if (params->tlb_sizes[0] <= 2048) in vcpu_mmu_geometry_update() 722 vcpu->arch.tlbcfg[0] |= params->tlb_sizes[0]; in vcpu_mmu_geometry_update() 723 vcpu->arch.tlbcfg[0] |= params->tlb_ways[0] << TLBnCFG_ASSOC_SHIFT; in vcpu_mmu_geometry_update() 726 vcpu->arch.tlbcfg[1] |= params->tlb_sizes[1]; in vcpu_mmu_geometry_update() 727 vcpu->arch.tlbcfg[1] |= params->tlb_ways[1] << TLBnCFG_ASSOC_SHIFT; in vcpu_mmu_geometry_update() 735 struct kvm_book3e_206_tlb_params params; in kvm_vcpu_ioctl_config_tlb() local 747 if (copy_from_user(¶ms, (void __user *)(uintptr_t)cfg->params, in kvm_vcpu_ioctl_config_tlb() 748 sizeof(params))) in kvm_vcpu_ioctl_config_tlb() 751 if (params.tlb_sizes[1] > 64) in kvm_vcpu_ioctl_config_tlb() [all …]
|
/arch/arm64/kvm/hyp/nvhe/ |
D | setup.c | 131 struct kvm_nvhe_init_params *params; in update_nvhe_init_params() local 135 params = per_cpu_ptr(&kvm_init_params, i); in update_nvhe_init_params() 136 params->pgd_pa = __hyp_pa(pkvm_pgtable.pgd); in update_nvhe_init_params() 137 __flush_dcache_area(params, sizeof(*params)); in update_nvhe_init_params() 187 struct kvm_nvhe_init_params *params; in __pkvm_init() local 209 params = this_cpu_ptr(&kvm_init_params); in __pkvm_init() 211 fn(__hyp_pa(params), __pkvm_init_finalise); in __pkvm_init()
|
D | mem_protect.c | 129 struct kvm_nvhe_init_params *params = this_cpu_ptr(&kvm_init_params); in __pkvm_prot_finalize() local 131 params->vttbr = kvm_get_vttbr(mmu); in __pkvm_prot_finalize() 132 params->vtcr = host_kvm.arch.vtcr; in __pkvm_prot_finalize() 133 params->hcr_el2 |= HCR_VM; in __pkvm_prot_finalize() 134 kvm_flush_dcache_to_poc(params, sizeof(*params)); in __pkvm_prot_finalize() 136 write_sysreg(params->hcr_el2, hcr_el2); in __pkvm_prot_finalize()
|
/arch/arm64/kvm/ |
D | sys_regs.c | 52 struct sys_reg_params *params, in read_from_write_only() argument 56 print_sys_reg_instr(params); in read_from_write_only() 62 struct sys_reg_params *params, in write_to_read_only() argument 66 print_sys_reg_instr(params); in write_to_read_only() 2078 static const struct sys_reg_desc *find_reg(const struct sys_reg_params *params, in find_reg() argument 2082 unsigned long pval = reg_to_encoding(params); in find_reg() 2094 struct sys_reg_params *params, in perform_access() argument 2097 trace_kvm_sys_access(*vcpu_pc(vcpu), params, r); in perform_access() 2113 if (likely(r->access(vcpu, params, r))) in perform_access() 2128 struct sys_reg_params *params, in emulate_cp() argument [all …]
|
D | vgic-sys-reg-v3.c | 266 struct sys_reg_params params; in vgic_v3_has_cpu_sysregs_attr() local 269 params.regval = *reg; in vgic_v3_has_cpu_sysregs_attr() 270 params.is_write = is_write; in vgic_v3_has_cpu_sysregs_attr() 272 if (find_reg_by_id(sysreg, ¶ms, gic_v3_icc_reg_descs, in vgic_v3_has_cpu_sysregs_attr() 282 struct sys_reg_params params; in vgic_v3_cpu_sysregs_uaccess() local 287 params.regval = *reg; in vgic_v3_cpu_sysregs_uaccess() 288 params.is_write = is_write; in vgic_v3_cpu_sysregs_uaccess() 290 r = find_reg_by_id(sysreg, ¶ms, gic_v3_icc_reg_descs, in vgic_v3_cpu_sysregs_uaccess() 295 if (!r->access(vcpu, ¶ms, r)) in vgic_v3_cpu_sysregs_uaccess() 299 *reg = params.regval; in vgic_v3_cpu_sysregs_uaccess()
|
/arch/powerpc/perf/ |
D | hv-common.c | 12 struct hv_get_perf_counter_info_params params; in hv_perf_caps_get() member 17 .params = { in hv_perf_caps_get() 33 caps->version = arg.params.counter_info_version_out; in hv_perf_caps_get()
|
D | hv-gpci.c | 160 arg->params.counter_request = cpu_to_be32(req); in single_gpci_request() 161 arg->params.starting_index = cpu_to_be32(starting_index); in single_gpci_request() 162 arg->params.secondary_index = cpu_to_be16(secondary_index); in single_gpci_request() 163 arg->params.counter_info_version_in = version_in; in single_gpci_request() 367 arg->params.counter_request = cpu_to_be32(0x10); in hv_gpci_init() 373 arg->params.counter_info_version_out = 0x8; in hv_gpci_init() 380 if (arg->params.counter_info_version_out >= 0x8) in hv_gpci_init()
|
/arch/openrisc/kernel/ |
D | prom.c | 23 void __init early_init_devtree(void *params) in early_init_devtree() argument 25 early_init_dt_scan(params); in early_init_devtree()
|
/arch/x86/boot/ |
D | edd.c | 46 sector_size = ei->params.bytes_per_sector; in read_mbr_sig() 99 ei->params.length = sizeof(ei->params); in get_edd_info() 101 ireg.si = (size_t)&ei->params; in get_edd_info()
|
/arch/s390/mm/ |
D | init.c | 282 struct mhp_params *params) in arch_add_memory() argument 288 if (WARN_ON_ONCE(params->altmap)) in arch_add_memory() 291 if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot)) in arch_add_memory() 298 rc = __add_pages(nid, start_pfn, size_pages, params); in arch_add_memory()
|
/arch/mips/bcm63xx/ |
D | cs.c | 94 int bcm63xx_set_cs_param(unsigned int cs, u32 params) in bcm63xx_set_cs_param() argument 114 val |= params; in bcm63xx_set_cs_param()
|