Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 54) sorted by relevance

123

/arch/x86/kernel/
Dkexec-bzimage64.c55 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 …]
Dcrash.c45 struct boot_params *params; member
291 static int add_e820_entry(struct boot_params *params, struct e820_entry *entry) in add_e820_entry() argument
295 nr_e820_entries = params->e820_entries; in add_e820_entry()
299 memcpy(&params->e820_table[nr_e820_entries], entry, in add_e820_entry()
301 params->e820_entries++; in add_e820_entry()
308 struct boot_params *params = cmd->params; in memmap_entry_callback() local
314 add_e820_entry(params, &ei); in memmap_entry_callback()
344 int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params) in crash_setup_memmap_entries() argument
357 cmd.params = params; in crash_setup_memmap_entries()
363 add_e820_entry(params, &ei); in crash_setup_memmap_entries()
[all …]
/arch/arm/kernel/
Datags_compat.c92 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/
Duncompress.h62 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/
Dprom.c22 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/nds32/kernel/
Ddevtree.c8 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/arm64/boot/dts/xilinx/
Dzynqmp-zc1232-revA.dts42 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>;
Dzynqmp-zc1751-xm015-dc1.dts103 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>;
Dzynqmp-zc1751-xm017-dc3.dts117 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>;
Dzynqmp-zcu104-revA.dts164 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>;
Dzynqmp-zcu111-revA.dts420 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
421 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
422 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
423 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
424 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
425 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
426 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
427 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
Dzynqmp-zcu106-revA.dts490 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
491 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
492 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
493 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
494 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
495 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
496 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
497 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
/arch/arm/kvm/
Dcoproc.c33 const struct coproc_params *params) in write_to_read_only() argument
36 print_cp_instr(params); in write_to_read_only()
42 const struct coproc_params *params) in read_from_write_only() argument
45 print_cp_instr(params); in read_from_write_only()
563 static const struct coproc_reg *find_reg(const struct coproc_params *params, in find_reg() argument
567 unsigned long pval = reg_to_match_value(params); in find_reg()
573 const struct coproc_params *params) in emulate_cp15() argument
578 trace_kvm_emulate_cp15_imp(params->Op1, params->Rt1, params->CRn, in emulate_cp15()
579 params->CRm, params->Op2, params->is_write); in emulate_cp15()
584 r = find_reg(params, table, num); in emulate_cp15()
[all …]
/arch/x86/include/asm/
Dinsn-eval.h14 #define INSN_CODE_SEG_ADDR_SZ(params) ((params >> 4) & 0xf) argument
15 #define INSN_CODE_SEG_OPND_SZ(params) (params & 0xf) argument
/arch/arm64/kvm/
Dvgic-sys-reg-v3.c266 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()
271 params.is_aarch32 = false; in vgic_v3_has_cpu_sysregs_attr()
272 params.is_32bit = false; in vgic_v3_has_cpu_sysregs_attr()
274 if (find_reg_by_id(sysreg, &params, gic_v3_icc_reg_descs, in vgic_v3_has_cpu_sysregs_attr()
284 struct sys_reg_params params; in vgic_v3_cpu_sysregs_uaccess() local
289 params.regval = *reg; in vgic_v3_cpu_sysregs_uaccess()
290 params.is_write = is_write; in vgic_v3_cpu_sysregs_uaccess()
291 params.is_aarch32 = false; in vgic_v3_cpu_sysregs_uaccess()
[all …]
Dsys_regs.c49 struct sys_reg_params *params, in read_from_write_only() argument
53 print_sys_reg_instr(params); in read_from_write_only()
59 struct sys_reg_params *params, in write_to_read_only() argument
63 print_sys_reg_instr(params); in write_to_read_only()
2012 static const struct sys_reg_desc *find_reg(const struct sys_reg_params *params, in find_reg() argument
2016 unsigned long pval = reg_to_encoding(params); in find_reg()
2028 struct sys_reg_params *params, in perform_access() argument
2031 trace_kvm_sys_access(*vcpu_pc(vcpu), params, r); in perform_access()
2047 if (likely(r->access(vcpu, params, r))) in perform_access()
2062 struct sys_reg_params *params, in emulate_cp() argument
[all …]
/arch/microblaze/kernel/
Dprom.c17 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/
De500_mmu.c722 struct kvm_book3e_206_tlb_params *params) in vcpu_mmu_geometry_update() argument
725 if (params->tlb_sizes[0] <= 2048) in vcpu_mmu_geometry_update()
726 vcpu->arch.tlbcfg[0] |= params->tlb_sizes[0]; in vcpu_mmu_geometry_update()
727 vcpu->arch.tlbcfg[0] |= params->tlb_ways[0] << TLBnCFG_ASSOC_SHIFT; in vcpu_mmu_geometry_update()
730 vcpu->arch.tlbcfg[1] |= params->tlb_sizes[1]; in vcpu_mmu_geometry_update()
731 vcpu->arch.tlbcfg[1] |= params->tlb_ways[1] << TLBnCFG_ASSOC_SHIFT; in vcpu_mmu_geometry_update()
739 struct kvm_book3e_206_tlb_params params; in kvm_vcpu_ioctl_config_tlb() local
751 if (copy_from_user(&params, (void __user *)(uintptr_t)cfg->params, in kvm_vcpu_ioctl_config_tlb()
752 sizeof(params))) in kvm_vcpu_ioctl_config_tlb()
755 if (params.tlb_sizes[1] > 64) in kvm_vcpu_ioctl_config_tlb()
[all …]
/arch/powerpc/perf/
Dhv-common.c12 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()
Dhv-gpci.c133 struct hv_get_perf_counter_info_params params; member
149 arg->params.counter_request = cpu_to_be32(req); in single_gpci_request()
150 arg->params.starting_index = cpu_to_be32(starting_index); in single_gpci_request()
151 arg->params.secondary_index = cpu_to_be16(secondary_index); in single_gpci_request()
152 arg->params.counter_info_version_in = version_in; in single_gpci_request()
/arch/openrisc/kernel/
Dprom.c23 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/
Dedd.c46 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/x86/boot/compressed/
Deboot.c130 static void setup_efi_pci(struct boot_params *params) in setup_efi_pci() argument
162 data = (struct setup_data *)(unsigned long)params->hdr.setup_data; in setup_efi_pci()
186 params->hdr.setup_data = (unsigned long)rom; in setup_efi_pci()
491 static void add_e820ext(struct boot_params *params, in add_e820ext() argument
500 data = (struct setup_data *)(unsigned long)params->hdr.setup_data; in add_e820ext()
508 params->hdr.setup_data = (unsigned long)e820ext; in add_e820ext()
512 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size) in setup_e820() argument
514 struct boot_e820_entry *entry = params->e820_table; in setup_e820()
515 struct efi_info *efi = &params->efi_info; in setup_e820()
579 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820()
[all …]
/arch/arm/plat-omap/
Ddma.c335 void omap_set_dma_params(int lch, struct omap_dma_channel_params *params) in omap_set_dma_params() argument
337 omap_set_dma_transfer_params(lch, params->data_type, in omap_set_dma_params()
338 params->elem_count, params->frame_count, in omap_set_dma_params()
339 params->sync_mode, params->trigger, in omap_set_dma_params()
340 params->src_or_dst_synch); in omap_set_dma_params()
341 omap_set_dma_src_params(lch, params->src_port, in omap_set_dma_params()
342 params->src_amode, params->src_start, in omap_set_dma_params()
343 params->src_ei, params->src_fi); in omap_set_dma_params()
345 omap_set_dma_dest_params(lch, params->dst_port, in omap_set_dma_params()
346 params->dst_amode, params->dst_start, in omap_set_dma_params()
[all …]
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c702 struct change_mapping_params *params = in stop_machine_change_mapping() local
709 pte_clear(&init_mm, params->aligned_start, params->pte); in stop_machine_change_mapping()
710 create_physical_mapping(__pa(params->aligned_start), __pa(params->start), -1); in stop_machine_change_mapping()
711 create_physical_mapping(__pa(params->end), __pa(params->aligned_end), -1); in stop_machine_change_mapping()
753 struct change_mapping_params params; in split_kernel_mapping() local
777 params.pte = pte; in split_kernel_mapping()
778 params.start = addr; in split_kernel_mapping()
779 params.end = end; in split_kernel_mapping()
780 params.aligned_start = addr & ~(size - 1); in split_kernel_mapping()
781 params.aligned_end = min_t(unsigned long, aligned_end, in split_kernel_mapping()
[all …]

123