Lines Matching +full:value +full:- +full:start

5 #include "standard-headers/linux/qemu_fw_cfg.h"
13 #define TYPE_FW_CFG_DATA_GENERATOR_INTERFACE "fw_cfg-data-generator"
31 * @errp: pointer to a NULL-initialized error object
53 typedef void (*FWCfgWriteCallback)(void *opaque, off_t start, size_t len);
103 * @key: selector key value for new fw_cfg item
104 * @data: pointer to start of item data
116 * @key: selector key value for new fw_cfg item
117 * @value: NUL-terminated ascii string
123 void fw_cfg_add_string(FWCfgState *s, uint16_t key, const char *value);
128 * @key: selector key value for new fw_cfg item
129 * @value: NUL-terminated ascii string
137 void fw_cfg_modify_string(FWCfgState *s, uint16_t key, const char *value);
142 * @key: selector key value for new fw_cfg item
143 * @value: 16-bit integer
146 * data will consist of a dynamically allocated copy of the given 16-bit
147 * value, converted to little-endian representation.
149 void fw_cfg_add_i16(FWCfgState *s, uint16_t key, uint16_t value);
154 * @key: selector key value for new fw_cfg item
155 * @value: 16-bit integer
158 * data will consist of a dynamically allocated copy of the given 16-bit
159 * value, converted to little-endian representation. The data being replaced,
163 void fw_cfg_modify_i16(FWCfgState *s, uint16_t key, uint16_t value);
168 * @key: selector key value for new fw_cfg item
169 * @value: 32-bit integer
172 * data will consist of a dynamically allocated copy of the given 32-bit
173 * value, converted to little-endian representation.
175 void fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value);
180 * @key: selector key value for new fw_cfg item
181 * @value: 32-bit integer
184 * data will consist of a dynamically allocated copy of the given 32-bit
185 * value, converted to little-endian representation. The data being replaced,
189 void fw_cfg_modify_i32(FWCfgState *s, uint16_t key, uint32_t value);
194 * @key: selector key value for new fw_cfg item
195 * @value: 64-bit integer
198 * data will consist of a dynamically allocated copy of the given 64-bit
199 * value, converted to little-endian representation.
201 void fw_cfg_add_i64(FWCfgState *s, uint16_t key, uint64_t value);
206 * @key: selector key value for new fw_cfg item
207 * @value: 64-bit integer
210 * data will consist of a dynamically allocated copy of the given 64-bit
211 * value, converted to little-endian representation. The data being replaced,
215 void fw_cfg_modify_i64(FWCfgState *s, uint16_t key, uint64_t value);
221 * @data: pointer to start of item data
229 * structure residing at key value FW_CFG_FILE_DIR, containing the item name,
230 * data size, and assigned selector key value.
242 * @data: pointer to start of item data
251 * structure residing at key value FW_CFG_FILE_DIR, containing the item name,
252 * data size, and assigned selector key value.
268 * @data: pointer to start of item data
297 * structure residing at key value FW_CFG_FILE_DIR, containing the item name,
298 * data size, and assigned selector key value.
323 * The key is architecture-specific (the FW_CFG_ARCH_LOCAL mask is expected
326 * Returns: The stringified architecture-specific name if the selector
327 * refers to a well-known numerically defined item, or NULL on
333 * load_image_to_fw_cfg() - Load an image file into an fw_cfg entry identified
344 * loaded as-is.