Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 108) sorted by relevance

12345

/u-boot/arch/mips/mach-mtmips/
A Dddr_init.c108 mc_ddr_init(param->memc, &param->cfgs[DRAM_8MB], param->dq_dly, in ddr1_init()
119 mc_ddr_init(param->memc, &param->cfgs[DRAM_128MB], param->dq_dly, in ddr1_init()
120 param->dqs_dly, param->mc_reset, bw); in ddr1_init()
139 mc_ddr_init(param->memc, &param->cfgs[sz], param->dq_dly, in ddr1_init()
140 param->dqs_dly, param->mc_reset, bw); in ddr1_init()
153 mc_ddr_init(param->memc, &param->cfgs[DRAM_32MB], param->dq_dly, in ddr2_init()
164 mc_ddr_init(param->memc, &param->cfgs[DRAM_256MB], param->dq_dly, in ddr2_init()
165 param->dqs_dly, param->mc_reset, bw); in ddr2_init()
196 mc_ddr_init(param->memc, &param->cfgs[sz], param->dq_dly, in ddr2_init()
232 mc_sdr_init(param->memc, param->mc_reset, param->sdr_cfg0, in sdr_init()
[all …]
/u-boot/arch/mips/mach-mtmips/mt7620/
A Ddram.c72 struct mc_ddr_init_param param; in mt7620_dram_init() local
87 param.dq_dly = DDR2_DQ_DLY; in mt7620_dram_init()
88 param.dqs_dly = DDR2_DQS_DLY; in mt7620_dram_init()
90 param.memsize = 0; in mt7620_dram_init()
91 param.bus_width = 0; in mt7620_dram_init()
95 param.cfgs = ddr1_cfgs_160mhz; in mt7620_dram_init()
99 ddr1_init(&param); in mt7620_dram_init()
106 ddr2_init(&param); in mt7620_dram_init()
108 param.sdr_cfg0 = SDR_CFG0_VAL; in mt7620_dram_init()
109 param.sdr_cfg1 = SDR_CFG1_VAL; in mt7620_dram_init()
[all …]
/u-boot/fs/yaffs2/
A Dyaffs_nandif.c53 if (dev->param.inband_tags) { in ynandif_WriteChunkWithTagsToNAND()
68 data, dev->param.total_bytes_per_chunk, in ynandif_WriteChunkWithTagsToNAND()
92 } else if (dev->param.inband_tags) { in ynandif_ReadChunkWithTagsFromNAND()
111 if (dev->param.inband_tags) { in ynandif_ReadChunkWithTagsFromNAND()
216 struct yaffs_param *param; in yaffs_add_dev_from_geometry() local
222 param = &dev->param; in yaffs_add_dev_from_geometry()
224 param->name = clonedName; in yaffs_add_dev_from_geometry()
231 param->n_caches = 20; in yaffs_add_dev_from_geometry()
233 param->end_block = geometry->end_block; in yaffs_add_dev_from_geometry()
238 param->use_nand_ecc = geometry->hasECC; in yaffs_add_dev_from_geometry()
[all …]
A Dyaffs_nand.c33 if (dev->param.read_chunk_tags_fn) in yaffs_rd_chunk_tags_nand()
35 dev->param.read_chunk_tags_fn(dev, flash_chunk, buffer, in yaffs_rd_chunk_tags_nand()
45 dev->param.chunks_per_block); in yaffs_rd_chunk_tags_nand()
72 if (dev->param.write_chunk_tags_fn) in yaffs_wr_chunk_tags_nand()
86 if (dev->param.bad_block_fn) in yaffs_mark_bad()
87 return dev->param.bad_block_fn(dev, block_no); in yaffs_mark_bad()
98 if (dev->param.query_block_fn) in yaffs_query_init_block_state()
99 return dev->param.query_block_fn(dev, block_no, state, in yaffs_query_init_block_state()
111 result = dev->param.erase_fn(dev, flash_block); in yaffs_erase_block()
117 if (dev->param.initialise_flash_fn) in yaffs_init_nand()
[all …]
A Dyaffs_uboot_glue.c212 chk->param.start_block, chk->param.end_block, in cmd_yaffs_devconfig()
215 chk->param.name); in cmd_yaffs_devconfig()
223 dev->param.name = mp; in cmd_yaffs_devconfig()
226 dev->param.end_block = end_block; in cmd_yaffs_devconfig()
229 dev->param.is_yaffs2 = 1; in cmd_yaffs_devconfig()
230 dev->param.use_nand_ecc = 1; in cmd_yaffs_devconfig()
231 dev->param.n_reserved_blocks = 5; in cmd_yaffs_devconfig()
233 dev->param.inband_tags = 1; in cmd_yaffs_devconfig()
234 dev->param.n_caches = 10; in cmd_yaffs_devconfig()
268 dev->param.name, flash_dev, in cmd_yaffs_dev_ls()
[all …]
A Dyaffs_mtdif2.c54 dev->param.no_tags_ecc ? sizeof(pt.t) : sizeof(pt); in nandmtd2_write_chunk_tags()
70 else if (dev->param.inband_tags) { in nandmtd2_write_chunk_tags()
78 yaffs_pack_tags2(&pt, tags, !dev->param.no_tags_ecc); in nandmtd2_write_chunk_tags()
83 ops.len = dev->param.total_bytes_per_chunk; in nandmtd2_write_chunk_tags()
107 dev->param.no_tags_ecc ? sizeof(pt.t) : sizeof(pt); in nandmtd2_read_chunk_tags()
115 if (dev->param.inband_tags) { in nandmtd2_read_chunk_tags()
124 if (dev->param.inband_tags || (data && !tags)) in nandmtd2_read_chunk_tags()
137 if (dev->param.inband_tags) { in nandmtd2_read_chunk_tags()
184 blockNo * dev->param.chunks_per_block * in nandmtd2_MarkNANDBlockBad()
203 blockNo * dev->param.chunks_per_block * in nandmtd2_QueryNANDBlock()
[all …]
A Dyaffs_checkptrw.c32 if (!dev->param.erase_fn) in yaffs_checkpt_erase()
46 if (dev->param. in yaffs_checkpt_erase()
52 dev->param.chunks_per_block; in yaffs_checkpt_erase()
54 dev->param.bad_block_fn(dev, i); in yaffs_checkpt_erase()
110 int chunk = i * dev->param.chunks_per_block; in yaffs2_checkpt_find_block()
146 if (!dev->param.write_chunk_tags_fn || in yaffs2_checkpt_open()
147 !dev->param.read_chunk_tags_fn || in yaffs2_checkpt_open()
148 !dev->param.erase_fn || !dev->param.bad_block_fn) in yaffs2_checkpt_open()
319 dev->param.chunks_per_block + in yaffs2_checkpt_rd()
326 dev->param.read_chunk_tags_fn(dev, in yaffs2_checkpt_rd()
[all …]
A Dyaffs_guts.c2808 if (dev->param.gc_control && (dev->param.gc_control(dev) & 1) == 0) in yaffs_check_gc()
3830 if (dev->param.disable_soft_del || dev->param.is_yaffs2) in yaffs_unlink_file_if_needed()
3847 if (dev->param.disable_soft_del || dev->param.is_yaffs2) in yaffs_del_file()
4534 if (!dev->param.erase_fn || !dev->param.initialise_flash_fn) in yaffs_check_dev_fns()
4542 dev->param.bad_block_fn && dev->param.query_block_fn) in yaffs_check_dev_fns()
4551 !dev->param.bad_block_fn && !dev->param.query_block_fn) in yaffs_check_dev_fns()
4620 if ((!dev->param.inband_tags && dev->param.is_yaffs2 && in yaffs_guts_initialise()
4622 (!dev->param.is_yaffs2 && in yaffs_guts_initialise()
4624 (dev->param.inband_tags && !dev->param.is_yaffs2) || in yaffs_guts_initialise()
4803 if (dev->param.is_yaffs2) in yaffs_guts_initialise()
[all …]
A Dyaffs_tagscompat.c130 if (nand_chunk < dev->param.start_block * dev->param.chunks_per_block) { in yaffs_wr_nand()
137 return dev->param.write_chunk_fn(dev, nand_chunk, data, spare); in yaffs_wr_nand()
156 if (!dev->param.use_nand_ecc) { in yaffs_rd_chunk_nand()
158 dev->param.read_chunk_fn(dev, nand_chunk, data, spare); in yaffs_rd_chunk_nand()
216 ret_val = dev->param.read_chunk_fn(dev, nand_chunk, data, in yaffs_rd_chunk_nand()
264 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_rd_data_error()
304 if (!dev->param.use_nand_ecc && data) in yaffs_tags_compat_wr()
369 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block, NULL, in yaffs_tags_compat_mark_bad()
371 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block + 1, in yaffs_tags_compat_mark_bad()
394 yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block, NULL, in yaffs_tags_compat_query_block()
[all …]
/u-boot/cmd/
A Doptee_rpmb.c81 struct tee_param param[2]; in read_persistent_value() local
102 memset(param, 0, sizeof(param)); in read_persistent_value()
104 param[0].u.memref.shm = shm_name; in read_persistent_value()
105 param[0].u.memref.size = name_size; in read_persistent_value()
107 param[1].u.memref.shm = shm_buf; in read_persistent_value()
111 2, param); in read_persistent_value()
139 struct tee_param param[2]; in write_persistent_value() local
164 memset(param, 0, sizeof(param)); in write_persistent_value()
166 param[0].u.memref.shm = shm_name; in write_persistent_value()
169 param[1].u.memref.shm = shm_buf; in write_persistent_value()
[all …]
/u-boot/arch/arm/mach-uniphier/dram/
A Dcmd_ddrmphy.c142 dump_loop(param, &__wbdl_dump); in wbdl_dump()
186 dump_loop(param, &__wld_dump); in wld_dump()
225 dump_loop(param, &__mdl_dump); in mdl_dump()
301 if (!param) { in do_ddrm()
312 zq_dump(param); in do_ddrm()
315 wbdl_dump(param); in do_ddrm()
318 rbdl_dump(param); in do_ddrm()
321 wld_dump(param); in do_ddrm()
324 dqsgd_dump(param); in do_ddrm()
327 mdl_dump(param); in do_ddrm()
[all …]
A Dcmd_ddrphy.c120 dump_loop(param, &__wbdl_dump); in wbdl_dump()
137 dump_loop(param, &__rbdl_dump); in rbdl_dump()
160 dump_loop(param, &__wld_dump); in wld_dump()
199 dump_loop(param, &__mdl_dump); in mdl_dump()
271 if (!param) { in do_ddr()
282 wbdl_dump(param); in do_ddr()
285 rbdl_dump(param); in do_ddr()
288 wld_dump(param); in do_ddr()
291 dqsgd_dump(param); in do_ddr()
294 mdl_dump(param); in do_ddr()
[all …]
/u-boot/arch/mips/mach-mtmips/mt7628/
A Dddr.c135 struct mc_ddr_init_param param; in mt7628_ddr_init() local
149 param.dq_dly = DDR2_DQ_DLY; in mt7628_ddr_init()
150 param.dqs_dly = DDR2_DQS_DLY; in mt7628_ddr_init()
152 param.memsize = 0; in mt7628_ddr_init()
153 param.bus_width = 0; in mt7628_ddr_init()
160 param.cfgs = ddr1_cfgs_160mhz; in mt7628_ddr_init()
162 param.cfgs = ddr1_cfgs_200mhz; in mt7628_ddr_init()
163 ddr1_init(&param); in mt7628_ddr_init()
169 ddr2_init(&param); in mt7628_ddr_init()
172 ddr_calibrate(param.memc, param.memsize, param.bus_width); in mt7628_ddr_init()
[all …]
/u-boot/arch/sh/lib/
A Dbootm.c60 unsigned char *param in do_bootm_linux() local
63 char *cmdline = (char *)param + COMMAND_LINE; in do_bootm_linux()
65 unsigned long size = images->ep - (unsigned long)param; in do_bootm_linux()
78 memset(param, 0, size); in do_bootm_linux()
98 set_sh_linux_param((unsigned long)param + MOUNT_ROOT_RDONLY, 0x0001); in do_bootm_linux()
99 set_sh_linux_param((unsigned long)param + RAMDISK_FLAGS, ramdisk_flags); in do_bootm_linux()
100 set_sh_linux_param((unsigned long)param + ORIG_ROOT_DEV, 0x0200); in do_bootm_linux()
101 set_sh_linux_param((unsigned long)param + LOADER_TYPE, 0x0001); in do_bootm_linux()
102 set_sh_linux_param((unsigned long)param + INITRD_START, in do_bootm_linux()
104 set_sh_linux_param((unsigned long)param + INITRD_SIZE, in do_bootm_linux()
A Dzimageboot.c24 unsigned char *param = NULL; in do_sh_zimageboot() local
44 param = (unsigned char*)simple_strtoul(s1, NULL, 16); in do_sh_zimageboot()
47 cmdline = (char *)param + COMMAND_LINE; in do_sh_zimageboot()
52 memset(param, 0, 0x1000); in do_sh_zimageboot()
/u-boot/drivers/power/regulator/
A Ds5m8767.c102 ret = pmic_reg_read(dev->parent, param->vol_addr); in reg_get_value()
106 desc = param->vol; in reg_get_value()
107 val = (ret >> param->vol_bitpos) & param->vol_bitmask; in reg_get_value()
119 desc = param->vol; in reg_set_value()
123 val = (val & param->vol_bitmask) << param->vol_bitpos; in reg_set_value()
124 ret = pmic_clrsetbits(dev->parent, param->vol_addr, in reg_set_value()
125 param->vol_bitmask << param->vol_bitpos, in reg_set_value()
161 ret = pmic_reg_read(dev->parent, param->reg_enaddr); in reg_get_enable()
175 ret = pmic_reg_read(dev->parent, param->reg_enaddr); in reg_set_enable()
179 ret = pmic_clrsetbits(dev->parent, param->reg_enaddr, in reg_set_enable()
[all …]
/u-boot/common/
A Davb_verify.c693 struct tee_param param[2]; in read_rollback_index()
698 memset(param, 0, sizeof(param)); in read_rollback_index()
704 ARRAY_SIZE(param), param); in read_rollback_index()
735 struct tee_param param[2]; in write_rollback_index()
740 memset(param, 0, sizeof(param)); in write_rollback_index()
748 ARRAY_SIZE(param), param); in write_rollback_index()
864 struct tee_param param[2]; in read_persistent_value() local
887 memset(param, 0, sizeof(param)); in read_persistent_value()
896 2, param); in read_persistent_value()
952 memset(param, 0, sizeof(param)); in write_persistent_value()
[all …]
/u-boot/drivers/tee/broadcom/
A Dchimp_optee.c64 struct tee_param param[1]; in chimp_handshake_status_optee() local
71 param[0].attr = TEE_PARAM_ATTR_TYPE_VALUE_INOUT; in chimp_handshake_status_optee()
72 param[0].u.value.a = timeout; in chimp_handshake_status_optee()
74 ret = tee_invoke_func(chimp_data.tee, &arg, ARRAY_SIZE(param), param); in chimp_handshake_status_optee()
82 *hs = param[0].u.value.a; in chimp_handshake_status_optee()
100 struct tee_param param[1]; in chimp_health_status_optee() local
107 param[0].attr = TEE_PARAM_ATTR_TYPE_VALUE_OUTPUT; in chimp_health_status_optee()
109 ret = tee_invoke_func(chimp_data.tee, &arg, ARRAY_SIZE(param), param); in chimp_health_status_optee()
117 *health = param[0].u.value.a; in chimp_health_status_optee()
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_ram.c110 } param[] = { in stm32mp1_ddr_setup() local
129 for (idx = 0; idx < ARRAY_SIZE(param); idx++) { in stm32mp1_ddr_setup()
132 param[idx].offset), in stm32mp1_ddr_setup()
133 param[idx].size); in stm32mp1_ddr_setup()
135 param[idx].name, param[idx].size, ret); in stm32mp1_ddr_setup()
139 param[idx].name, ret); in stm32mp1_ddr_setup()
142 if (param[idx].present) { in stm32mp1_ddr_setup()
144 *param[idx].present = true; in stm32mp1_ddr_setup()
146 *param[idx].present = false; in stm32mp1_ddr_setup()
150 param[idx].offset), in stm32mp1_ddr_setup()
[all …]
/u-boot/drivers/tee/optee/
A Dcore.c260 reg_pair_from_64(&param->a1, &param->a2, in handle_rpc()
263 reg_pair_from_64(&param->a4, &param->a5, (ulong)shm); in handle_rpc()
265 param->a1 = 0; in handle_rpc()
266 param->a2 = 0; in handle_rpc()
267 param->a4 = 0; in handle_rpc()
268 param->a5 = 0; in handle_rpc()
272 shm = reg_pair_to_ptr(param->a1, param->a2); in handle_rpc()
278 shm = reg_pair_to_ptr(param->a1, param->a2); in handle_rpc()
304 reg_pair_from_64(&param.a1, &param.a2, virt_to_phys(arg)); in do_call_with_arg()
308 pdata->invoke_fn(param.a0, param.a1, param.a2, param.a3, in do_call_with_arg()
[all …]
/u-boot/test/dm/
A Dtee.c45 if (tee_invoke_func(dev, &arg, 1, &param) || arg.ret) in invoke_func_avb()
55 struct tee_param param[2]; in invoke_func_rpc_test() local
72 memset(param, 0, sizeof(param)); in invoke_func_rpc_test()
73 param[0].attr = TEE_PARAM_ATTR_TYPE_VALUE_INPUT; in invoke_func_rpc_test()
74 param[0].u.value.a = busnum; in invoke_func_rpc_test()
75 param[0].u.value.b = chip_addr; in invoke_func_rpc_test()
76 param[0].u.value.c = xfer_flags; in invoke_func_rpc_test()
77 param[1].attr = TEE_PARAM_ATTR_TYPE_MEMREF_INOUT; in invoke_func_rpc_test()
78 param[1].u.memref.shm = shm_buf; in invoke_func_rpc_test()
79 param[1].u.memref.size = buf_size; in invoke_func_rpc_test()
[all …]
/u-boot/tools/
A Datmelimage.c58 char *param; in atmel_find_pmecc_parameter_in_token() local
64 param = strstr(token, "="); in atmel_find_pmecc_parameter_in_token()
65 if (!param) in atmel_find_pmecc_parameter_in_token()
68 param++; in atmel_find_pmecc_parameter_in_token()
69 debug("\t%s parameter: '%s'\n", configs[pos], param); in atmel_find_pmecc_parameter_in_token()
73 pmecc.use_pmecc = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
76 pmecc.sector_per_page = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
79 pmecc.spare_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
82 pmecc.ecc_bits = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
85 pmecc.sector_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
[all …]
/u-boot/arch/mips/mach-mtmips/include/mach/
A Dddr.h51 void sdr_init(struct mc_ddr_init_param *param);
52 void ddr1_init(struct mc_ddr_init_param *param);
53 void ddr2_init(struct mc_ddr_init_param *param);
/u-boot/drivers/pinctrl/
A Dpinctrl-sandbox.c116 if ((priv->pins_param[selector] & BIT(p->param)) && in sandbox_get_pin_muxing()
117 (!!(priv->pins_value[selector] & BIT(p->param)) == in sandbox_get_pin_muxing()
244 unsigned param, unsigned argument) in sandbox_pinconf_set() argument
250 param, argument); in sandbox_pinconf_set()
252 priv->pins_param[pin_selector] |= BIT(param); in sandbox_pinconf_set()
254 priv->pins_value[pin_selector] |= BIT(param); in sandbox_pinconf_set()
256 priv->pins_value[pin_selector] &= ~BIT(param); in sandbox_pinconf_set()
263 unsigned param, unsigned argument) in sandbox_pinconf_group_set() argument
267 param, argument); in sandbox_pinconf_group_set()
/u-boot/scripts/
A Dkernel-doc1509 my $param;
1535 $param = $1;
1583 my $param = shift;
1590 ($param eq "}")) {
1601 $param = "...";
1611 elsif ($type eq "" && ($param eq "" or $param eq "void"))
1613 $param="void";
1616 elsif ($type eq "" && ($param eq "struct" or $param eq "union"))
1619 $type = $param;
1620 $param = "{unnamed_" . $param . "}";
[all …]

Completed in 2197 milliseconds

12345