Home
last modified time | relevance | path

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

/drivers/nvdimm/
Ddimm_devs.c72 if (cmd->config_size) in nvdimm_init_nsarea()
87 u32 max_cmd_size, config_size; in nvdimm_init_config_data() local
97 || ndd->nsarea.config_size < ND_LABEL_MIN_SIZE) { in nvdimm_init_config_data()
99 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nvdimm_init_config_data()
103 ndd->data = kmalloc(ndd->nsarea.config_size, GFP_KERNEL); in nvdimm_init_config_data()
105 ndd->data = vmalloc(ndd->nsarea.config_size); in nvdimm_init_config_data()
116 for (config_size = ndd->nsarea.config_size, offset = 0; in nvdimm_init_config_data()
117 config_size; config_size -= cmd->in_length, in nvdimm_init_config_data()
119 cmd->in_length = min(config_size, max_cmd_size); in nvdimm_init_config_data()
151 if (offset + len > ndd->nsarea.config_size) in nvdimm_set_config_data()
Dlabel.c52 index_span = ndd->nsarea.config_size / 129; in sizeof_namespace_index()
61 return ndd->nsarea.config_size / 129; in nvdimm_num_label_slots()
158 > ndd->nsarea.config_size) { in nd_label_validate()
161 ndd->nsarea.config_size); in nd_label_validate()
824 memset(nsindex, 0, ndd->nsarea.config_size); in init_labels()
Ddimm.c51 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
/drivers/char/tpm/
Dtpm_infineon.c51 unsigned int config_size; member
410 tpm_dev.config_size = pnp_port_len(dev, 0); in tpm_inf_pnp_probe()
413 if ((tpm_dev.data_size < 4) || (tpm_dev.config_size < 2)) { in tpm_inf_pnp_probe()
429 if (request_region(tpm_dev.config_port, tpm_dev.config_size, in tpm_inf_pnp_probe()
568 release_region(tpm_dev.config_port, tpm_dev.config_size); in tpm_inf_pnp_probe()
587 tpm_dev.config_size); in tpm_inf_pnp_remove()