| /src/lib/libossaudio/ |
| oss_caps.c | 38 int props, caps; local 41 if (ioctl(fd, AUDIO_GETPROPS, &props) < 0) 50 nchannels = (props & AUDIO_PROP_PLAYBACK) ? 66 if (props & AUDIO_PROP_FULLDUPLEX) 68 if (props & AUDIO_PROP_MMAP) 70 if (props & AUDIO_PROP_CAPTURE) 72 if (props & AUDIO_PROP_PLAYBACK)
|
| /src/sys/modules/examples/properties/ |
| properties.c | 39 handle_props(prop_dictionary_t props) 44 if (props != NULL) { 45 str = prop_dictionary_get(props, "msg");
|
| /src/usr.bin/audiocfg/ |
| drvctl.c | 55 drvctl_get_properties(int fd, const char *devnode, prop_dictionary_t *props) 85 if (props) { 90 *props = prop_dictionary_copy(result_data); 112 prop_dictionary_t props = NULL; local 115 rv = drvctl_get_properties(fd, laa.l_childname[i], &props); 116 if (rv == false || props == NULL) 118 rv = prop_dictionary_get_string(props, 121 rv = prop_dictionary_get_uint32(props, 127 prop_object_release(props);
|
| /src/sys/modules/panic/ |
| panic.c | 61 prop_dictionary_t props = opaque; local 65 if (props) 66 prop_dictionary_get_string(props, "how", &how);
|
| /src/sbin/modload/ |
| main.c | 66 prop_dictionary_t ext_props, props; local 81 props = prop_dictionary_create(); 91 parse_param(props, optarg, parse_bool_param); 108 parse_param(props, optarg, parse_int_param); 121 parse_param(props, optarg, parse_string_param); 133 propsstr = prop_dictionary_externalize(props); 147 merge_dicts(ext_props, props); 177 prop_object_release(props); 183 parse_bool_param(prop_dictionary_t props, const char *name, 202 if (!prop_dictionary_set_bool(props, name, boolvalue) [all...] |
| /src/tests/modules/k_helper3/ |
| k_helper3.c | 62 prop_dictionary_t props; local 67 props = prop_dictionary_create(); 68 propsstr = prop_dictionary_externalize(props); 70 prop_object_release(props);
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| kfd_crat.c | 207 struct kfd_mem_properties *props; local 209 list_for_each_entry(props, &dev->mem_props, list) { 210 if (props->heap_type == heap_type 211 && props->flags == flags 212 && props->width == width) 213 return props; 224 struct kfd_mem_properties *props; local 262 props = find_subtype_mem(heap_type, flags, width, dev); 263 if (props) { 264 props->size_in_bytes += size_in_bytes 293 struct kfd_cache_properties *props; local 359 struct kfd_iolink_properties *props = NULL, *props2; local [all...] |
| kfd_iommu.c | 345 struct kfd_perf_properties *props; local 353 props = kfd_alloc_struct(props); 354 if (!props) 356 strcpy(props->block_name, "iommu"); 357 props->max_concurrent = amd_iommu_pc_get_max_banks(0) * 359 list_add_tail(&props->list, &kdev->perf_props);
|
| /src/tests/modules/ |
| t_modctl.c | 269 load(prop_dictionary_t props, bool fatal, const char *fmt, ...) 277 if (props == NULL) { 278 props = prop_dictionary_create(); 279 propsstr = prop_dictionary_externalize(props); 281 prop_object_release(props); 283 propsstr = prop_dictionary_externalize(props); 389 prop_dictionary_t props; local 392 props = prop_dictionary_create(); 393 load(props, true, "%s/k_helper/k_helper.kmod", 395 prop_object_release(props); 458 prop_dictionary_t props; local [all...] |
| /src/usr.sbin/envstat/ |
| config_yacc.y | 76 device : STRING LBRACE props RBRACE 80 props : sensor label 81 | props sensor 83 | props devprop
|
| /src/sbin/gpt/ |
| backup.c | 210 prop_dictionary_t props, type_dict; local 216 props = prop_dictionary_create(); 217 PROP_ERR(props); 219 PROP_ERR(prop_dictionary_set_int(props, "sector_size", 241 rc = prop_dictionary_set_and_rel(props, "MBR", 249 rc = prop_dictionary_set_and_rel(props, "GPT_HDR", 256 rc = prop_dictionary_set_and_rel(props, "GPT_TBL", 263 propext = prop_dictionary_externalize(props); 265 prop_object_release(props); 278 if (props) [all...] |
| restore.c | 183 prop_dictionary_t props, gpt_dict, mbr_dict, type_dict; local 212 props = prop_dictionary_internalize_from_file( 214 if (props == NULL) { 219 propnum = prop_dictionary_get(props, "sector_size"); 223 prop_object_release(props); 227 gpt_dict = prop_dictionary_get(props, "GPT_HDR"); 235 prop_object_release(props); 253 type_dict = prop_dictionary_get(props, "GPT_TBL"); 306 type_dict = prop_dictionary_get(props, "MBR"); 386 prop_object_release(props); [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| nouveau_backlight.c | 88 int val = bd->props.brightness; 105 struct backlight_properties *props, 114 props->type = BACKLIGHT_RAW; 115 props->max_brightness = 31; 143 u32 val = (bd->props.brightness * div) / 100; 184 val = (bd->props.brightness * div) / 100; 204 struct backlight_properties *props, 220 props->type = BACKLIGHT_RAW; 221 props->max_brightness = 100; 234 struct backlight_properties props = {0} local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_overlay.c | 54 } props; member in struct:nouveau_plane 255 if (property == nv_plane->props.colorkey) 257 else if (property == nv_plane->props.contrast) 259 else if (property == nv_plane->props.brightness) 261 else if (property == nv_plane->props.hue) 263 else if (property == nv_plane->props.saturation) 310 plane->props.colorkey = drm_property_create_range( 312 plane->props.contrast = drm_property_create_range( 314 plane->props.brightness = drm_property_create_range( 316 plane->props.hue = drm_property_create_range [all...] |
| /src/sys/arch/arm/marvell/ |
| mvsocpmu.c | 155 sysmon_envsys_lim_t *limits, uint32_t *props) 163 *props = (PROP_WARNMIN | PROP_WARNMAX | PROP_DRIVER_LIMITS); 168 sysmon_envsys_lim_t *limits, uint32_t *props) 176 props = &sc->sc_defprops; 180 if (*props & PROP_WARNMIN) { 184 if (*props & PROP_WARNMAX) { 199 if (*props & (PROP_WARNMIN | PROP_WARNMAX)) 200 *props |= PROP_DRIVER_LIMITS; 202 *props &= ~PROP_DRIVER_LIMITS;
|
| /src/sys/dev/ |
| midi_if.h | 39 int props; member in struct:midi_info
|
| /src/tests/modules/k_helper/ |
| k_helper.c | 127 k_helper_init(prop_dictionary_t props) 131 p = prop_dictionary_get(props, "prop_str"); 148 p = prop_dictionary_get(props, "prop_int"); 160 p = prop_dictionary_get(props, "prop_recurse");
|
| /src/sys/dev/sysmon/ |
| swsensor.c | 144 sysmon_envsys_lim_t *limits, uint32_t *props) 147 *props = PROP_CRITMIN | PROP_DRIVER_LIMITS; 153 sysmon_envsys_lim_t *limits, uint32_t *props) 158 props = &sw_sensor_defprops; 160 if (*props & PROP_CRITMIN) 168 if ((*props & PROP_LIMITS) == PROP_CRITMIN) 169 *props |= PROP_DRIVER_LIMITS; 171 *props &= ~PROP_DRIVER_LIMITS;
|
| sysmon_envsys_events.c | 120 uint32_t props, int crittype, int powertype) 149 DPRINTF(("%s: units %d props 0x%04x upropset 0x%04x max_val %d" 150 " edata-flags 0x%04x\n", __func__, edata->units, props, 153 if (props) 158 if ((props & PROP_CAP_LIMITS) && 161 (props & PROP_VAL_LIMITS) || 163 props = 0; 165 if ((props & PROP_VAL_LIMITS) && (edata->upropset & PROP_CAP_LIMITS)) 166 props = 0; 190 if (props & edata->upropset & (PROP_CRITMAX | PROP_BATTMAX)) 508 uint32_t props; local 524 &lims, &props); local 703 uint32_t props = 0; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_blend.c | 266 static const struct drm_prop_enum_list props[] = { local 281 props, ARRAY_SIZE(props), 567 static const struct drm_prop_enum_list props[] = { local 587 for (i = 0; i < ARRAY_SIZE(props); i++) { 590 if (!(BIT(props[i].type) & supported_modes)) 593 ret = drm_property_add_enum(prop, props[i].type, 594 props[i].name);
|
| /src/sys/dev/i2c/ |
| adm1026.c | 258 prop_dictionary_t props = device_properties(self); local 266 if (prop_dictionary_get_uint8(props, "fan_div2", &fan_div2) != 0) 270 if (prop_dictionary_get_uint8(props, "fan_mask", &fan_mask) == 0) 694 sysmon_envsys_lim_t *limits, uint32_t *props) 699 adm1026_get_fan_limits(sc, edata, limits, props); 701 adm1026_get_temp_limits(sc, edata, limits, props); 703 adm1026_get_volt_limits(sc, edata, limits, props); 708 sysmon_envsys_lim_t *limits, uint32_t *props) 714 *props &= ~PROP_WARNMIN; 722 *props |= PROP_WARNMIN [all...] |
| sdtemp.c | 429 sysmon_envsys_lim_t *limits, uint32_t *props) 434 *props = 0; 440 *props |= PROP_WARNMIN; 444 *props |= PROP_WARNMAX; 448 *props |= PROP_CRITMAX; 451 if (*props != 0) 452 *props |= PROP_DRIVER_LIMITS; 458 sysmon_envsys_lim_t *limits, uint32_t *props) 465 props = &sc->sc_defprops; 470 if (*props & PROP_WARNMIN) [all...] |
| adm1021.c | 493 sysmon_envsys_lim_t *limits, uint32_t *props) 499 *props &= ~(PROP_CRITMAX | PROP_CRITMIN); 512 *props |= PROP_CRITMAX; 527 *props |= PROP_CRITMIN; 543 sysmon_envsys_lim_t *limits, uint32_t *props) 549 *props &= ~(PROP_CRITMAX | PROP_CRITMIN); 562 *props |= PROP_CRITMAX; 581 *props |= PROP_CRITMIN; 608 sysmon_envsys_lim_t *limits, uint32_t *props) 614 *props &= ~(PROP_WARNMAX | PROP_CRITMAX | PROP_WARNMIN) [all...] |
| lm75.c | 391 sysmon_envsys_lim_t *limits, uint32_t *props) 396 *props &= ~(PROP_CRITMAX); 402 *props |= PROP_CRITMAX; 409 sysmon_envsys_lim_t *limits, uint32_t *props) 414 *props &= ~(PROP_CRITMAX | PROP_WARNMAX | PROP_WARNMIN); 420 *props |= PROP_CRITMAX; 424 *props |= PROP_WARNMAX; 428 *props |= PROP_WARNMIN; 435 sysmon_envsys_lim_t *limits, uint32_t *props) 440 if (*props & PROP_CRITMAX) [all...] |
| /src/sys/arch/sparc64/sparc64/ |
| ofw_patch.c | 60 prop_dictionary_t props = device_properties(busdev); local 63 cfg = prop_dictionary_get(props, "i2c-child-devices"); 67 prop_dictionary_set(props, "i2c-child-devices", cfg); 68 prop_dictionary_set_bool(props, "i2c-indirect-config", false); 385 prop_dictionary_t props = device_properties(dev); local 386 prop_dictionary_set_uint8(props, "fan_div2", 0x55); 389 prop_dictionary_set_uint8(props,
|