Home
last modified time | relevance | path

Searched refs:config_size (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/input/rmi4/
Drmi_f34.c199 u32 config_size = le32_to_cpu(syn_fw->config_size); in rmi_f34_flash_firmware() local
203 f34->update_size = image_size + config_size; in rmi_f34_flash_firmware()
219 if (config_size) { in rmi_f34_flash_firmware()
233 config_size); in rmi_f34_flash_firmware()
248 u32 config_size = le32_to_cpu(syn_fw->config_size); in rmi_f34_update_firmware() local
258 image_size, config_size); in rmi_f34_update_firmware()
274 if (config_size && in rmi_f34_update_firmware()
275 config_size != f34->v5.config_blocks * f34->v5.block_size) { in rmi_f34_update_firmware()
278 config_size, in rmi_f34_update_firmware()
284 if (image_size && !config_size) { in rmi_f34_update_firmware()
Drmi_f34v7.c899 f34->v7.config_size = f34->v7.img.ui_config.size; in rmi_f34v7_write_ui_config()
900 f34->v7.config_block_count = f34->v7.config_size / f34->v7.block_size; in rmi_f34v7_write_ui_config()
909 f34->v7.config_size = f34->v7.img.dp_config.size; in rmi_f34v7_write_dp_config()
910 f34->v7.config_block_count = f34->v7.config_size / f34->v7.block_size; in rmi_f34v7_write_dp_config()
929 f34->v7.config_size = f34->v7.img.fl_config.size; in rmi_f34v7_write_flash_config()
930 f34->v7.config_block_count = f34->v7.config_size / f34->v7.block_size; in rmi_f34v7_write_flash_config()
965 f34->v7.config_size = f34->v7.block_size * block_count; in rmi_f34v7_write_partition_table()
968 f34->v7.config_size, GFP_KERNEL); in rmi_f34v7_write_partition_table()
974 f34->v7.read_config_buf_size = f34->v7.config_size; in rmi_f34v7_write_partition_table()
990 f34->v7.config_size = f34->v7.img.bl_config.size; in rmi_f34v7_write_partition_table()
[all …]
Drmi_f34.h244 __le32 config_size; member
273 u16 config_size; member
/Linux-v5.10/drivers/nvdimm/
Dlabel.c51 return (ndd->nsarea.config_size - index_size * 2) / in __nvdimm_num_label_slots()
59 tmp_nslot = ndd->nsarea.config_size / sizeof_namespace_label(ndd); in nvdimm_num_label_slots()
76 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index()
82 ndd->nsarea.config_size, sizeof_namespace_label(ndd)); in sizeof_namespace_index()
199 > ndd->nsarea.config_size) { in __nd_label_validate()
201 i, nslot, ndd->nsarea.config_size); in __nd_label_validate()
415 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
426 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init()
446 config_size = ndd->nsarea.config_size; in nd_label_data_init()
447 ndd->data = kvzalloc(config_size, GFP_KERNEL); in nd_label_data_init()
[all …]
Ddimm.c96 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
Ddimm_devs.c73 if (cmd->config_size) in nvdimm_init_nsarea()
97 if (offset + len > ndd->nsarea.config_size) in nvdimm_get_config_data()
143 if (offset + len > ndd->nsarea.config_size) in nvdimm_set_config_data()
/Linux-v5.10/drivers/char/tpm/
Dtpm_infineon.c47 unsigned int config_size; member
406 tpm_dev.config_size = pnp_port_len(dev, 0); in tpm_inf_pnp_probe()
409 if ((tpm_dev.data_size < 4) || (tpm_dev.config_size < 2)) { in tpm_inf_pnp_probe()
425 if (request_region(tpm_dev.config_port, tpm_dev.config_size, in tpm_inf_pnp_probe()
564 release_region(tpm_dev.config_port, tpm_dev.config_size); in tpm_inf_pnp_probe()
583 tpm_dev.config_size); in tpm_inf_pnp_remove()
/Linux-v5.10/block/partitions/
Dldm.c82 ph->config_size = get_unaligned_be64(data + 0x0133); in ldm_parse_privhead()
93 if (ph->config_size != LDM_DB_SIZE) { /* 1 MiB in sectors. */ in ldm_parse_privhead()
97 (unsigned long long)ph->config_size); in ldm_parse_privhead()
222 (ph1->config_size == ph2->config_size) && in ldm_compare_privheads()
310 ((ph[0]->config_start + ph[0]->config_size) > num_sects)) { in ldm_validate_privheads()
395 if (((tb[0]->bitmap1_start + tb[0]->bitmap1_size) > ph->config_size) || in ldm_validate_tocblocks()
397 ph->config_size)) { in ldm_validate_tocblocks()
Dldm.h107 u64 config_size; member
/Linux-v5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_ioctl.h68 unsigned int config_size; member
Dvchiq_arm.c1483 if (args.config_size > sizeof(config)) { in vchiq_ioctl()
1489 if (copy_to_user(args.pconfig, &config, args.config_size)) { in vchiq_ioctl()
1799 unsigned int config_size; member
1817 if (args32.config_size > sizeof(config)) in vchiq_compat_ioctl_get_config()
1822 if (copy_to_user(ptr, &config, args32.config_size)) in vchiq_compat_ioctl_get_config()
/Linux-v5.10/include/uapi/linux/
Dndctl.h25 __u32 config_size; member
/Linux-v5.10/drivers/usb/serial/
Dcp210x.c1828 const u16 config_size = 0x02a6; in cp2102n_gpioconf_init() local
1845 config_buf = kmalloc(config_size, GFP_KERNEL); in cp2102n_gpioconf_init()
1853 config_size); in cp2102n_gpioconf_init()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c758 get_size_hdr->config_size = p->metadata_size; in papr_scm_ndctl()
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c461 nd_cmd->config_size = LABEL_SIZE; in nfit_test_cmd_get_config_size()
2974 .config_size = SZ_128K, in nfit_ctl_test()
2984 || cmd.cfg_size.config_size != SZ_128K in nfit_ctl_test()