Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/input/rmi4/
H A 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()
H A Drmi_f34v7.c782 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 Drmi_f34.h230 __le32 config_size; member
258 u16 config_size; member
/openbmc/linux/drivers/nvdimm/
H A Dlabel.c59 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 Ddimm.c96 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
/openbmc/qemu/hw/virtio/
H A Dvdpa-dev.c127 v->config_size = vhost_vdpa_device_get_u32(v->vhostfd, in vhost_vdpa_device_realize()
142 v->config = g_malloc0(v->config_size); in vhost_vdpa_device_realize()
144 ret = vhost_dev_get_config(&v->dev, v->config, v->config_size, NULL); in vhost_vdpa_device_realize()
150 virtio_init(vdev, v->vdev_id, v->config_size); in vhost_vdpa_device_realize()
200 ret = vhost_dev_get_config(&s->dev, s->config, s->config_size, in vhost_vdpa_device_get_config()
206 memcpy(config, s->config, s->config_size); in vhost_vdpa_device_get_config()
215 ret = vhost_dev_set_config(&s->dev, s->config, 0, s->config_size, in vhost_vdpa_device_set_config()
H A Dvhost-user-base.c135 g_assert(vub->config_size && vub->vhost_user.supports_config == true); in vub_get_config()
138 vub->config_size, &local_err)) { in vub_get_config()
148 g_assert(vub->config_size && vub->vhost_user.supports_config == true); in vub_set_config()
151 0, vub->config_size, in vub_set_config()
299 if (vub->config_size) { in vub_device_realize()
307 virtio_init(vdev, vub->virtio_id, vub->config_size); in vub_device_realize()
H A Dvhost-user-device.c37 DEFINE_PROP_UINT32("config_size", VHostUserBase, config_size, 0),
H A Dvhost-user-gpio.c30 vub->config_size = sizeof(struct virtio_gpio_config); in vgpio_realize()
H A Dvhost-user-input.c24 vub->config_size = sizeof(virtio_input_config); in vinput_realize()
H A Dvhost-user-snd.c36 vub->config_size = sizeof(struct virtio_snd_config); in vu_snd_base_realize()
/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_base.c267 u32 config_size; in ifcvf_get_config_size() local
276 config_size = min(cap_size, net_config_size); in ifcvf_get_config_size()
279 config_size = min(cap_size, blk_config_size); in ifcvf_get_config_size()
282 config_size = 0; in ifcvf_get_config_size()
286 return config_size; in ifcvf_get_config_size()
295 WARN_ON(offset + length > hw->config_size); in ifcvf_read_dev_config()
313 WARN_ON(offset + length > hw->config_size); in ifcvf_write_dev_config()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-vpu.c43 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()
214 vpu->config_size = ALIGN(sizeof(struct img_config), 64); in mdp_vpu_dev_init()
226 vpu->config, &vpu->config_addr, vpu->config_size); in mdp_vpu_dev_init()
274 memset(vpu->config, 0, vpu->config_size); in mdp_vpu_process()
H A Dmtk-mdp3-vpu.h53 size_t config_size; member
/openbmc/linux/drivers/char/tpm/
H A 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()
/openbmc/qemu/hw/9pfs/
H A Dvirtio-9p.h12 size_t config_size; member
H A Dvirtio-9p-device.c109 memcpy(config, cfg, v->config_size); in virtio_9p_get_config()
218 v->config_size = sizeof(struct virtio_9p_config) + strlen(s->fsconf.tag); in virtio_9p_device_realize()
219 virtio_init(vdev, VIRTIO_ID_9P, v->config_size); in virtio_9p_device_realize()
/openbmc/qemu/include/hw/virtio/
H A Dvdpa-dev.h37 int config_size; member
H A Dvhost-user-base.h27 uint32_t config_size; member
H A Dvirtio-crypto.h97 size_t config_size; member
H A Dvirtio-blk.h75 size_t config_size; member
/openbmc/linux/block/partitions/
H A 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()
/openbmc/linux/tools/testing/nvdimm/test/
H A Dndtest.h71 unsigned long config_size; member
/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.h234 uint16_t num_queues, uint32_t config_size,
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_ioctl.h69 unsigned int config_size; member

123