Lines Matching +full:bool +full:- +full:property

4 #include "hw/qdev-core.h"
7 * Property:
9 * in which case @info->set_default_value must not be NULL
10 * (if false then no default value is set by the property system
12 * @defval: default value for the property. This is used only if @set_default
15 struct Property { struct
29 bool set_default;
36 bool realized_set_allowed; /* allow setting property on realized device */
37 int (*print)(Object *obj, const Property *prop, char *dest, size_t len); argument
38 void (*set_default_value)(ObjectProperty *op, const Property *prop);
40 const Property *prop);
47 /*** qdev-properties.c ***/
87 .defval.u = (bool)_defval)
101 .defval.u = (bool)_defval)
104 DEFINE_PROP(_name, _state, _field, qdev_prop_bool, bool, \
106 .defval.u = (bool)_defval)
109 * The DEFINE_PROP_UINT64_CHECKMASK macro checks a user-supplied value
125 * @_arrayprop: PropertyInfo defining what property the array elements have
128 * Define device properties for a variable-length array _name. The array is
133 * When the array property is set, the @_field member of the device
179 bool qdev_prop_set_drive_err(DeviceState *dev, const char *name,
184 * @value must be valid. Each property may be set at most once.
186 void qdev_prop_set_bit(DeviceState *dev, const char *name, bool value);
204 void *object_field_prop_ptr(Object *obj, const Property *prop);
216 * @dev: Device to add the property to.
217 * @prop: The qdev property definition.
219 * Add a static QOM property to @dev for qdev property @prop.
221 * The type of the QOM property is derived from prop->info.
223 void qdev_property_add_static(DeviceState *dev, const Property *prop);
243 * @name: name of property
245 * Set the Error object to report that an attempt was made to set a property
247 * which allows property-setter functions to easily report the error in
248 * a friendly format identifying both the device and the property.