Lines Matching defs:value
22 u32 value;
61 if (entry->value + entry->length > block_len)
116 dir = __tb_property_parse_dir(block, block_len, entry->value,
122 property->value.dir = dir;
126 property->value.data = kcalloc(property->length, sizeof(u32),
128 if (!property->value.data) {
132 parse_dwdata(property->value.data, block + entry->value,
137 property->value.text = kcalloc(property->length, sizeof(u32),
139 if (!property->value.text) {
143 parse_dwdata(property->value.text, block + entry->value,
146 property->value.text[property->length * 4 - 1] = '\0';
150 property->value.immediate = entry->value;
267 tb_property_free_dir(property->value.dir);
271 kfree(property->value.data);
275 kfree(property->value.text);
327 property->value.dir, recurse, data_len);
435 child = property->value.dir;
442 entry->value = dir_end;
447 format_dwdata(&block[data_offset], property->value.data,
450 entry->value = data_offset;
455 format_dwdata(&block[data_offset], property->value.text,
458 entry->value = data_offset;
464 entry->value = property->value.immediate;
508 * @value: Immediate value to store with the property
511 u32 value)
523 property->value.immediate = value;
554 property->value.data = kzalloc(size, GFP_KERNEL);
555 if (!property->value.data) {
560 memcpy(property->value.data, buf, buflen);
590 property->value.text = kzalloc(size, GFP_KERNEL);
591 if (!property->value.text) {
596 strcpy(property->value.text, text);
621 property->value.dir = dir;