Lines Matching refs:device

101 	int (*validate_set)(devconfig_t *device, char *name, char *value);
116 int (*get_as_string)(devconfig_t *device, char *name, char **value);
162 xmlNodePtr parent, element_t elements[], devconfig_t *device);
164 xmlNodePtr cur, element_t elements[], devconfig_t *device);
181 devconfig_t *device, char *attr, char *name);
183 devconfig_t *device, char *attr, char *name);
216 devconfig_t *device, char *attr, char **value);
224 devconfig_t *device, char *attr, char **value);
830 * @param device
839 devconfig_t *device)
845 /* Get device type */
847 if ((error = devconfig_get_type(device, &type)) != 0) {
875 /* Get the attribute value from the device */
877 device, attribute->name, &value)) {
879 /* Attribute is set in this device */
891 /* Attribute is not set in this device */
910 array = devconfig_get_available(device);
921 array = devconfig_get_unavailable(device);
932 * Recursively convert subcomponents of this device to
941 /* For each component of this device... */
942 for (components = devconfig_get_components(device);
967 /* Was this device successfully converted? */
970 gettext("can't convert device of type \"%s\" to XML element"),
990 * @param device
1000 devconfig_t *device)
1023 /* Should a new device be created for this element? */
1026 /* Should we use an existing device of this type? */
1029 device, element->type, &component, B_FALSE);
1034 gettext("Creating new device\n"));
1036 /* Create device of this type */
1042 /* Add component to the toplevel device */
1044 device, dlist_append(dlist_new_item(component),
1045 devconfig_get_components(device), AT_TAIL));
1048 component = device;
1065 /* Set this value in the device */
1512 * @param device
1513 * the devconfig_t whose available device list to modify
1525 devconfig_t *device,
1531 /* Get available devices for this device */
1532 available = devconfig_get_available(device);
1539 /* Set available devices in the device */
1540 devconfig_set_available(device, available);
1549 * @param device
1550 * the devconfig_t whose unavailable device list to modify
1562 devconfig_t *device,
1568 /* Get unavailable devices for this device */
1569 unavailable = devconfig_get_unavailable(device);
1576 /* Set unavailable devices in the device */
1577 devconfig_set_unavailable(device, unavailable);
2084 * @param device
2097 devconfig_t *device,
2105 if ((error = devconfig_get_name(device, &name)) == 0) {
2118 * @param device
2150 * @param device
2185 * @param device
2218 * device devconfig_t. This data must be freed.
2220 * @param device
2233 devconfig_t *device,
2241 if ((error = devconfig_get_size_in_blocks(device, &size)) == 0) {
2252 * @param device
2284 * @param device