/linux-6.1.9/drivers/input/rmi4/ |
D | rmi_f34.c | 199 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()
|
D | rmi_f34v7.c | 782 f34->v7.config_size = f34->v7.img.ui_config.size; in rmi_f34v7_write_ui_config() 783 f34->v7.config_block_count = f34->v7.config_size / f34->v7.block_size; in rmi_f34v7_write_ui_config() 792 f34->v7.config_size = f34->v7.img.dp_config.size; in rmi_f34v7_write_dp_config() 793 f34->v7.config_block_count = f34->v7.config_size / f34->v7.block_size; in rmi_f34v7_write_dp_config() 812 f34->v7.config_size = f34->v7.img.fl_config.size; in rmi_f34v7_write_flash_config() 813 f34->v7.config_block_count = f34->v7.config_size / f34->v7.block_size; in rmi_f34v7_write_flash_config() 837 f34->v7.config_size = f34->v7.block_size * block_count; in rmi_f34v7_write_partition_table() 840 f34->v7.config_size, GFP_KERNEL); in rmi_f34v7_write_partition_table() 846 f34->v7.read_config_buf_size = f34->v7.config_size; in rmi_f34v7_write_partition_table() 858 f34->v7.config_size = f34->v7.img.bl_config.size; in rmi_f34v7_write_partition_table() [all …]
|
D | rmi_f34.h | 230 __le32 config_size; member 258 u16 config_size; member
|
/linux-6.1.9/drivers/nvdimm/ |
D | label.c | 59 return (ndd->nsarea.config_size - index_size * 2) / in __nvdimm_num_label_slots() 67 tmp_nslot = ndd->nsarea.config_size / sizeof_namespace_label(ndd); in nvdimm_num_label_slots() 84 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index() 90 ndd->nsarea.config_size, sizeof_namespace_label(ndd)); in sizeof_namespace_index() 207 > ndd->nsarea.config_size) { in __nd_label_validate() 209 i, nslot, ndd->nsarea.config_size); in __nd_label_validate() 436 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local 447 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init() 467 config_size = ndd->nsarea.config_size; in nd_label_data_init() 468 ndd->data = kvzalloc(config_size, GFP_KERNEL); in nd_label_data_init() [all …]
|
D | dimm.c | 96 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
|
D | dimm_devs.c | 69 if (cmd->config_size) in nvdimm_init_nsarea() 93 if (offset + len > ndd->nsarea.config_size) in nvdimm_get_config_data() 139 if (offset + len > ndd->nsarea.config_size) in nvdimm_set_config_data()
|
/linux-6.1.9/drivers/vdpa/ifcvf/ |
D | ifcvf_base.c | 239 u32 config_size; in ifcvf_get_config_size() local 249 config_size = min(cap_size, net_config_size); in ifcvf_get_config_size() 252 config_size = min(cap_size, blk_config_size); in ifcvf_get_config_size() 255 config_size = 0; in ifcvf_get_config_size() 259 return config_size; in ifcvf_get_config_size() 268 WARN_ON(offset + length > hw->config_size); in ifcvf_read_dev_config() 286 WARN_ON(offset + length > hw->config_size); in ifcvf_write_dev_config()
|
D | ifcvf_base.h | 73 u32 config_size; member
|
D | ifcvf_main.c | 626 return vf->config_size; in ifcvf_vdpa_get_config_size() 859 vf->config_size = ifcvf_get_config_size(vf); in ifcvf_probe()
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm_infineon.c | 47 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-6.1.9/block/partitions/ |
D | ldm.c | 82 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()
|
D | ldm.h | 103 u64 config_size; member
|
/linux-6.1.9/drivers/vdpa/vdpa_user/ |
D | vduse_dev.c | 102 u32 config_size; member 668 return dev->config_size; in vduse_vdpa_get_config_size() 679 if (offset > dev->config_size) in vduse_vdpa_get_config() 682 if (len > dev->config_size - offset) in vduse_vdpa_get_config() 683 len = dev->config_size - offset; in vduse_vdpa_get_config() 1100 if (config.offset > dev->config_size || in vduse_dev_ioctl() 1102 config.length > dev->config_size - config.offset) in vduse_dev_ioctl() 1440 if (config->config_size > PAGE_SIZE) in vduse_validate_config() 1515 dev->config_size = config->config_size; in vduse_create_dev() 1600 buf = vmemdup_user(argp + size, config.config_size); in vduse_ioctl()
|
/linux-6.1.9/tools/testing/nvdimm/test/ |
D | ndtest.h | 71 unsigned long config_size; member
|
D | ndtest.c | 233 size->config_size = dimm->config_size; in ndtest_get_config_size() 767 d->config_size = LABEL_SIZE; in ndtest_nvdimm_init()
|
/linux-6.1.9/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_ioctl.h | 68 unsigned int config_size; member
|
D | vchiq_dev.c | 803 if (args.config_size > sizeof(config)) { in vchiq_ioctl() 809 if (copy_to_user(args.pconfig, &config, args.config_size)) { in vchiq_ioctl() 1113 unsigned int config_size; member 1131 if (args32.config_size > sizeof(config)) in vchiq_compat_ioctl_get_config() 1136 if (copy_to_user(ptr, &config, args32.config_size)) in vchiq_compat_ioctl_get_config()
|
/linux-6.1.9/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.h | 40 size_t config_size; member
|
D | vdpa_sim.c | 289 vdpasim->config = kzalloc(dev_attr->config_size, GFP_KERNEL); in vdpasim_create() 533 return vdpasim->dev_attr.config_size; in vdpasim_get_config_size() 541 if (offset + len > vdpasim->dev_attr.config_size) in vdpasim_get_config() 555 if (offset + len > vdpasim->dev_attr.config_size) in vdpasim_set_config()
|
D | vdpa_sim_net.c | 255 dev_attr.config_size = sizeof(struct virtio_net_config); in vdpasim_net_dev_add()
|
D | vdpa_sim_blk.c | 381 dev_attr.config_size = sizeof(struct virtio_blk_config); in vdpasim_blk_dev_add()
|
/linux-6.1.9/include/uapi/linux/ |
D | vduse.h | 45 __u32 config_size; member
|
D | ndctl.h | 25 __u32 config_size; member
|
/linux-6.1.9/drivers/usb/serial/ |
D | cp210x.c | 1799 const u16 config_size = 0x02a6; in cp2102n_gpioconf_init() local 1816 config_buf = kmalloc(config_size, GFP_KERNEL); in cp2102n_gpioconf_init() 1824 config_size); in cp2102n_gpioconf_init()
|
/linux-6.1.9/drivers/cxl/ |
D | pmem.c | 112 .config_size = cxlds->lsa_size, in cxl_pmem_get_config_size()
|