/src/lib/libossaudio/ |
oss_caps.c | 38 int props, caps; local in function:_oss_get_caps 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/panic/ |
panic.c | 61 prop_dictionary_t props = opaque; local in function:panic_modcmd 65 if (props) 66 prop_dictionary_get_string(props, "how", &how);
|
/src/usr.sbin/envstat/ |
config_yacc.y | 76 device : STRING LBRACE props RBRACE 80 props : sensor label 81 | props sensor 83 | props devprop
|
/src/tests/lib/libossaudio/ |
t_ossaudio.c | 398 int caps, props, fmts; local in function:ATF_TC_BODY 411 if (ioctl(fd, AUDIO_GETPROPS, &props) < 0) 415 !(props & AUDIO_PROP_FULLDUPLEX)); 418 !(props & AUDIO_PROP_MMAP)); 421 !(props & AUDIO_PROP_CAPTURE)); 424 !(props & AUDIO_PROP_PLAYBACK));
|
/src/tests/modules/k_helper3/ |
k_helper3.c | 62 prop_dictionary_t props; local in function:load 67 props = prop_dictionary_create(); 68 propsstr = prop_dictionary_externalize(props); 70 prop_object_release(props);
|
/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 in function:drvctl_search 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/arch/macppc/macppc/ |
autoconf.c | 49 prop_dictionary_t props) 75 prop_dictionary_set_string(props, 100 prop_dictionary_set_string(props, 110 prop_dictionary_t props = device_properties(dev); local in function:macppc_assign_sensor_names 115 macppc_assign_sensor_names_old(gparent, phandle, props); 129 prop_dictionary_set_string(props,
|
/src/sbin/modload/ |
main.c | 66 prop_dictionary_t ext_props, props; local in function:main 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/sys/dev/ |
midi_if.h | 39 int props; member in struct:midi_info
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
kfd_iommu.c | 345 struct kfd_perf_properties *props; local in function:kfd_iommu_add_perf_counters 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/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_perf.c | 26 struct perf_open_properties props = { local in function:test_stream 44 if (i915_oa_stream_init(stream, ¶m, &props)) {
|
/src/sbin/gpt/ |
backup.c | 207 prop_dictionary_t props, type_dict; local in function:backup 213 props = prop_dictionary_create(); 214 PROP_ERR(props); 216 PROP_ERR(prop_dictionary_set_int(props, "sector_size", 238 rc = prop_dictionary_set_and_rel(props, "MBR", 246 rc = prop_dictionary_set_and_rel(props, "GPT_HDR", 253 rc = prop_dictionary_set_and_rel(props, "GPT_TBL", 260 propext = prop_dictionary_externalize(props); 262 prop_object_release(props); 275 if (props) [all...] |
restore.c | 180 prop_dictionary_t props, gpt_dict, mbr_dict, type_dict; local in function:restore 209 props = prop_dictionary_internalize_from_file( 211 if (props == NULL) { 216 propnum = prop_dictionary_get(props, "sector_size"); 220 prop_object_release(props); 224 gpt_dict = prop_dictionary_get(props, "GPT_HDR"); 232 prop_object_release(props); 250 type_dict = prop_dictionary_get(props, "GPT_TBL"); 303 type_dict = prop_dictionary_get(props, "MBR"); 383 prop_object_release(props); [all...] |
/src/sys/external/bsd/drm2/dist/drm/ |
drm_blend.c | 266 static const struct drm_prop_enum_list props[] = { local in function:drm_plane_create_rotation_property 281 props, ARRAY_SIZE(props), 567 static const struct drm_prop_enum_list props[] = { local in function:drm_plane_create_blend_mode_property 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/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 in function:nouveau_backlight_init [all...] |
/src/sys/kern/ |
sys_module.c | 62 char *props; local in function:handle_modctl_load 84 props = kmem_alloc(propslen, KM_SLEEP); 85 error = copyinstr(ml_props, props, propslen, NULL); 89 dict = prop_dictionary_internalize(props); 96 props = NULL; 106 if (props != NULL) { 107 kmem_free(props, propslen);
|
/src/sys/arch/sparc64/sparc64/ |
ofw_patch.c | 60 prop_dictionary_t props = device_properties(busdev); local in function:create_i2c_dict 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); 358 prop_dictionary_t props = device_properties(dev); local in function:set_hw_props 361 device_is_a(dev, "adm1026hm") && props != NULL) { 362 prop_dictionary_set_uint8(props, "fan_div2", 0x55); 363 prop_dictionary_set_bool(props, "multi_read", true); 369 prop_dictionary_t props = device_properties(dev); local in function:set_hw_props 371 device_is_a(dev, "adm1026hm") && props != NULL) [all...] |
/src/sys/dev/i2c/ |
dstemp.c | 107 prop_dictionary_t props = device_properties(self); local in function:dstemp_attach 127 if (prop_dictionary_get_string(props, "s00", &desc)) { 129 } else if (prop_dictionary_get_string(props, "saa", &desc)) {
|
adm1026.c | 182 prop_dictionary_t props = device_properties(self); local in function:adm1026_attach 191 prop_dictionary_get_bool(props, "multi_read", &sc->sc_multi_read); 192 if (prop_dictionary_get_uint8(props, "fan_div2", &fan_div2) != 0)
|
/src/sys/dev/sysmon/ |
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 in function:sme_event_drvadd 703 uint32_t props = 0; local in function:sme_update_limits [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/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 in function:ATF_TC_BODY 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 in function:ATF_TC_BODY [all...] |
/src/usr.bin/audio/ctl/ |
ctl.c | 82 #define PROPS 8 94 { "properties", &properties, PROPS, READONLY }, 147 } props[] = { variable in typeref:typename:const struct __anond53e44a40108[] 213 case PROPS: 215 for (cm = "", i = 0; props[i].name; i++) { 216 if (v & props[i].prop) { 217 printf("%s%s", cm, props[i].name);
|
/src/sys/arch/x86/x86/ |
x86_autoconf.c | 580 prop_dictionary_t props = device_properties(dev); local in function:device_register 589 (void) prop_dictionary_set(props, 592 (void) prop_dictionary_set_string_nocopy(props,
|
/src/sys/dev/pci/ |
pci_map.c | 289 unsigned int props[2]; member in struct:pci_ea_entry 330 entry.props[0] = __SHIFTOUT(val, PCI_EA_PP); 331 entry.props[1] = __SHIFTOUT(val, PCI_EA_SP); 427 switch (entry.props[which_prop]) { 453 printf("%s: bei %u props[%u]=0x%x\n", 455 entry.props[which_prop]); 479 __func__, bar_type_string(wanted_type), entry.props[which_prop]);
|