/linux/drivers/input/rmi4/ |
H A 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()
|
H A 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 …]
|
H A D | rmi_f34.h | 230 __le32 config_size; member 258 u16 config_size; member
|
/linux/drivers/nvdimm/ |
H A D | label.c | 59 return (ndd->nsarea.config_size - index_size * 2) / in __nvdimm_num_label_slots() 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 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() 483 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init() 491 config_size); in nd_label_data_init() 538 if (read_size + label_read_size > config_size) in nd_label_data_init() 539 label_read_size = config_size - read_size; in nd_label_data_init() [all …]
|
H A D | dimm.c | 96 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
|
/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_base.c | 266 u32 config_size; in ifcvf_get_config_size() local 275 config_size = min(cap_size, net_config_size); in ifcvf_get_config_size() 278 config_size = min(cap_size, blk_config_size); in ifcvf_get_config_size() 281 config_size = 0; in ifcvf_get_config_size() 285 return config_size; in ifcvf_get_config_size() 294 WARN_ON(offset + length > hw->config_size); in ifcvf_read_dev_config() 312 WARN_ON(offset + length > hw->config_size); in ifcvf_write_dev_config()
|
H A D | ifcvf_base.h | 69 u32 config_size; member
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-vpu.c | 43 vpu->config = dma_alloc_wc(dev, vpu->config_size, in mdp_vpu_shared_mem_alloc() 77 dma_free_wc(dev, vpu->config_size, vpu->config, vpu->config_addr); in mdp_vpu_shared_mem_free() 215 vpu->config_size = ALIGN(sizeof(struct img_config) * pp_num, 64); in mdp_vpu_dev_init() 227 vpu->config, &vpu->config_addr, vpu->config_size); in mdp_vpu_dev_init() 275 memset(vpu->config, 0, vpu->config_size); in mdp_vpu_process()
|
H A D | mtk-mdp3-vpu.h | 53 size_t config_size; member
|
/linux/drivers/char/tpm/ |
H A D | tpm_infineon.c | 47 unsigned int config_size; member 412 tpm_dev.config_size = pnp_port_len(dev, 0); in tpm_inf_pnp_probe() 415 if ((tpm_dev.data_size < 4) || (tpm_dev.config_size < 2)) { in tpm_inf_pnp_probe() 431 if (request_region(tpm_dev.config_port, tpm_dev.config_size, in tpm_inf_pnp_probe() 570 release_region(tpm_dev.config_port, tpm_dev.config_size); in tpm_inf_pnp_probe() 589 tpm_dev.config_size); in tpm_inf_pnp_remove()
|
/linux/block/partitions/ |
H A 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() 220 (ph1->config_size == ph2->config_size) && in ldm_compare_privheads() 308 ((ph[0]->config_start + ph[0]->config_size) > num_sects)) { in ldm_validate_privheads() 393 if (((tb[0]->bitmap1_start + tb[0]->bitmap1_size) > ph->config_size) || in ldm_validate_tocblocks() 395 ph->config_size)) { in ldm_validate_tocblocks()
|
H A D | ldm.h | 103 u64 config_size; member
|
/linux/tools/testing/nvdimm/test/ |
H A D | ndtest.h | 40 unsigned long config_size; member
|
/linux/sound/soc/codecs/ |
H A D | pcm6240.c | 1232 const unsigned char *config_data, unsigned int config_size, in pcmdevice_add_config() argument 1247 if (config_offset + 64 > (int)config_size) { in pcmdevice_add_config() 1257 if (config_offset + 4 > config_size) { in pcmdevice_add_config() 1275 if (config_offset + 12 > config_size) { in pcmdevice_add_config() 1315 if (config_offset + bk_da[i]->block_size > config_size) { in pcmdevice_add_config() 1544 fw_hdr->config_size[i] = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready() 1546 total_config_sz += fw_hdr->config_size[i]; in pcmdev_regbin_ready() 1565 fw_hdr->config_size[i], &ret); in pcmdev_regbin_ready() 1572 offset += (int)fw_hdr->config_size[i]; in pcmdev_regbin_ready()
|
H A D | tas2781-fmwlib.c | 150 unsigned int config_size, int *status) in tasdevice_add_config() argument 172 if (config_offset + 64 > (int)config_size) { in tasdevice_add_config() 180 if (config_offset + 4 > (int)config_size) { in tasdevice_add_config() 204 if (config_offset + 12 > config_size) { in tasdevice_add_config() 244 if (config_offset + bk_da[i]->block_size > config_size) { in tasdevice_add_config() 344 fw_hdr->config_size[i] = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser() 346 total_config_sz += fw_hdr->config_size[i]; in tasdevice_rca_parser() 367 fw_hdr->config_size[i], &ret); in tasdevice_rca_parser() 372 offset += (int)fw_hdr->config_size[i]; in tasdevice_rca_parser()
|
H A D | pcm6240.h | 185 unsigned int config_size[PCMDEVICE_CONFIG_SUM]; member
|
/linux/drivers/vdpa/vdpa_user/ |
H A D | vduse_dev.c | 112 u32 config_size; member 694 return dev->config_size; in vduse_vdpa_get_config_size() 705 if (offset > dev->config_size) in vduse_vdpa_get_config() 708 if (len > dev->config_size - offset) in vduse_vdpa_get_config() 709 len = dev->config_size - offset; in vduse_vdpa_get_config() 1218 if (config.offset > dev->config_size || in vduse_dev_ioctl() 1220 config.length > dev->config_size - config.offset) in vduse_dev_ioctl() 1740 if (config->config_size > PAGE_SIZE) in vduse_validate_config() 1858 dev->config_size = config->config_size; in vduse_create_dev() 1933 buf = vmemdup_user(argp + size, config.config_size); in vduse_ioctl()
|
/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_ioctl.h | 69 unsigned int config_size; member
|
H A D | vchiq_dev.c | 807 if (args.config_size > sizeof(config)) { in vchiq_ioctl() 813 if (copy_to_user(args.pconfig, &config, args.config_size)) { in vchiq_ioctl() 1118 unsigned int config_size; member 1136 if (args32.config_size > sizeof(config)) in vchiq_compat_ioctl_get_config() 1141 if (copy_to_user(ptr, &config, args32.config_size)) in vchiq_compat_ioctl_get_config()
|
/linux/include/sound/ |
H A D | tas2781-dsp.h | 153 unsigned int config_size[TASDEVICE_CONFIG_SUM]; member
|
/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.h | 41 size_t config_size; member
|
H A D | vdpa_sim.c | 245 vdpasim->config = kzalloc(dev_attr->config_size, GFP_KERNEL); in vdpasim_create() 554 return vdpasim->dev_attr.config_size; in vdpasim_get_config_size() 562 if (offset + len > vdpasim->dev_attr.config_size) in vdpasim_get_config() 576 if (offset + len > vdpasim->dev_attr.config_size) in vdpasim_set_config()
|
/linux/drivers/vdpa/octeon_ep/ |
H A D | octep_vdpa.h | 70 u32 config_size; member
|
/linux/include/uapi/linux/ |
H A D | vduse.h | 45 __u32 config_size; member
|
H A D | ndctl.h | 25 __u32 config_size; member
|